Home
last modified time | relevance | path

Searched hist:bc9a5b049797fb7484dc1448f5d806955499f1f0 (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.cdiff bc9a5b049797fb7484dc1448f5d806955499f1f0 Tue Nov 29 16:21:51 CET 2022 Roger Pau Monné <royger@FreeBSD.org> 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: b93f47eaeef7 ('xen/acpi: upload Cx and Px data to Xen')