[Qemu-devel] [Bug 1809546] Re: Writing a byte to a pl011 SFR overwrites the whole SFR

2019-01-04 Thread Daniels Umanovskis
Thanks for the response. I don't think section 3.1 applies to 8-bit accesses. That is specifically about reserved locations, and neither offset 0x38 nor 0x39 are reserved, so I think it's a matter of whether 32-bit access is required or not. >From what I usually see in ARM documentation, 32-bit a

[Qemu-devel] [Bug 1809546] Re: Writing a byte to a pl011 SFR overwrites the whole SFR

2018-12-22 Thread Daniels Umanovskis
Adding the link script. ** Attachment added: "linkscript.ld" https://bugs.launchpad.net/qemu/+bug/1809546/+attachment/5224337/+files/linkscript.ld -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/18

[Qemu-devel] [Bug 1809546] [NEW] Writing a byte to a pl011 SFR overwrites the whole SFR

2018-12-22 Thread Daniels Umanovskis
Public bug reported: The bug is present in QEMU 2.8.1 and, if my analysis is correct, also on master. I first noticed that a PL011 UART driver, which is fine on real hardware, fails to enable the RX interrupt in the IMSC register when running in QEMU. However, the problem only comes up if the cod