[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yv5dzyiI1TPtAO5F@zn.tnic>
Date: Thu, 18 Aug 2022 17:42:07 +0200
From: Borislav Petkov <bp@...en8.de>
To: Jia He <justin.he@....com>
Cc: Ard Biesheuvel <ardb@...nel.org>, Len Brown <lenb@...nel.org>,
James Morse <james.morse@....com>,
Tony Luck <tony.luck@...el.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Robert Richter <rric@...nel.org>,
Robert Moore <robert.moore@...el.com>,
Qiuxu Zhuo <qiuxu.zhuo@...el.com>,
Yazen Ghannam <yazen.ghannam@....com>,
linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-edac@...r.kernel.org, devel@...ica.org,
"Rafael J . Wysocki" <rafael@...nel.org>,
Shuai Xue <xueshuai@...ux.alibaba.com>,
Jarkko Sakkinen <jarkko@...nel.org>, linux-efi@...r.kernel.org,
toshi.kani@....com, nd@....com
Subject: Re: [PATCH v2 2/7] EDAC/ghes: Add notifier to report ghes_edac mem
error
On Wed, Aug 17, 2022 at 02:34:53PM +0000, Jia He wrote:
> Subject: Re: [PATCH v2 2/7] EDAC/ghes: Add notifier to report ghes_edac mem error
Subject: ...: Add a notifier for reporting memory errors.
> To modularize ghes_edac driver, any ghes_edac codes should not be invoked
s/modularize/make a proper module/
and replace that everywhere.
There's no such thing as "codes" - please try to write proper English.
> in ghes. Add a notifier of registering the ghes_edac_report_mem_error() to
> resolve the build dependency.
"Add a notifier for reporting memory errors."
When you say "to resolve the build dependency" it sounds like this is
some kind of a nuisance. But it isn't one - it is simply an improvement.
> The atomic notifier is used because
> ghes_proc_in_irq() can be in the irq context.
"Use an atomic notifier because calls sites like ghes_proc_in_irq() run
in interrupt context."
> Suggested-by: Borislav Petkov <bp@...en8.de>
> Signed-off-by: Jia He <justin.he@....com>
> ---
> drivers/acpi/apei/ghes.c | 16 +++++++++++++++-
> drivers/edac/ghes_edac.c | 19 +++++++++++++++++--
> include/acpi/ghes.h | 10 +++-------
> 3 files changed, 35 insertions(+), 10 deletions(-)
Patch itself looks ok.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists