freebsd-dev/sys/arm
Kyle Evans 40084ac37f bcm2835: push address mapping conversion for DMA/mailbox to runtime
We could maintain the static conversions for the !AArch64 Raspberry Pis, but
I'm not sure it's worth it -- we'll traverse the platform list exactly once
(of which there are only two for armv7), then every conversion there-after
traverses the memory map listing of which there are at-most two entries for
these boards: sdram and peripheral space.

Detecting this at runtime is necessary for the AArch64 SOC, though, because
of the distinct IO windows being otherwise not discernible just from support
compiled into the kernel. We currently select the correct window based on
/compatible in the FDT.

We also use a similar mechanism to describe the DMA restrictions- the RPi 4
can have up to 4GB of RAM while the DMA controller and mailbox mechanism can
technically, kind of, only access the lowest 1GB. See the comment in
bcm2835_vcbus.h for a fun description/clarification of this.

Differential Revision:	https://reviews.freebsd.org/D22301
2019-11-20 03:57:46 +00:00
..
allwinner arm64: allwinner: a64: Do not init the video related clocks 2019-11-06 18:39:32 +00:00
altera/socfpga o Add support for multi-port instances of Synopsys DesignWare APB GPIO 2019-09-04 15:37:24 +00:00
amlogic/aml8726 Implement missing MMCBR ivars 2019-07-04 14:15:04 +00:00
annapurna/alpine arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
arm Add a sv_copyout_auxargs() hook in sysentvec. 2019-11-15 18:42:13 +00:00
broadcom/bcm2835 bcm2835: push address mapping conversion for DMA/mailbox to runtime 2019-11-20 03:57:46 +00:00
cloudabi32 Remove sv_pagesize, originally introduced with r100384. 2019-03-01 16:16:38 +00:00
conf Set MALLOC_DEBUG_MAXZONES=1 in GENERIC-NODEBUG configurations. 2019-11-18 20:03:28 +00:00
freescale Apply a runtime patch to the FDT data for imx6 to fix iomuxc problems. 2019-09-15 19:38:15 +00:00
include Port r353622 to sparc64 and arm v4. 2019-10-16 21:07:18 +00:00
linux arm linuxulator: reformat syscalls.master per current style 2019-11-08 14:18:16 +00:00
mv Update Armada 8k drivers to cover newly imported DT and latest changes 2019-10-20 10:48:27 +00:00
nvidia Change synchonization rules for vm_page reference counting. 2019-09-09 21:32:42 +00:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
ralink Convert to if_foreach_llmaddr() KPI. 2019-10-21 18:13:24 +00:00
rockchip Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
samsung/exynos exynos5: avoid NULL deref in error case 2019-08-30 00:36:17 +00:00
ti Convert to if_foreach_llmaddr() KPI. 2019-10-21 18:13:28 +00:00
versatile Extract eventfilter declarations to sys/_eventfilter.h 2019-05-20 00:38:23 +00:00
xilinx arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00