]> git.proxmox.com Git - mirror_qemu.git/commit - hw/intc/riscv_aclint.c
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)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 2 Jul 2020 16:19:32 +0000 (09:19 -0700)
commit70b78d4e71494c90d2ccb40381336bc9b9a22f79
tree714cdb42219e4cb45c452b90b20e770253915f68
parent55765822804f5a58594e0931e0fb8f80337b5425
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>
hw/riscv/sifive_clint.c