summaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_hsm.c
AgeCommit message (Expand)AuthorFilesLines
2023-03-10lib: sbi: Set the state of a hart to START_PENDING after the hart is readyEvgenii Shatokhin1-16/+67
2023-03-10lib: sbi: Refactor the calls to sbi_hart_switch_mode()Evgenii Shatokhin1-2/+11
2023-02-27lib: sbi_hsm: Export some functionsAndrew Jones1-2/+10
2023-02-27lib: sbi_hsm: Move misplaced commentAndrew Jones1-2/+4
2023-02-27lib: sbi_hsm: Ensure errors are consistent with specAndrew Jones1-3/+3
2023-02-27lib: sbi_hsm: Don't try to restore state on failed changeAndrew Jones1-5/+2
2023-02-27lib: sbi_hsm: Factor out invalid state detectionAndrew Jones1-41/+24
2023-02-08lib: sbi_hsm: Use csr_set to restore the MIPNick Hu1-1/+1
2023-01-22lib: sbi_hsm: handle failure when hart_stop returns SBI_ENOTSUPPYu Chien Peter Lin1-4/+3
2023-01-09lib: sbi_hsm: Rename 'priv' argument to 'arg1'Bin Meng1-4/+4
2022-07-11lib: sbi: add check for ipi device for hsm startBen Dooks1-1/+3
2022-06-13lib: sbi_hsm: Assume a consistent resume addressSamuel Holland1-26/+20
2022-06-13lib: sbi_hsm: Call a device hook during hart resumeSamuel Holland1-0/+8
2022-02-15lib: sbi: Enable mie.MEIE bit for IPIs based on external interrupts.Anup Patel1-2/+2
2021-10-18lib: sbi: Save context for all non-retentive suspend typesAnup Patel1-6/+7
2021-06-02lib: sbi_scratch: remove owner from sbi_scratch_alloc_offsetHeinrich Schuchardt1-2/+1
2021-04-28lib: sbi: Simplify HSM platform operationsAnup Patel1-12/+56
2021-04-28lib: sbi: Simplify ipi platform operationsAnup Patel1-1/+1
2021-03-03lib: Remove redundant sbi_platform_ipi_clear() callsAnup Patel1-3/+4
2021-03-03lib: sbi: Implement SBI HSM suspend functionAnup Patel1-3/+190
2021-03-03lib: sbi: Fix error codes returned by HSM start() and stop() functionsAnup Patel1-2/+2
2021-03-03lib: sbi: Remove redundant sbi_hsm_hart_started() functionAnup Patel1-11/+3
2021-03-03lib: sbi: Rename sbi_hsm_hart_started_mask() functionAnup Patel1-2/+2
2021-03-03lib: sbi: Use SBI_HSM_STATE_xyz defines instead of SBI_STATE_xyz definesAnup Patel1-43/+21
2021-03-03include: sbi: Simplify HSM state define namesAnup Patel1-4/+4
2020-10-20lib: sbi: Optimize sbi_hsm_hart_started_mask() implementationAnup Patel1-12/+22
2020-10-20lib: sbi: Extend sbi_hsm_hart_start() for domainsAnup Patel1-9/+10
2020-10-20lib: sbi: Extend sbi_hsm_hart_started_mask() for domainsAnup Patel1-7/+10
2020-09-16lib: sbi: Allow specifying mode in sbi_hart_pmp_check_addr() APIAnup Patel1-1/+1
2020-09-16lib: sbi: Allow specifying start mode to sbi_hsm_hart_start() APIAnup Patel1-1/+5
2020-06-20lib: Don't return any invalid error from SBI ecallAnup Patel1-2/+2
2020-03-28lib: sbi_scratch: Introduce sbi_scratch_last_hartid() APIAnup Patel1-2/+2
2020-03-28include: Use more consistent name for atomic xchg() and cmpxchg()Anup Patel1-8/+8
2020-03-28include: sbi_platform: Remove priv parameter from hart_start() callbackAnup Patel1-1/+1
2020-03-19lib: sbi_hsm: Don't use sbi_platform_hart_disabled() APIAnup Patel1-5/+1
2020-03-19lib: sbi_hsm: Remove scratch parameter from hart_started_mask() APIAnup Patel1-3/+1
2020-03-19lib: sbi_hsm: Don't use sbi_platform_hart_count() APIAnup Patel1-15/+4
2020-03-19lib: Handle failure of sbi_hartid_to_scratch() APIAnup Patel1-4/+13
2020-03-19lib: sbi_hsm: Simplify hart_get_state() and hart_started() APIsAnup Patel1-5/+6
2020-03-19include: Simplify HART id to scratch macroAnup Patel1-3/+3
2020-03-13include: Make sbi_current_hartid() as macro in riscv_asm.hAnup Patel1-2/+2
2020-03-13lib: sbi_hsm: Optimize sbi_hsm_hart_get_state() implementationAnup Patel1-6/+2
2020-03-11lib: Introduce sbi_hsm_hart_started_mask() APIAnup Patel1-0/+38
2020-03-10lib: sbi: Fix coding style issuesBin Meng1-7/+7
2020-03-08include: Move bits related defines and macros to sbi_bitops.hAnup Patel1-1/+1
2020-03-08lib: Fix return type of sbi_hsm_hart_started()Anup Patel1-2/+1
2020-02-24lib: Add possible hart status valuesAtish Patra1-0/+25
2020-02-24lib: Implement hart hotplugAtish Patra1-0/+222