[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <3a5360a4-e5c7-4c97-ab15-778d73f5b5a6@app.fastmail.com>
Date: Tue, 29 Oct 2024 10:56:12 +0000
From: "Arnd Bergmann" <arnd@...db.de>
To: "Borislav Petkov" <bp@...en8.de>, "Arnd Bergmann" <arnd@...nel.org>
Cc: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
"Thomas Gleixner" <tglx@...utronix.de>, "Ingo Molnar" <mingo@...hat.com>,
"Dave Hansen" <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>,
"Mario Limonciello" <mario.limonciello@....com>,
"Bjorn Helgaas" <bhelgaas@...gle.com>,
"Yazen Ghannam" <yazen.ghannam@....com>, "Suma Hegde" <suma.hegde@....com>,
"Naveen Krishna Chatradhi" <naveenkrishna.chatradhi@....com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] platform/x86/amd/hsmp: fix compile-testing without CONFiG_AMD_NB
On Tue, Oct 29, 2024, at 10:33, Borislav Petkov wrote:
> On Tue, Oct 29, 2024 at 09:23:20AM +0000, Arnd Bergmann wrote:
>>
>> #define amd_nb_num(x) 0
>> #define amd_nb_has_feature(x) false
>> -#define node_to_amd_nb(x) NULL
>> +static inline struct amd_northbridge *node_to_amd_nb(int node)
>> +{
>> + return NULL;
>> +}
>> #define amd_gart_present(x) false
>
> ... so this fix should go to Linus now so that build testing doesn't break?
>
That would work, or Ilpo can pick it into the tree that
has the driver changes, possibly folding the fix into the
other changes.
Arnd
Powered by blists - more mailing lists