diff options
author | Scott Wood <[email protected]> | 2015-12-10 13:07:12 -0600 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2015-12-11 16:56:16 +0100 |
commit | 666db563d3d9fffcfc019e3d1a980dac47601a71 (patch) | |
tree | 5494f13ab4f6be3e060b8bd29ca8b8e2c2002852 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | d0cdf9003140e9b40d2488aaee2838babe7e212c (diff) |
EDAC, mpc85xx: Make mpc85xx-pci-edac a platform device
Originally the mpc85xx-pci-edac driver bound directly to the PCI
controller node.
Commit
905e75c46dba ("powerpc/fsl-pci: Unify pci/pcie initialization code")
turned the PCI controller code into a platform device. Since we can't
have two drivers binding to the same device, the EDAC code was changed
to be called into as a library-style submodule. However, this doesn't
work if the EDAC driver is built as a module.
Commit
8d8fcba6d1ea ("EDAC: Rip out the edac_subsys reference counting")
exposed another problem with this approach -- mpc85xx_pci_err_probe()
was being called in the same early boot phase that the PCI controller
is initialized, rather than in the device_initcall phase that the EDAC
layer expects. This caused a crash on boot.
To fix this, the PCI controller code now creates a child platform device
specifically for EDAC, which the mpc85xx-pci-edac driver binds to.
Reported-by: Michael Ellerman <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Daniel Axtens <[email protected]>
Cc: Doug Thompson <[email protected]>
Cc: Jia Hongtao <[email protected]>
Cc: Jiri Kosina <[email protected]>
Cc: Kim Phillips <[email protected]>
Cc: linux-edac <[email protected]>
Cc: [email protected]
Cc: Masanari Iida <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Rob Herring <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions