aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorThadeu Lima de Souza Cascardo <[email protected]>2022-07-07 16:41:52 +0000
committerBorislav Petkov <[email protected]>2022-07-08 10:50:52 +0000
commit2259da159fbe5dba8ac00b560cf00b6a6537fa18 (patch)
treec7c295174ab434d421be7ecb5b0792067c269271 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentx86/entry: Move PUSH_AND_CLEAR_REGS() back into error_entry (diff)
downloadkernel-2259da159fbe5dba8ac00b560cf00b6a6537fa18.tar.gz
kernel-2259da159fbe5dba8ac00b560cf00b6a6537fa18.zip
x86/bugs: Do not enable IBPB-on-entry when IBPB is not supported
There are some VM configurations which have Skylake model but do not support IBPB. In those cases, when using retbleed=ibpb, userspace is going to be killed and kernel is going to panic. If the CPU does not support IBPB, warn and proceed with the auto option. Also, do not fallback to IBPB on AMD/Hygon systems if it is not supported. Fixes: 3ebc17006888 ("x86/bugs: Add retbleed=ibpb") Signed-off-by: Thadeu Lima de Souza Cascardo <[email protected]> Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions