[PATCH V2 1/4] gpio: mxc: Support module build

Anson Huang anson.huang at nxp.com
Sun Sep 13 22:19:49 EDT 2020


Hi, Linus

> Subject: Re: [PATCH V2 1/4] gpio: mxc: Support module build
> 
> On Thu, Sep 3, 2020 at 3:31 AM Anson Huang <anson.huang at nxp.com>
> wrote:
> 
> > Hi, Linus
> >         Do you have chance to take a look at this patch series?
> 
> I've seen there was plenty discussion about them, like this one, so I expected a
> repost (didn't anything change at all?) also a rebase on v5.9-rc1 so I do not
> have to deal with any merge conflicts.

I went through the discussion again, the main concern is whether need to support
unload if the driver supports module build, but for SoC GPIO driver, as john said, it is
commonly used by peripheral devices, similar as clock, pinctrl driver, sorting out the
unloading is particularly complicated or there is some missing infrastructure, and in
those cases being able to load a "permanent" module seems to me like a clear benefit.

So I think the first step is to just enable it as "permanent" modules like pinctrl/clk driver,
as currently, most of the SoC GPIO users are NOT supporting module build at all, so the
unload support for SoC GPIO driver is NOT available currently.

> 
> Could you rebase and resend?

I will rebase to latest linux-next and resend the patch series.

Thanks,
Anson


More information about the linux-arm-kernel mailing list