diff options
| author | MaJun <[email protected]> | 2015-12-22 10:47:22 +0800 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2015-12-29 11:58:53 +0100 |
| commit | aff5e06b0dda7704ff2fa45162cfc4dde316a6f1 (patch) | |
| tree | 8897e180e7a6db6db083223dd523c53b094427c5 | |
| parent | 5a1ff480f4ec40ace313c16b0543c7c6af09e227 (diff) | |
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 <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
| -rw-r--r-- | 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 a203896f204f..47c43386786b 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)) /* |