VisionFive2 OpenSBI

StarFive Tech OpenSBI for VisionFive (JH7110) boards (mirror)

1266 Commits   10 Branches   49 Tags
Date
Commit Message
Rev
Author
2022-10-27
platform: generic: starfive: Add platform specific Cache Maintenance Operations
Jun Liang Tan
2022-10-27
platform: generic: Change FW_JUMP_FDT_ADDR to 128MB offset
Ley Foon Tan
2022-06-25
include: Bump-up version to 1.1
Anup Patel
2022-06-25
lib: pmu: allow to use the highest available counter
Sergey Matyukevich
2022-06-24
include: sbi: Change spec version to 1.0
Anup Patel
2022-06-22
lib: utils/timer: Remove Allwinner D1 CLINT compatibles
Samuel Holland
2022-06-22
lib: irqchip/plic: fix typo in plic_warm_irqchip_init
Jan Remes
2022-06-21
lib: utils/timer: Add a separate compatible for the D1 CLINT
Samuel Holland
2022-06-21
lib: utils: Remove CSRs that set/clear an IMSIC interrupt file bits
Anup Patel
2022-06-21
lib: sbi: Fix tval and tinst for sbi_get_insn()
dramforever
2022-06-21
lib: sbi: Fixup tinst for exceptions in sbi_misaligned_*()
dramforever
2022-06-21
include: sbi: Add mtinst/htinst psuedoinstructions
dramforever
2022-06-13
platform: Add HSM implementation for Allwinner D1
Samuel Holland
2022-06-13
lib: utils/irqchip: Add wrapper for T-HEAD PLIC delegation
Samuel Holland
2022-06-13
lib: utils/irqchip: Add FDT wrappers for PLIC save/restore functions
Samuel Holland
2022-06-13
lib: irqchip/plic: Add priority save/restore helpers
Samuel Holland
2022-06-13
lib: irqchip/plic: Add context save/restore helpers
Samuel Holland
2022-06-13
lib: irqchip/plic: Factor out a context init function
Samuel Holland
2022-06-13
lib: irqchip/plic: Constify plic_data pointers
Samuel Holland
2022-06-13
lib: sbi_hsm: Assume a consistent resume address
Samuel Holland
2022-06-13
lib: sbi_hsm: Call a device hook during hart resume
Samuel Holland
2022-06-13
platform: generic: add overrides for vendor extensions
Mayuresh Chitale
2022-06-13
lib: sbi_trap: Redirect exception based on hedeleg
dramforever
2022-06-01
lib: sbi_illegal_insn: Add emulation for fence.tso
Samuel Holland
2022-05-30
lib: sbi_illegal_insn: Constify illegal_insn_table
Samuel Holland
2022-05-30
lib: sbi_timer: Drop unnecessary get_platform_ticks wrapper
Samuel Holland
2022-05-30
lib: utils/fdt: Require match data to be const
Samuel Holland
2022-05-30
lib: sbi: fix system_opcode_insn
Xiang W
2022-05-14
lib: utils/fdt: rename fdt_parse_max_hart_id
Jan Remes
2022-05-14
platform: generic: check if CPU node is enabled
Jan Remes
2022-05-14
lib: utils: check if CPU node is enabled
Jan Remes
2022-05-14
lib: utils/fdt: introduce fdt_node_is_enabled()
Jan Remes
2022-05-13
lib: utils/irqchip: fix typo when checking for CPU node
Jan Remes
2022-05-13
platform: generic: Move Sifive platform overrides into own directory
Anup Patel
2022-05-13
platform: generic: Generate platform override module list at compile-time
Anup Patel
2022-05-13
lib: utils/gpio: Generate FDT gpio driver list at compile-time
Anup Patel
2022-05-13
lib: utils/i2c: Generate FDT i2c adapter driver list at compile-time
Anup Patel
2022-05-13
lib: utils/ipi: Generate FDT ipi driver list at compile-time
Anup Patel
2022-05-13
lib: utils/irqchip: Generate FDT irqchip driver list at compile-time
Anup Patel
2022-05-13
lib: utils/timer: Generate FDT timer driver list at compile-time
Anup Patel
2022-05-13
lib: utils/serial: Generate FDT serial driver list at compile-time
Anup Patel
2022-05-13
lib: utils/reset: Generate FDT reset driver list at compile-time
Anup Patel
2022-05-13
Makefile: Add support for generating C array at compile time
Anup Patel
2022-05-13
Makefile: Allow generated C source to be anywhere in build directory
Anup Patel
2022-05-07
lib: sbi_platform: Add callback to populate HART extensions
Anup Patel
2022-05-07
lib: sbi: Add sbi_hart_update_extension() function
Anup Patel
2022-05-07
lib: sbi: Detect hart features only once for each hart
Anup Patel
2022-05-07
lib: sbi: Convert hart features into hart extensions
Anup Patel
2022-05-07
lib: sbi: Fix AIA feature detection
Anup Patel
2022-05-07
lib: sbi: Remove MENVCFG hart feature
Anup Patel
2022-05-07
lib: sbi: Remove MCOUNTINHIBT hart feature
Anup Patel
2022-05-07
lib: sbi: Remove MCOUNTEREN and SCOUNTEREN hart features
Anup Patel
2022-05-07
lib: sbi: Update the name of ISA string printed at boot time
Anup Patel
2022-05-07
lib: sbi: Remove 's' and 'u' from misa_string() output
Anup Patel
2022-05-07
lib: sbi: Detect and print privileged spec version
Anup Patel
2022-05-07
lib: sbi: Fix mhpmeventh access for rv32 in absence of sscofpmf
Atish Patra
2022-05-07
include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256
Jun Liang Tan
2022-04-28
lib: sbi: Fix mstatus_init() for RV32 when Sscofpmf is not available
Anup Patel
2022-04-28
lib: sbi: Implement Sstc extension
Atish Patra
2022-04-28
docs: pmu: Improve the PMU DT bindings
Atish Patra
2022-04-17
lib: sbi/hart: preserve csr validation value
Dmitry Dunaev
2022-04-17
include: correct the definition of MSTATUS_VS
Vincent Chen
2022-04-17
lib: utils/serial: support 'reg-offset' property
Zong Li
2022-04-11
lib: irqchip/imsic: configure mstateen
Mayuresh Chitale
2022-04-11
lib: sbi: Detect Smstateen CSRs at boot-time
Mayuresh Chitale
2022-04-11
lib: sbi: Add Smstateen extension defines
Mayuresh Chitale
2022-04-05
lib: sbi: Enable Svpbmt extension in the menvcfg CSR
Anup Patel
2022-04-05
lib: sbi: Enable Zicbo[m|z] extensions in the menvcfg CSR
Anup Patel
2022-04-05
lib: sbi: Detect menvcfg CSR at boot time
Atish Patra
2022-04-05
include: Add defines for [m|h|s]envcfg CSRs
Anup Patel
2022-03-27
include: Use static asserts for FW_DYNAMIC_INFO_xxx_OFFSET defines
Xiang W
2022-03-27
include: Use static asserts for SBI_SCRATCH_xxx_OFFSET defines
Xiang W
2022-03-27
include: Use static asserts for SBI_PLATFORM_xxx_OFFSET defines
Xiang W
2022-03-27
lib: Add error messages via conditional compilation for the future
Xiang W
2022-03-27
firmware: Fix code for accessing hart_count and stack_size
Xiang W
2022-03-27
lib: pmp_set/pmp_get moved errors from runtime to compile time
Xiang W
2022-02-28
lib: utils: serial: Initial commit of xlnx-uartlite
Alistair Francis
2022-02-28
lib: sbi: Add a simple external interrupt handling framework
Anup Patel
2022-02-15
lib: sbi: verbose sbi_domain_root_add_memregion
Nikita Shubin
2022-02-15
lib: sbi: fix typo in is_region_subset
Nikita Shubin
2022-02-15
lib: utils: Disable appropriate APLIC DT nodes in fdt_fixups()
Anup Patel
2022-02-15
lib: utils/irqchip: Add FDT based driver for APLIC
Anup Patel
2022-02-15
lib: utils/irqchip: Add APLIC initialization library
Anup Patel
2022-02-15
lib: utils: Disable appropriate IMSIC DT nodes in fdt_fixups()
Anup Patel
2022-02-15
lib: utils/irqchip: Add FDT based driver for IMSIC
Anup Patel
2022-02-15
lib: utils/irqchip: Add IMSIC library
Anup Patel
2022-02-15
lib: sbi: Enable mie.MEIE bit for IPIs based on external interrupts.
Anup Patel
2022-02-15
include: sbi: Introduce nascent_init() platform callback
Anup Patel
2022-02-15
lib: utils/irqchip: Allow multiple FDT irqchip drivers
Anup Patel
2022-02-15
lib: sbi: Add sbi_trap_set_external_irqfn() API
Anup Patel
2022-02-15
lib: sbi: Use AIA CSRs for local interrupts when available
Anup Patel
2022-02-15
lib: sbi: Detect AIA CSRs at boot-time
Anup Patel
2022-02-15
include: sbi: Add AIA related CSR defines
Anup Patel
2022-02-04
lib: utils/serial: Round UART8250 baud rate divisor to nearest integer
Jakub Luzny
2022-02-04
lib: fix compilation when strings.h is included
Petro Karashchenko
2022-02-04
Makefile: fix build with binutils 2.38
Aurelien Jarno
2022-02-04
lib: sbi: Disable interrupt and inhibit counting in M-mode during init
Atish Patra
2022-02-04
lib: sbi: Disable interrupt during config matching
Atish Patra
2022-02-04
lib: sbi: Map only the counters enabled in hardware
Atish Patra
2022-01-21
lib: fix pointer of type 'void *' used in arithmetic
Jukka Laitinen
2022-01-21
platform: sifive_fu740: fix reset when watchdog is running
Aurelien Jarno
2022-01-21
platform: sifive_fu740: do not use a global in da9063_reset/shutdown
Aurelien Jarno
2022-01-11
lib: utils/sys: Extend HTIF library to allow custom base address
Anup Patel
2022-01-11
lib: utils/ipi: Fix size check in aclint_mswi_cold_init()
Anup Patel
2021-12-24
include: Bump-up version to 1.0
Anup Patel
2021-12-23
firmware: Move memcpy/memset mapping to fw_base.S
Anup Patel
2021-12-22
lib: sbi: simplify pmp_set(), pmp_get()
Heinrich Schuchardt
2021-12-16
Makefile: Improve the method to disable -m(no-)save-restore option
Xiang W
2021-12-11
lib: sbi: Fix compile errors using -Os option
Anup Patel
2021-12-11
Makefile: Fix -msave-restore compile warning with CLANG-10 (or lower)
Anup Patel
2021-12-11
lib: pmu: check SSCOF before masking
Nikita Shubin
2021-12-11
docs/platform: spike: Enhance Spike examples
Tsukasa OI
2021-12-03
lib: pmu: support the event ID encoded by a bitmap.
Vincent Chen
2021-12-02
lib: sbi: Improve fatal error handling
Jessica Clarke
2021-11-30
lib: sbi: Resolve the uninitialized complaint in sbi_pmu
Dong Du
2021-11-30
lib: sbi: Fix missing space
Nikita Shubin
2021-11-23
lib: sbi: Fix spelling of "address" in sbi_domain.c
Vagrant Cascadian
2021-11-18
lib: utils: Add LiteX UART support
Gabriel Somlo
2021-11-12
lib: sbi: clear pmpcfg.A before setting in pmp_set()
Xiang W
2021-11-12
platform: sifive_fu740: add platform reset driver
Nikita Shubin
2021-11-12
lib: utils/i2c: Add minimal SiFive I2C driver
Nikita Shubin
2021-11-12
lib: utils/i2c: Add simple FDT based I2C framework
Nikita Shubin
2021-11-12
lib: utils/i2c: Add generic I2C configuration library
Nikita Shubin
2021-11-12
lib: utils/reset: separate driver init func
Nikita Shubin
2021-11-12
lib: utils/reset: add priority to gpio reset
Nikita Shubin
2021-11-11
lib: sbi: Fix PMP address bits detection
Vasan VS
2021-11-11
lib: sbi: Fix initial value mask while updating the counters
Atish Patra
2021-11-11
lib: utils: Rename the prefix in PMU DT properties
Atish Patra
2021-11-11
lib: sbi: Enable PMU extension for platforms without mcountinhibit
Atish Patra
2021-11-11
lib: sbi: Counter info width should be zero indexed
Atish Patra
2021-11-11
lib: sbi: Reset the mhpmevent value upon counter reset
Atish Patra
2021-11-11
lib: sbi: Allow programmable counters to monitor cycle/instret events
Atish Patra
2021-11-11
lib: sbi: Always enable access for all counters
Atish Patra
2021-11-11
lib: sbi: Support sscofpmf extension in OpenSBI
Atish Patra
2021-11-11
lib: sbi: Delegate PMU counter overflow interrupt to S mode
Atish Patra
2021-11-11
lib: sbi: Detect Sscofpmf extension at run time
Atish Patra
2021-11-11
lib: sbi: Update csr_read/write_num for PMU
Atish Patra
2021-11-11
riscv: Add new CSRs introduced by Sscofpmf[1] extension
Atish Patra
2021-11-08
lib: sbi: error handling in fdt_reset_init()
Heinrich Schuchardt
2021-11-08
platform: generic: move fdt_reset_init to final_init
Heinrich Schuchardt
2021-11-08
lib: sbi: move sbi_boot_print_general()
Heinrich Schuchardt
2021-11-03
lib: utils/gpio: use list for drivers
Nikita Shubin
2021-11-02
lib: sbi: Fix GPA passed to __sbi_hfence_gvma_xyz() functions
Anup Patel
2021-11-02
include: sbi_utils: Introduce an helper to get fdt base address
Alexandre Ghiti
2021-11-02
lib: sbi: Refine addr format in sbi_printf
Dong Du
2021-11-02
lib: utils/reset: Register separate GPIO system reset devices
Anup Patel
2021-10-21
lib: utils/irqchip: Automatically delegate T-HEAD PLIC access
Samuel Holland
2021-10-20
Makefile: Add build time and compiler info string
Wei Fu
2021-10-18
lib: sbi: system reset with invalid parameters
Heinrich Schuchardt
2021-10-18
lib: sbi: Save context for all non-retentive suspend types
Anup Patel
2021-10-11
lib: sbi: add priority for reset handler
Nikita Shubin
2021-10-11
lib: sbi: convert reset to list
Nikita Shubin
2021-10-01
lib: utils: identify supported GPIO reset methods
Heinrich Schuchardt
2021-09-26
lib: utils/reset: use sbi_timer_mdelay() in gpio reset driver
Anup Patel
2021-09-26
lib: sbi: Add generic timer delay loop function
Anup Patel
2021-09-26
lib: sbi: Print timer frequency at boot time
Anup Patel
2021-09-26
lib: sbi: Add timer frequency to struct sbi_timer_device
Anup Patel
2021-09-26
lib: utils/fdt: Add fdt_parse_timebase_frequency() function
Anup Patel
2021-09-22
lib: sbi: Add BUG() macro for csr_read/write_num() and misa_string()
Xiang W
2021-09-22
lib: sbi: add some macros to detect BUG at runtime
Xiang W
2021-09-22
lib: sbi: fix ctz bug
Xiang W
2021-09-14
lib: utils/reset: Add a sunxi watchdog reset driver
Samuel Holland
2021-09-14
lib: utils/reset: Sort fdt_reset driver list
Samuel Holland
2021-09-03
lib: sbi: Refine the way to construct platform features
Dong Du
2021-09-03
lib: sbi: Checking fifo validness in sbi_fifo_is_empty and is_full
Dong Du
2021-08-30
lib: sbi: protect dprintf output with spinlock
Dong Du
2021-08-30
lib: sbi: Correct typo in faults delegation CSR name
Rahul Pathak
2021-08-20
payloads/test: Add support for SBI v0.2 ecalls
Samuel Holland
2021-08-20
lib: sbi_trap: Restore redirect for access faults
Samuel Holland
2021-08-20
lib: sbi: Fix bug in sbi_ecall_rfence that misses checking
Dong Du
2021-08-14
lib: utils/timer: Simplify MTIMER synchronization
Anup Patel
2021-08-14
lib: utils/timer: Allow ACLINT MTIMER supporting only 32-bit MMIO
Anup Patel
2021-08-14
lib: utils/fdt: Extend fdt_parse_aclint_node() function
Anup Patel
2021-08-14
lib: utils: Extend fdt_get_node_addr_size() for multiple register sets
Anup Patel
2021-08-14
lib: utils/timer: Allow separate base addresses for MTIME and MTIMECMP
Anup Patel
2021-08-07
lib: utils/fdt: Change addr and size to uint64_t
Bin Meng
2021-08-07
lib: sbi: Fix bug in strncmp function when count is 0
Dong Du
2021-07-27
lib: utils: support both of gpio-poweroff, gpio-reset
Heinrich Schuchardt
2021-07-27
lib: utils: remove unused variable in fdt_reset_init
Heinrich Schuchardt
2021-07-27
generic: fu740: add workaround for CIP-1200 errata
David Abdurachmanov
2021-07-27
firmware: use _fw_start for load address
Xiang W
2021-07-27
Makefile: Manually forward RELAX_FLAG to the assembler when linking with LLD
Bin Meng
2021-07-17
README: Update toolchain information
Bin Meng
2021-07-17
docs: Document FW_PIC compile time option
Bin Meng
2021-07-17
docs: Document parameters passed to firmware and alignment requirement
Bin Meng
2021-07-17
firmware: Remove the unhelpful alignment codes before fdt relocation
Bin Meng
2021-07-17
include: types: Use __builtin_offsetof when supported
Alex Richardson
2021-07-17
firmware: use __SIZEOF_LONG__ for field offsets in fw_dynamic.h
Alex Richardson
2021-07-17
lib: utils/reset: Add generic GPIO reset driver
Green Wan
2021-07-17
lib: utils/gpio: Add minimal SiFive GPIO driver
Green Wan
2021-07-17
lib: utils/gpio: Add simple FDT based GPIO framework
Anup Patel
2021-07-17
lib: utils/gpio: Add generic GPIO configuration library
Anup Patel
2021-07-17
lib: utils/fdt: Add fdt_parse_phandle_with_args() API
Anup Patel
2021-07-11
lib: utils: Drop dependency on libgcc by importing part of FreeBSD's libquad
Jessica Clarke
2021-07-11
Makefile: Support building with Clang and LLVM binutils
Jessica Clarke
2021-07-11
firmware: Only default FW_PIC to y if supported
Jessica Clarke
2021-07-11
firmware: Explicitly pass -pie to the linker, not just the driver
Jessica Clarke
2021-07-11
fw_base: Put data in .data rather than .text
Jessica Clarke
2021-07-11
fw_base: Don't mark fw_platform_init as both global and weak
Jessica Clarke
2021-07-11
lib: sbi: Fix sbi_pmu_exit() for systems not having MCOUNTINHIBIT csr
Anup Patel