Re: [Qemu-devel] [PATCH for 4.1] target/riscv: More accurate handling of `sip` CSR

2019-05-07 Thread Jonathan Behrens
Yes, I was pasting the output of `git format-patch`. Gmail displays properly for me, but seems to have hard-wrapped the plaintext version of my outgoing message to 78 characters. I've tried re-sending from a different address where I can use `git send-email` directly, please let me know if it works

Re: [Qemu-devel] [PATCH for 4.1] target/riscv: More accurate handling of `sip` CSR

2019-05-07 Thread Palmer Dabbelt
On Mon, 06 May 2019 08:52:43 PDT (-0700), finte...@gmail.com wrote: According to the spec, "All bits besides SSIP, USIP, and UEIP in the sip register are read-only." Further, if an interrupt is not delegated to mode x, then "the corresponding bits in xip [...] should appear to be hardwired to zer

[Qemu-devel] [PATCH for 4.1] target/riscv: More accurate handling of `sip` CSR

2019-05-06 Thread Jonathan Behrens
According to the spec, "All bits besides SSIP, USIP, and UEIP in the sip register are read-only." Further, if an interrupt is not delegated to mode x, then "the corresponding bits in xip [...] should appear to be hardwired to zero. This patch implements both of those requirements. Signed-off-by: J