Re: [PATCH -v2] x86/retpoline: Ensure default return thunk isn't used at runtime

From: Klara Modin
Date: Wed Apr 03 2024 - 16:26:30 EST


On 2024-04-03 19:30, Borislav Petkov wrote:
On Wed, Apr 03, 2024 at 07:10:17PM +0200, Klara Modin wrote:
With this patch/commit, one of my machines (older P4 Xeon, 32-bit only)
hangs on boot with CONFIG_RETHUNK=y / CONFIG_MITIGATION_RETHUNK=y.

I wanna say your old P4 heater :) is not even affected by the crap the
return thunks are trying to address so perhaps we should make
CONFIG_MITIGATION_RETHUNK depend on !X86_32...


Probably, I don't have much knowledge about this stuff. The machine can at least be useful for testing still :)