[PATCH] powerpc/eeh: Validate arch in eeh_add_device_early()
Guilherme G. Piccoli
gpiccoli at linux.vnet.ibm.com
Fri Jan 15 06:59:19 AEDT 2016
On 01/13/2016 07:25 PM, Michael Ellerman wrote:
> But for example what happens if the user boots with eeh=off on the command
> line, and then hotplugs a device. It looks like because you're not using
> eeh_enabled() you will incorrectly initialise EEH anyway?
Thanks very much for this catch Michael! I didn't think in this
possibility; I just tested and it fails with the kernel oops.
So, since my patch does not cover this case, I think would be more
interesting "unlink" the DDW mechanism from the EEH. It seems easy, I'll
try to send you a patch soon.
Do you think it is a good approach?
Cheers,
Guilherme
More information about the Linuxppc-dev
mailing list