roms/opensbi: Update to v1.5
PATCH 1/1 roms/opensbi: Update to v1.5
Update OpenSBI and the pre-built opensbi32 and opensbi64 images to v1.5.
The following commits were included in v1.5:
455de67 include: Bump-up version to 1.5
23b7bad lib: sbi: check incoming dbtr shmem address
0e45b63 docs: Fix wrong filename
caae2f7 lib: sbi: fwft: return SBI_EINVAL rather than SBI_ERR_INVALID_PARAM e8717d1 lib: sbi: fwft: check feature value to be exactly 1 or 0
ecef14d lib: sbi: implement SBI FWFT extension
e9ee967 lib: sbi: fwft: add support for SBI_FWFT_PTE_AD_HW_UPDATING
c97a1d5 lib: sbi: fwft: add support for SBI_FWFT_MISALIGNED_EXC_DELEG
aa5a859 lib: sbi: add support for firmware features extension
53844c9 lib: sbi: Add support for Svade and Svadu extensions
52dcf35 platform: generic: andes: Add support for RV32 to set up PMA
f09f164 platform: generic: andes: Refine Andes PMA related code
7830e98 lib: serial: fix RX path in litex-uart
62e178a lib: utils/reset: Try initializing all reset devices in dt
3a94a32 sbi: sbi_domain_context: Fix trap context for domain context switching a73ff04 lib: utils/reset: Fix fdt_reset to search for more dt nodes
b5c984b lib: utils/reset: Skip initialize reset when dt is not enabled
86bbe6c lib: utils/serial: Fix fdt_serial to match more dt nodes
179e00a lib: utils/serial: Skip initialize serial when dt is not enabled b1c7c75 lib: utils/irqchip: Skip initialize irqchip when dt is not enabled 5e3ad7d lib: utils/timer: Skip initialize timer when dt is not enabled
c5be0e1 lib: utils/ipi: Skip initialize ipi when dt is not enabled
df3db6a lib: utils/fdt: Fix DT property for APLIC delegation
d962db2 lib: utils/gpio: respect flag GPIO_FLAG_ACTIVE_LOW
ae5ef18 lib: sbi: sse: handle missing writable attributes
858754a lib: utils/irqchip: Add sanity checks in imsic_get_data() and imsic_get_target_file() 96f0a2e firmware: Bring back FW_TEXT_START as an optional parameter
e3a30a2 lib: utils/irqchip: Check before initializing imsic
2bed4c1 platform: generic: thead: add Sophgo CV18XX/SG200X series
533067d lib: sbi: Put event after use in sbi_sse_exit() loop
ea9cf6a utils/reset: Add SG2042 hwmon MCU support.
1cb792d lib: sbi: simplify inline function in sbi_dtbr.c
7b37da3 lib: sbi: fix return type of sbi_dbtr_shmem_disabled
e065c3c lib: sbi: Fixed memory permission check in sbi_dbtr_setup_shmem 7f54527 lib: sbi: fix DBTR_SHMEM_MAKE_PHYS for RV64
744f495 lib: sbi: Removal unnecessary check dbtr_thishart_state_ptr
4953bd7 lib: sbi: fix hart_shmem_base
019a8e6 platform: generic: thead: add Canaan Kendryte K230
33e21c9 platform: generic: thead: separate T-Head PMU Errata
2b93ce0 platform: andes: Change all occurrences of andes45 to andes
f68b3ae platform: andes: Rename files with the prefix andes45
17e8291 sbi: sbi_domain_context: Add spinlock for updating domain assigned_harts 1d89a9d lib: sbi: Refine the settings for switching to Virtual Supervisor Mode. 033104d lib: sbi: sse: check handler entry to belong to supervisor mode bd00765 lib: sbi: sse: use PRV_S instead of hardcoded value for mode
ce3c82c lib: sbi: sse: call enable callback before sending IPI
d528dbf lib: sbi: sse: remove superfluous sbi_list_empty() check
22ff750 lib: sbi: sse: simplify 32bits overflow check
7aa80ea lib: sbi: sse: rename sse_hart_unlock() to sse_enabled_event_unlock() c21c99d lib: sbi: sse: fix typos, comments and spacing errors
7b1ed96 lib: tests: Add test for spinlocks
7bdf41a lib: tests: Add test for atomic_t
f6243d9 lib: tests: Add test suite init function
d4d2582 firmware: remove FW_TEXT_START
73344d4 lib: utils: check correct value in fdt_node_offset_by_compatible 37e1544 lib: sbi: sse_event_get() may return NULL
68bc031 lib: sbi: Add missing sscrind and sscfg extensions in sbi_hart_ext[] a7c5c2c Makefile: Remove unnecessary dependencies
268feab Makefile: Respect manual changes to .config
29ecda9 sbi: sbi_domain_context: Check privilege spec version before accessing S-mode CSRs 7862c24 lib: sbi: Wakeup non-coldboot HARTs early in the coldboot path
beb0cd1 lib: sbi: Simplify wait_for_coldboot() implementation
f5375bc platform: generic: allwinner: Optimize current hart scratch access b94396c lib: utils/timer: Optimize current hart scratch access
5c9a735 include: sbi: Support byteorder macros in assembly
06fc453 lib: sbi: Add SSE support for PMU events
09ad214 lib: sbi: Implement SBI SSE extension
c8cdf01 lib: sbi: Add support for Supervisor Software Events extension
76d7e9b firmware: remove copy-base relocation
5186da6 platform: generic: allwinner: sun20i-d1: Remove duplicated CSR definitions 3b2f89e docs: writing_tests: Make docs correspond the latest changes
f7d0050 lib: sbi: Extend sbi_trap_error() to dump state in a nested trap 5b11f16 lib: sbi: Pass trap context pointer to sbi_ecall_handler()
43d346c lib: sbi: Remove regs parameter from trap irq handling functions d84e7eb lib: sbi: Remove regs paramter of sbi_irqchip_process()
f414cf9 lib: sbi: Simplify parameters of sbi_illegal_insn_handler()
fea33a9 lib: sbi: Simplify parameters of misaligned and access fault handlers abea949 lib: sbi: Introduce trap context
60ffc15 include: sbi: Add trap_context pointer in struct sbi_scratch
ebb697a lib: sbi: Remove sbi_trap_exit() and related code
2e85178 lib: sbi: Remove epc from struct sbi_trap_info
86224ec docs/writing_tests: Update tests paths
5c992a1 lib: tests: Move tests to a separate directory
81e3ba7 lib: sbi: call platform load/store emulators
ddf3b64 include: sbi: add emulate_load/store handler to platform ops
4c11265 lib: sbi: abstract out insn decoding to unify mem fault handlers 9221fe5 lib: sbi: change prototype of sbi_misaligned_load/store_handler a17600c lib: sbi: change prototype of sbi_trap_redirect
2471cf2 include: sbi: rename sbi_misaligned_ldst.h to sbi_trap_ldst.h
c0a6320 lib: sbi: rename sbi_misaligned_ldst.c to sbi_trap_ldst.c
e11025c lib: sbi: Add initial domain context management support
87d8fe7 lib: tests: Add sbi_console test
e5f53fd lib: tests: Add a test for sbi_bitmap
874fcef lib: Add SBIUnit testing macros and functions
b9e4de0 docs: Add documentation about tests and SBIUnit
526b9ce firmware: fw_base.S: fix _reset_regs
8151105 firmware: fw_base.S: Remove _relocate_lottery
187397f firmware: fw_dynamic.S: Remove _bad_dynamic_info
b27b7c6 firmware: fw_base: Simplified setup trap handler
fdf5589 firmware: fw_base.S: Simplify address get
748bef1 lib: sbi_misaligned_ldst: Add handling of C.LHU/C.LH and C.SH
bc36678 platform: andes: Drop andes_pmu_setup()
6bb6b61 lib: sbi: Add support for smcsrind and smcdeleg
322b598 lib: sbi_hsm: Restor hart state to stop when fails to start
96a35db docs/firmware: document new options for jump and payload firmwares 2cff7f3 platform: Apply relocatable address
f056939 firmware: Add relocatable FW_PAYLOAD_FDT_ADDR
7227cdd firmware: Add relocatable FW_JUMP_ADDR and FW_JUMP_FDT_ADDR
741e941 platform: starfive: call starfive_jh7110_inst_init() in pm_reset_init() 3edf044 platform: starfive: return error if needed devices are not present 80ae046 platform: starfive: rename "stf,axp15060-regulator" -> "x-powers,axp15060" 5335340 platform: starfive: remove redundant compatibility check in pmic_ops 4d8569d platform: starfive: get I2C offset address from clocks property 034af1f platform: starfive: correct system clock device tree node
88273fe lib: sbi_pmu: Before using we should ensure PMU init done
46c8c65 docs: move documentation of system suspend test.
8df836d platform: generic: Parse system suspend test from config node.
23e7e48 docs: Add OpenSBI DT configuration guide.
67ce5a7 platform: generic: Add support for specify coldboot harts in DT 9c8b18e firmware: fw_base.S: remove _runtime_offset
4c6b7cb firmware: fw_base.S: Improve loading u32
92e8aff firmware: always create dynsym section
d1dad07 Makefile: check for --exclude-libs
4a76f79 Makefile: don't pass -mstrict-align if not supported
21caaa3 fw_base.S: Fix comment errors
1ec353d lib: sbi: Use mask to check the free bit during trigger allocation bb90a9e lib: sbi: Print number of debug triggers found
76a2a15 lib: sbi: Implement SBI debug trigger extension
fa87ec9 include: sbi: Add SBI debug trigger extension related defines
97f234f lib: sbi: Introduce the SBI debug triggers extension support
40dac6b lib: sbi: Detect support of debug triggers
2499769 include: sbi: Introduce debug trigger register encodings
20ca19a include: sbi: Add TINFO debug trigger CSR
b752099 include: sbi: Introduce common endianess conversion macro
--- .../opensbi-riscv32-generic-fw_dynamic.bin | Bin 267416 -> 268312 bytes .../opensbi-riscv64-generic-fw_dynamic.bin | Bin 270808 -> 272504 bytes roms/opensbi | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-)
pc-bios/opensbi-riscv32-generic-fw_dynamic.bin binary +0 -0
pc-bios/opensbi-riscv64-generic-fw_dynamic.bin binary +0 -0
roms/opensbi +1 -1
@@ -1 +1 @@ -Subproject commit a2b255b88918715173942f2c5e1f97ac9e90c877 +Subproject commit 455de672dd7c2aa1992df54dfb08dc11abbc1b1a
Signature · 1 line
2.45.2
Quoted 3 lines · Daniel Henrique Barboza
Update OpenSBI and the pre-built opensbi32 and opensbi64 images to v1.5.
Thanks!
Usually for these binary patches the patch is formatted with --no-binary and you can just point to your git tree to avoid sending the binary file to the list
Applied to riscv-to-apply.next
Alistair
Quoted 3,369 lines
The following commits were included in v1.5:
455de67 include: Bump-up version to 1.5
23b7bad lib: sbi: check incoming dbtr shmem address
0e45b63 docs: Fix wrong filename
caae2f7 lib: sbi: fwft: returnSBI_EINVALrather thanSBI_ERR_INVALID_PARAMe8717d1 lib: sbi: fwft: check feature value to be exactly 1 or 0
ecef14d lib: sbi: implement SBI FWFT extension
e9ee967 lib: sbi: fwft: add support forSBI_FWFT_PTE_AD_HW_UPDATING
c97a1d5 lib: sbi: fwft: add support forSBI_FWFT_MISALIGNED_EXC_DELEG
aa5a859 lib: sbi: add support for firmware features extension
53844c9 lib: sbi: Add support for Svade and Svadu extensions
52dcf35 platform: generic: andes: Add support for RV32 to set up PMA
f09f164 platform: generic: andes: Refine Andes PMA related code
7830e98 lib: serial: fix RX path in litex-uart
62e178a lib: utils/reset: Try initializing all reset devices in dt
3a94a32 sbi:sbi_domain_context: Fix trap context for domain context switching a73ff04 lib: utils/reset: Fixfdt_resetto search for more dt nodes
b5c984b lib: utils/reset: Skip initialize reset when dt is not enabled
86bbe6c lib: utils/serial: Fixfdt_serialto match more dt nodes
179e00a lib: utils/serial: Skip initialize serial when dt is not enabled b1c7c75 lib: utils/irqchip: Skip initialize irqchip when dt is not enabled 5e3ad7d lib: utils/timer: Skip initialize timer when dt is not enabled
c5be0e1 lib: utils/ipi: Skip initialize ipi when dt is not enabled
df3db6a lib: utils/fdt: Fix DT property for APLIC delegation
d962db2 lib: utils/gpio: respect flagGPIO_FLAG_ACTIVE_LOW
ae5ef18 lib: sbi: sse: handle missing writable attributes
858754a lib: utils/irqchip: Add sanity checks inimsic_get_data()andimsic_get_target_file()96f0a2e firmware: Bring backFW_TEXT_STARTas an optional parameter
e3a30a2 lib: utils/irqchip: Check before initializing imsic
2bed4c1 platform: generic: thead: add Sophgo CV18XX/SG200X series
533067d lib: sbi: Put event after use insbi_sse_exit()loop
ea9cf6a utils/reset: Add SG2042 hwmon MCU support.
1cb792d lib: sbi: simplify inline function insbi_dtbr.c
7b37da3 lib: sbi: fix return type ofsbi_dbtr_shmem_disabled
e065c3c lib: sbi: Fixed memory permission check insbi_dbtr_setup_shmem7f54527 lib: sbi: fixDBTR_SHMEM_MAKE_PHYSfor RV64
744f495 lib: sbi: Removal unnecessary checkdbtr_thishart_state_ptr
4953bd7 lib: sbi: fixhart_shmem_base
019a8e6 platform: generic: thead: add Canaan Kendryte K230
33e21c9 platform: generic: thead: separate T-Head PMU Errata
2b93ce0 platform: andes: Change all occurrences of andes45 to andes
f68b3ae platform: andes: Rename files with the prefix andes45
17e8291 sbi:sbi_domain_context: Add spinlock for updating domainassigned_harts1d89a9d lib: sbi: Refine the settings for switching to Virtual Supervisor Mode. 033104d lib: sbi: sse: check handler entry to belong to supervisor mode bd00765 lib: sbi: sse: usePRV_Sinstead of hardcoded value for mode
ce3c82c lib: sbi: sse: call enable callback before sending IPI
d528dbf lib: sbi: sse: remove superfluoussbi_list_empty()check
22ff750 lib: sbi: sse: simplify 32bits overflow check
7aa80ea lib: sbi: sse: renamesse_hart_unlock()tosse_enabled_event_unlock()c21c99d lib: sbi: sse: fix typos, comments and spacing errors
7b1ed96 lib: tests: Add test for spinlocks
7bdf41a lib: tests: Add test foratomic_t
f6243d9 lib: tests: Add test suite init function
d4d2582 firmware: removeFW_TEXT_START
73344d4 lib: utils: check correct value infdt_node_offset_by_compatible37e1544 lib: sbi:sse_event_get()may return NULL
68bc031 lib: sbi: Add missing sscrind and sscfg extensions in sbi_hart_ext[] a7c5c2cMakefile: Remove unnecessary dependencies
268feabMakefile: Respect manual changes to .config
29ecda9 sbi:sbi_domain_context: Check privilege spec version before accessing S-mode CSRs 7862c24 lib: sbi: Wakeup non-coldboot HARTs early in the coldboot path
beb0cd1 lib: sbi: Simplifywait_for_coldboot()implementation
f5375bc platform: generic: allwinner: Optimize current hart scratch access b94396c lib: utils/timer: Optimize current hart scratch access
5c9a735 include: sbi: Support byteorder macros in assembly
06fc453 lib: sbi: Add SSE support for PMU events
09ad214 lib: sbi: Implement SBI SSE extension
c8cdf01 lib: sbi: Add support for Supervisor Software Events extension
76d7e9b firmware: remove copy-base relocation
5186da6 platform: generic: allwinner: sun20i-d1: Remove duplicated CSR definitions 3b2f89e docs:writing_tests: Make docs correspond the latest changes
f7d0050 lib: sbi: Extendsbi_trap_error()to dump state in a nested trap 5b11f16 lib: sbi: Pass trap context pointer tosbi_ecall_handler()
43d346c lib: sbi: Remove regs parameter from trap irq handling functions d84e7eb lib: sbi: Remove regs paramter ofsbi_irqchip_process()
f414cf9 lib: sbi: Simplify parameters ofsbi_illegal_insn_handler()
fea33a9 lib: sbi: Simplify parameters of misaligned and access fault handlers abea949 lib: sbi: Introduce trap context
60ffc15 include: sbi: Addtrap_contextpointer in structsbi_scratch
ebb697a lib: sbi: Removesbi_trap_exit()and related code
2e85178 lib: sbi: Remove epc from structsbi_trap_info
86224ec docs/writing_tests: Update tests paths
5c992a1 lib: tests: Move tests to a separate directory
81e3ba7 lib: sbi: call platform load/store emulators
ddf3b64 include: sbi: add emulate_load/store handler to platform ops
4c11265 lib: sbi: abstract out insn decoding to unify mem fault handlers 9221fe5 lib: sbi: change prototype of sbi_misaligned_load/store_handler a17600c lib: sbi: change prototype ofsbi_trap_redirect
2471cf2 include: sbi: renamesbi_misaligned_ldst.htosbi_trap_ldst.h
c0a6320 lib: sbi: renamesbi_misaligned_ldst.ctosbi_trap_ldst.c
e11025c lib: sbi: Add initial domain context management support
87d8fe7 lib: tests: Addsbi_consoletest
e5f53fd lib: tests: Add a test forsbi_bitmap
874fcef lib: Add SBIUnit testing macros and functions
b9e4de0 docs: Add documentation about tests and SBIUnit
526b9ce firmware:fw_base.S: fix_reset_regs
8151105 firmware:fw_base.S: Remove_relocate_lottery
187397f firmware:fw_dynamic.S: Remove_bad_dynamic_info
b27b7c6 firmware:fw_base: Simplified setup trap handler
fdf5589 firmware:fw_base.S: Simplify address get
748bef1 lib:sbi_misaligned_ldst: Add handling of C.LHU/C.LH and C.SH
bc36678 platform: andes: Dropandes_pmu_setup()
6bb6b61 lib: sbi: Add support for smcsrind and smcdeleg
322b598 lib:sbi_hsm: Restor hart state to stop when fails to start
96a35db docs/firmware: document new options for jump and payload firmwares 2cff7f3 platform: Apply relocatable address
f056939 firmware: Add relocatableFW_PAYLOAD_FDT_ADDR
7227cdd firmware: Add relocatableFW_JUMP_ADDRandFW_JUMP_FDT_ADDR
741e941 platform: starfive: callstarfive_jh7110_inst_init()inpm_reset_init()3edf044 platform: starfive: return error if needed devices are not present 80ae046 platform: starfive: rename "stf,axp15060-regulator" -> "x-powers,axp15060" 5335340 platform: starfive: remove redundant compatibility check inpmic_ops4d8569d platform: starfive: get I2C offset address from clocks property 034af1f platform: starfive: correct system clock device tree node
88273fe lib:sbi_pmu: Before using we should ensure PMU init done
46c8c65 docs: move documentation of system suspend test.
8df836d platform: generic: Parse system suspend test from config node.
23e7e48 docs: Add OpenSBI DT configuration guide.
67ce5a7 platform: generic: Add support for specify coldboot harts in DT 9c8b18e firmware:fw_base.S: remove_runtime_offset
4c6b7cb firmware:fw_base.S: Improve loading u32
92e8aff firmware: always create dynsym section
d1dad07Makefile: check for --exclude-libs
4a76f79Makefile: don't pass -mstrict-align if not supported
21caaa3fw_base.S: Fix comment errors
1ec353d lib: sbi: Use mask to check the free bit during trigger allocation bb90a9e lib: sbi: Print number of debug triggers found
76a2a15 lib: sbi: Implement SBI debug trigger extension
fa87ec9 include: sbi: Add SBI debug trigger extension related defines
97f234f lib: sbi: Introduce the SBI debug triggers extension support
40dac6b lib: sbi: Detect support of debug triggers
2499769 include: sbi: Introduce debug trigger register encodings
20ca19a include: sbi: Add TINFO debug trigger CSR
b752099 include: sbi: Introduce common endianess conversion macroSigned-off-by Daniel Henrique Barboza <[email protected]>--- .../opensbi-riscv32-generic-fw_dynamic.bin | Bin 267416 -> 268312 bytes .../opensbi-riscv64-generic-fw_dynamic.bin | Bin 270808 -> 272504 bytes roms/opensbi | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-)pc-bios/opensbi-riscv32-generic-fw_dynamic.bin binary +0
-0pc-bios/opensbi-riscv64-generic-fw_dynamic.bin binary +0
-0roms/opensbi +1
-2@@ -1 +1 @@ -Subproject commit a2b255b88918715173942f2c5e1f97ac9e90c877 +Subproject commit 455de672dd7c2aa1992df54dfb08dc11abbc1b1a --2.45.2
Quoted 11 lines · Alistair Francis
Quoted 3 lines · Daniel Henrique Barboza
Update OpenSBI and the pre-built opensbi32 and opensbi64 images to v1.5.
Thanks!
Usually for these binary patches the patch is formatted with
--no-binaryand you can just point to your git tree to avoid sending the binary file to the list
Noted. Will do that in the future if needed :D
Thanks,
Daniel
Quoted 3,376 lines
Reviewed-by Alistair Francis <[email protected]>Applied to riscv-to-apply.next
Alistair
Quoted 3,369 lines
The following commits were included in v1.5:
455de67 include: Bump-up version to 1.5
23b7bad lib: sbi: check incoming dbtr shmem address
0e45b63 docs: Fix wrong filename
caae2f7 lib: sbi: fwft: returnSBI_EINVALrather thanSBI_ERR_INVALID_PARAMe8717d1 lib: sbi: fwft: check feature value to be exactly 1 or 0
ecef14d lib: sbi: implement SBI FWFT extension
e9ee967 lib: sbi: fwft: add support forSBI_FWFT_PTE_AD_HW_UPDATING
c97a1d5 lib: sbi: fwft: add support forSBI_FWFT_MISALIGNED_EXC_DELEG
aa5a859 lib: sbi: add support for firmware features extension
53844c9 lib: sbi: Add support for Svade and Svadu extensions
52dcf35 platform: generic: andes: Add support for RV32 to set up PMA
f09f164 platform: generic: andes: Refine Andes PMA related code
7830e98 lib: serial: fix RX path in litex-uart
62e178a lib: utils/reset: Try initializing all reset devices in dt
3a94a32 sbi:sbi_domain_context: Fix trap context for domain context switching a73ff04 lib: utils/reset: Fixfdt_resetto search for more dt nodes
b5c984b lib: utils/reset: Skip initialize reset when dt is not enabled
86bbe6c lib: utils/serial: Fixfdt_serialto match more dt nodes
179e00a lib: utils/serial: Skip initialize serial when dt is not enabled b1c7c75 lib: utils/irqchip: Skip initialize irqchip when dt is not enabled 5e3ad7d lib: utils/timer: Skip initialize timer when dt is not enabled
c5be0e1 lib: utils/ipi: Skip initialize ipi when dt is not enabled
df3db6a lib: utils/fdt: Fix DT property for APLIC delegation
d962db2 lib: utils/gpio: respect flagGPIO_FLAG_ACTIVE_LOW
ae5ef18 lib: sbi: sse: handle missing writable attributes
858754a lib: utils/irqchip: Add sanity checks inimsic_get_data()andimsic_get_target_file()96f0a2e firmware: Bring backFW_TEXT_STARTas an optional parameter
e3a30a2 lib: utils/irqchip: Check before initializing imsic
2bed4c1 platform: generic: thead: add Sophgo CV18XX/SG200X series
533067d lib: sbi: Put event after use insbi_sse_exit()loop
ea9cf6a utils/reset: Add SG2042 hwmon MCU support.
1cb792d lib: sbi: simplify inline function insbi_dtbr.c
7b37da3 lib: sbi: fix return type ofsbi_dbtr_shmem_disabled
e065c3c lib: sbi: Fixed memory permission check insbi_dbtr_setup_shmem7f54527 lib: sbi: fixDBTR_SHMEM_MAKE_PHYSfor RV64
744f495 lib: sbi: Removal unnecessary checkdbtr_thishart_state_ptr
4953bd7 lib: sbi: fixhart_shmem_base
019a8e6 platform: generic: thead: add Canaan Kendryte K230
33e21c9 platform: generic: thead: separate T-Head PMU Errata
2b93ce0 platform: andes: Change all occurrences of andes45 to andes
f68b3ae platform: andes: Rename files with the prefix andes45
17e8291 sbi:sbi_domain_context: Add spinlock for updating domainassigned_harts1d89a9d lib: sbi: Refine the settings for switching to Virtual Supervisor Mode. 033104d lib: sbi: sse: check handler entry to belong to supervisor mode bd00765 lib: sbi: sse: usePRV_Sinstead of hardcoded value for mode
ce3c82c lib: sbi: sse: call enable callback before sending IPI
d528dbf lib: sbi: sse: remove superfluoussbi_list_empty()check
22ff750 lib: sbi: sse: simplify 32bits overflow check
7aa80ea lib: sbi: sse: renamesse_hart_unlock()tosse_enabled_event_unlock()c21c99d lib: sbi: sse: fix typos, comments and spacing errors
7b1ed96 lib: tests: Add test for spinlocks
7bdf41a lib: tests: Add test foratomic_t
f6243d9 lib: tests: Add test suite init function
d4d2582 firmware: removeFW_TEXT_START
73344d4 lib: utils: check correct value infdt_node_offset_by_compatible37e1544 lib: sbi:sse_event_get()may return NULL
68bc031 lib: sbi: Add missing sscrind and sscfg extensions in sbi_hart_ext[] a7c5c2cMakefile: Remove unnecessary dependencies
268feabMakefile: Respect manual changes to .config
29ecda9 sbi:sbi_domain_context: Check privilege spec version before accessing S-mode CSRs 7862c24 lib: sbi: Wakeup non-coldboot HARTs early in the coldboot path
beb0cd1 lib: sbi: Simplifywait_for_coldboot()implementation
f5375bc platform: generic: allwinner: Optimize current hart scratch access b94396c lib: utils/timer: Optimize current hart scratch access
5c9a735 include: sbi: Support byteorder macros in assembly
06fc453 lib: sbi: Add SSE support for PMU events
09ad214 lib: sbi: Implement SBI SSE extension
c8cdf01 lib: sbi: Add support for Supervisor Software Events extension
76d7e9b firmware: remove copy-base relocation
5186da6 platform: generic: allwinner: sun20i-d1: Remove duplicated CSR definitions 3b2f89e docs:writing_tests: Make docs correspond the latest changes
f7d0050 lib: sbi: Extendsbi_trap_error()to dump state in a nested trap 5b11f16 lib: sbi: Pass trap context pointer tosbi_ecall_handler()
43d346c lib: sbi: Remove regs parameter from trap irq handling functions d84e7eb lib: sbi: Remove regs paramter ofsbi_irqchip_process()
f414cf9 lib: sbi: Simplify parameters ofsbi_illegal_insn_handler()
fea33a9 lib: sbi: Simplify parameters of misaligned and access fault handlers abea949 lib: sbi: Introduce trap context
60ffc15 include: sbi: Addtrap_contextpointer in structsbi_scratch
ebb697a lib: sbi: Removesbi_trap_exit()and related code
2e85178 lib: sbi: Remove epc from structsbi_trap_info
86224ec docs/writing_tests: Update tests paths
5c992a1 lib: tests: Move tests to a separate directory
81e3ba7 lib: sbi: call platform load/store emulators
ddf3b64 include: sbi: add emulate_load/store handler to platform ops
4c11265 lib: sbi: abstract out insn decoding to unify mem fault handlers 9221fe5 lib: sbi: change prototype of sbi_misaligned_load/store_handler a17600c lib: sbi: change prototype ofsbi_trap_redirect
2471cf2 include: sbi: renamesbi_misaligned_ldst.htosbi_trap_ldst.h
c0a6320 lib: sbi: renamesbi_misaligned_ldst.ctosbi_trap_ldst.c
e11025c lib: sbi: Add initial domain context management support
87d8fe7 lib: tests: Addsbi_consoletest
e5f53fd lib: tests: Add a test forsbi_bitmap
874fcef lib: Add SBIUnit testing macros and functions
b9e4de0 docs: Add documentation about tests and SBIUnit
526b9ce firmware:fw_base.S: fix_reset_regs
8151105 firmware:fw_base.S: Remove_relocate_lottery
187397f firmware:fw_dynamic.S: Remove_bad_dynamic_info
b27b7c6 firmware:fw_base: Simplified setup trap handler
fdf5589 firmware:fw_base.S: Simplify address get
748bef1 lib:sbi_misaligned_ldst: Add handling of C.LHU/C.LH and C.SH
bc36678 platform: andes: Dropandes_pmu_setup()
6bb6b61 lib: sbi: Add support for smcsrind and smcdeleg
322b598 lib:sbi_hsm: Restor hart state to stop when fails to start
96a35db docs/firmware: document new options for jump and payload firmwares 2cff7f3 platform: Apply relocatable address
f056939 firmware: Add relocatableFW_PAYLOAD_FDT_ADDR
7227cdd firmware: Add relocatableFW_JUMP_ADDRandFW_JUMP_FDT_ADDR
741e941 platform: starfive: callstarfive_jh7110_inst_init()inpm_reset_init()3edf044 platform: starfive: return error if needed devices are not present 80ae046 platform: starfive: rename "stf,axp15060-regulator" -> "x-powers,axp15060" 5335340 platform: starfive: remove redundant compatibility check inpmic_ops4d8569d platform: starfive: get I2C offset address from clocks property 034af1f platform: starfive: correct system clock device tree node
88273fe lib:sbi_pmu: Before using we should ensure PMU init done
46c8c65 docs: move documentation of system suspend test.
8df836d platform: generic: Parse system suspend test from config node.
23e7e48 docs: Add OpenSBI DT configuration guide.
67ce5a7 platform: generic: Add support for specify coldboot harts in DT 9c8b18e firmware:fw_base.S: remove_runtime_offset
4c6b7cb firmware:fw_base.S: Improve loading u32
92e8aff firmware: always create dynsym section
d1dad07Makefile: check for --exclude-libs
4a76f79Makefile: don't pass -mstrict-align if not supported
21caaa3fw_base.S: Fix comment errors
1ec353d lib: sbi: Use mask to check the free bit during trigger allocation bb90a9e lib: sbi: Print number of debug triggers found
76a2a15 lib: sbi: Implement SBI debug trigger extension
fa87ec9 include: sbi: Add SBI debug trigger extension related defines
97f234f lib: sbi: Introduce the SBI debug triggers extension support
40dac6b lib: sbi: Detect support of debug triggers
2499769 include: sbi: Introduce debug trigger register encodings
20ca19a include: sbi: Add TINFO debug trigger CSR
b752099 include: sbi: Introduce common endianess conversion macroSigned-off-by Daniel Henrique Barboza <[email protected]>--- .../opensbi-riscv32-generic-fw_dynamic.bin | Bin 267416 -> 268312 bytes .../opensbi-riscv64-generic-fw_dynamic.bin | Bin 270808 -> 272504 bytes roms/opensbi | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-)pc-bios/opensbi-riscv32-generic-fw_dynamic.bin binary +0
-0pc-bios/opensbi-riscv64-generic-fw_dynamic.bin binary +0
-0roms/opensbi +1
-2@@ -1 +1 @@ -Subproject commit a2b255b88918715173942f2c5e1f97ac9e90c877 +Subproject commit 455de672dd7c2aa1992df54dfb08dc11abbc1b1a --2.45.2
Quoted 140 lines · Daniel Henrique Barboza
Update OpenSBI and the pre-built opensbi32 and opensbi64 images to v1.5.
The following commits were included in v1.5:
455de67 include: Bump-up version to 1.5
23b7bad lib: sbi: check incoming dbtr shmem address
0e45b63 docs: Fix wrong filename
caae2f7 lib: sbi: fwft: returnSBI_EINVALrather thanSBI_ERR_INVALID_PARAMe8717d1 lib: sbi: fwft: check feature value to be exactly 1 or 0
ecef14d lib: sbi: implement SBI FWFT extension
e9ee967 lib: sbi: fwft: add support forSBI_FWFT_PTE_AD_HW_UPDATING
c97a1d5 lib: sbi: fwft: add support forSBI_FWFT_MISALIGNED_EXC_DELEG
aa5a859 lib: sbi: add support for firmware features extension
53844c9 lib: sbi: Add support for Svade and Svadu extensions
52dcf35 platform: generic: andes: Add support for RV32 to set up PMA
f09f164 platform: generic: andes: Refine Andes PMA related code
7830e98 lib: serial: fix RX path in litex-uart
62e178a lib: utils/reset: Try initializing all reset devices in dt
3a94a32 sbi:sbi_domain_context: Fix trap context for domain context switching a73ff04 lib: utils/reset: Fixfdt_resetto search for more dt nodes
b5c984b lib: utils/reset: Skip initialize reset when dt is not enabled
86bbe6c lib: utils/serial: Fixfdt_serialto match more dt nodes
179e00a lib: utils/serial: Skip initialize serial when dt is not enabled b1c7c75 lib: utils/irqchip: Skip initialize irqchip when dt is not enabled 5e3ad7d lib: utils/timer: Skip initialize timer when dt is not enabled
c5be0e1 lib: utils/ipi: Skip initialize ipi when dt is not enabled
df3db6a lib: utils/fdt: Fix DT property for APLIC delegation
d962db2 lib: utils/gpio: respect flagGPIO_FLAG_ACTIVE_LOW
ae5ef18 lib: sbi: sse: handle missing writable attributes
858754a lib: utils/irqchip: Add sanity checks inimsic_get_data()andimsic_get_target_file()96f0a2e firmware: Bring backFW_TEXT_STARTas an optional parameter
e3a30a2 lib: utils/irqchip: Check before initializing imsic
2bed4c1 platform: generic: thead: add Sophgo CV18XX/SG200X series
533067d lib: sbi: Put event after use insbi_sse_exit()loop
ea9cf6a utils/reset: Add SG2042 hwmon MCU support.
1cb792d lib: sbi: simplify inline function insbi_dtbr.c
7b37da3 lib: sbi: fix return type ofsbi_dbtr_shmem_disabled
e065c3c lib: sbi: Fixed memory permission check insbi_dbtr_setup_shmem7f54527 lib: sbi: fixDBTR_SHMEM_MAKE_PHYSfor RV64
744f495 lib: sbi: Removal unnecessary checkdbtr_thishart_state_ptr
4953bd7 lib: sbi: fixhart_shmem_base
019a8e6 platform: generic: thead: add Canaan Kendryte K230
33e21c9 platform: generic: thead: separate T-Head PMU Errata
2b93ce0 platform: andes: Change all occurrences of andes45 to andes
f68b3ae platform: andes: Rename files with the prefix andes45
17e8291 sbi:sbi_domain_context: Add spinlock for updating domainassigned_harts1d89a9d lib: sbi: Refine the settings for switching to Virtual Supervisor Mode. 033104d lib: sbi: sse: check handler entry to belong to supervisor mode bd00765 lib: sbi: sse: usePRV_Sinstead of hardcoded value for mode
ce3c82c lib: sbi: sse: call enable callback before sending IPI
d528dbf lib: sbi: sse: remove superfluoussbi_list_empty()check
22ff750 lib: sbi: sse: simplify 32bits overflow check
7aa80ea lib: sbi: sse: renamesse_hart_unlock()tosse_enabled_event_unlock()c21c99d lib: sbi: sse: fix typos, comments and spacing errors
7b1ed96 lib: tests: Add test for spinlocks
7bdf41a lib: tests: Add test foratomic_t
f6243d9 lib: tests: Add test suite init function
d4d2582 firmware: removeFW_TEXT_START
73344d4 lib: utils: check correct value infdt_node_offset_by_compatible37e1544 lib: sbi:sse_event_get()may return NULL
68bc031 lib: sbi: Add missing sscrind and sscfg extensions in sbi_hart_ext[] a7c5c2cMakefile: Remove unnecessary dependencies
268feabMakefile: Respect manual changes to .config
29ecda9 sbi:sbi_domain_context: Check privilege spec version before accessing S-mode CSRs 7862c24 lib: sbi: Wakeup non-coldboot HARTs early in the coldboot path
beb0cd1 lib: sbi: Simplifywait_for_coldboot()implementation
f5375bc platform: generic: allwinner: Optimize current hart scratch access b94396c lib: utils/timer: Optimize current hart scratch access
5c9a735 include: sbi: Support byteorder macros in assembly
06fc453 lib: sbi: Add SSE support for PMU events
09ad214 lib: sbi: Implement SBI SSE extension
c8cdf01 lib: sbi: Add support for Supervisor Software Events extension
76d7e9b firmware: remove copy-base relocation
5186da6 platform: generic: allwinner: sun20i-d1: Remove duplicated CSR definitions 3b2f89e docs:writing_tests: Make docs correspond the latest changes
f7d0050 lib: sbi: Extendsbi_trap_error()to dump state in a nested trap 5b11f16 lib: sbi: Pass trap context pointer tosbi_ecall_handler()
43d346c lib: sbi: Remove regs parameter from trap irq handling functions d84e7eb lib: sbi: Remove regs paramter ofsbi_irqchip_process()
f414cf9 lib: sbi: Simplify parameters ofsbi_illegal_insn_handler()
fea33a9 lib: sbi: Simplify parameters of misaligned and access fault handlers abea949 lib: sbi: Introduce trap context
60ffc15 include: sbi: Addtrap_contextpointer in structsbi_scratch
ebb697a lib: sbi: Removesbi_trap_exit()and related code
2e85178 lib: sbi: Remove epc from structsbi_trap_info
86224ec docs/writing_tests: Update tests paths
5c992a1 lib: tests: Move tests to a separate directory
81e3ba7 lib: sbi: call platform load/store emulators
ddf3b64 include: sbi: add emulate_load/store handler to platform ops
4c11265 lib: sbi: abstract out insn decoding to unify mem fault handlers 9221fe5 lib: sbi: change prototype of sbi_misaligned_load/store_handler a17600c lib: sbi: change prototype ofsbi_trap_redirect
2471cf2 include: sbi: renamesbi_misaligned_ldst.htosbi_trap_ldst.h
c0a6320 lib: sbi: renamesbi_misaligned_ldst.ctosbi_trap_ldst.c
e11025c lib: sbi: Add initial domain context management support
87d8fe7 lib: tests: Addsbi_consoletest
e5f53fd lib: tests: Add a test forsbi_bitmap
874fcef lib: Add SBIUnit testing macros and functions
b9e4de0 docs: Add documentation about tests and SBIUnit
526b9ce firmware:fw_base.S: fix_reset_regs
8151105 firmware:fw_base.S: Remove_relocate_lottery
187397f firmware:fw_dynamic.S: Remove_bad_dynamic_info
b27b7c6 firmware:fw_base: Simplified setup trap handler
fdf5589 firmware:fw_base.S: Simplify address get
748bef1 lib:sbi_misaligned_ldst: Add handling of C.LHU/C.LH and C.SH
bc36678 platform: andes: Dropandes_pmu_setup()
6bb6b61 lib: sbi: Add support for smcsrind and smcdeleg
322b598 lib:sbi_hsm: Restor hart state to stop when fails to start
96a35db docs/firmware: document new options for jump and payload firmwares 2cff7f3 platform: Apply relocatable address
f056939 firmware: Add relocatableFW_PAYLOAD_FDT_ADDR
7227cdd firmware: Add relocatableFW_JUMP_ADDRandFW_JUMP_FDT_ADDR
741e941 platform: starfive: callstarfive_jh7110_inst_init()inpm_reset_init()3edf044 platform: starfive: return error if needed devices are not present 80ae046 platform: starfive: rename "stf,axp15060-regulator" -> "x-powers,axp15060" 5335340 platform: starfive: remove redundant compatibility check inpmic_ops4d8569d platform: starfive: get I2C offset address from clocks property 034af1f platform: starfive: correct system clock device tree node
88273fe lib:sbi_pmu: Before using we should ensure PMU init done
46c8c65 docs: move documentation of system suspend test.
8df836d platform: generic: Parse system suspend test from config node.
23e7e48 docs: Add OpenSBI DT configuration guide.
67ce5a7 platform: generic: Add support for specify coldboot harts in DT 9c8b18e firmware:fw_base.S: remove_runtime_offset
4c6b7cb firmware:fw_base.S: Improve loading u32
92e8aff firmware: always create dynsym section
d1dad07Makefile: check for --exclude-libs
4a76f79Makefile: don't pass -mstrict-align if not supported
21caaa3fw_base.S: Fix comment errors
1ec353d lib: sbi: Use mask to check the free bit during trigger allocation bb90a9e lib: sbi: Print number of debug triggers found
76a2a15 lib: sbi: Implement SBI debug trigger extension
fa87ec9 include: sbi: Add SBI debug trigger extension related defines
97f234f lib: sbi: Introduce the SBI debug triggers extension support
40dac6b lib: sbi: Detect support of debug triggers
2499769 include: sbi: Introduce debug trigger register encodings
20ca19a include: sbi: Add TINFO debug trigger CSR
b752099 include: sbi: Introduce common endianess conversion macro
Quoted 6 lines
Signed-off-by Daniel Henrique Barboza<[email protected]>--- .../opensbi-riscv32-generic-fw_dynamic.bin | Bin 267416 -> 268312 bytes .../opensbi-riscv64-generic-fw_dynamic.bin | Bin 270808 -> 272504 bytes roms/opensbi | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-)
While OpenSBI v1.5 compiled from source allows to poweroff U-Boot qemu-riscv64_smode_defconfig, poweroff fails with the binary provided by this patch.
For details see
https://gitlab.com/qemu-project/qemu/-/issues/2467
Best regards
Heinrich
Quoted 7 lines · Heinrich Schuchardt
Quoted 6 lines · Daniel Henrique Barboza
Update OpenSBI and the pre-built opensbi32 and opensbi64 images to v1.5.
The following commits were included in v1.5:
455de67 include: Bump-up version to 1.5
(...)
Quoted 8 lines
Quoted 7 lines
Signed-off-by Daniel Henrique Barboza<[email protected]>---
.../opensbi-riscv32-generic-fw_dynamic.bin | Bin 267416 -> 268312 bytes .../opensbi-riscv64-generic-fw_dynamic.bin | Bin 270808 -> 272504 bytes roms/opensbi | 2 +-3 files changed, 1 insertion(+), 1 deletion(-)
Quoted 4 lines
While OpenSBI v1.5 compiled from source allows to poweroff U-Boot qemu-riscv64_smode_defconfig, poweroff fails with the binary provided by this patch.
For details see
https://gitlab.com/qemu-project/qemu/-/issues/2467
Replied in the bug, but to give some context here: the problem is reproducible when trying to do a 'poweroff' using the default machine 'Spike'. 'poweroff' works when using the 'virt' machine.
And it has nothing to do with the binaries distributed in this patch. These are the same OpenSBI v1.5 binaries that you would compile from source, as I showed in the issue. They aren't 'patched'.
Thanks,
Daniel
Quoted 4 lines
Best regards
Heinrich