kernel_optimize_test/arch/powerpc/platforms/pseries
Thadeu Lima de Souza Cascardo 778a785f02 powerpc/pseries/eeh: Fix crash when error happens during device probe
EEH may happen during a PCI driver probe. If the driver is trying to
access some register in a loop, the EEH code will try to print the
driver name. But the driver pointer in struct pci_dev is not set until
probe returns successfully.

Use a function to test if the device and the driver pointer is NULL
before accessing the driver's name.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-02-14 15:01:39 +11:00
..
cmm.c power: cmm - convert sysdev_class to a regular subsystem 2011-12-21 15:09:51 -08:00
dlpar.c powerpc/pseries: Avoid spurious error during hotplug CPU add 2011-09-20 09:20:00 +10:00
dtl.c powerpc/pseries: Fix kexec on recent firmware versions 2011-08-05 14:47:57 +10:00
eeh_cache.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
eeh_driver.c powerpc/eeh: Display eeh error location for bus and device 2011-05-06 13:32:31 +10:00
eeh_event.c powerpc: Fix up implicit sched.h users 2011-10-31 19:30:40 -04:00
eeh_sysfs.c powerpc: Fix up implicit stat.h users 2011-10-31 19:30:39 -04:00
eeh.c powerpc/pseries/eeh: Fix crash when error happens during device probe 2012-02-14 15:01:39 +11:00
event_sources.c
firmware.c
hotplug-cpu.c powerpc: Fix up implicit sched.h users 2011-10-31 19:30:40 -04:00
hotplug-memory.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2011-07-25 22:59:39 -07:00
hvCall_inst.c powerpc: Fix unpaired probe_hcall_entry and probe_hcall_exit 2012-01-03 12:09:27 +11:00
hvCall.S powerpc: Fix unpaired __trace_hcall_entry and __trace_hcall_exit 2012-01-11 12:50:26 +11:00
hvconsole.c powerpc: convert hvconsole.c to export.h ; fix implicit use of errno.h 2011-10-31 19:30:43 -04:00
hvcserver.c
io_event_irq.c powerpc: various straight conversions from module.h --> export.h 2011-10-31 19:30:44 -04:00
iommu.c powerpc/powernv: Add TCE SW invalidation support 2011-11-25 14:32:57 +11:00
Kconfig powerpc/cpuidle: Make it a bool, not a tristate 2012-01-25 09:43:06 +11:00
kexec.c powerpc/pseries: Simplify vpa deregistration functions 2011-08-05 14:47:58 +10:00
lpar.c powerpc: Fix RCU idle and hcall tracing 2012-01-11 11:54:20 +11:00
Makefile powerpc/cpuidle: cpuidle driver for pSeries 2011-12-08 13:56:31 +11:00
mobility.c powerpc: Fix up implicit stat.h users 2011-10-31 19:30:39 -04:00
msi.c powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
nvram.c kexec: remove KMSG_DUMP_KEXEC 2012-01-12 20:13:11 -08:00
offline_states.h powerpc/smp: soft-replugged CPUs must go back to start_secondary 2011-04-01 15:37:09 +11:00
pci_dlpar.c powerpc: include export.h for files using EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:30:38 -04:00
pci.c
phyp_dump.c
plpar_wrappers.h powerpc: fix two implicit header uses in pseries/plpar_wrappers.h 2011-10-31 19:30:42 -04:00
power.c
processor_idle.c powerpc/cpuidle: Handle power_save=off 2011-12-08 13:57:34 +11:00
pseries_energy.c cpu: convert 'cpu' and 'machinecheck' sysdev_class to a regular subsystem 2011-12-21 14:29:42 -08:00
pseries.h powerpc/cpuidle: cpuidle driver for pSeries 2011-12-08 13:56:31 +11:00
ras.c powerpc/pseries: Print corrupt r3 in FWNMI code 2011-05-19 14:30:43 +10:00
reconfig.c powerpc/pseries: Improve error code on reconfiguration notifier failure 2011-06-29 17:48:24 +10:00
scanlog.c
setup.c Merge branch 'kexec' into next 2011-12-16 11:09:21 +11:00
smp.c Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core 2012-01-07 12:03:30 -08:00
suspend.c powerpc/pseries: Fix partition migration hang in stop_topology_update 2012-02-14 15:01:39 +11:00