[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <762a50133300710771337398284567b299a86f67.camel@intel.com>
Date: Fri, 13 Dec 2024 11:17:45 +0000
From: "Huang, Kai" <kai.huang@...el.com>
To: "Hansen, Dave" <dave.hansen@...el.com>, "seanjc@...gle.com"
<seanjc@...gle.com>, "bp@...en8.de" <bp@...en8.de>, "peterz@...radead.org"
<peterz@...radead.org>, "hpa@...or.com" <hpa@...or.com>, "mingo@...hat.com"
<mingo@...hat.com>, "kirill.shutemov@...ux.intel.com"
<kirill.shutemov@...ux.intel.com>, "tglx@...utronix.de" <tglx@...utronix.de>,
"pbonzini@...hat.com" <pbonzini@...hat.com>, "Williams, Dan J"
<dan.j.williams@...el.com>
CC: "nik.borisov@...e.com" <nik.borisov@...e.com>, "Hunter, Adrian"
<adrian.hunter@...el.com>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "Edgecombe, Rick P"
<rick.p.edgecombe@...el.com>, "x86@...nel.org" <x86@...nel.org>, "Yamahata,
Isaku" <isaku.yamahata@...el.com>
Subject: Re: [PATCH v8 3/9] x86/virt/tdx: Use auto-generated code to read
global metadata
On Thu, 2024-11-14 at 00:57 +1300, Kai Huang wrote:
> The tdx_global_metadata.{hc} can be generated by running below:
>
> #python tdx_global_metadata.py global_metadata.json \
> tdx_global_metadata.h tdx_global_metadata.c
>
> .. where the 'tdx_global_metadata.py' can be found in [4] and the
> 'global_metadata.json' can be fetched from [3].
>
[...]
> Link: https://cdrdv2.intel.com/v1/dl/getContent/795381 [3]
> Link: https://lore.kernel.org/d5aed06ae4b46df5db97fdbac9c01843920a2f96.camel@intel.com/ [4]
Hi Dave,
I'll remove the bugfix (patch 8) and the CMR reading code but only keep what is
required for KVM TDX in the next version.
I updated the script and attached here so that I can have a lore link of the
script which can be used to reproduce the generated code in the next version.
It only has CMR part removed thus is not interesting to read. Thanks.
View attachment "tdx_global_metadata.py" of type "text/x-python3" (6106 bytes)
Powered by blists - more mailing lists