Re: [PATCH v3 0/8] drivers: add new variants of devm_platform_ioremap_resource()

From: Bartosz Golaszewski
Date: Mon Oct 21 2019 - 12:29:39 EST


pon., 21 paÅ 2019 o 17:53 Arnd Bergmann <arnd@xxxxxxxx> napisaÅ(a):
>
> On Mon, Oct 21, 2019 at 5:04 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote:
> > niedz., 6 paÅ 2019 o 07:39 Bartosz Golaszewski <brgl@xxxxxxxx> napisaÅ(a):
> > > From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> > > Bartosz Golaszewski (8):
> > > Documentation: devres: add missing entry for
> > > devm_platform_ioremap_resource()
> > > lib: devres: prepare devm_ioremap_resource() for more variants
> > > lib: devres: provide devm_ioremap_resource_wc()
> > > drivers: platform: provide devm_platform_ioremap_resource_wc()
> > > misc: sram: use devm_platform_ioremap_resource_wc()
> > > drivers: provide devm_platform_ioremap_resource_byname()
> > > gpio: mvebu: use devm_platform_ioremap_resource_byname()
> > > gpio: tegra186: use devm_platform_ioremap_resource_byname()
> > >
> > > .../driver-api/driver-model/devres.rst | 4 ++
> > > drivers/base/platform.c | 39 +++++++++++-
> > > drivers/gpio/gpio-mvebu.c | 19 +++---
> > > drivers/gpio/gpio-tegra186.c | 4 +-
> > > drivers/misc/sram.c | 28 +++------
> > > include/linux/device.h | 2 +
> > > include/linux/platform_device.h | 6 ++
> > > lib/devres.c | 62 +++++++++++++------
> > > 8 files changed, 108 insertions(+), 56 deletions(-)
> >
> > Greg, Arnd,
> >
> > gentle ping for this. I noticed that some maintainers are complaining
> > about being spammed with patches converting old drivers to using
> > devm_platform_ioremap_resource() and there's even a patch removing the
> > relevant coccinelle script on the list, but I think for new drivers
> > these are still useful. Do you want to pick them up for v5.5 (or at
> > all)?
>
> I think this series is useful and we should merge it. Are there any
> remaining dependencies or conflicts with Christoph Hellwig's recent
> __ioremap rework? If there are, I would prioritize his work and maybe
> delay this one by another merge window, otherwise please add
> my Reviewed-by to all patches and resend them for Greg to pick
> up (provided he has no objections).
>
> Arnd

Is Christoph's work in next? The series doesn't apply cleanly on next,
I needed to fix a couple conflicts. What branch should I rebase it on
before resending?

Bart