RE: [Patch v3 13/14] PCI: hv: Add hypercalls to read/write MMIO space

From
Haiyang Zhang <haiyangz@microsoft.com>
Date
2022-11-17 18:34:25
Also in
linux-arch, linux-hyperv, linux-iommu, linux-pci, lkml
Reply to
Michael Kelley, 2022-11-16
-----Original Message-----
From: Michael Kelley (LINUX) <redacted>
Sent: Wednesday, November 16, 2022 1:42 PM
To: hpa@zytor.com; KY Srinivasan <redacted>; Haiyang Zhang
[off-list ref]; wei.liu@kernel.org; Dexuan Cui
[off-list ref]; luto@kernel.org; peterz@infradead.org;
davem@davemloft.net; edumazet@google.com; kuba@kernel.org;
pabeni@redhat.com; lpieralisi@kernel.org; robh@kernel.org; kw@linux.com;
bhelgaas@google.com; arnd@arndb.de; hch@infradead.org;
m.szyprowski@samsung.com; robin.murphy@arm.com;
thomas.lendacky@amd.com; brijesh.singh@amd.com; tglx@linutronix.de;
mingo@redhat.com; bp@alien8.de; dave.hansen@linux.intel.com; Tianyu Lan
[off-list ref]; kirill.shutemov@linux.intel.com;
sathyanarayanan.kuppuswamy@linux.intel.com; ak@linux.intel.com;
isaku.yamahata@intel.com; Williams, Dan J [off-list ref];
jane.chu@oracle.com; seanjc@google.com; tony.luck@intel.com;
x86@kernel.org; linux-kernel@vger.kernel.org; linux-hyperv@vger.kernel.org;
netdev@vger.kernel.org; linux-pci@vger.kernel.org; linux-
arch@vger.kernel.org; iommu@lists.linux.dev
Cc: Michael Kelley (LINUX) <redacted>
Subject: [Patch v3 13/14] PCI: hv: Add hypercalls to read/write MMIO space

To support PCI pass-thru devices in Confidential VMs, Hyper-V
has added hypercalls to read and write MMIO space. Add the
appropriate definitions to hyperv-tlfs.h and implement
functions to make the hypercalls. These functions are used
in a subsequent patch.

Co-developed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Michael Kelley <redacted>
---
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>

One question - Will you put the document in patch 0 directly into some place of
the src tree?

Thread (66 messages) 66 messages, 10 authors, last reply 2022-11-30
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help