Commit Graph

  • 43cace6c36 lib: sbi: check result of pmp_get() in is_pmp_entry_mapped() v1.5.1 Carlos López 2024-08-01 14:58:52 +02:00
  • cb0f4757fc lib: sbi: fwft: fix incorrect size passed to sbi_zalloc() Carlos López 2024-08-01 14:48:11 +02:00
  • baf6a75e3f lib: sbi: dbtr: fix potential NULL pointer dereferences Carlos López 2024-08-01 14:27:42 +02:00
  • 778949eeb8 include: Adjust Sscofpmf mhpmevent mask for upper 8 bits Eric Lin 2024-07-30 17:30:22 +08:00
  • 6a090ee9dc lib: sbi: check result of pmp_get() in is_pmp_entry_mapped() Carlos López 2024-08-01 14:58:52 +02:00
  • 41bb668315 lib: sbi: fwft: fix incorrect size passed to sbi_zalloc() Carlos López 2024-08-01 14:48:11 +02:00
  • d2353c9e22 lib: sbi: dbtr: fix potential NULL pointer dereferences Carlos López 2024-08-01 14:27:42 +02:00
  • df997c6e55 include: Adjust Sscofpmf mhpmevent mask for upper 8 bits Eric Lin 2024-07-30 17:30:22 +08:00
  • 65a3938fad lib: sbi_hsm: Save/restore menvcfg only when it exists Samuel Holland 2024-07-10 07:26:06 -07:00
  • bb7267a07f lib: sbi: Introduce an early console buffer for caching early prints Anup Patel 2024-07-05 10:04:12 +05:30
  • d35c76a766 include: sbi: Add macros to create FIFO as local or global variable Anup Patel 2024-07-05 08:51:43 +05:30
  • 94c3c53a56 lib: sbi: Allow forceful queueing of data in sbi_fifo_enqueue() Anup Patel 2024-07-04 22:37:44 +05:30
  • 9a275fc153 lib: sbi: Optimize fifo enqueue/dequeue for basic data types Anup Patel 2024-07-04 21:38:23 +05:30
  • 119b15a553 lib: sbi: Remove sbi_console_init() and console_init() platform callback Anup Patel 2024-07-04 21:09:17 +05:30
  • 9e8a18fd0d platform: Setup serial console device in early_init() Anup Patel 2024-07-04 12:15:58 +05:30
  • 4afb57c9eb lib: sbi_hsm: Save/restore menvcfg only when it exists Samuel Holland 2024-07-10 07:26:06 -07:00
  • f7a92f6b67 lib: utils/fdt: Add support for parsing riscv,isa-extensions Conor Dooley 2024-07-02 11:59:11 +01:00
  • b7e7e66026 lib: tests: add math test suite Dongdong Zhang 2024-07-01 10:30:06 +08:00
  • c5c1d04346 lib: tests: enhance test output with colored pass/fail messages Dongdong Zhang 2024-07-01 10:17:28 +08:00
  • 0a66754295 docs: writing tests: update cleaning instructions Ivan Orlov 2024-07-01 15:11:01 +01:00
  • 1ede0cab0e Makefile: remove any .carray.c during clean Ben Dooks 2024-07-01 15:11:00 +01:00
  • fd9e8b17ed Makefile: change to using .carray.c for carray files Ben Dooks 2024-07-01 15:10:59 +01:00
  • 75ad25ab59 scripts/carray.sh: Add comment to generated files Ivan Orlov 2024-07-01 15:10:58 +01:00
  • d8608e615f lib: sbi_emulate_csr: Do not log illegal CSR accesses Samuel Holland 2024-07-01 07:54:58 -07:00
  • c531adbf08 .github: Add repo lockdown GitHub workflow and update .gitignore Dongdong Zhang 2024-06-24 16:42:01 +08:00
  • 455de672dd include: Bump-up version to 1.5 v1.5 Anup Patel 2024-06-30 14:03:26 +05:30
  • 23b7badeee lib: sbi: check incoming dbtr shmem address Sergey Matyukevich 2024-06-27 15:04:09 +03:00
  • 0e45b63471 docs: Fix wrong filename Jacob Lin 2024-06-27 11:21:37 +08:00
  • caae2f7d45 lib: sbi: fwft: return SBI_EINVAL rather than SBI_ERR_INVALID_PARAM Clément Léger 2024-06-24 12:29:09 +02:00
  • e8717d1264 lib: sbi: fwft: check feature value to be exactly 1 or 0 Clément Léger 2024-06-24 12:29:08 +02:00
  • ecef14d573 lib: sbi: implement SBI FWFT extension Clément Léger 2024-06-19 11:42:42 +02:00
  • e9ee9678ba lib: sbi: fwft: add support for SBI_FWFT_PTE_AD_HW_UPDATING Clément Léger 2024-06-19 11:42:41 +02:00
  • c97a1d5891 lib: sbi: fwft: add support for SBI_FWFT_MISALIGNED_EXC_DELEG Clément Léger 2024-06-19 11:42:40 +02:00
  • aa5a859369 lib: sbi: add support for firmware features extension Clément Léger 2024-06-19 11:42:39 +02:00
  • 53844c98d0 lib: sbi: Add support for Svade and Svadu extensions Yong-Xuan Wang 2024-06-05 20:11:09 +08:00
  • 52dcf351cd platform: generic: andes: Add support for RV32 to set up PMA Ben Zong-You Xie 2024-05-31 13:21:08 +08:00
  • f09f16430a platform: generic: andes: Refine Andes PMA related code Ben Zong-You Xie 2024-05-31 13:19:04 +08:00
  • 7830e98785 lib: serial: fix RX path in litex-uart Gabriel Somlo 2024-06-07 14:23:42 -04:00
  • 62e178a0a7 lib: utils/reset: Try initializing all reset devices in dt Xiang W 2024-06-13 23:03:07 +08:00
  • 3a94a32580 sbi: sbi_domain_context: Fix trap context for domain context switching Yu Chien Peter Lin 2024-06-07 19:39:28 +08:00
  • a73ff043e9 lib: utils/reset: Fix fdt_reset to search for more dt nodes Xiang W 2024-06-11 19:19:34 +08:00
  • b5c984bd08 lib: utils/reset: Skip initialize reset when dt is not enabled Xiang W 2024-06-11 19:19:33 +08:00
  • 86bbe6c52f lib: utils/serial: Fix fdt_serial to match more dt nodes Xiang W 2024-06-11 19:19:32 +08:00
  • 179e00a320 lib: utils/serial: Skip initialize serial when dt is not enabled Xiang W 2024-06-11 19:19:31 +08:00
  • b1c7c750f7 lib: utils/irqchip: Skip initialize irqchip when dt is not enabled Xiang W 2024-06-11 19:19:30 +08:00
  • 5e3ad7d577 lib: utils/timer: Skip initialize timer when dt is not enabled Xiang W 2024-06-11 19:19:29 +08:00
  • c5be0e1ed1 lib: utils/ipi: Skip initialize ipi when dt is not enabled Xiang W 2024-06-11 19:19:28 +08:00
  • df3db6a901 lib: utils/fdt: Fix DT property for APLIC delegation Anup Patel 2024-06-05 10:48:46 +05:30
  • d962db2807 lib: utils/gpio: respect flag GPIO_FLAG_ACTIVE_LOW Inochi Amaoto 2024-05-23 13:07:45 +08:00
  • ae5ef1848d lib: sbi: sse: handle missing writable attributes Clément Léger 2024-05-16 14:30:28 +02:00
  • 858754a544 lib: utils/irqchip: Add sanity checks in imsic_get_data() and imsic_get_target_file() Cyan Yang 2024-05-16 16:32:43 +08:00
  • 96f0a2e3ea firmware: Bring back FW_TEXT_START as an optional parameter Anup Patel 2024-05-15 09:55:50 +05:30
  • e3a30a2c91 lib: utils/irqchip: Check before initializing imsic Cheng Yang 2024-05-15 14:15:14 +08:00
  • 2bed4c1c57 platform: generic: thead: add Sophgo CV18XX/SG200X series Inochi Amaoto 2024-05-14 12:53:40 +08:00
  • 533067d182 lib: sbi: Put event after use in sbi_sse_exit() loop Anup Patel 2024-05-08 17:02:39 +05:30
  • ea9cf6aa28 utils/reset: Add SG2042 hwmon MCU support. Inochi Amaoto 2024-04-28 09:24:10 +08:00
  • 1cb792d606 lib: sbi: simplify inline function in sbi_dtbr.c Xiang W 2024-05-03 21:53:38 +08:00
  • 7b37da3cb0 lib: sbi: fix return type of sbi_dbtr_shmem_disabled Xiang W 2024-05-03 21:53:37 +08:00
  • e065c3cd5d lib: sbi: Fixed memory permission check in sbi_dbtr_setup_shmem Xiang W 2024-05-03 21:53:36 +08:00
  • 7f54527029 lib: sbi: fix DBTR_SHMEM_MAKE_PHYS for RV64 Xiang W 2024-05-03 21:53:35 +08:00
  • 744f495653 lib: sbi: Removal unnecessary check dbtr_thishart_state_ptr Xiang W 2024-05-03 21:53:34 +08:00
  • 4953bd721a lib: sbi: fix hart_shmem_base Xiang W 2024-05-03 21:53:33 +08:00
  • 019a8e69a1 platform: generic: thead: add Canaan Kendryte K230 Yangyu Chen 2024-04-21 23:52:09 +08:00
  • 33e21c9476 platform: generic: thead: separate T-Head PMU Errata Yangyu Chen 2024-04-21 23:52:08 +08:00
  • 2b93ce0954 platform: andes: Change all occurrences of andes45 to andes Ben Zong-You Xie 2024-04-19 11:58:24 +08:00
  • f68b3aed9d platform: andes: Rename files with the prefix andes45 Ben Zong-You Xie 2024-04-19 11:58:23 +08:00
  • 17e829129d sbi: sbi_domain_context: Add spinlock for updating domain assigned_harts Alvin Chang 2024-04-16 13:02:13 +08:00
  • 1d89a9da64 lib: sbi: Refine the settings for switching to Virtual Supervisor Mode. Pope B.Lei 2024-04-10 10:05:20 +08:00
  • 033104da08 lib: sbi: sse: check handler entry to belong to supervisor mode Clément Léger 2024-04-09 12:02:08 +02:00
  • bd007658f8 lib: sbi: sse: use PRV_S instead of hardcoded value for mode Clément Léger 2024-04-09 12:02:07 +02:00
  • ce3c82cb2e lib: sbi: sse: call enable callback before sending IPI Clément Léger 2024-04-09 12:02:06 +02:00
  • d528dbfd4b lib: sbi: sse: remove superfluous sbi_list_empty() check Clément Léger 2024-04-09 12:02:05 +02:00
  • 22ff75099c lib: sbi: sse: simplify 32bits overflow check Clément Léger 2024-04-09 12:02:04 +02:00
  • 7aa80ea495 lib: sbi: sse: rename sse_hart_unlock() to sse_enabled_event_unlock() Clément Léger 2024-04-09 12:02:03 +02:00
  • c21c99db6a lib: sbi: sse: fix typos, comments and spacing errors Clément Léger 2024-04-09 12:02:02 +02:00
  • 7b1ed968e4 lib: tests: Add test for spinlocks Ivan Orlov 2024-04-23 16:52:45 +01:00
  • 7bdf41ad1e lib: tests: Add test for atomic_t Ivan Orlov 2024-04-23 16:52:44 +01:00
  • f6243d9ce5 lib: tests: Add test suite init function Ivan Orlov 2024-04-23 16:52:43 +01:00
  • d4d2582eef firmware: remove FW_TEXT_START Xiang W 2024-04-08 23:27:42 +08:00
  • 73344d4724 lib: utils: check correct value in fdt_node_offset_by_compatible Heinrich Schuchardt 2024-04-08 09:37:32 +02:00
  • 37e1544a86 lib: sbi: sse_event_get() may return NULL Heinrich Schuchardt 2024-04-08 09:29:04 +02:00
  • 68bc031a76 lib: sbi: Add missing sscrind and sscfg extensions in sbi_hart_ext[] Clément Léger 2024-03-20 15:50:43 +01:00
  • a7c5c2cbd2 Makefile: Remove unnecessary dependencies Samuel Holland 2024-03-18 13:49:41 -07:00
  • 268feab294 Makefile: Respect manual changes to .config Samuel Holland 2024-03-18 13:49:40 -07:00
  • 29ecda9c20 sbi: sbi_domain_context: Check privilege spec version before accessing S-mode CSRs Yu Chien Peter Lin 2024-03-28 11:33:02 +08:00
  • 7862c244bc lib: sbi: Wakeup non-coldboot HARTs early in the coldboot path Anup Patel 2024-03-19 17:56:24 +05:30
  • beb0cd177f lib: sbi: Simplify wait_for_coldboot() implementation Anup Patel 2024-03-15 19:55:23 +05:30
  • f5375bc15e platform: generic: allwinner: Optimize current hart scratch access Samuel Holland 2024-03-18 07:49:29 -07:00
  • b94396c7dd lib: utils/timer: Optimize current hart scratch access Samuel Holland 2024-03-18 07:49:28 -07:00
  • 5c9a73565f include: sbi: Support byteorder macros in assembly Vivian Wang 2024-03-16 01:36:39 +08:00
  • 06fc453ec1 lib: sbi: Add SSE support for PMU events Clément Léger 2024-03-21 16:57:18 +01:00
  • 09ad21445f lib: sbi: Implement SBI SSE extension Clément Léger 2024-03-21 16:57:17 +01:00
  • c8cdf01d8f lib: sbi: Add support for Supervisor Software Events extension Clément Léger 2024-03-21 16:57:16 +01:00
  • 76d7e9b8ee firmware: remove copy-base relocation Xiang W 2024-03-12 16:24:59 +08:00
  • 5186da687d platform: generic: allwinner: sun20i-d1: Remove duplicated CSR definitions Christoph Müllner 2024-03-19 10:26:42 +01:00
  • 3b2f89e3d6 docs: writing_tests: Make docs correspond the latest changes Ivan Orlov 2024-03-19 16:02:39 +00:00
  • f7d0050755 lib: sbi: Extend sbi_trap_error() to dump state in a nested trap Anup Patel 2024-03-12 13:52:53 +05:30
  • 5b11f16c3c lib: sbi: Pass trap context pointer to sbi_ecall_handler() Anup Patel 2024-03-11 18:15:20 +05:30
  • 43d346c0c1 lib: sbi: Remove regs parameter from trap irq handling functions Anup Patel 2024-03-11 18:00:50 +05:30
  • d84e7eb7f0 lib: sbi: Remove regs paramter of sbi_irqchip_process() Anup Patel 2024-03-11 17:53:41 +05:30