On 8/3/25 11:08, Mohamed Mediouni wrote:
On 3. Aug 2025, at 03:03, Richard Henderson <[email protected]>
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
Huh. I thought I remembered some el2 debugging. Oh well.
Leaving it support as stub functions is good enough for now.
r~