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

From: Michael Kelley (LINUX)
Date: Thu Nov 17 2022 - 21:38:51 EST


From: Haiyang Zhang <haiyangz@xxxxxxxxxxxxx> Sent: Thursday, November 17, 2022 10:33 AM
> >
> > From: Michael Kelley (LINUX) <mikelley@xxxxxxxxxxxxx> Sent: Wednesday, November 16, 2022 1:42 PM
> >
> > 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?
>

Not directly. Patch 0 is supposed to be a summary of a patch set, and it doesn't
have a place in the 'git' repo, though it will live on in the email archives. But the
details are captured in the individual patch commit messages, particularly in
Patch 7 for this series.

Separately, I want to add Confidential VMs as a topic in the Hyper-V documentation
under Documentation/virt/hyperv. I'll do that once our work related to confidential
computing is relatively stable.

Michael