Re: [PATCH -next 1/2] i2c: designware: Switch from using MMIO access to SMN access

Limonciello, Mario
2022-09-21T20:19:44Z

On 9/21/2022 15:12, Borislav Petkov wrote:
> On Tue, Sep 20, 2022 at 06:24:39PM +0200, Jan Dąbroś wrote:
>>>> +EXPORT_SYMBOL_GPL(amd_cache_northbridges);
>
> Why is this being exported again?
>
> It is called unconditionally as a fs_initcall()...
>

Jan mentioned this in the commit message:

> The function which registers i2c-designware-platdrv is a
> subsys_initcall that is executed before fs_initcall (when enumeration
> of NB descriptors occurs).

So if it's not exported again, then it means that we somehow
need to get i2c-designware-platdrv to register earlier too.