Re: [PATCH] x86/bhi: BHI mitigation can trigger warning in #DB handler

From: Dave Hansen
Date: Thu May 23 2024 - 11:36:33 EST


On 5/23/24 07:52, Alexandre Chartre wrote:
>> Should we wrap up this gem and put it with the other entry selftests?
>
> It looks like tools/testing/selftests/x86/single_step_syscall.c tests
> sysenter with TF set but it doesn't check if the kernel issues any
> warning.

Does it actually trip the warning though? I'm a bit surprised that
nobody reported it if so.