Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1770 commits
Select commit Hold shift + click to select a range
9221fe5
lib: sbi: change prototype of sbi_misaligned_load/store_handler
ganboing Mar 6, 2024
4c11265
lib: sbi: abstract out insn decoding to unify mem fault handlers
ganboing Mar 6, 2024
ddf3b64
include: sbi: add emulate_load/store handler to platform ops
ganboing Mar 6, 2024
81e3ba7
lib: sbi: call platform load/store emulators
ganboing Mar 6, 2024
5c992a1
lib: tests: Move tests to a separate directory
ivanorlov2206 Mar 13, 2024
86224ec
docs/writing_tests: Update tests paths
ivanorlov2206 Mar 13, 2024
2e85178
lib: sbi: Remove epc from struct sbi_trap_info
SiFiveHolland Mar 11, 2024
ebb697a
lib: sbi: Remove sbi_trap_exit() and related code
avpatel Mar 11, 2024
60ffc15
include: sbi: Add trap_context pointer in struct sbi_scratch
avpatel Mar 11, 2024
abea949
lib: sbi: Introduce trap context
avpatel Mar 11, 2024
fea33a9
lib: sbi: Simplify parameters of misaligned and access fault handlers
avpatel Mar 11, 2024
f414cf9
lib: sbi: Simplify parameters of sbi_illegal_insn_handler()
avpatel Mar 11, 2024
d84e7eb
lib: sbi: Remove regs paramter of sbi_irqchip_process()
avpatel Mar 11, 2024
43d346c
lib: sbi: Remove regs parameter from trap irq handling functions
avpatel Mar 11, 2024
5b11f16
lib: sbi: Pass trap context pointer to sbi_ecall_handler()
avpatel Mar 11, 2024
f7d0050
lib: sbi: Extend sbi_trap_error() to dump state in a nested trap
avpatel Mar 12, 2024
3b2f89e
docs: writing_tests: Make docs correspond the latest changes
ivanorlov2206 Mar 19, 2024
5186da6
platform: generic: allwinner: sun20i-d1: Remove duplicated CSR defini…
cmuellner Mar 19, 2024
76d7e9b
firmware: remove copy-base relocation
wxjstz Mar 12, 2024
c8cdf01
lib: sbi: Add support for Supervisor Software Events extension
clementleger Mar 21, 2024
09ad214
lib: sbi: Implement SBI SSE extension
clementleger Mar 21, 2024
06fc453
lib: sbi: Add SSE support for PMU events
clementleger Mar 21, 2024
5c9a735
include: sbi: Support byteorder macros in assembly
dramforever Mar 15, 2024
b94396c
lib: utils/timer: Optimize current hart scratch access
SiFiveHolland Mar 18, 2024
f5375bc
platform: generic: allwinner: Optimize current hart scratch access
SiFiveHolland Mar 18, 2024
beb0cd1
lib: sbi: Simplify wait_for_coldboot() implementation
avpatel Mar 15, 2024
7862c24
lib: sbi: Wakeup non-coldboot HARTs early in the coldboot path
avpatel Mar 19, 2024
29ecda9
sbi: sbi_domain_context: Check privilege spec version before accessin…
lyctw Mar 28, 2024
268feab
Makefile: Respect manual changes to .config
SiFiveHolland Mar 18, 2024
a7c5c2c
Makefile: Remove unnecessary dependencies
SiFiveHolland Mar 18, 2024
68bc031
lib: sbi: Add missing sscrind and sscfg extensions in sbi_hart_ext[]
clementleger Mar 20, 2024
37e1544
lib: sbi: sse_event_get() may return NULL
xypron Apr 8, 2024
73344d4
lib: utils: check correct value in fdt_node_offset_by_compatible
xypron Apr 8, 2024
d4d2582
firmware: remove FW_TEXT_START
wxjstz Apr 8, 2024
f6243d9
lib: tests: Add test suite init function
ivanorlov2206 Apr 23, 2024
7bdf41a
lib: tests: Add test for atomic_t
ivanorlov2206 Apr 23, 2024
7b1ed96
lib: tests: Add test for spinlocks
ivanorlov2206 Apr 23, 2024
c21c99d
lib: sbi: sse: fix typos, comments and spacing errors
clementleger Apr 9, 2024
7aa80ea
lib: sbi: sse: rename sse_hart_unlock() to sse_enabled_event_unlock()
clementleger Apr 9, 2024
22ff750
lib: sbi: sse: simplify 32bits overflow check
clementleger Apr 9, 2024
d528dbf
lib: sbi: sse: remove superfluous sbi_list_empty() check
clementleger Apr 9, 2024
ce3c82c
lib: sbi: sse: call enable callback before sending IPI
clementleger Apr 9, 2024
bd00765
lib: sbi: sse: use PRV_S instead of hardcoded value for mode
clementleger Apr 9, 2024
033104d
lib: sbi: sse: check handler entry to belong to supervisor mode
clementleger Apr 9, 2024
1d89a9d
lib: sbi: Refine the settings for switching to Virtual Supervisor Mode.
Apr 10, 2024
17e8291
sbi: sbi_domain_context: Add spinlock for updating domain assigned_harts
gagachang Apr 16, 2024
f68b3ae
platform: andes: Rename files with the prefix andes45
ben717-linux Apr 19, 2024
2b93ce0
platform: andes: Change all occurrences of andes45 to andes
ben717-linux Apr 19, 2024
33e21c9
platform: generic: thead: separate T-Head PMU Errata
cyyself Apr 21, 2024
019a8e6
platform: generic: thead: add Canaan Kendryte K230
cyyself Apr 21, 2024
4953bd7
lib: sbi: fix hart_shmem_base
wxjstz May 3, 2024
744f495
lib: sbi: Removal unnecessary check dbtr_thishart_state_ptr
wxjstz May 3, 2024
7f54527
lib: sbi: fix DBTR_SHMEM_MAKE_PHYS for RV64
wxjstz May 3, 2024
e065c3c
lib: sbi: Fixed memory permission check in sbi_dbtr_setup_shmem
wxjstz May 3, 2024
7b37da3
lib: sbi: fix return type of sbi_dbtr_shmem_disabled
wxjstz May 3, 2024
1cb792d
lib: sbi: simplify inline function in sbi_dtbr.c
wxjstz May 3, 2024
ea9cf6a
utils/reset: Add SG2042 hwmon MCU support.
inochisa Apr 28, 2024
533067d
lib: sbi: Put event after use in sbi_sse_exit() loop
avpatel May 8, 2024
2bed4c1
platform: generic: thead: add Sophgo CV18XX/SG200X series
inochisa May 14, 2024
e3a30a2
lib: utils/irqchip: Check before initializing imsic
yorange1 May 15, 2024
96f0a2e
firmware: Bring back FW_TEXT_START as an optional parameter
avpatel May 15, 2024
858754a
lib: utils/irqchip: Add sanity checks in imsic_get_data() and imsic_g…
cyanyang-sifive May 16, 2024
ae5ef18
lib: sbi: sse: handle missing writable attributes
clementleger May 16, 2024
d962db2
lib: utils/gpio: respect flag GPIO_FLAG_ACTIVE_LOW
inochisa May 23, 2024
df3db6a
lib: utils/fdt: Fix DT property for APLIC delegation
avpatel Jun 5, 2024
c5be0e1
lib: utils/ipi: Skip initialize ipi when dt is not enabled
wxjstz Jun 11, 2024
5e3ad7d
lib: utils/timer: Skip initialize timer when dt is not enabled
wxjstz Jun 11, 2024
b1c7c75
lib: utils/irqchip: Skip initialize irqchip when dt is not enabled
wxjstz Jun 11, 2024
179e00a
lib: utils/serial: Skip initialize serial when dt is not enabled
wxjstz Jun 11, 2024
86bbe6c
lib: utils/serial: Fix fdt_serial to match more dt nodes
wxjstz Jun 11, 2024
b5c984b
lib: utils/reset: Skip initialize reset when dt is not enabled
wxjstz Jun 11, 2024
a73ff04
lib: utils/reset: Fix fdt_reset to search for more dt nodes
wxjstz Jun 11, 2024
3a94a32
sbi: sbi_domain_context: Fix trap context for domain context switching
lyctw Jun 7, 2024
62e178a
lib: utils/reset: Try initializing all reset devices in dt
wxjstz Jun 13, 2024
7830e98
lib: serial: fix RX path in litex-uart
gsomlo Jun 7, 2024
f09f164
platform: generic: andes: Refine Andes PMA related code
ben717-linux May 31, 2024
52dcf35
platform: generic: andes: Add support for RV32 to set up PMA
ben717-linux May 31, 2024
53844c9
lib: sbi: Add support for Svade and Svadu extensions
yong-xuan Jun 5, 2024
aa5a859
lib: sbi: add support for firmware features extension
clementleger Jun 19, 2024
c97a1d5
lib: sbi: fwft: add support for SBI_FWFT_MISALIGNED_EXC_DELEG
clementleger Jun 19, 2024
e9ee967
lib: sbi: fwft: add support for SBI_FWFT_PTE_AD_HW_UPDATING
clementleger Jun 19, 2024
ecef14d
lib: sbi: implement SBI FWFT extension
clementleger Jun 19, 2024
e8717d1
lib: sbi: fwft: check feature value to be exactly 1 or 0
clementleger Jun 24, 2024
caae2f7
lib: sbi: fwft: return SBI_EINVAL rather than SBI_ERR_INVALID_PARAM
clementleger Jun 24, 2024
0e45b63
docs: Fix wrong filename
millaker Jun 27, 2024
23b7bad
lib: sbi: check incoming dbtr shmem address
geomatsi Jun 27, 2024
455de67
include: Bump-up version to 1.5
avpatel Jun 30, 2024
c531adb
.github: Add repo lockdown GitHub workflow and update .gitignore
Dunky-Z Jun 24, 2024
d8608e6
lib: sbi_emulate_csr: Do not log illegal CSR accesses
SiFiveHolland Jul 1, 2024
75ad25a
scripts/carray.sh: Add comment to generated files
ivanorlov2206 Jul 1, 2024
fd9e8b1
Makefile: change to using .carray.c for carray files
bjdooks-ct Jul 1, 2024
1ede0ca
Makefile: remove any .carray.c during clean
bjdooks-ct Jul 1, 2024
0a66754
docs: writing tests: update cleaning instructions
ivanorlov2206 Jul 1, 2024
c5c1d04
lib: tests: enhance test output with colored pass/fail messages
Dunky-Z Jul 1, 2024
b7e7e66
lib: tests: add math test suite
Dunky-Z Jul 1, 2024
f7a92f6
lib: utils/fdt: Add support for parsing riscv,isa-extensions
ConchuOD Jul 2, 2024
4afb57c
lib: sbi_hsm: Save/restore menvcfg only when it exists
SiFiveHolland Jul 10, 2024
9e8a18f
platform: Setup serial console device in early_init()
avpatel Jul 4, 2024
119b15a
lib: sbi: Remove sbi_console_init() and console_init() platform callback
avpatel Jul 4, 2024
9a275fc
lib: sbi: Optimize fifo enqueue/dequeue for basic data types
avpatel Jul 4, 2024
94c3c53
lib: sbi: Allow forceful queueing of data in sbi_fifo_enqueue()
avpatel Jul 4, 2024
d35c76a
include: sbi: Add macros to create FIFO as local or global variable
avpatel Jul 5, 2024
bb7267a
lib: sbi: Introduce an early console buffer for caching early prints
avpatel Jul 5, 2024
df997c6
include: Adjust Sscofpmf mhpmevent mask for upper 8 bits
dslin1010 Jul 30, 2024
d2353c9
lib: sbi: dbtr: fix potential NULL pointer dereferences
00xc Aug 1, 2024
41bb668
lib: sbi: fwft: fix incorrect size passed to sbi_zalloc()
00xc Aug 1, 2024
6a090ee
lib: sbi: check result of pmp_get() in is_pmp_entry_mapped()
00xc Aug 1, 2024
8b898c4
lib: sbi: Support multiple heaps
grg-haas Aug 9, 2024
cda0014
lib: sbi: Allocate from beginning of heap blocks
grg-haas Aug 9, 2024
b9c091e
lib: sbi: Implement aligned memory allocators
grg-haas Aug 9, 2024
d4322ee
lib: sbi: Enhance CSR Handling in system_opcode_insn
Dunky-Z Jul 18, 2024
1710039
platform: generic: Kconfig: add the description for Andes PMA feature
ben717-linux Jul 23, 2024
4a72abb
platform: generic: andes: add Andes SBI call to probe Andes PMA feature
ben717-linux Jul 23, 2024
aa56084
platform: generic: andes: add a new Andes SBI call to set up a PMA entry
ben717-linux Jul 23, 2024
3d1f53b
platform: generic: andes: add a new Andes SBI call to free a PMA entry
ben717-linux Jul 23, 2024
56183ca
lib: utils: fdt_domain: Use consistent device-tree address when next-…
lyctw Jul 24, 2024
bcb81f0
lib: utils/fdt: Fix fdt_add_cpu_idle_states() prototype
SiFiveHolland Jul 31, 2024
f229a32
lib: utils/regmap: Fix typo in comment
SiFiveHolland Jul 31, 2024
33ba4e0
lib: utils/fdt: Constify FDT parsing functions
SiFiveHolland Jul 31, 2024
c585354
lib: utils/gpio: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
039e810
lib: utils/i2c: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
d561418
lib: utils/ipi: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
7df1c81
lib: utils/irqchip: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
1bbda9b
lib: utils/regmap: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
57a0479
lib: utils/reset: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
bd76eb4
lib: utils/serial: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
b15cc77
lib: utils/timer: Constify FDT pointers in parsing functions
SiFiveHolland Jul 31, 2024
3f96465
platform: generic: Constify FDT pointers in fw_platform_init()
SiFiveHolland Jul 31, 2024
6e5db7b
platform: generic: Pass FDT to early/final_init overrides
SiFiveHolland Jul 31, 2024
fa6dfce
lib: utils/reset: Pass the FDT to fdt_reset_init()
SiFiveHolland Jul 31, 2024
c368018
lib: utils/serial: Pass the FDT to fdt_serial_init()
SiFiveHolland Jul 31, 2024
8cb7f89
lib: utils/fdt: Add fdt_get_address_rw() helper
SiFiveHolland Jul 31, 2024
f7a6258
util: atcsmu.c: fix typo "%s/hard/hart/"
Aug 1, 2024
a44df80
util: atcsmu.c: modify sbi_printf() formatting
lyctw Aug 1, 2024
70f3441
lib: sse: remove unused sse_inject_out() parameter
clementleger Aug 2, 2024
c5b6ebd
Makefile: fix OPENSBI_VERSION_GIT build with submodules
danielhb Aug 5, 2024
b0ad9e0
lib: utils: fdt_domain: Make opensbi-domain optional in CPU node
grg-haas Aug 9, 2024
ef4520b
lib: Delete redundant `ulong`
Aug 14, 2024
c4940a9
platform: generic: Fix fw_platform_coldboot_harts_init() function
avpatel Aug 25, 2024
792715e
include: sbi_domain: Fix incorrect comments
SiFiveHolland Aug 29, 2024
65f04ba
lib: sbi: Use a linked list to track domains
SiFiveHolland Aug 29, 2024
ebfaf19
lib: sbi: Fix writes to emulated 32-bit htimedelta CSR
SiFiveHolland Aug 29, 2024
1cb234b
lib: sbi: fwft: add support for SBI_FWFT_POINTER_MASKING_PMLEN
SiFiveHolland Aug 14, 2024
00093a2
docs: Remove github PR as an option
atishp04 Aug 30, 2024
beef2f6
lib: sbi: Respect scounteren when emulating the time CSR
SiFiveHolland Aug 29, 2024
040fcf4
lib: sbi_domain_context: Fix file permissions
SiFiveHolland Aug 30, 2024
570b9ae
include: sbi_bitops: add ULL version for BIT and GENMASK
zongbox Aug 30, 2024
6758a75
include: adding support for Zicfilp / Zicfiss encodings
deepak0414 Sep 16, 2024
c0804ed
lib: sbi: add zicfilp/zicfiss and elp cfi state reflect back in status
deepak0414 Sep 16, 2024
1105244
lib: sbi: sw check exception delegation
deepak0414 Sep 16, 2024
7179e36
lib: sbi: fwft: implement landing pad and shadow stack fwft interface
deepak0414 Sep 16, 2024
7c40909
firmware: Simplify FDT header endianness conversion
SiFiveHolland Aug 29, 2024
4ac1818
lib: sbi_init: Remove obsolete hartid check
SiFiveHolland Aug 30, 2024
9d7a983
include: sbi: Store the hart index in struct sbi_scratch
SiFiveHolland Aug 30, 2024
15c4e28
lib: sbi: Use current_hartindex() where possible
SiFiveHolland Aug 30, 2024
d73a4c7
lib: sbi_sse: Cache the event's target hart index
SiFiveHolland Aug 30, 2024
7f5fa9f
lib: utils/irqchip: Look up IMSIC data by hart index
SiFiveHolland Aug 30, 2024
633e7cb
lib: sbi_ecall_legacy: Use SBI v0.2 encoding for "all harts"
SiFiveHolland Aug 30, 2024
97b8038
lib: sbi: Simplify halt broadcast logic
SiFiveHolland Aug 30, 2024
ebe0f31
lib: sbi: Update __sbi_hsm_hart_get_state() to take a hart index
SiFiveHolland Aug 30, 2024
fe153c5
lib: sbi: Use sbi_hartmask in sbi_hsm_hart_interruptible_mask()
SiFiveHolland Aug 30, 2024
9f86524
lib: sbi: Update sbi_domain_is_assigned_hart() to take a hart index
SiFiveHolland Aug 30, 2024
3962be8
lib: sbi: Update sbi_{entry,init}_count() to take a hart index
SiFiveHolland Aug 30, 2024
9155024
lib: sbi: Remove unused hartid parameters
SiFiveHolland Aug 30, 2024
cae230c
lib: utils/ipi: Fix hartid wrongly used as hart index
SiFiveHolland Aug 31, 2024
bfa9f9a
Makefile: Make .carray.c files depend on carray.sh
SiFiveHolland Sep 1, 2024
7b3de48
include: sbi: Don't unconditionally define '__always_inline'
ElyesH Sep 15, 2024
3e141a6
firmware: fw_base.S: fix multi-core boot bug.
p7salon Sep 13, 2024
2ffa0a1
lib: sbi: fix missing high 32bits when sbi_cppc_write on rv32
wxjstz Sep 23, 2024
8576ca4
lib: utils/ipi: Use sbi_domain_root_add_memrange() for ACLINT mswi
avpatel Sep 20, 2024
abc68e8
lib: utils/irqchip: Use sbi_domain_root_add_memrange() for IMSIC
avpatel Sep 20, 2024
dc5d747
lib: utils/irqchip: Use sbi_domain_root_add_memrange() for APLIC
avpatel Sep 20, 2024
36c1e40
lib: sbi_domain: Make sbi_domain_root_add_memregion() as local function
avpatel Sep 20, 2024
2d517fc
lib: utils/fdt: Use sbi_domain_memregion_init() when parsing domains
avpatel Sep 20, 2024
65d4e9b
include: sbi: Remove cyclic include in sbi_domain_context.h
avpatel Sep 21, 2024
81d7991
lib: sbi: Introduce domain data
avpatel Sep 23, 2024
f609fd8
lib: sbi_domain: Use domain data support for per-domain hart context
avpatel Sep 23, 2024
ebbd276
docs: Remove hartindex_to_context_table from domain_support.md
avpatel Sep 23, 2024
b919daf
lib: sbi: Add support to mask/unmask SSE events
hschauhan Sep 23, 2024
daa2825
lib: sbi: factorize previous virtualization mode read from regs
clementleger Oct 18, 2024
80656bd
lib: sbi: factorize previous mode computation
clementleger Oct 18, 2024
9c78593
lib: sbi: add Ssdbltrp ISA extension support
clementleger Oct 18, 2024
b0a7e4b
lib: sbi: send a double trap SSE event to supervisor
clementleger Oct 18, 2024
b2f77f5
lib: sbi: fwft: factorize menvcfg read/write
clementleger Oct 18, 2024
3bc8685
lib: sbi: implement firmware feature SBI_FWFT_DOUBLE_TRAP
clementleger Oct 18, 2024
c46a937
lib: sbi: add Smdbltrp ISA extension support
clementleger Oct 18, 2024
3e0c170
lib: utils/gpio: designware: Allocate chips on the heap
SiFiveHolland Oct 25, 2024
62447cd
include: sbi: Optimize reads of mhartid and mscratch
SiFiveHolland Oct 25, 2024
1a2e507
lib: sbi: fix number of PMP entries detection
vlkondratiev Sep 2, 2024
4500828
lib: sbi_timer: Call driver warm_init from SBI core
SiFiveHolland Sep 3, 2024
99b01ab
platform: Drop timer warm init and exit hooks
SiFiveHolland Sep 3, 2024
598cf96
lib: utils/gpio: Remove fdt_gpio_driver() function
SiFiveHolland Sep 4, 2024
d71150e
lib: utils/gpio: Use FDT node offset as GPIO chip ID
SiFiveHolland Sep 4, 2024
9782b88
lib: utils/regmap: Use FDT node offset as regmap ID
SiFiveHolland Sep 4, 2024
369c645
top: Add .editorconfig to set basic coding styles
Mina-Chou Sep 16, 2024
0171cfc
Makefile: enable --gc-sections
zhangcola2003-beep Oct 1, 2024
701948b
docs: add example of building the Linux kernel
Timmmm Oct 8, 2024
dcb68dd
platform: ensure enough heap size with debug triggers extension
inochisa Nov 11, 2024
5d4e3fb
platform: introduce DT-based configurable heap size
inochisa Nov 11, 2024
db8f03e
include: sbi: Fix typo error
Oct 23, 2024
be9752a
lib: sbi_ipi: Make .ipi_clear always target the current hart
SiFiveHolland Oct 25, 2024
693afc8
lib: sbi_ipi: Move initial IPI clear to sbi_ipi_init()
SiFiveHolland Oct 25, 2024
86d2c17
platform: Drop IPI warm init and exit hooks
SiFiveHolland Oct 25, 2024
a786aed
lib: utils/irqchip: plic: Allow enabling IRQs by default
SiFiveHolland Nov 5, 2024
c26e3fd
lib: utils/irqchip: plic: Move delegation to base PLIC driver
SiFiveHolland Nov 5, 2024
69448a0
lib: utils/irqchip: plic: Provide a hartindex to context map
SiFiveHolland Nov 5, 2024
c6c22f0
lib: utils/irqchip: plic: Common PM save/restore
SiFiveHolland Nov 5, 2024
56fddce
lib: utils/irqchip: Move per-hart data from fdt_plic to plic
SiFiveHolland Nov 5, 2024
e3e5686
lib: sbi_irqchip: Register devices during cold init
SiFiveHolland Nov 5, 2024
2dd6eaf
lib: sbi_irqchip: Call driver warm_init from SBI core
SiFiveHolland Nov 5, 2024
678f590
platform: Drop irqchip warm init and exit hooks
SiFiveHolland Nov 5, 2024
1117723
lib: sbi_irqchip: Set the IRQ handler when registering a chip
SiFiveHolland Nov 5, 2024
23ef9c5
sbi: fwft: clear the config lock when warm boot
nick650823 Nov 15, 2024
df1c100
treewide: Make carray arrays const and NULL-terminated
SiFiveHolland Nov 11, 2024
1ccc52c
lib: utils/fdt: Add helpers for generic driver initialization
SiFiveHolland Nov 11, 2024
bb008e5
scripts/carray.sh: Avoid useless use of cat
SiFiveHolland Nov 11, 2024
10df2d6
scripts/carray.sh: Allow referencing a struct member
SiFiveHolland Nov 11, 2024
bef8f9b
lib: utils/gpio: Use fdt_driver for initialization
SiFiveHolland Nov 11, 2024
333133e
lib: utils/i2c: Use fdt_driver for initialization
SiFiveHolland Nov 11, 2024
5fa510c
lib: utils/ipi: Use fdt_driver for initialization
SiFiveHolland Nov 11, 2024
1f8db2f
lib: utils/regmap: Use fdt_driver for initialization
SiFiveHolland Nov 11, 2024
6d9ad49
lib: utils/reset: Use fdt_driver for initialization
SiFiveHolland Nov 11, 2024
a524f0a
lib: utils/serial: Use fdt_driver for initialization
SiFiveHolland Nov 11, 2024
a387a8d
lib: utils/timer: Use fdt_driver for initialization
SiFiveHolland Nov 11, 2024
40e725d
Makefile: Fix POSIX grep for multiple patterns
Nov 28, 2024
d8a483f
lib: sbi_pmu: PMU raw event v2 support
atishp04 Nov 19, 2024
cf196d8
lib: sbi_pmu: Remove redundant check for fw events
atishp04 Nov 19, 2024
05970d2
lib: sbi_pmu: Add SBI PMU event info function details.
atishp04 Nov 19, 2024
e434584
lib: sbi_pmu: Implement SBI PMU event info function
atishp04 Nov 19, 2024
b49d67b
lib: Increase ROOT_REGION_MAX to accomodate more memregions
pathakraul Aug 6, 2024
ad846a7
lib: utils/mailbox: Add generic mailbox library
avpatel Aug 6, 2024
2244a34
lib: utils/mailbox: Add simple FDT based mailbox framework
avpatel Aug 6, 2024
91f46fb
lib/utils: Add RPMI messaging protocol and shared memory transport su…
pathakraul Aug 6, 2024
6a26726
lib/utils: reset: Add RPMI System Reset driver
pathakraul Aug 6, 2024
3676324
lib: utils: Add simple FDT based system suspend driver framework
avpatel Aug 6, 2024
13f55f3
lib: utils/suspend: Add RPMI system suspend driver
slingappa Aug 6, 2024
fdd7263
lib: sbi: Add optional resume address to hart suspend
slingappa Aug 6, 2024
9d760b8
lib: utils/fdt: Allow dynamic registration of FDT fixup callbacks
avpatel Aug 6, 2024
ff4769b
lib: utils: Add simple FDT based HSM driver framework
avpatel Aug 6, 2024
33ee9b8
lib: utils/hsm: Add RPMI HSM driver
slingappa Aug 6, 2024
54e632b
lib: utils: Add simple FDT based CPPC driver framework
avpatel Aug 7, 2024
591a98b
lib: utils/cppc: Add RPMI CPPC driver
slingappa Aug 7, 2024
7939bf1
lib: sbi: Add SBI Message Proxy (MPXY) framework
pathakraul Aug 8, 2024
e67d91c
lib: sbi: Implement SBI MPXY extension
avpatel Aug 8, 2024
32577ec
lib: utils: Add simple FDT based MPXY driver framework
avpatel Aug 8, 2024
c5a8b15
lib: utils/mpxy: Add RPMI client driver for MPXY
pathakraul Aug 8, 2024
c2acc5e
lib: sbi_misaligned_ldst: Add handling of vector load/store
nylon7 Dec 6, 2024
c02fff6
Add rvcpu config
shmknrk Dec 7, 2024
16a4214
Increase the max number of harts.
offnaria Dec 7, 2024
9a070de
Add context maps for multicore.
offnaria Dec 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
AlignConsecutiveAssignments: true
AlignEscapedNewlines: Left
AlignTrailingComments: true
AllowShortFunctionsOnASingleLine: None
BraceWrapping:
AfterFunction: true
BreakBeforeBraces: Custom
BreakStringLiterals: false
ContinuationIndentWidth: 8
Cpp11BracedListStyle: false
IndentWidth: 8
ReflowComments: false
SortIncludes: false
SpacesInContainerLiterals: false
TabWidth: 8
UseTab: Always
21 changes: 21 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# SPDX-License-Identifier: GPL-2.0-only
# See here for more information about the format and editor support:
# https://editorconfig.org/

