On 4/24/22 04:40, Chris Howard wrote:
Hi, I’m new to qemu (and even bug-reporting) so apologies in advance…
The MASK field in DBGWCRx_EL1 is **5** bits wide [28:24].
In target/arm/kvm64.c I found the line:
wp.wcr = deposit32(wp.wcr, 24, 4, bits); // ie **4** bits
instead of **5
Sorry, I need to correct my previous post:
If I set
DBGWVR0_EL1 = 1<<23 // ie. 0x0080
and
DBGWCR0_EL1 = 0x17<<24 | 0xFF<<5 | 0b11<<3 | 0b11<<1 | 0b1<<0 // ie.
MASK = 23 = 0b10111
and then access memory [0x0080007F] I get a watchpoint exception. (ie.
watc
Hi, I’m new to qemu (and even bug-reporting) so apologies in advance…
The MASK field in DBGWCRx_EL1 is **5** bits wide [28:24].
In target/arm/kvm64.c I found the line:
wp.wcr = deposit32(wp.wcr, 24, 4, bits); // ie **4** bits
instead of **5**
If it’s not copying (or calculating