> From: Michael Kelley (LINUX) <mikelley@xxxxxxxxxxxxx> > Sent: Monday, December 12, 2022 8:39 AM > > [...] > > A TDX guest uses the GHCI call rather than hv_hypercall_pg. > > > > In hv_do_hypercall(), Hyper-V requires that the input/output addresses > > must have the cc_mask. > > Is it a requirement that the input/output addresses refer to guest memory > pages that have marked as shared/decrypted? For example, I don't see Yes. > any code to mark the hyperv_pcpu_input_arg page as shared/decrypted. > Do the use cases for the hyperv_pcpu_input_arg page just not occur in a > TDX VM? I missed this when sending v2, and I realized this when testing DDA. Will get this fixed in v3. BTW, I noticed Tianyu posted a similar patch: [RFC PATCH V2 10/18] drivers: hv: Decrypt percpu hvcall input arg page in sev-snp enlightened guest