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

From: Haiyang Zhang
Date: Thu Nov 17 2022 - 13:34:24 EST




> -----Original Message-----
> From: Michael Kelley (LINUX) <mikelley@xxxxxxxxxxxxx>
> Sent: Wednesday, November 16, 2022 1:42 PM
> To: hpa@xxxxxxxxx; KY Srinivasan <kys@xxxxxxxxxxxxx>; Haiyang Zhang
> <haiyangz@xxxxxxxxxxxxx>; wei.liu@xxxxxxxxxx; Dexuan Cui
> <decui@xxxxxxxxxxxxx>; luto@xxxxxxxxxx; peterz@xxxxxxxxxxxxx;
> davem@xxxxxxxxxxxxx; edumazet@xxxxxxxxxx; kuba@xxxxxxxxxx;
> pabeni@xxxxxxxxxx; lpieralisi@xxxxxxxxxx; robh@xxxxxxxxxx; kw@xxxxxxxxx;
> bhelgaas@xxxxxxxxxx; arnd@xxxxxxxx; hch@xxxxxxxxxxxxx;
> m.szyprowski@xxxxxxxxxxx; robin.murphy@xxxxxxx;
> thomas.lendacky@xxxxxxx; brijesh.singh@xxxxxxx; tglx@xxxxxxxxxxxxx;
> mingo@xxxxxxxxxx; bp@xxxxxxxxx; dave.hansen@xxxxxxxxxxxxxxx; Tianyu Lan
> <Tianyu.Lan@xxxxxxxxxxxxx>; kirill.shutemov@xxxxxxxxxxxxxxx;
> sathyanarayanan.kuppuswamy@xxxxxxxxxxxxxxx; ak@xxxxxxxxxxxxxxx;
> isaku.yamahata@xxxxxxxxx; Williams, Dan J <dan.j.williams@xxxxxxxxx>;
> jane.chu@xxxxxxxxxx; seanjc@xxxxxxxxxx; tony.luck@xxxxxxxxx;
> x86@xxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; linux-hyperv@xxxxxxxxxxxxxxx;
> netdev@xxxxxxxxxxxxxxx; linux-pci@xxxxxxxxxxxxxxx; linux-
> arch@xxxxxxxxxxxxxxx; iommu@xxxxxxxxxxxxxxx
> Cc: Michael Kelley (LINUX) <mikelley@xxxxxxxxxxxxx>
> 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@xxxxxxxxxxxxx>
> Signed-off-by: Dexuan Cui <decui@xxxxxxxxxxxxx>
> Signed-off-by: Michael Kelley <mikelley@xxxxxxxxxxxxx>
> ---

Reviewed-by: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx>

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