Messages in this thread | | | Date | Thu, 18 Aug 2022 17:42:07 +0200 | From | Borislav Petkov <> | 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@alien8.de> > Signed-off-by: Jia He <justin.he@arm.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
| |