[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220317180434.5snbc2sni4r63nbg@black.fi.intel.com>
Date: Thu, 17 Mar 2022 21:04:34 +0300
From: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: mingo@...hat.com, bp@...en8.de, dave.hansen@...el.com,
luto@...nel.org, peterz@...radead.org,
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,
Dave Hansen <dave.hansen@...ux.intel.com>
Subject: Re: [PATCHv6 12/30] x86/tdx: Detect TDX at early kernel
decompression time
On Thu, Mar 17, 2022 at 12:55:57PM +0100, Thomas Gleixner wrote:
> On Wed, Mar 16 2022 at 05:08, Kirill A. Shutemov wrote:
> > +
> > +#include <asm/shared/tdx.h>
> > +
> > +static bool tdx_guest_detected;
> > +
> > +bool early_is_tdx_guest(void)
> > +{
> > + return tdx_guest_detected;
> > +}
>
> Neither tdx_guest_detected nor early_is_tdx_guest() is used anywhere.
Oh. Leftovers. Will drop.
--
Kirill A. Shutemov
Powered by blists - more mailing lists