diff options
author | Pawan Gupta <pawan.kumar.gupta@linux.intel.com> | 2025-06-11 10:29:47 -0700 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-06-23 12:22:44 +0200 |
commit | 7e44909e0ea8346ba08b244ecc275fc3394e2b8e (patch) | |
tree | 44b9a60e9d9cb81e3e28b195f1607c9b4359d3f6 /rust/helpers/xarray.c | |
parent | 9f85fdb9fc5a1bd308a10a0a7d7e34f2712ba58b (diff) |
x86/bugs: Use switch/case in its_apply_mitigation()
Prepare to apply stuffing mitigation in its_apply_mitigation(). This is
currently only done via retbleed mitigation. Also using switch/case
makes it evident that mitigation mode like VMEXIT_ONLY doesn't need any
special handling.
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://lore.kernel.org/20250611-eibrs-fix-v4-4-5ff86cac6c61@linux.intel.com
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions