Re: [PATCH] x86/its: Move ITS indirect branch thunks to .text..__x86.indirect_thunk

From: Pawan Gupta
Date: Fri Jun 06 2025 - 13:40:00 EST


On Fri, Jun 06, 2025 at 09:55:02AM -0700, Josh Poimboeuf wrote:
> The ITS mitigation includes both indirect branch thunks and return
> thunks. Both are currently placed in .text..__x86.return_thunk, which
> is appropriate for the latter but not the former.
>
> For consistency with other mitigations, move the indirect branch thunks
> to .text..__x86.indirect_thunk.
>
> Signed-off-by: Josh Poimboeuf <jpoimboe@xxxxxxxxxx>

Reviewed-by: Pawan Gupta <pawan.kumar.gupta@xxxxxxxxxxxxxxx>