WSL2-Linux-Kernel/drivers/acpi
Stefan Bader 9855d8ce41 ACPI: Check MSR valid bit before using P-state frequencies
To fix incorrect P-state frequencies which can happen on
some AMD systems f594065faf
   "ACPI: Add fixups for AMD P-state figures"
introduced a quirk to obtain the correct values by reading
from AMD specific MSRs.

This did cause a regression when running a kernel using that
quirk under Xen which does (currently) not pass through MSR
reads to the HW. Instead the guest gets a 0 in return.
And this seems to cause a failure to initialize the ondemand
governour (hard to say for sure as all P-states appear to run
at the same frequency).

While this should also be fixed in the hypervisor (to allow
a guest to read that MSR), this patch is intended to work
around the issue in the meantime. In discussion it turned out
that indeed real HW/BIOSes may choose to not set the valid bit
and thus mark the P-state as invalid. So this could be considered
a fix for broken BIOSes that also works around the issue on Xen.

Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Cc: 3.7+ <stable@vger.kernel.org>
Acked-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-01-22 13:37:21 +01:00
..
acpica ACPICA: Remove useless mini-C library. 2013-01-03 13:09:10 +01:00
apei ACPI, APEI: Fixup incorrect 64-bit access width firmware bug 2013-01-19 01:34:43 +01:00
Kconfig Merge branch 'x86-acpi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-12-14 10:03:23 -08:00
Makefile
ac.c
acpi_i2c.c
acpi_ipmi.c
acpi_memhotplug.c ACPI / memhotplug: remove redundant logic of acpi memory hotadd 2013-01-03 13:10:21 +01:00
acpi_pad.c
acpi_platform.c
battery.c
bgrt.c
blacklist.c
bus.c
button.c
cm_sbs.c
container.c
custom_method.c
debugfs.c
device_pm.c ACPI / PM: Do not apply ACPI_SUCCESS() to acpi_bus_get_device() result 2013-01-03 13:10:21 +01:00
dock.c
ec.c
ec_sys.c
event.c
fan.c
glue.c ACPI / glue: Fix build with ACPI_GLUE_DEBUG set 2013-01-12 14:00:06 +01:00
hed.c Driver core updates for 3.8-rc1 2012-12-11 13:13:55 -08:00
internal.h Merge branch 'acpi-general' 2012-11-29 21:43:06 +01:00
numa.c
nvs.c
osl.c Merge branch 'x86-acpi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-12-14 10:03:23 -08:00
pci_bind.c
pci_irq.c PCI changes for the v3.8 merge window: 2012-12-13 12:14:47 -08:00
pci_link.c
pci_root.c PCI changes for the v3.8 merge window: 2012-12-13 12:14:47 -08:00
pci_slot.c
power.c ACPI / power: Remove useless message from device registering routine 2013-01-03 13:10:22 +01:00
proc.c
processor_core.c
processor_driver.c
processor_idle.c ACPI / processor: Get power info before updating the C-states 2013-01-19 00:28:22 +01:00
processor_perflib.c ACPI: Check MSR valid bit before using P-state frequencies 2013-01-22 13:37:21 +01:00
processor_thermal.c
processor_throttling.c
reboot.c
resource.c ACPI: remove unnecessary INIT_LIST_HEAD 2012-11-27 13:49:36 +01:00
sbs.c
sbshc.c
sbshc.h
scan.c ACPI / scan: Do not use dummy HID for system bus ACPI nodes 2013-01-04 23:00:54 +01:00
sleep.c Merge branch 'acpi-general' 2012-12-04 13:46:08 +01:00
sleep.h
sysfs.c
tables.c
thermal.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2012-12-12 07:57:13 -08:00
utils.c
video.c ACPI / video: ignore BIOS initial backlight value for HP Folio 13-2000 2012-12-04 23:30:19 +01:00
video_detect.c ACPI / video: Add "Asus UL30VT" to ACPI video detect blacklist 2012-11-30 13:02:50 +01:00
wakeup.c