diff options
author | Tianyu Lan <[email protected]> | 2021-10-25 08:21:14 -0400 |
---|---|---|
committer | Wei Liu <[email protected]> | 2021-10-28 11:26:36 +0000 |
commit | 9a8797722e4239242d0cb4cc4baa805df6ac979e (patch) | |
tree | 8cb351e1b1c93971e0eb1910ca9f9ed34151e16e /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | f2f136c05fb6093818a3b3fefcba46231ac66a62 (diff) |
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 <[email protected]>
Signed-off-by: Tianyu Lan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions