mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
d6a9a92e32
Seemingly unneeded based on new upstream code so manually deleted: layerscape: 820-usb-0007-usb-dwc3-gadget-increase-timeout-value-for-send-ep-c.patch Manually merged: generic-hack: 251-sound_kconfig.patch All other modifications made by update_kernel.sh Build system: x86_64 Build-tested: ipq806x/R7800, ath79/generic, bcm27xx/bcm2711 Run-tested: ipq806x/R7800, lantiq/Easybox 904 xDSL No dmesg regressions, everything functional Signed-off-by: John Audia <graysky@archlinux.us> [add lantiq test report, minor commit message clarification] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
27 lines
924 B
Diff
27 lines
924 B
Diff
From d157696b1761a710499207c6011a611a5c76826f Mon Sep 17 00:00:00 2001
|
|
From: Bharat Bhushan <Bharat.Bhushan@nxp.com>
|
|
Date: Thu, 25 Jan 2018 10:28:53 +0000
|
|
Subject: [PATCH] virt/vgic: Increase number of DeviceIDs to 17
|
|
|
|
FSL-MC bus devices uses device-ids from 0x10000 to 0x20000.
|
|
So to support MSI interrupts for mc-bus devices we need
|
|
vgi-ITS device-id table of size 2^17 to support deviceid
|
|
range from 0x10000 to 0x20000.
|
|
|
|
Signed-off-by: Bharat Bhushan <Bharat.Bhushan@nxp.com>
|
|
---
|
|
virt/kvm/arm/vgic/vgic-its.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/virt/kvm/arm/vgic/vgic-its.c
|
|
+++ b/virt/kvm/arm/vgic/vgic-its.c
|
|
@@ -248,7 +248,7 @@ static struct its_ite *find_ite(struct v
|
|
#define GIC_LPI_OFFSET 8192
|
|
|
|
#define VITS_TYPER_IDBITS 16
|
|
-#define VITS_TYPER_DEVBITS 16
|
|
+#define VITS_TYPER_DEVBITS 17
|
|
#define VITS_DTE_MAX_DEVID_OFFSET (BIT(14) - 1)
|
|
#define VITS_ITE_MAX_EVENTID_OFFSET (BIT(16) - 1)
|
|
|