I don’t think a warning message around EFI_MEMORY_UC is useful… it’s typical to 
request such a mapping for device MMIO (e.g. PciHostBridgeDxe, 
NonDiscoverablePciDeviceDxe, etc). On a system without PBMT yeah the M mode 
firmware will have to enforce the correct type, but that’s been true until now 
as well. Warning for _WC may make sense as it’s definitely not a “typical” 
mapping.

A

From: Tuan Phan <[email protected]>
Sent: Monday, February 26, 2024 10:34 PM
To: Warkentin, Andrei <[email protected]>; [email protected]
Cc: [email protected]; Kinney, Michael D <[email protected]>; 
[email protected]; Liu, Zhiguang <[email protected]>; 
[email protected]; [email protected]; Kumar, Rahul R <[email protected]>; 
Ni, Ray <[email protected]>; Yao, Jiewen <[email protected]>; 
[email protected]
Subject: Re: [edk2-devel] [PATCH v2 0/3] RISC-V: Support Svpbmt extension

Hi Sunil/ Andrei,
Any comments on this series?

Regards,

On Wed, Feb 14, 2024 at 10:16 PM Tuan Phan via groups.io<http://groups.io> 
<[email protected]<mailto:[email protected]>> wrote:


On Wed, Feb 14, 2024 at 9:43 PM Warkentin, Andrei 
<[email protected]<mailto:[email protected]>> wrote:
Do you mind sharing a GH branch with the patch set?
https://github.com/pttuan/edk2/tree/tphan/riscv_mmu_svpbmt
Tuan

A

> -----Original Message-----
> From: Tuan Phan <[email protected]<mailto:[email protected]>>
> Sent: Tuesday, February 6, 2024 7:29 PM
> To: [email protected]<mailto:[email protected]>
> Cc: Kinney, Michael D 
> <[email protected]<mailto:[email protected]>>;
> [email protected]<mailto:[email protected]>; Liu, Zhiguang 
> <[email protected]<mailto:[email protected]>>;
> [email protected]<mailto:[email protected]>; 
> [email protected]<mailto:[email protected]>; Kumar, Rahul R
> <[email protected]<mailto:[email protected]>>; Ni, Ray 
> <[email protected]<mailto:[email protected]>>;
> [email protected]<mailto:[email protected]>; Yao, Jiewen 
> <[email protected]<mailto:[email protected]>>; Warkentin,
> Andrei <[email protected]<mailto:[email protected]>>; 
> [email protected]<mailto:ardb%[email protected]>; Tuan Phan
> <[email protected]<mailto:[email protected]>>
> Subject: [PATCH v2 0/3] RISC-V: Support Svpbmt extension
>
> This patchset adds support for RISC-V Svpbmt extension.
>
> The GCD EFI_MEMORY_UC and EFI_MEMORY_WC attributes will be mapped to
> IO and NC mode defined in PBMT field.
>
> v2:
>   - Generated patch for each package.
>
> Tuan Phan (3):
>   MdePkg.dec: RISC-V: Define override bit for Svpbmt extension
>   UefiCpuPkg: RISC-V: MMU: Support Svpbmt extension
>   OvmfPkg/RiscVVirt: Override Svpbmt extension
>
>  MdePkg/MdePkg.dec                             |  2 ++
>  OvmfPkg/RiscVVirt/RiscVVirt.dsc.inc           |  2 +-
>  .../Library/BaseRiscVMmuLib/BaseRiscVMmuLib.c | 25 ++++++++++++++++++-
>  .../BaseRiscVMmuLib/BaseRiscVMmuLib.inf       |  1 +
>  4 files changed, 28 insertions(+), 2 deletions(-)
>
> --
> 2.25.1



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


Reply via email to