Commit Graph

  • bfeb305e0f lib: utils/timer: Generate FDT timer driver list at compile-time Anup Patel 2022-05-13 09:26:20 +05:30
  • 1e62705adc lib: utils/serial: Generate FDT serial driver list at compile-time Anup Patel 2022-05-13 09:26:13 +05:30
  • 73cf511914 lib: utils/reset: Generate FDT reset driver list at compile-time Anup Patel 2022-05-13 09:26:06 +05:30
  • 7fb474b9dd Makefile: Add support for generating C array at compile time Anup Patel 2022-05-13 09:26:00 +05:30
  • f726f2dc01 Makefile: Allow generated C source to be anywhere in build directory Anup Patel 2022-05-13 09:25:50 +05:30
  • 023f0ad2d9 lib: sbi_platform: Add callback to populate HART extensions Anup Patel 2022-04-29 21:02:24 +05:30
  • 994ace30f7 lib: sbi: Add sbi_hart_update_extension() function Anup Patel 2022-04-29 20:47:04 +05:30
  • be4903ae00 lib: sbi: Detect hart features only once for each hart Anup Patel 2022-04-29 18:38:05 +05:30
  • cad6c91045 lib: sbi: Convert hart features into hart extensions Anup Patel 2022-04-28 21:29:22 +05:30
  • a6ab94fdbf lib: sbi: Fix AIA feature detection Anup Patel 2022-04-28 19:35:39 +05:30
  • 97a17c2e5c lib: sbi: Remove MENVCFG hart feature Anup Patel 2022-04-28 19:18:17 +05:30
  • dbc3d8f0ef lib: sbi: Remove MCOUNTINHIBT hart feature Anup Patel 2022-04-28 18:59:14 +05:30
  • d4b563c881 lib: sbi: Remove MCOUNTEREN and SCOUNTEREN hart features Anup Patel 2022-04-28 18:31:57 +05:30
  • 5b8b377178 lib: sbi: Update the name of ISA string printed at boot time Anup Patel 2022-04-28 18:11:02 +05:30
  • 5a6be99cc5 lib: sbi: Remove 's' and 'u' from misa_string() output Anup Patel 2022-04-28 17:50:59 +05:30
  • 1a754bb365 lib: sbi: Detect and print privileged spec version Anup Patel 2022-04-28 17:30:02 +05:30
  • b0c9df514b lib: sbi: Fix mhpmeventh access for rv32 in absence of sscofpmf Atish Patra 2022-04-28 11:48:29 -07:00
  • e576b3e620 include: sbi: Define SBI_PMU_HW_EVENT_MAX to 256 Jun Liang Tan 2022-04-28 17:45:02 +08:00
  • 474a9d4555 lib: sbi: Fix mstatus_init() for RV32 when Sscofpmf is not available Anup Patel 2022-04-28 13:13:59 +05:30
  • d62f6da062 lib: sbi: Implement Sstc extension Atish Patra 2022-04-25 23:29:22 -07:00
  • 4035ae94be docs: pmu: Improve the PMU DT bindings Atish Patra 2022-04-20 19:48:56 -07:00
  • 9cd95e13bb lib: sbi/hart: preserve csr validation value Dmitry Dunaev 2022-04-17 14:43:08 +05:30
  • c1e47d0c3f include: correct the definition of MSTATUS_VS Vincent Chen 2022-04-12 09:16:53 +08:00
  • 5c5cbb53a4 lib: utils/serial: support 'reg-offset' property Zong Li 2022-04-15 02:24:20 +00:00
  • 3383d6a4d1 lib: irqchip/imsic: configure mstateen Mayuresh Chitale 2022-04-11 08:34:17 +05:30
  • d44568a0f2 lib: sbi: Detect Smstateen CSRs at boot-time Mayuresh Chitale 2022-04-11 08:34:10 +05:30
  • 499601a4ff lib: sbi: Add Smstateen extension defines Mayuresh Chitale 2022-04-11 08:34:02 +05:30
  • 794986f87f lib: sbi: Enable Svpbmt extension in the menvcfg CSR Anup Patel 2022-03-29 19:55:23 +05:30
  • 47d676570d lib: sbi: Enable Zicbo[m|z] extensions in the menvcfg CSR Anup Patel 2022-03-29 19:42:22 +05:30
  • 31fecad46d lib: sbi: Detect menvcfg CSR at boot time Atish Patra 2022-03-29 19:25:36 +05:30
  • 722f80d8e9 include: Add defines for [m|h|s]envcfg CSRs Anup Patel 2022-03-29 19:00:37 +05:30
  • 7924a0b220 include: Use static asserts for FW_DYNAMIC_INFO_xxx_OFFSET defines Xiang W 2022-03-16 18:19:18 +08:00
  • 1b42d3ace3 include: Use static asserts for SBI_SCRATCH_xxx_OFFSET defines Xiang W 2022-03-16 18:16:48 +08:00
  • 555bdb1cf3 include: Use static asserts for SBI_PLATFORM_xxx_OFFSET defines Xiang W 2022-03-16 09:45:25 +08:00
  • d552fc8d36 lib: Add error messages via conditional compilation for the future Xiang W 2022-03-16 00:22:40 +08:00
  • b6b7220a47 firmware: Fix code for accessing hart_count and stack_size Xiang W 2022-03-16 00:22:39 +08:00
  • 2dfbd3c0e2 lib: pmp_set/pmp_get moved errors from runtime to compile time Xiang W 2022-03-16 00:22:38 +08:00
  • 4998a712b2 lib: utils: serial: Initial commit of xlnx-uartlite Alistair Francis 2022-02-24 15:01:46 +10:00
  • f3f4604c19 lib: sbi: Add a simple external interrupt handling framework Anup Patel 2022-02-18 23:18:41 +05:30
  • f2ccf2f783 lib: sbi: verbose sbi_domain_root_add_memregion Nikita Shubin 2022-02-11 14:11:54 +03:00
  • 3a69cc1487 lib: sbi: fix typo in is_region_subset Nikita Shubin 2022-02-11 14:11:53 +03:00
  • 8e2ef4f7af lib: utils: Disable appropriate APLIC DT nodes in fdt_fixups() Anup Patel 2021-06-15 11:37:59 +05:30
  • 34612193af lib: utils/irqchip: Add FDT based driver for APLIC Anup Patel 2021-04-08 18:10:16 +05:30
  • 99792653de lib: utils/irqchip: Add APLIC initialization library Anup Patel 2021-04-08 11:28:02 +05:30
  • 7127aaaaf7 lib: utils: Disable appropriate IMSIC DT nodes in fdt_fixups() Anup Patel 2021-06-15 11:19:40 +05:30
  • 811da5c541 lib: utils/irqchip: Add FDT based driver for IMSIC Anup Patel 2021-04-21 15:27:29 +05:30
  • 9f73669959 lib: utils/irqchip: Add IMSIC library Anup Patel 2021-04-20 16:33:40 +05:30
  • 55e79f823d lib: sbi: Enable mie.MEIE bit for IPIs based on external interrupts. Anup Patel 2021-06-29 13:29:52 +05:30
  • 10509405b2 include: sbi: Introduce nascent_init() platform callback Anup Patel 2021-06-29 13:14:04 +05:30
  • 5f56314618 lib: utils/irqchip: Allow multiple FDT irqchip drivers Anup Patel 2021-04-20 11:52:47 +05:30
  • 222132f48c lib: sbi: Add sbi_trap_set_external_irqfn() API Anup Patel 2021-04-06 17:07:42 +05:30
  • 65b4c7c01e lib: sbi: Use AIA CSRs for local interrupts when available Anup Patel 2021-04-06 16:10:00 +05:30
  • 8f96070067 lib: sbi: Detect AIA CSRs at boot-time Anup Patel 2021-04-06 13:06:47 +05:30
  • 01250d0044 include: sbi: Add AIA related CSR defines Anup Patel 2021-04-05 17:13:20 +05:30
  • ce4c0188d9 lib: utils/serial: Round UART8250 baud rate divisor to nearest integer Jakub Luzny 2022-01-21 16:06:14 +01:00
  • 6ad8917b7e lib: fix compilation when strings.h is included Petro Karashchenko 2022-01-28 09:13:23 +02:00
  • 5d53b55aa7 Makefile: fix build with binutils 2.38 Aurelien Jarno 2022-01-28 18:33:46 +01:00
  • a26dc609df lib: sbi: Disable interrupt and inhibit counting in M-mode during init Atish Patra 2022-01-07 10:54:09 -08:00
  • 3b7c204dca lib: sbi: Disable interrupt during config matching Atish Patra 2022-01-07 10:54:08 -08:00
  • 632f59392b lib: sbi: Map only the counters enabled in hardware Atish Patra 2022-01-07 10:54:07 -08:00
  • 5d025eb235 lib: fix pointer of type 'void *' used in arithmetic Jukka Laitinen 2022-01-19 11:20:17 +02:00
  • fb688d9e9d platform: sifive_fu740: fix reset when watchdog is running Aurelien Jarno 2022-01-05 08:20:39 +01:00
  • 8257262dbf platform: sifive_fu740: do not use a global in da9063_reset/shutdown Aurelien Jarno 2022-01-05 08:20:38 +01:00
  • 6dde43584f lib: utils/sys: Extend HTIF library to allow custom base address Anup Patel 2022-01-06 09:16:55 +05:30
  • 5b9960379f lib: utils/ipi: Fix size check in aclint_mswi_cold_init() Anup Patel 2022-01-06 09:02:45 +05:30
  • 48f91ee9c9 include: Bump-up version to 1.0 v1.0 Anup Patel 2021-12-24 17:27:44 +05:30
  • d30bde36d5 firmware: Move memcpy/memset mapping to fw_base.S Anup Patel 2021-12-22 18:01:23 +05:30
  • 2082153fc9 lib: sbi: simplify pmp_set(), pmp_get() Heinrich Schuchardt 2021-12-17 18:02:58 +01:00
  • f270359810 Makefile: Improve the method to disable -m(no-)save-restore option Xiang W 2021-12-12 20:39:33 +08:00
  • d249d6544c lib: sbi: Fix compile errors using -Os option Anup Patel 2021-12-02 16:52:16 +05:30
  • 69d7e53613 Makefile: Fix -msave-restore compile warning with CLANG-10 (or lower) Anup Patel 2021-12-02 10:30:28 +05:30
  • 460041c816 lib: pmu: check SSCOF before masking Nikita Shubin 2021-12-08 14:16:54 +03:00
  • 66fbcc03df docs/platform: spike: Enhance Spike examples Tsukasa OI 2021-12-03 10:13:56 +09:00
  • 2428987cc0 lib: pmu: support the event ID encoded by a bitmap. Vincent Chen 2021-12-01 17:45:42 -08:00
  • 14faee6916 lib: sbi: Improve fatal error handling Jessica Clarke 2021-11-21 17:30:22 +00:00
  • 7e77706966 lib: sbi: Resolve the uninitialized complaint in sbi_pmu Dong Du 2021-11-25 18:38:17 +08:00
  • 7a22c780df lib: sbi: Fix missing space Nikita Shubin 2021-11-25 13:00:16 +03:00
  • 22d556d268 lib: sbi: Fix spelling of "address" in sbi_domain.c Vagrant Cascadian 2021-11-19 11:37:21 -08:00
  • 52af6e4b52 lib: utils: Add LiteX UART support Gabriel Somlo 2021-11-16 14:17:04 -05:00
  • d335a178d8 lib: sbi: clear pmpcfg.A before setting in pmp_set() Xiang W 2021-11-08 17:43:03 +08:00
  • f3744967c6 platform: sifive_fu740: add platform reset driver Nikita Shubin 2021-11-10 12:42:30 +03:00
  • 13a1158d24 lib: utils/i2c: Add minimal SiFive I2C driver Nikita Shubin 2021-11-10 12:42:29 +03:00
  • 6ca6bcafb7 lib: utils/i2c: Add simple FDT based I2C framework Nikita Shubin 2021-11-10 12:42:28 +03:00
  • 2c964a2e15 lib: utils/i2c: Add generic I2C configuration library Nikita Shubin 2021-11-10 12:42:27 +03:00
  • 1d462e0397 lib: utils/reset: separate driver init func Nikita Shubin 2021-11-10 12:42:26 +03:00
  • 94eba23376 lib: utils/reset: add priority to gpio reset Nikita Shubin 2021-11-10 12:42:25 +03:00
  • 31fe5a7a3d lib: sbi: Fix PMP address bits detection Vasan VS 2021-11-08 10:24:56 +05:30
  • b8845e4204 lib: sbi: Fix initial value mask while updating the counters Atish Patra 2021-11-08 10:53:07 -08:00
  • 15906a3984 lib: utils: Rename the prefix in PMU DT properties Atish Patra 2021-11-08 10:53:06 -08:00
  • b28f07005c lib: sbi: Enable PMU extension for platforms without mcountinhibit Atish Patra 2021-11-08 10:53:05 -08:00
  • b628cfd6a0 lib: sbi: Counter info width should be zero indexed Atish Patra 2021-11-08 10:53:04 -08:00
  • 1e147324f0 lib: sbi: Reset the mhpmevent value upon counter reset Atish Patra 2021-11-08 10:53:03 -08:00
  • 0c304b6619 lib: sbi: Allow programmable counters to monitor cycle/instret events Atish Patra 2021-11-08 10:53:02 -08:00
  • 2363f950bc lib: sbi: Always enable access for all counters Atish Patra 2021-11-08 10:53:01 -08:00
  • 730f01bb41 lib: sbi: Support sscofpmf extension in OpenSBI Atish Patra 2021-11-08 10:53:00 -08:00
  • 9134c3643e lib: sbi: Delegate PMU counter overflow interrupt to S mode Atish Patra 2021-11-08 10:52:59 -08:00
  • 867c65360d lib: sbi: Detect Sscofpmf extension at run time Atish Patra 2021-11-08 10:52:58 -08:00
  • 7084ad9f42 lib: sbi: Update csr_read/write_num for PMU Atish Patra 2021-11-08 10:52:57 -08:00
  • a74daf2cb9 riscv: Add new CSRs introduced by Sscofpmf[1] extension Atish Patra 2021-11-08 10:52:56 -08:00
  • be245acfff lib: sbi: error handling in fdt_reset_init() Heinrich Schuchardt 2021-11-06 10:54:51 +01:00