]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/riscv: Allow 64 bit access to SiFive CLINT
authorAlistair Francis <alistair.francis@wdc.com>
Tue, 30 Jun 2020 20:12:11 +0000 (13:12 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 27 Aug 2020 05:03:16 +0000 (00:03 -0500)
commit182be029628068dc7739b496df63f073f2aa8ae3
treeb61fbca43d50111c485a32c292826746f9be79a8
parentb14cd263ad87a4c3a83308f093841d247eb711f1
hw/riscv: Allow 64 bit access to SiFive CLINT

Commit 5d971f9e672507210e77d020d89e0e89165c8fc9
"memory: Revert "memory: accept mismatching sizes in
memory_region_access_valid"" broke most RISC-V boards as they do 64 bit
accesses to the CLINT and QEMU would trigger a fault. Fix this failure
by allowing 8 byte accesses.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: LIU Zhiwei<zhiwei_liu@c-sky.com>
Message-Id: <122b78825b077e4dfd39b444d3a46fe894a7804c.1593547870.git.alistair.francis@wdc.com>
(cherry picked from commit 70b78d4e71494c90d2ccb40381336bc9b9a22f79)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/riscv/sifive_clint.c