aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/altera-fpga2sdram.c
diff options
context:
space:
mode:
authorSrinivas Pandruvada <[email protected]>2021-11-04 05:19:25 +0000
committerRafael J. Wysocki <[email protected]>2021-11-04 18:48:47 +0000
commit5521055670a53bd495676d1163b40ecb0a37af9c (patch)
treee412263fb918a5f8671bf50f4be3ef2aecc6bb64 /drivers/fpga/altera-fpga2sdram.c
parentcpufreq: intel_pstate: Clear HWP desired on suspend/shutdown and offline (diff)
downloadkernel-5521055670a53bd495676d1163b40ecb0a37af9c.tar.gz
kernel-5521055670a53bd495676d1163b40ecb0a37af9c.zip
cpufreq: intel_pstate: Fix unchecked MSR 0x773 access
It is possible that on some platforms HWP interrupts are disabled. In that case accessing MSR 0x773 will result in warning. So check X86_FEATURE_HWP_NOTIFY feature to access MSR 0x773. The other places in code where this MSR is accessed, already checks this feature except during disable path called during cpufreq offline and suspend callbacks. Fixes: 57577c996d73 ("cpufreq: intel_pstate: Process HWP Guaranteed change notification") Reported-by: Steven Rostedt <[email protected]> Signed-off-by: Srinivas Pandruvada <[email protected]> Tested-by: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions