Reviewed-by: Andrei Warkentin <[email protected]>

> -----Original Message-----
> From: Sunil V L <[email protected]>
> Sent: Monday, January 8, 2024 5:37 AM
> To: [email protected]
> Cc: Sunil V L <[email protected]>; Gao, Liming
> <[email protected]>; Kinney, Michael D
> <[email protected]>; Liu, Zhiguang <[email protected]>;
> Warkentin, Andrei <[email protected]>
> Subject: [PATCH v2 1/4] MdePkg.dec: RISC-V: Define override bit for Sstc
> extension
> 
> Define the BIT 1 as the override bit for Sstc extension. This will be used by 
> the
> timer driver to decide whether to use SBI calls or direct CSR access to 
> configure
> the timer.
> 
> Cc: Liming Gao <[email protected]>
> Cc: Michael D Kinney <[email protected]>
> Cc: Zhiguang Liu <[email protected]>
> Cc: Andrei Warkentin <[email protected]>
> Signed-off-by: Sunil V L <[email protected]>
> ---
>  MdePkg/MdePkg.dec | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index
> 2ee112cc087a..0459418906f8 100644
> --- a/MdePkg/MdePkg.dec
> +++ b/MdePkg/MdePkg.dec
> @@ -2405,6 +2405,8 @@ [PcdsFixedAtBuild.RISCV64,
> PcdsPatchableInModule.RISCV64]
>    # Configurability to override RISC-V CPU Features
>    # BIT 0 = Cache Management Operations. This bit is relevant only if
>    # previous stage has feature enabled and user wants to disable it.
> +  # BIT 1 = Supervisor Time Compare (Sstc). This bit is relevant only
> + if  # previous stage has feature enabled and user wants to disable it.
>    #
> 
> gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0xFFFFFFFFFFFFFFFF|
> UINT64|0x69
> 
> --
> 2.34.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#113458): https://edk2.groups.io/g/devel/message/113458
Mute This Topic: https://groups.io/mt/103595208/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to