Re: [PATCH v2 1/9] powerpc/eeh: Rework EEH initialisation

2020-10-06 Thread Michael Ellerman
On Fri, 18 Sep 2020 19:30:42 +1000, Oliver O'Halloran wrote: > Drop the EEH register / unregister ops thing and have the platform pass the > ops structure into eeh_init() directly. This takes one initcall out of the > EEH setup path and it means we're only doing EEH setup on the platforms > which

[PATCH v2 1/9] powerpc/eeh: Rework EEH initialisation

2020-09-18 Thread Oliver O'Halloran
Drop the EEH register / unregister ops thing and have the platform pass the ops structure into eeh_init() directly. This takes one initcall out of the EEH setup path and it means we're only doing EEH setup on the platforms which actually support it. It's also less code and generally easier to