[PATCH v2 0/2] gpio: xilinx: Replace custom bitmap APIs

Andy Shevchenko posted 2 patches 10 months, 1 week ago
drivers/gpio/gpio-xilinx.c | 102 ++++++++++++++-----------------------
1 file changed, 37 insertions(+), 65 deletions(-)
[PATCH v2 0/2] gpio: xilinx: Replace custom bitmap APIs
Posted by Andy Shevchenko 10 months, 1 week ago
Relatively recently bitmap APIs gain a few new calls which may help
to convert the GPIO Xilinx driver to use them and become shorter and
nicer. This mini-series does exactly that.

Changelog v2:
- fixed a regression in patch 2

Andy Shevchenko (2):
  gpio: xilinx: Use better bitmap APIs where appropriate
  gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write()

 drivers/gpio/gpio-xilinx.c | 102 ++++++++++++++-----------------------
 1 file changed, 37 insertions(+), 65 deletions(-)

-- 
2.43.0.rc1.1336.g36b5255a03ac
Re: [PATCH v2 0/2] gpio: xilinx: Replace custom bitmap APIs
Posted by Bartosz Golaszewski 10 months ago
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>


On Wed, 05 Feb 2025 11:31:09 +0200, Andy Shevchenko wrote:
> Relatively recently bitmap APIs gain a few new calls which may help
> to convert the GPIO Xilinx driver to use them and become shorter and
> nicer. This mini-series does exactly that.
> 
> Changelog v2:
> - fixed a regression in patch 2
> 
> [...]

Applied, thanks!

[1/2] gpio: xilinx: Use better bitmap APIs where appropriate
      commit: 2af1f667532013eb354c783514839f89d9923240
[2/2] gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write()
      commit: c11708e2b66b56f102bac83980a52661996c2a21

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Re: [PATCH v2 0/2] gpio: xilinx: Replace custom bitmap APIs
Posted by Andy Shevchenko 10 months, 1 week ago
+Cc: Yury

On Wed, Feb 05, 2025 at 11:31:09AM +0200, Andy Shevchenko wrote:
> Relatively recently bitmap APIs gain a few new calls which may help
> to convert the GPIO Xilinx driver to use them and become shorter and
> nicer. This mini-series does exactly that.
> 
> Changelog v2:
> - fixed a regression in patch 2
> 
> Andy Shevchenko (2):
>   gpio: xilinx: Use better bitmap APIs where appropriate
>   gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write()

Yury, just FYI, after this series, if applied, the bitmap_remap() and
bitmap_bitremap() may be moved to the NUMA only APIs. Or i.o.w. the
commit cde3d0f81e67 ("bitmap: Make bitmap_remap() and bitmap_bitremap()
available to users") may be reverted.

-- 
With Best Regards,
Andy Shevchenko
Re: [PATCH v2 0/2] gpio: xilinx: Replace custom bitmap APIs
Posted by Yury Norov 10 months, 1 week ago
On Wed, Feb 05, 2025 at 11:44:51AM +0200, Andy Shevchenko wrote:
> +Cc: Yury
> 
> On Wed, Feb 05, 2025 at 11:31:09AM +0200, Andy Shevchenko wrote:
> > Relatively recently bitmap APIs gain a few new calls which may help
> > to convert the GPIO Xilinx driver to use them and become shorter and
> > nicer. This mini-series does exactly that.
> > 
> > Changelog v2:
> > - fixed a regression in patch 2
> > 
> > Andy Shevchenko (2):
> >   gpio: xilinx: Use better bitmap APIs where appropriate
> >   gpio: xilinx: Replace custom variants of bitmap_read()/bitmap_write()
> 
> Yury, just FYI, after this series, if applied, the bitmap_remap() and
> bitmap_bitremap() may be moved to the NUMA only APIs. Or i.o.w. the
> commit cde3d0f81e67 ("bitmap: Make bitmap_remap() and bitmap_bitremap()
> available to users") may be reverted.

Thanks Andy, I'll keep an eye on it.