On Wed, Oct 30, 2019 at 2:11 PM Hans de Goede <hdegoede@xxxxxxxxxx> wrote: > > (Tell me if I should send this as a separate patch.) > > If you want me to test if this fixes the issue, then yes please. I sent a patch fixing all the instances we can immediately spot. > Right, I did a quick check and at least these x86 pinctrl drivers > all 3 have this ordering problem once the irq chip registration is > moved to the gpiochip_add_data() call. > > drivers/pinctrl/intel/pinctrl-baytrail.c > drivers/pinctrl/intel/pinctrl-cherryview.c > drivers/pinctrl/intel/pinctrl-intel.c > drivers/pinctrl/pinctrl-amd.c > > And it seems that drivers/gpio/gpio-merrifield.c is already > suffering from this problem in 5.4! I fixed all of these in my patch, let's see what happens. If we need to partially backport it to v5.4 then let's just do that. Yours, Linus Walleij