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

Re: [PATCH 09/12] hv_netvsc: Remove second mapping of send and recv buffers

From: Tianyu Lan <hidden>
Date: 2022-11-08 10:37:35
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 the pre-allocated send and recv buffers.  This mapping
is the last user of hv_map_memory()/hv_unmap_memory(), so delete
these functions as well.  Finally, hv_map_memory() is the last
user of vmap_pfn() in Hyper-V guest code, so remove the Kconfig
selection of VMAP_PFN.

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