[PATCH v2 1/2] msi: The MSI framework only supports 2048 platform MSIs
From: Julian Vetter
Date: Tue Jun 14 2022 - 11:14:46 EST
Some devices need more MSIs. To support this the number must be
increased.
Signed-off-by: Julian Vetter <jvetter@xxxxxxxxxxxxx>
Reviewed-by: Yann Sionneau <ysionneau@xxxxxxxxxxxxx>
---
(no changes since v1)
drivers/base/platform-msi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/base/platform-msi.c b/drivers/base/platform-msi.c
index 296ea673d661..4b0b2fe3a7ff 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -13,7 +13,7 @@
#include <linux/msi.h>
#include <linux/slab.h>
-#define DEV_ID_SHIFT 21
+#define DEV_ID_SHIFT 19
#define MAX_DEV_MSIS (1 << (32 - DEV_ID_SHIFT))
/*
--
2.17.1