root = true

[{*.{c,dts,h,lds,ldS,mk,s,S},Kconfig,Makefile,Makefile.*}]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = tab
indent_size = 8

[*.py]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4
26 changes: 26 additions & 0 deletions .github/workflows/repo-lockdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Repo Lockdown'

on:
pull_request_target:
types: opened

permissions:
pull-requests: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/repo-lockdown@v4
with:
pr-comment: |
We have mailing list based patch review so it would be great if you can send these patchs to OpenSBI mailing list.

You need to join OpenSBI mailing list using following link
http://lists.infradead.org/mailman/listinfo/opensbi

Make sure you use "git send-email" to send the patches.

Thanks for your contribution to OpenSBI project.
lock-pr: true
close-pr: true
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# ignore anything begin with dot
.*

# exceptions we need even begin with dot
!.clang-format
!.gitignore
!.github
!.editorconfig

# Object files
*.o
*.a
Expand All @@ -6,3 +15,7 @@
#Build & install directories
build/
install/

# Development friendly files
tags
cscope*
27 changes: 27 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

List of OpenSBI Contributors (Alphabetically sorted)
====================================================

* **[Western Digital Corporation](https://www.wdc.com/)**
* Project initiator and maintainer
* Copyright (c) 2019 Western Digital Corporation or its affiliates

* Alistair Francis <[email protected]>

* Andreas Schwab <[email protected]>

* Anup Patel <[email protected]>

* Atish Patra <[email protected]>

* Bin Meng <[email protected]>

* Damien Le Moal <[email protected]>

* Karsten Merker <[email protected]>

* Nick Kossifidis <[email protected]>

* Shawn Chang <[email protected]>

* Xiang Wang <[email protected]>
24 changes: 6 additions & 18 deletions LICENSE → COPYING.BSD
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
Copyright (c) 2018 Western Digital Corporation or its affiliates.
The 2-Clause BSD License
SPDX short identifier: BSD-2-Clause

Copyright (c) 2019 Western Digital Corporation or its affiliates and other
contributors.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
Expand All @@ -12,26 +16,10 @@ modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

The views and conclusions contained in the software and documentation are those
of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the <project name> project.

--------------

Note:
Individual files contain the following tag instead of the full license text.

::

SPDX-License-Identifier: BSD-2-Clause

This enables machine processing of license information based on the SPDX
License Identifiers that are here available: http://spdx.org/licenses/
25 changes: 25 additions & 0 deletions Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-License-Identifier: BSD-2-Clause

mainmenu "OpenSBI $(OPENSBI_PLATFORM) Configuration"

config OPENSBI_SRC_DIR
string
option env="OPENSBI_SRC_DIR"

config OPENSBI_PLATFORM
string
option env="OPENSBI_PLATFORM"

config OPENSBI_PLATFORM_SRC_DIR
string
option env="OPENSBI_PLATFORM_SRC_DIR"

menu "Platform Options"
source "$(OPENSBI_PLATFORM_SRC_DIR)/Kconfig"
endmenu

source "$(OPENSBI_SRC_DIR)/lib/sbi/Kconfig"

source "$(OPENSBI_SRC_DIR)/lib/utils/Kconfig"

source "$(OPENSBI_SRC_DIR)/firmware/Kconfig"
Loading