[PATCH v2 05/15] gpio: pxa: Use modern PM macros
Jisheng Zhang
jszhang at kernel.org
Wed Nov 19 04:47:38 PST 2025
On Wed, Nov 19, 2025 at 09:56:12AM +0200, Andy Shevchenko wrote:
> On Wed, Nov 19, 2025 at 12:04 AM Robert Jarzmik <robert.jarzmik at free.fr> wrote:
> > Andy Shevchenko <andy.shevchenko at gmail.com> writes:
> > > On Tue, Nov 18, 2025 at 2:50 AM Jisheng Zhang
> > > <jszhang at kernel.org> wrote:
>
> ...
>
> > >> -#ifdef CONFIG_PM
> > >> unsigned long saved_gplr;
> > >> unsigned long saved_gpdr;
> > >> unsigned long saved_grer;
> > >> unsigned long saved_gfer;
> > >> -#endif
> >
> > Actually this is not equivalent to what was there before.
> >
> > With Jisheng's patch, with CONFIG_PM disabled, he adds 16 bytes to
> > the
> > structure. You might thing today, 16 bytes is nothing. True, but
> > on a
> > 64MB RAM devices, it's something.
> >
> > That might not be a reason to reject the patch, but it's not only
> > a
> > "modernisation patch".
>
> Actually a good point! On the same grounds I semi-nacked the gpio-dwapb change.
Hi Andy and Robert,
I have explained the reason of embedding within the cleanup/modernize
patch. Could you plz check?
Thanks
More information about the linux-arm-kernel
mailing list