forked from luck/tmp_suning_uos_patched
acda5430be
This patch allows to build and use vgic-v3 in 32-bit mode. Unfortunately, it can not be split in several steps without extra stubs to keep patches independent and bisectable. For instance, virt/kvm/arm/vgic/vgic-v3.c uses function from vgic-v3-sr.c, handling access to GICv3 cpu interface from the guest requires vgic_v3.vgic_sre to be already defined. It is how support has been done: * handle SGI requests from the guest * report configured SRE on access to GICv3 cpu interface from the guest * required vgic-v3 macros are provided via uapi.h * static keys are used to select GIC backend * to make vgic-v3 build KVM_ARM_VGIC_V3 guard is removed along with the static inlines Acked-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
19 lines
579 B
Makefile
19 lines
579 B
Makefile
#
|
|
# Makefile for Kernel-based Virtual Machine module, HYP part
|
|
#
|
|
|
|
KVM=../../../../virt/kvm
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v2-sr.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/vgic-v3-sr.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += $(KVM)/arm/hyp/timer-sr.o
|
|
|
|
obj-$(CONFIG_KVM_ARM_HOST) += tlb.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += cp15-sr.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += vfp.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += banked-sr.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += entry.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += hyp-entry.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += switch.o
|
|
obj-$(CONFIG_KVM_ARM_HOST) += s2-setup.o
|