[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1450667905-2968-1-git-send-email-majun258@huawei.com>
Date: Mon, 21 Dec 2015 11:18:25 +0800
From: MaJun <majun258@...wei.com>
To: <Catalin.Marinas@....com>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <Will.Deacon@....com>,
<mark.rutland@....com>, <marc.zyngier@....com>,
<jason@...edaemon.net>, <tglx@...utronix.de>, <lizefan@...wei.com>,
<huxinwei@...wei.com>, <dingtianhong@...wei.com>,
<zhaojunhua@...ilicon.com>, <liguozhu@...ilicon.com>,
<xuwei5@...ilicon.com>, <wei.chenwei@...ilicon.com>,
<guohanjun@...wei.com>, <majun258@...wei.com>
Subject: [PATCH] IRQ/Platform-MSI:Increase the maximum MSIs the MSI framework can support.
From: Ma Jun <majun258@...wei.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, we need a new maximum value more than 256.
Signed-off-by: Ma Jun <majun258@...wei.com>
---
drivers/base/platform-msi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c
index a203896..9c00d3f 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 22
#define MAX_DEV_MSIS (1 << (32 - DEV_ID_SHIFT))
/*
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists