[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240712084826.3128cba2@mordecai.tesarici.cz>
Date: Fri, 12 Jul 2024 08:48:26 +0200
From: Petr Tesarik <petr.tesarik@...e.com>
To: Sourabh Jain <sourabhjain@...ux.ibm.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "Rafael J. Wysocki"
<rafael@...nel.org>, Eric Biederman <ebiederm@...ssion.com>,
kexec@...ts.infradead.org, linux-kernel@...r.kernel.org, Petr Tesarik
<petr@...arici.cz>
Subject: Re: [PATCH] sysfs/cpu: Make crash_hotplug attribute world-readable
On Fri, 12 Jul 2024 12:01:29 +0530
Sourabh Jain <sourabhjain@...ux.ibm.com> wrote:
> Hello Petr,
>
> On 12/07/24 11:51, Petr Tesařík wrote:
> > On Fri, 12 Jul 2024 10:00:09 +0530
> > Sourabh Jain <sourabhjain@...ux.ibm.com> wrote:
> >
> >> Hello Petr,
> >>
> >> Just want to mentioned few points about the commit message. No strong
> >> opinion on changing the commit message.
> >>
> >> On 11/07/24 16:04, Petr Tesarik wrote:
> >>> From: Petr Tesarik <ptesarik@...e.com>
> >>>
> >>> There is no reason to restrict access to this attribute, as it merely
> >>> reports whether crash elfcorehdr is automatically updated on CPU hot
> >>> plug/unplug and/or online/offline events.
> >> Now, it is not just elfcorehdr; there could be multiple kexec segments
> >> based on the architecture's needs.
> >> For example, on PowerPC, it is elfcorehdr and FDT.
> > Right. I am even working with a PowerVM LPAR on an L922 system now. ;-)
> >
> > OTOH I was just too lazy to invent my own description, so I took it
> > from Documentation/ABI/testing/sysfs-devices-system-cpu. That one
> > could be improved. And a couple of other places... Expect a patch.
> Thanks for point it out, I will send a patch to fix the ABI document for
> crash_hotplug and other places in the kernel. Thanks,
Oh, I was planning to do that, but if you want to send a patch
yourself, I won't duplicate efforts. There are other cleanups on my
TODO list.
Petr T
Powered by blists - more mailing lists