aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorOskar Senft <[email protected]>2018-03-23 09:11:30 -0400
committerThomas Gleixner <[email protected]>2018-04-20 13:17:50 +0200
commit15a3e845b01ce2342cf187dc123c92c44c3c8170 (patch)
treee06952a1062144a3a26001e74f4a347216499485 /lib/memory-notifier-error-inject.c
parentd7717587ac6deae00e0b66c0113a046be2c6fb1c (diff)
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions