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 xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
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 xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
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 xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
efi xen: switch to use headers in contrib 2022-02-07 10:11:56 +01:00
evtchn xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
gntdev xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
grant_table xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
netback xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
netfront xen/netfront: deal with mbuf data crossing a page boundary 2022-11-03 13:32:21 +01:00
privcmd xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
timer xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
xenpci xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00
xenstore xen: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:58 -07:00