[edk2-devel] [PATCH v9 29/32] OvmfPkg/MemEncryptSevLib: skip page state change for Mmio address

Gerd Hoffmann kraxel at redhat.com
Thu Oct 14 08:53:50 UTC 2021


On Wed, Oct 13, 2021 at 11:57:10AM -0500, Brijesh Singh wrote:
> The SetMemoryEncDec() is used by the higher level routines to set or clear
> the page encryption mask for system RAM and Mmio address. When SEV-SNP is
> active, in addition to set/clear page mask it also updates the RMP table.
> The RMP table updates are required for the system RAM address and not
> the Mmio address.
> 
> Add a new parameter in SetMemoryEncDec() to tell whether the specified
> address is Mmio. If its Mmio then skip the page state change in the RMP
> table.

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82002): https://edk2.groups.io/g/devel/message/82002
Mute This Topic: https://groups.io/mt/86292918/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list