Revision 9855d8ce41a7801548a05d844db2f46c3e810166 authored by Stefan Bader on 22 January 2013, 12:37:21 UTC, committed by Rafael J. Wysocki on 22 January 2013, 12:37:21 UTC
To fix incorrect P-state frequencies which can happen on some AMD systems f594065faf4f9067c2283a34619fc0714e79a98d "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>
1 parent 8fa938a
File | Mode | Size |
---|---|---|
cluster | ||
dlm | ||
dlmfs | ||
Kconfig | -rw-r--r-- | 2.4 KB |
Makefile | -rw-r--r-- | 1.0 KB |
acl.c | -rw-r--r-- | 11.3 KB |
acl.h | -rw-r--r-- | 1.0 KB |
alloc.c | -rw-r--r-- | 187.0 KB |
alloc.h | -rw-r--r-- | 11.7 KB |
aops.c | -rw-r--r-- | 53.0 KB |
aops.h | -rw-r--r-- | 3.8 KB |
blockcheck.c | -rw-r--r-- | 16.3 KB |
blockcheck.h | -rw-r--r-- | 3.8 KB |
buffer_head_io.c | -rw-r--r-- | 10.4 KB |
buffer_head_io.h | -rw-r--r-- | 2.4 KB |
dcache.c | -rw-r--r-- | 14.5 KB |
dcache.h | -rw-r--r-- | 2.1 KB |
dir.c | -rw-r--r-- | 115.7 KB |
dir.h | -rw-r--r-- | 3.9 KB |
dlmglue.c | -rw-r--r-- | 113.5 KB |
dlmglue.h | -rw-r--r-- | 5.8 KB |
export.c | -rw-r--r-- | 6.2 KB |
export.h | -rw-r--r-- | 1.0 KB |
extent_map.c | -rw-r--r-- | 23.2 KB |
extent_map.h | -rw-r--r-- | 2.8 KB |
file.c | -rw-r--r-- | 66.0 KB |
file.h | -rw-r--r-- | 2.6 KB |
heartbeat.c | -rw-r--r-- | 3.4 KB |
heartbeat.h | -rw-r--r-- | 1.5 KB |
inode.c | -rw-r--r-- | 39.4 KB |
inode.h | -rw-r--r-- | 6.1 KB |
ioctl.c | -rw-r--r-- | 23.1 KB |
ioctl.h | -rw-r--r-- | 330 bytes |
journal.c | -rw-r--r-- | 57.3 KB |
journal.h | -rw-r--r-- | 22.0 KB |
localalloc.c | -rw-r--r-- | 33.3 KB |
localalloc.h | -rw-r--r-- | 2.0 KB |
locks.c | -rw-r--r-- | 3.4 KB |
locks.h | -rw-r--r-- | 1.1 KB |
mmap.c | -rw-r--r-- | 5.1 KB |
mmap.h | -rw-r--r-- | 134 bytes |
move_extents.c | -rw-r--r-- | 27.2 KB |
move_extents.h | -rw-r--r-- | 758 bytes |
namei.c | -rw-r--r-- | 59.9 KB |
namei.h | -rw-r--r-- | 1.5 KB |
ocfs1_fs_compat.h | -rw-r--r-- | 2.9 KB |
ocfs2.h | -rw-r--r-- | 23.8 KB |
ocfs2_fs.h | -rw-r--r-- | 50.6 KB |
ocfs2_ioctl.h | -rw-r--r-- | 6.9 KB |
ocfs2_lockid.h | -rw-r--r-- | 3.2 KB |
ocfs2_lockingver.h | -rw-r--r-- | 959 bytes |
ocfs2_trace.h | -rw-r--r-- | 75.7 KB |
quota.h | -rw-r--r-- | 4.3 KB |
quota_global.c | -rw-r--r-- | 27.0 KB |
quota_local.c | -rw-r--r-- | 35.9 KB |
refcounttree.c | -rw-r--r-- | 112.9 KB |
refcounttree.h | -rw-r--r-- | 4.2 KB |
reservations.c | -rw-r--r-- | 20.4 KB |
reservations.h | -rw-r--r-- | 5.3 KB |
resize.c | -rw-r--r-- | 15.9 KB |
resize.h | -rw-r--r-- | 1.1 KB |
slot_map.c | -rw-r--r-- | 12.2 KB |
slot_map.h | -rw-r--r-- | 1.4 KB |
stack_o2cb.c | -rw-r--r-- | 11.5 KB |
stack_user.c | -rw-r--r-- | 23.2 KB |
stackglue.c | -rw-r--r-- | 16.8 KB |
stackglue.h | -rw-r--r-- | 8.9 KB |
suballoc.c | -rw-r--r-- | 76.5 KB |
suballoc.h | -rw-r--r-- | 7.1 KB |
super.c | -rw-r--r-- | 69.2 KB |
super.h | -rw-r--r-- | 1.6 KB |
symlink.c | -rw-r--r-- | 2.7 KB |
symlink.h | -rw-r--r-- | 1.3 KB |
sysfile.c | -rw-r--r-- | 4.6 KB |
sysfile.h | -rw-r--r-- | 1.1 KB |
uptodate.c | -rw-r--r-- | 17.7 KB |
uptodate.h | -rw-r--r-- | 3.0 KB |
ver.c | -rw-r--r-- | 1.2 KB |
ver.h | -rw-r--r-- | 1000 bytes |
xattr.c | -rw-r--r-- | 193.8 KB |
xattr.h | -rw-r--r-- | 3.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...