1# SPDX-License-Identifier: GPL-2.0
2
3# nothing that deals with real mode is safe to KASAN
4# in particular, idle code runs a bunch of things in real mode
5KASAN_SANITIZE_idle.o := n
6KASAN_SANITIZE_pci-ioda.o := n
7KASAN_SANITIZE_pci-ioda-tce.o := n
8# pnv_machine_check_early
9KASAN_SANITIZE_setup.o := n
10
11obj-y			+= setup.o opal-call.o opal-wrappers.o opal.o opal-async.o
12obj-y			+= idle.o opal-rtc.o opal-nvram.o opal-lpc.o opal-flash.o
13obj-y			+= rng.o opal-elog.o opal-dump.o opal-sysparam.o opal-sensor.o
14obj-y			+= opal-msglog.o opal-hmi.o opal-power.o opal-irqchip.o
15obj-y			+= opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
16obj-y			+= ultravisor.o
17
18obj-$(CONFIG_SMP)	+= smp.o subcore.o subcore-asm.o
19obj-$(CONFIG_FA_DUMP)	+= opal-fadump.o
20obj-$(CONFIG_PRESERVE_FA_DUMP)	+= opal-fadump.o
21obj-$(CONFIG_OPAL_CORE)	+= opal-core.o
22obj-$(CONFIG_PCI)	+= pci.o pci-ioda.o pci-ioda-tce.o
23obj-$(CONFIG_PCI_IOV)   += pci-sriov.o
24obj-$(CONFIG_CXL_BASE)	+= pci-cxl.o
25obj-$(CONFIG_EEH)	+= eeh-powernv.o
26obj-$(CONFIG_MEMORY_FAILURE)	+= opal-memory-errors.o
27obj-$(CONFIG_OPAL_PRD)	+= opal-prd.o
28obj-$(CONFIG_PERF_EVENTS) += opal-imc.o
29obj-$(CONFIG_PPC_MEMTRACE)	+= memtrace.o
30obj-$(CONFIG_PPC_VAS)	+= vas.o vas-window.o vas-debug.o vas-fault.o
31obj-$(CONFIG_OCXL_BASE)	+= ocxl.o
32obj-$(CONFIG_SCOM_DEBUGFS) += opal-xscom.o
33obj-$(CONFIG_PPC_SECURE_BOOT) += opal-secvar.o
34