Message ID | 20221018082214.569504-1-justin.he@arm.com |
---|---|
Headers | show |
Series | Make ghes_edac a proper module | expand |
On Tue, Oct 18, 2022 at 08:22:07AM +0000, Jia He wrote: > Commit dc4e8c07e9e2 ("ACPI: APEI: explicit init of HEST and GHES in > apci_init()") introduced a bug that ghes_edac_register() would be invoked > before edac_init(). Because at that time, the bus "edac" hasn't been even > registered, this created sysfs /devices/mc0 instead of > /sys/devices/system/edac/mc/mc0 on an Ampere eMag server. > > The solution is to make ghes_edac a proper module. > > Changelog: > v10: All queued, thanks for the effort. It'll appear in Linux next soon.
> -----Original Message----- > From: Borislav Petkov <bp@alien8.de> > Sent: Tuesday, October 25, 2022 10:08 PM > To: Justin He <Justin.He@arm.com> > Cc: Ard Biesheuvel <ardb@kernel.org>; Len Brown <lenb@kernel.org>; Tony > Luck <tony.luck@intel.com>; Mauro Carvalho Chehab > <mchehab@kernel.org>; Robert Richter <rric@kernel.org>; Robert Moore > <robert.moore@intel.com>; Qiuxu Zhuo <qiuxu.zhuo@intel.com>; Yazen > Ghannam <yazen.ghannam@amd.com>; Jan Luebbe <jlu@pengutronix.de>; > Khuong Dinh <khuong@os.amperecomputing.com>; Kani Toshi > <toshi.kani@hpe.com>; James Morse <James.Morse@arm.com>; > linux-acpi@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-edac@vger.kernel.org; devel@acpica.org; Rafael J . Wysocki > <rafael@kernel.org>; Shuai Xue <xueshuai@linux.alibaba.com>; Jarkko > Sakkinen <jarkko@kernel.org>; linux-efi@vger.kernel.org; nd <nd@arm.com>; > Peter Zijlstra <peterz@infradead.org> > Subject: Re: [PATCH v10 0/7] Make ghes_edac a proper module > > On Tue, Oct 18, 2022 at 08:22:07AM +0000, Jia He wrote: > > Commit dc4e8c07e9e2 ("ACPI: APEI: explicit init of HEST and GHES in > > apci_init()") introduced a bug that ghes_edac_register() would be > > invoked before edac_init(). Because at that time, the bus "edac" > > hasn't been even registered, this created sysfs /devices/mc0 instead > > of > > /sys/devices/system/edac/mc/mc0 on an Ampere eMag server. > > > > The solution is to make ghes_edac a proper module. > > > > Changelog: > > v10: > > All queued, thanks for the effort. > > It'll appear in Linux next soon. > Thanks for your help and patience 😊 -- Cheers, Justin (Jia He)