public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] Irq/Platform-MSI:Increase the maximum MSIs the MSI framework can support.
@ 2015-12-22  2:47 MaJun
  2015-12-29 11:04 ` [tip:irq/core] irq/platform-MSI: Increase " tip-bot for MaJun
  0 siblings, 1 reply; 2+ messages in thread
From: MaJun @ 2015-12-22  2:47 UTC (permalink / raw)
  To: Catalin.Marinas, linux-kernel, linux-arm-kernel, Will.Deacon,
	mark.rutland, marc.zyngier, jason, tglx, lizefan, huxinwei,
	dingtianhong, liguozhu, guohanjun, majun258

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(-)

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))
 
 /*
-- 
1.7.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-29 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-22  2:47 [PATCH v2] Irq/Platform-MSI:Increase the maximum MSIs the MSI framework can support MaJun
2015-12-29 11:04 ` [tip:irq/core] irq/platform-MSI: Increase " tip-bot for MaJun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox