freebsd-nq/sys
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
..
amd64 vmm_instruction_emul.c: fix bhyve build 2022-04-10 13:37:24 -08:00
arm arm ti: Remove unused variables. 2022-04-08 18:31:30 -07:00
arm64 Only return a mapped address from efi_phys_to_kva 2022-04-10 09:41:54 +01:00
bsm
cam cam(4): Remove a double word in a source code comment 2022-04-09 10:13:59 +02:00
cddl zfs: merge openzfs/zfs@a86e08941 (master) into main 2022-03-08 18:53:02 +01:00
compat linux(4): Copyout actual size of addr to the user space in accept(). 2022-04-11 23:33:27 +03:00
conf xen/acpi: upload Cx and Px data to Xen 2022-04-12 10:03:26 +02:00
contrib xen/acpi: upload Cx and Px data to Xen 2022-04-12 10:03:26 +02:00
crypto armv8crypto: Remove leftover debug printfs 2022-02-17 14:25:45 -05:00
ddb
dev xen/acpi: upload Cx and Px data to Xen 2022-04-12 10:03:26 +02:00
dts dts: add IPQ4018/IPQ4019 ethernet MAC and ethernet switch definitions 2022-02-03 21:26:45 -08:00
fs nfscl: Clean up the code by removing unused arguments 2022-04-10 14:05:44 -07:00
gdb gdb(4): Do not use run length encoding for 3-symbol repetitions 2022-01-22 14:46:06 -05:00
geom Avoid dereferencing a possibly null pointer. 2022-04-06 14:25:55 -07:00
gnu
i386 i386: Remove a double word in a source code comment 2022-04-09 14:30:34 +02:00
isa
kern getdirentries: return ENOENT for unlinked but still open directory. 2022-04-11 23:30:16 +03:00
kgssapi kgssapi krb5: Remove unused variables. 2022-04-06 16:45:29 -07:00
libkern libkern: Fix two typos in source code comments 2022-04-09 09:36:34 +02:00
modules ce: Disable -Wunused-but-set-variable for obfuscated tau32-ddk.c. 2022-04-08 17:25:13 -07:00
net net: Fix a typo in a source code comment 2022-04-09 11:37:57 +02:00
net80211 net80211(4): Fix a typo in a source code comment 2022-04-09 09:13:53 +02:00
netgraph netgraph(3): Remove a double word in a source code comment 2022-04-09 14:41:40 +02:00
netinet IPv4 multicast: fix LOR in shutdown path 2022-04-11 14:51:16 -05:00
netinet6 Fix ipfw fwd that doesn't work in some cases 2022-04-11 14:16:43 +03:00
netipsec ipsec: sprinkle CURVNET_ASSERT_SET 2022-02-19 13:10:41 +00:00
netpfil pf: drain Ethernet rules cleanup before starting a new transaction 2022-04-11 15:47:57 +02:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs nfs: do not panic on bootpc_init when no interfaces are found 2022-04-07 19:33:26 -03:00
nfsclient
nfsserver
nlm
ofed ofed: Fix a typo in a source code comment 2022-04-09 14:39:36 +02:00
opencrypto crypto: hide crypto_destroyreq behind a tunable 2022-02-16 07:45:12 +00:00
powerpc powerpc: Fix two typos in source code comments 2022-04-09 09:14:07 +02:00
riscv riscv: eliminate physmap global 2022-04-07 12:26:59 -03:00
rpc svc_vc_rendezvous_stat: eliminiate write only variable stat 2022-04-04 22:31:04 -06:00
security audit: Initialize vattr fields before calling VOP_GETATTR 2022-03-28 11:23:45 -04:00
sys getdirentries: return ENOENT for unlinked but still open directory. 2022-04-11 23:30:16 +03:00
teken teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
tests
tools syscallarg_t: Add a type for system call arguments 2022-03-28 19:43:03 +01:00
ufs ufs/acl.h: forward-declare struct inode 2022-04-10 00:43:53 +03:00
vm Fix OID format for vm.swap_reserved and vm.swap_total 2022-04-10 18:17:09 -07:00
x86 i386: Fix the nodevice apic build 2022-04-08 11:47:52 -04:00
xdr
xen xen(3): Fix a typo in a source code comment 2022-03-28 19:32:53 +02:00
Makefile