freebsd-dev/sys/dev/xen
Roger Pau Monné bc9a5b0497 xen/acpi: only evaluate Processor objects matching online CPUs
Current Xen Processor driver will evaluate any Processor object on the
ACPI tables regardless of whether the processor is online or not.
Avoid doing so for processors that are not online, as evaluating
methods of processors that are not online could lead to accesses to
invalid memory, and in any case the data that the driver fetches from
the Processor ACPI object only makes sense for processors that are
online.

Note the CPU related data fetched from Xen using XENPF_get_cpuinfo
hypercall could be cached, I leave that as a future optimization.

Sponsored by: Citrix Systems R&D
Fixes: b93f47eaee ('xen/acpi: upload Cx and Px data to Xen')
2022-11-29 16:36:34 +01:00
..
balloon
blkback Fix unused variable warning in xen's blkback.c 2022-07-26 19:59:55 +02:00
blkfront Fix unused variable warning in xen's blkfront.c 2022-07-26 19:59:55 +02:00
bus pmap_unmapdev/bios: Accept a pointer instead of a vm_offset_t. 2022-09-22 15:08:52 -07:00
console
control Adjust function definitions in xen's control.c to avoid clang 15 warnings 2022-07-26 19:59:55 +02:00
cpu xen/acpi: only evaluate Processor objects matching online CPUs 2022-11-29 16:36:34 +01:00
debug
efi
evtchn
gntdev
grant_table
netback
netfront xen/netfront: deal with mbuf data crossing a page boundary 2022-11-03 13:32:21 +01:00
privcmd
timer
xenpci
xenstore