[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87a6do22t6.ffs@tglx>
Date: Thu, 17 Mar 2022 13:15:01 +0100
From: Thomas Gleixner <tglx@...utronix.de>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
mingo@...hat.com, bp@...en8.de, dave.hansen@...el.com,
luto@...nel.org, peterz@...radead.org
Cc: sathyanarayanan.kuppuswamy@...ux.intel.com, aarcange@...hat.com,
ak@...ux.intel.com, dan.j.williams@...el.com, david@...hat.com,
hpa@...or.com, jgross@...e.com, jmattson@...gle.com,
joro@...tes.org, jpoimboe@...hat.com, knsathya@...nel.org,
pbonzini@...hat.com, sdeep@...are.com, seanjc@...gle.com,
tony.luck@...el.com, vkuznets@...hat.com, wanpengli@...cent.com,
thomas.lendacky@....com, brijesh.singh@....com, x86@...nel.org,
linux-kernel@...r.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Dave Hansen <dave.hansen@...ux.intel.com>
Subject: Re: [PATCHv6 16/30] x86/boot: Port I/O: add decompression-time
support for TDX
On Wed, Mar 16 2022 at 05:08, Kirill A. Shutemov wrote:
> void early_tdx_detect(void)
> {
> u32 eax, sig[3];
> @@ -23,4 +94,12 @@ void early_tdx_detect(void)
>
> /* Cache TDX guest feature status */
> tdx_guest_detected = true;
> +
> + /* Use hypercalls instead of I/O instructions */
> + inb = tdx_inb;
Eeew. What's wrong with writing this out?
pio_ops.inb = tdx_inb;
So it becomes obvious what this is about?
Thanks,
tglx
Powered by blists - more mailing lists