On June 13, 2025 4:22:57 PM PDT, Xin Li <xin@xxxxxxxxx> wrote:
On 6/13/2025 3:43 PM, Sohil Mehta wrote:You would have to map some memory uncached.
On 6/13/2025 12:01 AM, Xin Li (Intel) wrote:Thank you very much!
Xin Li (Intel) (3):The patches fix the false bus_lock warning that I was observing with the
x86/traps: Move DR7_RESET_VALUE to <uapi/asm/debugreg.h>
x86/traps: Initialize DR7 by writing its architectural reset value
x86/traps: Initialize DR6 by writing its architectural reset value
infinite sigtrap selftest.
Tested-by: Sohil Mehta <sohil.mehta@xxxxxxxxx>
I'll try it out again once you send the updated version.
In future, should we incorporate a #DB (or bus_lock) specific selftest
to detect such DR6/7 initialization issues?
I cant think of how to tests it. Any suggestion about a new test?
--