Thread (28 messages) 28 messages, 6 authors, 2022-11-09

Re: [PATCH 07/12] Drivers: hv: vmbus: Remove second mapping of VMBus monitor pages

From: Tianyu Lan <hidden>
Date: 2022-11-03 14:27:59
Also in: linux-arch, linux-hyperv, linux-iommu, linux-pci, lkml

On 10/21/2022 1:57 AM, Michael Kelley wrote:
With changes to how Hyper-V guest VMs flip memory between private
(encrypted) and shared (decrypted), creating a second kernel virtual
mapping for shared memory is no longer necessary.  Everything needed
for the transition to shared is handled by set_memory_decrypted().

As such, remove the code to create and manage the second
mapping for VMBus monitor pages. Because set_memory_decrypted()
and set_memory_encrypted() are no-ops in normal VMs, it's
not even necessary to test for being in a Confidential VM
(a.k.a., "Isolation VM").

Signed-off-by: Michael Kelley<redacted>
Reviewed-by: Tianyu Lan <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help