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

Re: [PATCH 08/12] Drivers: hv: vmbus: Remove second way of mapping ring buffers

From: Tianyu Lan <hidden>
Date: 2022-11-03 15:09:29
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), it's no longer necessary to
have separate code paths for mapping VMBus ring buffers for
for normal VMs and for Confidential VMs.

As such, remove the code path that uses vmap_pfn(), and set
the protection flags argument to vmap() to account for the
difference between normal and Confidential VMs.

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