162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciccflags-$(CONFIG_PPC64)			:= $(NO_MINIMAL_TOC)
362306a36Sopenharmony_ciccflags-$(CONFIG_PPC_PSERIES_DEBUG)	+= -DDEBUG
462306a36Sopenharmony_ci
562306a36Sopenharmony_ciobj-y			:= lpar.o hvCall.o nvram.o reconfig.o \
662306a36Sopenharmony_ci			   of_helpers.o rtas-work-area.o papr-sysparm.o \
762306a36Sopenharmony_ci			   setup.o iommu.o event_sources.o ras.o \
862306a36Sopenharmony_ci			   firmware.o power.o dlpar.o mobility.o rng.o \
962306a36Sopenharmony_ci			   pci.o pci_dlpar.o eeh_pseries.o msi.o \
1062306a36Sopenharmony_ci			   papr_platform_attributes.o dtl.o
1162306a36Sopenharmony_ciobj-$(CONFIG_SMP)	+= smp.o
1262306a36Sopenharmony_ciobj-$(CONFIG_KEXEC_CORE)	+= kexec.o
1362306a36Sopenharmony_ciobj-$(CONFIG_PSERIES_ENERGY)	+= pseries_energy.o
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ciobj-$(CONFIG_HOTPLUG_CPU)	+= hotplug-cpu.o
1662306a36Sopenharmony_ciobj-$(CONFIG_MEMORY_HOTPLUG)	+= hotplug-memory.o pmem.o
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciobj-$(CONFIG_HVC_CONSOLE)	+= hvconsole.o
1962306a36Sopenharmony_ciobj-$(CONFIG_HVCS)		+= hvcserver.o
2062306a36Sopenharmony_ciobj-$(CONFIG_HCALL_STATS)	+= hvCall_inst.o
2162306a36Sopenharmony_ciobj-$(CONFIG_CMM)		+= cmm.o
2262306a36Sopenharmony_ciobj-$(CONFIG_IO_EVENT_IRQ)	+= io_event_irq.o
2362306a36Sopenharmony_ciobj-$(CONFIG_LPARCFG)		+= lparcfg.o
2462306a36Sopenharmony_ciobj-$(CONFIG_IBMVIO)		+= vio.o
2562306a36Sopenharmony_ciobj-$(CONFIG_IBMEBUS)		+= ibmebus.o
2662306a36Sopenharmony_ciobj-$(CONFIG_PAPR_SCM)		+= papr_scm.o
2762306a36Sopenharmony_ciobj-$(CONFIG_PPC_SPLPAR)	+= vphn.o
2862306a36Sopenharmony_ciobj-$(CONFIG_PPC_SVM)		+= svm.o
2962306a36Sopenharmony_ciobj-$(CONFIG_FA_DUMP)		+= rtas-fadump.o
3062306a36Sopenharmony_ciobj-$(CONFIG_PSERIES_PLPKS)	+= plpks.o
3162306a36Sopenharmony_ciobj-$(CONFIG_PPC_SECURE_BOOT)	+= plpks-secvar.o
3262306a36Sopenharmony_ciobj-$(CONFIG_SUSPEND)		+= suspend.o
3362306a36Sopenharmony_ciobj-$(CONFIG_PPC_VAS)		+= vas.o vas-sysfs.o
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciobj-$(CONFIG_ARCH_HAS_CC_PLATFORM)	+= cc_platform.o
3662306a36Sopenharmony_ci
3762306a36Sopenharmony_ci# nothing that operates in real mode is safe for KASAN
3862306a36Sopenharmony_ciKASAN_SANITIZE_ras.o := n
3962306a36Sopenharmony_ciKASAN_SANITIZE_kexec.o := n
40