summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorTianyu Lan <Tianyu.Lan@microsoft.com>2021-10-25 15:21:14 +0300
committerWei Liu <wei.liu@kernel.org>2021-10-28 14:26:36 +0300
commit9a8797722e4239242d0cb4cc4baa805df6ac979e (patch)
tree8cb351e1b1c93971e0eb1910ca9f9ed34151e16e /drivers/platform
parentf2f136c05fb6093818a3b3fefcba46231ac66a62 (diff)
downloadlinux-9a8797722e4239242d0cb4cc4baa805df6ac979e.tar.xz
Drivers: hv: vmbus: Initialize VMbus ring buffer for Isolation VM
VMbus ring buffer are shared with host and it's need to be accessed via extra address space of Isolation VM with AMD SNP support. This patch is to map the ring buffer address in extra address space via vmap_pfn(). Hyperv set memory host visibility hvcall smears data in the ring buffer and so reset the ring buffer memory to zero after mapping. Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Tianyu Lan <Tianyu.Lan@microsoft.com> Link: https://lore.kernel.org/r/20211025122116.264793-10-ltykernel@gmail.com Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions