opnsense-src/sys/dev/acpica
Roger Pau Monné b93f47eaee xen/acpi: upload Cx and Px data to Xen
When FreeBSD is running as dom0 (initial domain) on a Xen system it
has access to the native ACPI tables and is the OSPM. However the
hypervisor is the entity in charge of the CPU idle and frequency
states, and in order to perform this duty it requires information
found the ACPI dynamic tables that can only be parsed by the OSPM.

Introduce a new Xen specific ACPI driver to fetch the Processor
related information and upload it to Xen. Note that this driver needs
to take precedence over the generic ACPI CPU driver when running as
dom0, so downgrade the probe score of the native driver to
BUS_PROBE_DEFAULT in order for the Xen specific driver to use
BUS_PROBE_SPECIFIC.

Tested on an Intel NUC to successfully parse and upload both the Cx and
Px states to Xen.

Sponsored by: Citrix Systems R&D
Reviewed by: jhb kib
Differential revision: https://reviews.freebsd.org/D34841
2022-04-12 10:03:26 +02:00
..
Osd acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi.c Extend device_get_property API 2022-03-10 12:11:32 +01:00
acpi_acad.c acpica: Remove CTLFLAG_NEEDGIANT from most sysctls. 2021-12-26 19:18:55 -05:00
acpi_apei.c APEI: Make sure event data fit into the buffer. 2022-02-03 15:33:01 -05:00
acpi_battery.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
acpi_bus_if.m Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
acpi_button.c Expose the ACPI power button, sleep button and LID state as evdev's. 2020-03-02 09:45:06 +00:00
acpi_cmbat.c Add workaround for models which do not follow the ACPI specification strictly. 2020-02-27 17:13:57 +00:00
acpi_container.c Distinguish _CID match and _HID match and make lower priority probe 2018-10-26 00:05:46 +00:00
acpi_cpu.c xen/acpi: upload Cx and Px data to Xen 2022-04-12 10:03:26 +02:00
acpi_dock.c acpica: Remove CTLFLAG_NEEDGIANT from most sysctls. 2021-12-26 19:18:55 -05:00
acpi_ec.c acpi_ec(4): Don't probe erroneously if success occurred 2020-04-23 17:30:03 +00:00
acpi_hpet.c hpet: Allow a MMIO window smaller than 1K 2022-03-28 11:23:45 -04:00
acpi_hpet.h hpet: Allow a MMIO window smaller than 1K 2022-03-28 11:23:45 -04:00
acpi_if.m acpica: add ACPI_GET_PROPERTY to access Device Specific Data (DSD) 2021-09-20 16:31:08 +02:00
acpi_isab.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_lid.c Send Lid status notification via devd from acpi_lid_status_update. 2020-05-16 01:50:28 +00:00
acpi_package.c Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpi_pci.c Add UEFI locator for bus_get_device_path, pci acpi 2022-03-01 08:06:41 -07:00
acpi_pci_link.c acpi: Add missing error handling to acpi_pci_link_route_irqs() 2021-05-26 10:49:30 -04:00
acpi_pcib.c acpica: rework INTRNG interrupts 2018-11-19 03:02:47 +00:00
acpi_pcib_acpi.c Add mostly dummy hw.pci.enable_aspm tunable. 2020-06-26 19:55:11 +00:00
acpi_pcib_pci.c Implement a proper detach method for the PCI-PCI bridge driver. 2016-05-20 00:03:22 +00:00
acpi_pcibvar.h Add a new bus method to fetch device-specific CPU sets. 2016-05-09 20:50:21 +00:00
acpi_pcivar.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
acpi_perf.c Make CPU children explicitly share parent unit numbers. 2021-09-24 23:31:51 -04:00
acpi_powerres.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_pxm.c acpi: Ensure that adjacent memory affinity table entries are coalesced 2020-12-18 16:04:48 +00:00
acpi_quirk.c Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
acpi_quirks
acpi_resource.c Ignore ResourceProducer flag for: 2021-08-02 14:11:20 +03:00
acpi_smbat.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
acpi_smbus.h acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_thermal.c acpica: Remove CTLFLAG_NEEDGIANT from most sysctls. 2021-12-26 19:18:55 -05:00
acpi_throttle.c Make CPU children explicitly share parent unit numbers. 2021-09-24 23:31:51 -04:00
acpi_timer.c acpica: Remove CTLFLAG_NEEDGIANT from most sysctls. 2021-12-26 19:18:55 -05:00
acpi_video.c acpica: Remove CTLFLAG_NEEDGIANT from most sysctls. 2021-12-26 19:18:55 -05:00
acpiio.h Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpivar.h bus: Add ACPI locator support 2022-03-01 08:06:41 -07:00