Skip to contentSkip to conversation

roms/opensbi: update to v1.5.1

PATCH Applied Daniel Henrique Barboza 2 participants 4 messages Aug 5, 2024 RISC-V

lore
Share & tools
lore
#0 lore raw

cover roms/opensbi: update to v1.5.1

Hi,

OpenSBI v1.5.1, a bug fix release launched shortly after v1.5, contains several bug fixes that we ended up missing in our refresh to v1.5 a couple of weeks ago.

It's a purely bug fix update from what we already have in v1.5, so I believe we're justified into doing this update during the bug fix freeze.

Alistair, the patch was created with --no-binary as you suggested in the last OpenSBI update I sent. Please fetch both binaries from:

https://gitlab.com/danielhb/qemu/-/commits/opensbi1.5.1

Daniel Henrique Barboza (1):
roms/opensbi: Update to v1.5.1

 .../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 268312 -> 268312 bytes
 .../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 272504 -> 272504 bytes
 roms/opensbi                                  |   2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.45.2
#1 lore raw

PATCH 1/1 roms/opensbi: Update to v1.5.1

A new minor version of OpenSBI was just released after our bump to OpenSBI 1.5. It contains significant bug fixes that it's worth doing a new update for QEMU 9.1.

Submodule roms/opensbi 455de672dd..43cace6c36:

Quoted 5 lines

lib: sbi: check result of pmp_get() in is_pmp_entry_mapped()
lib: sbi: fwft: fix incorrect size passed to sbi_zalloc()
lib: sbi: dbtr: fix potential NULL pointer dereferences
include: Adjust Sscofpmf mhpmevent mask for upper 8 bits
lib: sbi_hsm: Save/restore menvcfg only when it exists

---
 .../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 268312 -> 268312 bytes
 .../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 272504 -> 272504 bytes
 roms/opensbi                                  |   2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
pc-bios/opensbi-riscv32-generic-fw_dynamic.bin binary +0 -0
index 7ec260ff40..b2e740010b 100644
Binary files a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin differ
pc-bios/opensbi-riscv64-generic-fw_dynamic.bin binary +0 -0
index 090c0cf6ac..018b4731a7 100644
Binary files a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin differ
roms/opensbi +1 -1
index 455de672dd..43cace6c36 160000
@@ -1 +1 @@
-Subproject commit 455de672dd7c2aa1992df54dfb08dc11abbc1b1a
+Subproject commit 43cace6c3671e5172d0df0a8963e552bb04b7b20
Signature · 1 line
2.45.2
Reviewed-by on v1 1/1
#2 lore raw

Re: [PATCH for-9.1 1/1] roms/opensbi: Update to v1.5.1

Quoted 5 lines · Daniel Henrique Barboza

A new minor version of OpenSBI was just released after our bump to OpenSBI 1.5. It contains significant bug fixes that it's worth doing a new update for QEMU 9.1.

Quoted 8 lines

Submodule roms/opensbi 455de672dd..43cace6c36:

Quoted 5 lines

lib: sbi: check result of pmp_get() in is_pmp_entry_mapped()
lib: sbi: fwft: fix incorrect size passed to sbi_zalloc()
lib: sbi: dbtr: fix potential NULL pointer dereferences
include: Adjust Sscofpmf mhpmevent mask for upper 8 bits
lib: sbi_hsm: Save/restore menvcfg only when it exists

Alistair

Quoted 23 lines
---
 .../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 268312 -> 268312 bytes
 .../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 272504 -> 272504 bytes
 roms/opensbi                                  |   2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)
pc-bios/opensbi-riscv32-generic-fw_dynamic.bin binary +0 -0
index 7ec260ff40..b2e740010b 100644
Binary files a/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv32-generic-fw_dynamic.bin differ
pc-bios/opensbi-riscv64-generic-fw_dynamic.bin binary +0 -0
index 090c0cf6ac..018b4731a7 100644
Binary files a/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin and b/pc-bios/opensbi-riscv64-generic-fw_dynamic.bin differ
roms/opensbi +1 -2
index 455de672dd..43cace6c36 160000
@@ -1 +1 @@
-Subproject commit 455de672dd7c2aa1992df54dfb08dc11abbc1b1a
+Subproject commit 43cace6c3671e5172d0df0a8963e552bb04b7b20
--

2.45.2

#3 lore raw
In reply to Daniel Henrique Barboza
Quoted 11 lines · Daniel Henrique Barboza

Hi,

OpenSBI v1.5.1, a bug fix release launched shortly after v1.5, contains several bug fixes that we ended up missing in our refresh to v1.5 a couple of weeks ago.

It's a purely bug fix update from what we already have in v1.5, so I believe we're justified into doing this update during the bug fix freeze.

Quoted 8 lines

Alistair, the patch was created with --no-binary as you suggested in the last OpenSBI update I sent. Please fetch both binaries from:

https://gitlab.com/danielhb/qemu/-/commits/opensbi1.5.1

Daniel Henrique Barboza (1):
roms/opensbi: Update to v1.5.1

Thanks!

Applied to riscv-to-apply.next

Alistair

Quoted 10 lines
 .../opensbi-riscv32-generic-fw_dynamic.bin    | Bin 268312 -> 268312 bytes
 .../opensbi-riscv64-generic-fw_dynamic.bin    | Bin 272504 -> 272504 bytes
 roms/opensbi                                  |   2 +-
 3 files changed, 1 insertion(+), 1 deletion(-)

--
2.45.2