freebsd-src/sys/xen
Roger Pau Monné baa006f342 xen: introduce a per-arch scratch mapping ranges
The current approach is to create foreign mappings in any unpopulated address
on the memory map.  This however can cause issues, as late-loaded drivers could
then found their MMIO region has been stolen to be used as foreign mapping
scratch space (due to the Xen drivers having started first).

Add a local resource manager to the xenpv bus driver, architectures can add
suitable resources to that resource manager at boot in order to be used in
preference of the generic MMIO resource allocator.

No functional change, as the introduced scratch mapping range is not yet
populated.

Sponsored by: Cloud Software Group
MFC after: 1 week
Reviewed by: Elliott Mitchell <ehem+freebsd@m5p.com>
Differential revision: https://reviews.freebsd.org/D46122
2024-07-30 09:39:38 +02:00
..
evtchn x86/xen: fix out of bounds access to the event channel masks on resume 2024-02-22 11:08:03 +01:00
xenbus newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
xenmem sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
xenstore sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
blkif.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
error.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
evtchn.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
features.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
features.h xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
gntdev.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
gnttab.h xen: add SPDX license tags to Xen headers 2023-12-15 14:59:25 +01:00
hvm.h xen/x86: move x86-only variable out of common 2023-11-28 13:30:40 +01:00
hypervisor.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
privcmd.h xen: add SPDX license tags to Xen headers 2023-12-15 14:59:25 +01:00
xen-os.h xen: introduce a per-arch scratch mapping ranges 2024-07-30 09:39:38 +02:00
xen_common.c xen: remove xen_domain_type enum/variable 2023-11-28 13:40:19 +01:00
xen_intr.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
xen_pv.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00