mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 22:06:44 +07:00
2988509dd8
This patch allows to build and use vGICv3 ITS in 32-bit mode. Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
#
|
|
# Makefile for Kernel-based Virtual Machine module
|
|
#
|
|
|
|
plus_virt := $(call as-instr,.arch_extension virt,+virt)
|
|
ifeq ($(plus_virt),+virt)
|
|
plus_virt_def := -DREQUIRES_VIRT=1
|
|
endif
|
|
|
|
ccflags-y += -Iarch/arm/kvm
|
|
CFLAGS_arm.o := -I. $(plus_virt_def)
|
|
CFLAGS_mmu.o := -I.
|
|
|
|
AFLAGS_init.o := -Wa,-march=armv7-a$(plus_virt)
|
|
AFLAGS_interrupts.o := -Wa,-march=armv7-a$(plus_virt)
|
|
|
|
KVM := ../../../virt/kvm
|
|
kvm-arm-y = $(KVM)/kvm_main.o $(KVM)/coalesced_mmio.o $(KVM)/eventfd.o $(KVM)/vfio.o
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += hyp/
|
|
obj-y += kvm-arm.o init.o interrupts.o
|
|
obj-y += arm.o handle_exit.o guest.o mmu.o emulate.o reset.o
|
|
obj-y += coproc.o coproc_a15.o coproc_a7.o mmio.o psci.o perf.o
|
|
obj-y += $(KVM)/arm/aarch32.o
|
|
|
|
obj-y += $(KVM)/arm/vgic/vgic.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-init.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-irqfd.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-v2.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-v3.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-mmio.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-mmio-v2.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-mmio-v3.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-kvm-device.o
|
|
obj-y += $(KVM)/arm/vgic/vgic-its.o
|
|
obj-y += $(KVM)/irqchip.o
|
|
obj-y += $(KVM)/arm/arch_timer.o
|