Re: [RFC PATCH V3 08/11] swiotlb: Add bounce buffer remap address setting function

From
Tianyu Lan <hidden>
Date
2021-06-14 13:37:26
Also in
linux-arch, linux-iommu, linux-scsi, lkml, netdev, xen-devel
Reply to
Christoph Hellwig, 2021-06-14

On 6/14/2021 3:12 PM, Christoph Hellwig wrote:
On Mon, Jun 07, 2021 at 10:56:47PM +0800, Tianyu Lan wrote:
quoted
These addresses in extra address space works as system memory mirror. The
shared memory with host in Isolation VM needs to be accessed via extra
address space which is above shared gpa boundary.
Why?
The shared_gpa_boundary in the AMD SEV SNP spec is called virtual top of
memory(vTOM). Memory addresses below vTOM are automatically treated as
private while memory above vTOM is treated as shared. Using vTOM to
separate memory in this way avoids the need to augment the standard x86
page tables with C-bit markings, simplifying guest OS software.
Thread (49 messages) 49 messages, 8 authors, last reply 2021-07-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help