Re: [PATCH 05/16] gpio: pl061: Use modern PM macros
From: Andy Shevchenko <hidden>
Date: 2025-08-21 12:50:47
Also in:
linux-gpio, linux-omap, lkml
From: Andy Shevchenko <hidden>
Date: 2025-08-21 12:50:47
Also in:
linux-gpio, linux-omap, lkml
On Thu, Aug 21, 2025 at 2:52 PM Linus Walleij [off-list ref] wrote:
On Wed, Aug 20, 2025 at 5:58 PM Jisheng Zhang [off-list ref] wrote:
...
quoted
The pl061_context_save_regs structure is always embedded into struct pl061 to simplify code, so this brings a tiny 8 bytes memory overhead for !CONFIG_PM_SLEP. Signed-off-by: Jisheng Zhang <jszhang@kernel.org>Hm true, 8 bytes is not a big deal.
It's better to double check. This data is per GPIO chip, the Q is how many chips can be present on one system. Then the calculus will be N * 8 bytes. Knowing gpio-dwapb (and having even a HW with it) the commit message (there) seems like a slight manipulation as it doesn't clarify this detail. -- With Best Regards, Andy Shevchenko