[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SN6PR12MB2639D6D5DC408B3D70B8BCEAF82C0@SN6PR12MB2639.namprd12.prod.outlook.com>
Date: Mon, 8 Apr 2019 23:37:04 +0000
From: "Ghannam, Yazen" <Yazen.Ghannam@....com>
To: "Luck, Tony" <tony.luck@...el.com>
CC: Borislav Petkov <bp@...en8.de>,
"linux-edac@...r.kernel.org" <linux-edac@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"x86@...nel.org" <x86@...nel.org>
Subject: RE: [PATCH RESEND 4/5] x86/MCE: Make number of MCA banks per_cpu
> -----Original Message-----
> From: linux-edac-owner@...r.kernel.org <linux-edac-owner@...r.kernel.org> On Behalf Of Luck, Tony
> Sent: Monday, April 8, 2019 6:23 PM
> To: Ghannam, Yazen <Yazen.Ghannam@....com>
> Cc: Borislav Petkov <bp@...en8.de>; linux-edac@...r.kernel.org; linux-kernel@...r.kernel.org; x86@...nel.org
> Subject: Re: [PATCH RESEND 4/5] x86/MCE: Make number of MCA banks per_cpu
>
> On Mon, Apr 08, 2019 at 10:48:34PM +0000, Ghannam, Yazen wrote:
> > Okay, so drop the export and leave the injector code as-is (it's
> > already doing a rdmsrl_on_cpu()).
>
> It's still a globally visible symbol (shared by core.c and amd.c).
> So I think it needs a "mce_" prefix.
>
> While it doesn't collide now, there are a bunch of other
> subsystems that have "banks" and a variable to count them.
>
> Look at output from "git grep -w num_banks".
>
Okay, I'll add the prefix.
And thanks for the tip. I'll try to keep this in mind.
Thanks,
Yazen
Powered by blists - more mailing lists