Commit Graph

  • 83db3af5f9 lib: sbi: Add the bound check for events during config match Atish Patra 2022-07-20 14:50:33 -07:00
  • 1545afd342 lib: sbi: Fix counter index sanity check Atish Patra 2022-07-20 14:50:32 -07:00
  • 88b790f129 lib: sbi: Fix sbi_snprintf Andrew Jones 2022-07-27 16:17:47 +02:00
  • 4e21ccacd1 lib: utils/serial: Update Shakti UART based on latest implementation Prasanna T 2022-07-08 17:22:44 +05:30
  • 0374ccf3f1 lib: sbi_hart: Shorten the code to set MPV bit gagachang 2022-07-15 01:29:41 +08:00
  • caa5eeacac lib: sbi: add check for ipi device for hsm start Ben Dooks 2022-07-11 08:18:03 +01:00
  • 994c8cfb29 lib: sbi_timer: Added a conditional wait function which can timeout Adnan Rahman Chowdhury 2022-06-30 10:46:35 +01:00
  • 4489876e93 include: Bump-up version to 1.1 v1.1 Anup Patel 2022-06-25 09:12:10 +05:30
  • 3f66465fb6 lib: pmu: allow to use the highest available counter Sergey Matyukevich 2022-06-24 14:03:30 +03:00
  • c6fdbcf83f include: sbi: Change spec version to 1.0 Anup Patel 2022-06-23 21:01:35 +05:30
  • 6f1fe98c2f lib: utils/timer: Remove Allwinner D1 CLINT compatibles Samuel Holland 2022-06-21 23:57:42 -05:00
  • d76a196bfc lib: irqchip/plic: fix typo in plic_warm_irqchip_init Jan Remes 2022-06-21 14:07:39 +02:00
  • 7738345396 lib: utils/timer: Add a separate compatible for the D1 CLINT Samuel Holland 2021-10-19 20:58:38 -05:00
  • c6530012d4 lib: utils: Remove CSRs that set/clear an IMSIC interrupt file bits Anup Patel 2022-06-16 17:28:56 +05:30
  • a07402ac9c lib: sbi: Fix tval and tinst for sbi_get_insn() dramforever 2022-06-09 15:07:31 +08:00
  • 187127fb89 lib: sbi: Fixup tinst for exceptions in sbi_misaligned_*() dramforever 2022-06-09 15:07:30 +08:00
  • 551c70c040 include: sbi: Add mtinst/htinst psuedoinstructions dramforever 2022-06-09 15:07:29 +08:00
  • 9dc5ec5c51 platform: Add HSM implementation for Allwinner D1 Samuel Holland 2022-06-12 20:03:55 -05:00
  • 5e5675874c lib: utils/irqchip: Add wrapper for T-HEAD PLIC delegation Samuel Holland 2022-06-12 20:03:54 -05:00
  • 69be3dff9d lib: utils/irqchip: Add FDT wrappers for PLIC save/restore functions Samuel Holland 2022-06-12 20:03:53 -05:00
  • 2b79b694a8 lib: irqchip/plic: Add priority save/restore helpers Samuel Holland 2022-06-12 20:03:52 -05:00
  • 415ecf28f7 lib: irqchip/plic: Add context save/restore helpers Samuel Holland 2022-06-12 20:03:51 -05:00
  • 8c362e7d06 lib: irqchip/plic: Factor out a context init function Samuel Holland 2022-06-12 20:03:50 -05:00
  • 2ea7799d56 lib: irqchip/plic: Constify plic_data pointers Samuel Holland 2022-06-12 20:03:49 -05:00
  • 79e42eb2d6 lib: sbi_hsm: Assume a consistent resume address Samuel Holland 2022-06-12 20:03:48 -05:00
  • b20ed9febe lib: sbi_hsm: Call a device hook during hart resume Samuel Holland 2022-06-12 20:03:47 -05:00
  • ce1d6188a2 platform: generic: add overrides for vendor extensions Mayuresh Chitale 2022-06-10 10:19:20 +05:30
  • adc3388d76 lib: sbi_trap: Redirect exception based on hedeleg dramforever 2022-06-12 13:57:37 +08:00
  • cb8271c8e4 lib: sbi_illegal_insn: Add emulation for fence.tso Samuel Holland 2022-05-29 13:25:30 -05:00
  • ff65bfec4e lib: sbi_illegal_insn: Constify illegal_insn_table Samuel Holland 2022-05-29 13:25:29 -05:00
  • 295e5f3c69 lib: sbi_timer: Drop unnecessary get_platform_ticks wrapper Samuel Holland 2022-05-29 12:00:48 -05:00
  • fab0379bb6 lib: utils/fdt: Require match data to be const Samuel Holland 2022-05-29 13:32:11 -05:00
  • f067bb84cf lib: sbi: fix system_opcode_insn Xiang W 2022-05-26 22:14:44 +08:00
  • 1bc67db80c lib: utils/fdt: rename fdt_parse_max_hart_id Jan Remes 2022-05-13 12:58:43 +02:00
  • 575bb4e8ca platform: generic: check if CPU node is enabled Jan Remes 2022-05-13 12:58:42 +02:00
  • 616da52e18 lib: utils: check if CPU node is enabled Jan Remes 2022-05-13 12:58:41 +02:00
  • 90a9dd2b22 lib: utils/fdt: introduce fdt_node_is_enabled() Jan Remes 2022-05-13 12:58:40 +02:00
  • 851c14d455 lib: utils/irqchip: fix typo when checking for CPU node Jan Remes 2022-05-13 09:58:54 +05:30
  • 9a7a677d5f platform: generic: Move Sifive platform overrides into own directory Anup Patel 2022-05-13 09:27:23 +05:30
  • a3a3c60b66 platform: generic: Generate platform override module list at compile-time Anup Patel 2022-05-13 09:27:18 +05:30
  • 4eacd8229b lib: utils/gpio: Generate FDT gpio driver list at compile-time Anup Patel 2022-05-13 09:27:12 +05:30
  • 998ed43fde lib: utils/i2c: Generate FDT i2c adapter driver list at compile-time Anup Patel 2022-05-13 09:26:45 +05:30
  • 4ee0c57969 lib: utils/ipi: Generate FDT ipi driver list at compile-time Anup Patel 2022-05-13 09:26:35 +05:30
  • 3a69d12fc3 lib: utils/irqchip: Generate FDT irqchip driver list at compile-time Anup Patel 2022-05-13 09:26:27 +05:30
  • 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