[PATCH v2 0/3] RISC-V Smstateen support

Mayuresh Chitale mchitale at ventanamicro.com
Tue Apr 5 04:05:22 PDT 2022


There is a minor error in patch 2 of the series.
Please ignore this version. I will send out a v3 with the fix.

Thanks,
Mayuresh.



On Tue, Apr 5, 2022 at 4:15 PM Mayuresh Chitale
<mchitale at ventanamicro.com> wrote:
>
> This series adds support for the Smstateen specification which provides
> a mechanism to plug potential covert channels which are opened by extensions
> which add to processor state that may not get context-switched. Currently
> access to AIA registers and *envcfg registers is controlled via
> smstateen.
>
> Changes in v2:
> - Rebase on latest master branch
> - Fix RV32 compilation issue
> - Fix indentation issue
>
> Mayuresh Chitale (3):
>   lib: sbi: Add Smstateen extension defines
>   lib: sbi: Detect Smstateen CSRs at boot-time
>   lib: irqchip/imsic: configure mstateen
>
>  include/sbi/riscv_encoding.h | 44 ++++++++++++++++++++++++++++++++++++
>  include/sbi/sbi_hart.h       |  4 +++-
>  lib/sbi/sbi_hart.c           | 31 +++++++++++++++++++++++++
>  3 files changed, 78 insertions(+), 1 deletion(-)
>
> --
> 2.17.1
>



More information about the opensbi mailing list