[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4cOaaPbq2Vr4ICC@yzhao56-desk.sh.intel.com>
Date: Wed, 15 Jan 2025 09:24:57 +0800
From: Yan Zhao <yan.y.zhao@...el.com>
To: Paolo Bonzini <pbonzini@...hat.com>
CC: "Edgecombe, Rick P" <rick.p.edgecombe@...el.com>, "kvm@...r.kernel.org"
<kvm@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "sean.j.christopherson@...el.com"
<sean.j.christopherson@...el.com>, "Huang, Kai" <kai.huang@...el.com>,
"dave.hansen@...ux.intel.com" <dave.hansen@...ux.intel.com>, "Yamahata,
Isaku" <isaku.yamahata@...el.com>
Subject: Re: [PATCH 11/13] x86/virt/tdx: Add SEAMCALL wrappers for TD
measurement of initial contents
On Tue, Jan 14, 2025 at 11:03:06PM +0100, Paolo Bonzini wrote:
> On 1/3/25 19:02, Edgecombe, Rick P wrote:
> > > +u64 tdh_mr_extend(struct tdx_td *td, u64 gpa, u64 *rcx, u64 *rdx)
> >
> > gpa should be type gpa_t to avoid bare u64 types.
>
> gpa_t is defined in kvm_types.h, I am not sure arch/x86/virt should include
> it.
>
Hmm, it's following
https://lore.kernel.org/kvm/e00c6169-802b-452b-939d-49ce5622c816@intel.com.
But if Dave is fine, it's ok.
Powered by blists - more mailing lists