mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 07:08:21 -04:00
KVM: arm/arm64: Enable MSI routing
Up to now, only irqchip routing entries could be set. This patch adds the capability to insert MSI routing entries. For ARM64, let's also increase KVM_MAX_IRQ_ROUTES to 4096: this include SPI irqchip routes plus MSI routes. In the future this might be extended. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
@@ -1048,6 +1048,8 @@ static inline int mmu_notifier_retry(struct kvm *kvm, unsigned long mmu_seq)
|
||||
|
||||
#ifdef CONFIG_S390
|
||||
#define KVM_MAX_IRQ_ROUTES 4096 //FIXME: we can have more than that...
|
||||
#elif defined(CONFIG_ARM64)
|
||||
#define KVM_MAX_IRQ_ROUTES 4096
|
||||
#else
|
||||
#define KVM_MAX_IRQ_ROUTES 1024
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user