RISC-V Patches for the 3.1 Soft Freeze, Part 2
The following changes since commit a2e002ff7913ce93aa0f7dbedd2123dce5f1a9cd:
Merge remote-tracking branch 'remotes/vivier2/tags/qemu-trivial-for-3.1-pull-request' into staging (2018-10-30 15:49:55 +0000)
are available in the Git repository at:
git://github.com/riscv/riscv-qemu.git tags/riscv-for-master-3.1-sf1
for you to fetch changes up to a094b3544f2855c0489f5df3c938b14b9a5899e5:
Add [email protected] as the RISC-V list (2018-10-30 11:04:29 -0700)
----------------------------------------------------------------
RISC-V Patches for the 3.1 Soft Freeze, Part 2
This tag contains a few simple patches that I'd like to target for the QEMU soft freeze. There's only one code change: a fix to our PMP implementation that avoids an internal truncation while computing a partial PMP read.
I also have two updates to the MAINTAINERS file: one to add Alistair as a RISC-V maintainer, and one to add our newly created mailing list.
----------------------------------------------------------------
Dayeol Lee (1):
target/riscv/pmp.c: pmpcfg_csr_read returns bogus value on RV64
Palmer Dabbelt (2):
Add Alistair as a RISC-V Maintainer Add [email protected] as the RISC-V list
MAINTAINERS | 2 ++ target/riscv/pmp.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-)
[Qemu-devel] [PULL 1/3] target/riscv/pmp.c: pmpcfg_csr_read returns bogus value on RV64
From: Dayeol Lee <[email protected]>
pmp_read_cfg() returns 8-bit value, which is combined together to form a single pmpcfg CSR. The default promotion rules will result in an integer here ("i*8" is integer, which flows through) resulting in a 32-bit signed value on most hosts.
That's bogus on RV64I, with the high bits of the CSR being wrong.
--- target/riscv/pmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
target/riscv/pmp.c +1 -1
@@ -325,7 +325,7 @@ target_ulong pmpcfg_csr_read(CPURISCVState *env, uint32_t reg_index) {int i;target_ulong cfg_val =0 ; -uint8_t val =0 ; +target_ulong val =0 ;for (i =0 ; i <sizeof (target_ulong); i++) { val =pmp_read_cfg (env, (reg_index *sizeof (target_ulong)) + i);
Signature · 1 line
2.18.1
[Qemu-devel] [PULL 2/3] Add Alistair as a RISC-V Maintainer
In reply to Palmer DabbeltAlistair has been contributing to the RISC-V QEMU port for a while now so I'd like him to be officially listed as a maintainer. I've checked with the other RISC-V maintainers and there are no objections, and I've also checked with Alistair so he knows I'm volunteering him.
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -241,6 +241,7 @@ F: disas/ppc.c RISC-V M: Michael Clark <[email protected]> M: Palmer Dabbelt <[email protected]> +M: Alistair Francis <[email protected]> M: Sagar Karandikar <[email protected]> M: Bastian Koppelmann <[email protected]> S: Maintained
Signature · 1 line
2.18.1
[Qemu-devel] [PULL 3/3] Add [email protected] as the RISC-V list
In reply to Palmer DabbeltWe now have a RISC-V specific QEMU development list.
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -244,6 +244,7 @@ M: Palmer Dabbelt <[email protected]> M: Alistair Francis <[email protected]> M: Sagar Karandikar <[email protected]> M: Bastian Koppelmann <[email protected]> +L: [email protected] S: Maintained F: target/riscv/ F: hw/riscv/
Signature · 1 line
2.18.1
Peter Maydell
AppliedQuoted 15 lines · Palmer Dabbelt
The following changes since commit
a2e002ff7913ce93aa0f7dbedd2123dce5f1a9cd:Merge remote-tracking branch 'remotes/vivier2/tags/qemu-trivial-for-3.1-pull-request' into staging (2018-10-30 15:49:55 +0000)
are available in the Git repository at:
git://github.com/riscv/riscv-qemu.gittags/riscv-for-master-3.1-sf1for you to fetch changes up to
a094b3544f2855c0489f5df3c938b14b9a5899e5:Add [email protected] as the RISC-V list (2018-10-30 11:04:29 -0700)
----------------------------------------------------------------
RISC-V Patches for the 3.1 Soft Freeze, Part 2
Quoted 8 lines
This tag contains a few simple patches that I'd like to target for the QEMU soft freeze. There's only one code change: a fix to our PMP implementation that avoids an internal truncation while computing a partial PMP read.
I also have two updates to the
MAINTAINERSfile: one to add Alistair as a RISC-V maintainer, and one to add our newly created mailing list.
Applied, thanks.
-- PMM