> On 3. Aug 2025, at 03:03, Richard Henderson <richard.hender...@linaro.org> 
> wrote:
> 
> On 8/3/25 10:55, Mohamed Mediouni wrote:
>> Arm WHPX has no specific functionality for debugging today, but we could 
>> support kernel mode breakpoints via replacing them by an unhandled hvc #2, 
>> stubbing might be the right route to go...
> 
> Surely the debug registers are usable?  In the meantime, stub functions which 
> do nothing are better than ifdefs wherever possible.
The debug exception goes to EL1 if we do so instead of the hypervisor because 
there aren't exit bitmaps/a debug trap API on arm64 WHP to make the HV vmexit 
in that case
> r~


Reply via email to