aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorOskar Senft <[email protected]>2018-03-23 13:11:30 +0000
committerThomas Gleixner <[email protected]>2018-04-20 11:17:50 +0000
commit15a3e845b01ce2342cf187dc123c92c44c3c8170 (patch)
treee06952a1062144a3a26001e74f4a347216499485 /drivers/fpga/fpga-region.c
parentperf/x86/intel/uncore: Revert "Remove SBOX support for Broadwell server" (diff)
downloadkernel-15a3e845b01ce2342cf187dc123c92c44c3c8170.tar.gz
kernel-15a3e845b01ce2342cf187dc123c92c44c3c8170.zip
perf/x86/intel/uncore: Fix SBOX support for Broadwell CPUs
SBOX on some Broadwell CPUs is broken because it's enabled unconditionally despite the fact that there are no SBOXes available. Check the Power Control Unit CAPID4 register to determine the number of available SBOXes on the particular CPU before trying to enable them. If there are none, nullify the SBOX descriptor so it isn't tried to be initialized. Signed-off-by: Oskar Senft <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Mark van Dijk <[email protected]> Reviewed-by: Kan Liang <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions