diff mbox

[v2] Irq/Platform-MSI:Increase the maximum MSIs the MSI framework can support.

Message ID 1450752442-9392-1-git-send-email-majun258@huawei.com
State Accepted
Commit aff5e06b0dda7704ff2fa45162cfc4dde316a6f1
Headers show

Commit Message

majun (F) Dec. 22, 2015, 2:47 a.m. UTC
From: Ma Jun <majun258@huawei.com>


The current MSI framework can only support 256 platform MSIs.

But on Hisilicon platform, some network related devices has about 500
wired interrupts.

To support these devices and align with MSI-X, this value is changed
to 2048.

Signed-off-by: Ma Jun <majun258@huawei.com>

---
 drivers/base/platform-msi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

-- 
1.7.1



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c
index a203896..47c4338 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -24,7 +24,7 @@ 
 #include <linux/msi.h>
 #include <linux/slab.h>
 
-#define DEV_ID_SHIFT	24
+#define DEV_ID_SHIFT	21
 #define MAX_DEV_MSIS	(1 << (32 - DEV_ID_SHIFT))
 
 /*