aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVenkatesh Srinivas <[email protected]>2020-04-16 18:42:54 +0000
committerPaolo Bonzini <[email protected]>2020-04-17 15:06:33 +0000
commit2ca1a06a5440ae8aa7bb0709336d759395b7bbb8 (patch)
treee2523202629412d88c4f430eba74d30e86eb2b3a /tools/perf/scripts/python/exported-sql-viewer.py
parentKVM: Remove CREATE_IRQCHIP/SET_PIT2 race (diff)
downloadkernel-2ca1a06a5440ae8aa7bb0709336d759395b7bbb8.tar.gz
kernel-2ca1a06a5440ae8aa7bb0709336d759395b7bbb8.zip
kvm: Handle reads of SandyBridge RAPL PMU MSRs rather than injecting #GP
Linux 3.14 unconditionally reads the RAPL PMU MSRs on boot, without handling General Protection Faults on reading those MSRs. Rather than injecting a #GP, which prevents boot, handle the MSRs by returning 0 for their data. Zero was checked to be safe by code review of the RAPL PMU driver and in discussion with the original driver author ([email protected]). Signed-off-by: Venkatesh Srinivas <[email protected]> Signed-off-by: Jon Cargille <[email protected]> Reviewed-by: Jim Mattson <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions