Thread (19 messages) 19 messages, 4 authors, 2021-12-04

Re: [PATCH V3 5/5] hv_netvsc: Add Isolation VM support for netvsc driver

From: Tianyu Lan <hidden>
Date: 2021-12-04 07:42:54
Also in: linux-arch, linux-hyperv, linux-iommu, linux-scsi, lkml, xen-devel

On 12/4/2021 2:59 AM, Michael Kelley (LINUX) wrote:
quoted
+
+/*
+ * hv_map_memory - map memory to extra space in the AMD SEV-SNP Isolation VM.
+ */
+void *hv_map_memory(void *addr, unsigned long size)
+{
+	unsigned long *pfns = kcalloc(size / HV_HYP_PAGE_SIZE,
This should be just PAGE_SIZE, as this code is unrelated to communication
with Hyper-V.
Yes, agree. Will update.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help