2010-09-22 20:51:09 +00:00
|
|
|
ccflags-$(CONFIG_PPC64) := -mno-minimal-toc
|
|
|
|
ccflags-$(CONFIG_PPC_PSERIES_DEBUG) += -DDEBUG
|
2008-04-24 05:13:21 +00:00
|
|
|
|
2007-03-04 06:04:44 +00:00
|
|
|
obj-y := lpar.o hvCall.o nvram.o reconfig.o \
|
2010-05-18 22:51:00 +00:00
|
|
|
setup.o iommu.o event_sources.o ras.o \
|
2010-09-10 09:42:36 +00:00
|
|
|
firmware.o power.o dlpar.o mobility.o
|
2005-10-10 12:03:41 +00:00
|
|
|
obj-$(CONFIG_SMP) += smp.o
|
2005-11-10 01:42:17 +00:00
|
|
|
obj-$(CONFIG_SCANLOG) += scanlog.o
|
powerpc/eeh: Introduce EEH device
Original EEH implementation depends on struct pci_dn heavily. However,
EEH shouldn't depend on that actually because EEH needn't share much
information with other PCI components. That's to say, EEH should have
worked independently.
The patch introduces struct eeh_dev so that EEH core components needn't
be working based on struct pci_dn in future. Also, struct pci_dn, struct
eeh_dev instances are created in dynamic fasion and the binding with EEH
device, OF node, PCI device is implemented as well.
The EEH devices are created after PHBs are detected and initialized, but
PCI emunation hasn't started yet. Apart from that, PHB might be created
dynamically through DLPAR component and the EEH devices should be creatd
as well. Another case might be OF node is created dynamically by DR
(Dynamic Reconfiguration), which has been defined by PAPR. For those OF
nodes created by DR, EEH devices should be also created accordingly. The
binding between EEH device and OF node is done while the EEH device is
initially created.
The binding between EEH device and PCI device should be done after PCI
emunation is done. Besides, PCI hotplug also needs the binding so that
the EEH devices could be traced from the newly coming PCI buses or PCI
devices.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2012-02-27 20:04:04 +00:00
|
|
|
obj-$(CONFIG_EEH) += eeh.o eeh_dev.o eeh_cache.o eeh_driver.o \
|
|
|
|
eeh_event.o eeh_sysfs.o eeh_pseries.o
|
2007-02-08 07:33:55 +00:00
|
|
|
obj-$(CONFIG_KEXEC) += kexec.o
|
2007-03-04 06:04:44 +00:00
|
|
|
obj-$(CONFIG_PCI) += pci.o pci_dlpar.o
|
2009-03-05 17:36:39 +00:00
|
|
|
obj-$(CONFIG_PSERIES_MSI) += msi.o
|
2010-10-06 08:37:09 +00:00
|
|
|
obj-$(CONFIG_PSERIES_ENERGY) += pseries_energy.o
|
2005-11-14 06:30:17 +00:00
|
|
|
|
2006-12-05 06:52:36 +00:00
|
|
|
obj-$(CONFIG_HOTPLUG_CPU) += hotplug-cpu.o
|
2008-04-18 20:33:50 +00:00
|
|
|
obj-$(CONFIG_MEMORY_HOTPLUG) += hotplug-memory.o
|
2006-12-05 06:52:36 +00:00
|
|
|
|
2005-11-14 06:30:17 +00:00
|
|
|
obj-$(CONFIG_HVC_CONSOLE) += hvconsole.o
|
|
|
|
obj-$(CONFIG_HVCS) += hvcserver.o
|
2006-09-06 23:23:12 +00:00
|
|
|
obj-$(CONFIG_HCALL_STATS) += hvCall_inst.o
|
2008-07-23 18:30:29 +00:00
|
|
|
obj-$(CONFIG_CMM) += cmm.o
|
2009-03-11 17:55:52 +00:00
|
|
|
obj-$(CONFIG_DTL) += dtl.o
|
2011-05-05 12:32:48 +00:00
|
|
|
obj-$(CONFIG_IO_EVENT_IRQ) += io_event_irq.o
|
2011-11-30 02:46:42 +00:00
|
|
|
obj-$(CONFIG_PSERIES_IDLE) += processor_idle.o
|
2010-07-07 12:31:02 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_PPC_PSERIES),y)
|
|
|
|
obj-$(CONFIG_SUSPEND) += suspend.o
|
|
|
|
endif
|