diff options
author | Pawan Gupta <pawan.kumar.gupta@linux.intel.com> | 2025-06-11 10:29:31 -0700 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2025-06-23 12:21:30 +0200 |
commit | 9f85fdb9fc5a1bd308a10a0a7d7e34f2712ba58b (patch) | |
tree | 15128d9bab37b855076599b6352d46c8e917440f /rust/helpers/xarray.c | |
parent | 530e80648bff083e1d19ad7248c0540812a9a35f (diff) |
x86/bugs: Avoid warning when overriding return thunk
The purpose of the warning is to prevent an unexpected change to the return
thunk mitigation. However, there are legitimate cases where the return
thunk is intentionally set more than once. For example, ITS and SRSO both
can set the return thunk after retbleed has set it. In both the cases
retbleed is still mitigated.
Replace the warning with an info about the active return thunk.
Suggested-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/20250611-eibrs-fix-v4-3-5ff86cac6c61@linux.intel.com
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions