xref: /linux/arch/powerpc/platforms/pseries/Makefile (revision ff2632d7d08edc11e8bd0629e9fcfebab25c78b4)
1# SPDX-License-Identifier: GPL-2.0
2ccflags-$(CONFIG_PPC_PSERIES_DEBUG)	+= -DDEBUG
3
4obj-y			:= lpar.o hvCall.o nvram.o reconfig.o \
5			   of_helpers.o rtas-work-area.o papr-sysparm.o \
6			   papr-vpd.o \
7			   setup.o iommu.o event_sources.o ras.o \
8			   firmware.o power.o dlpar.o mobility.o rng.o \
9			   pci.o pci_dlpar.o eeh_pseries.o msi.o \
10			   papr_platform_attributes.o dtl.o
11obj-$(CONFIG_SMP)	+= smp.o
12obj-$(CONFIG_KEXEC_CORE)	+= kexec.o
13obj-$(CONFIG_PSERIES_ENERGY)	+= pseries_energy.o
14
15obj-$(CONFIG_HOTPLUG_CPU)	+= hotplug-cpu.o
16obj-$(CONFIG_MEMORY_HOTPLUG)	+= hotplug-memory.o pmem.o
17
18obj-$(CONFIG_HVC_CONSOLE)	+= hvconsole.o
19obj-$(CONFIG_HVCS)		+= hvcserver.o
20obj-$(CONFIG_HCALL_STATS)	+= hvCall_inst.o
21obj-$(CONFIG_CMM)		+= cmm.o
22obj-$(CONFIG_IO_EVENT_IRQ)	+= io_event_irq.o
23obj-$(CONFIG_LPARCFG)		+= lparcfg.o
24obj-$(CONFIG_IBMVIO)		+= vio.o
25obj-$(CONFIG_IBMEBUS)		+= ibmebus.o
26obj-$(CONFIG_PAPR_SCM)		+= papr_scm.o
27obj-$(CONFIG_PPC_SPLPAR)	+= vphn.o
28obj-$(CONFIG_PPC_SVM)		+= svm.o
29obj-$(CONFIG_FA_DUMP)		+= rtas-fadump.o
30obj-$(CONFIG_PSERIES_PLPKS)	+= plpks.o
31obj-$(CONFIG_PPC_SECURE_BOOT)	+= plpks-secvar.o
32obj-$(CONFIG_PSERIES_PLPKS_SED)	+= plpks_sed_ops.o
33obj-$(CONFIG_SUSPEND)		+= suspend.o
34obj-$(CONFIG_PPC_VAS)		+= vas.o vas-sysfs.o
35
36obj-$(CONFIG_ARCH_HAS_CC_PLATFORM)	+= cc_platform.o
37
38# nothing that operates in real mode is safe for KASAN
39KASAN_SANITIZE_ras.o := n
40KASAN_SANITIZE_kexec.o := n
41