From: MaJun Date: Tue, 22 Dec 2015 02:47:22 +0000 (+0800) Subject: irq/platform-MSI: Increase the maximum MSIs the MSI framework can support X-Git-Tag: v4.5-rc1~159^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aff5e06b0dda7704ff2fa45162cfc4dde316a6f1;p=karo-tx-linux.git irq/platform-MSI: Increase the maximum MSIs the MSI framework can support 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 increase the maximum to 2048 devices. Signed-off-by: Ma Jun Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Link: http://lkml.kernel.org/r/1450752442-9392-1-git-send-email-majun258@huawei.com Signed-off-by: Thomas Gleixner --- diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c index a203896f204f..47c43386786b 100644 --- a/drivers/base/platform-msi.c +++ b/drivers/base/platform-msi.c @@ -24,7 +24,7 @@ #include #include -#define DEV_ID_SHIFT 24 +#define DEV_ID_SHIFT 21 #define MAX_DEV_MSIS (1 << (32 - DEV_ID_SHIFT)) /*