freebsd-dev/sys/arm
Elliott Mitchell f9bdaab95e ofwbus: remove handling of resources from ofwbus
The architecture nexus should handle allocation and release of memory and
interrupts. This is to ensure that system-wide resources such as these
are available to all devices, not just children of ofwbus0.

On powerpc this moves the ownership of these resources up one level,
from ofwbus0 to nexus0. Other architectures already have the required
logic in their nexus implementation, so this eliminates the duplication
of resources. An implementation of nexus_adjust_resource() is added for
arm, arm64, and riscv.

As noted by ian@ in the review, resource handling was the main bit of
logic distinguishing ofwbus from simplebus. With some attention to
detail, it should be possible to merge the two in the future.

Co-authored by:	mhorne
MFC after:	1 month
Differential Revision: https://reviews.freebsd.org/D30554
2023-02-08 16:50:46 -04:00
..
allwinner Mechanically convert if_emac(4) to IfAPI 2023-01-24 14:35:33 -05:00
altera/socfpga arm altera: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
annapurna/alpine Add fdt to name of a fdt specific function 2022-05-23 15:24:35 +01:00
arm ofwbus: remove handling of resources from ofwbus 2023-02-08 16:50:46 -04:00
broadcom/bcm2835 pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00
conf netlink: add NETLINK to GENERIC. 2023-01-31 14:22:11 +00:00
freescale kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
include arm: Add support for using VFP in kernel 2023-02-04 20:21:43 +01:00
mv arm: mv: Add missing function prototype 2023-02-04 20:21:43 +01:00
nvidia kmem_malloc/free: Use void * instead of vm_offset_t for kernel pointers. 2022-09-22 15:09:19 -07:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
qualcomm ipq4018: remove write-only variables in USB ehci/xhci bus glue 2022-09-12 20:10:24 -07:00
rockchip Add support for RK3288 SoC. 2020-12-04 16:24:44 +00:00
ti Mechanically convert if_cpsw(4) to IfAPI 2023-01-24 14:36:28 -05:00
xilinx xilinx: Fix a typo in a source code comment 2022-11-01 08:00:53 +01:00