aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-12-06 16:20:06 +0000
committerIngo Molnar <[email protected]>2024-12-06 18:57:05 +0000
commit492077668fb453b8b16c842fcf3fafc2ebc190e9 (patch)
treeaec53d55ce1153f7b75692287694f84d29a8fbf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentx86/cacheinfo: Delete global num_cache_leaves (diff)
downloadkernel-492077668fb453b8b16c842fcf3fafc2ebc190e9.tar.gz
kernel-492077668fb453b8b16c842fcf3fafc2ebc190e9.zip
x86/CPU/AMD: WARN when setting EFER.AUTOIBRS if and only if the WRMSR fails
When ensuring EFER.AUTOIBRS is set, WARN only on a negative return code from msr_set_bit(), as '1' is used to indicate the WRMSR was successful ('0' indicates the MSR bit was already set). Fixes: 8cc68c9c9e92 ("x86/CPU/AMD: Make sure EFER[AIBRSE] is set") Reported-by: Nathan Chancellor <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Closes: https://lore.kernel.org/all/20241205220604.GA2054199@thelio-3990X
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions