[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220609153843.1991-2-jvetter@kalrayinc.com>
Date: Thu, 9 Jun 2022 17:38:42 +0200
From: Julian Vetter <jvetter@...rayinc.com>
To: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
ysionneau@...rayinc.com
Cc: Julian Vetter <jvetter@...rayinc.com>
Subject: [PATCH 1/2] msi: The MSI framework only supports 2048 platform MSIs
Some devices need more MSIs. To support this the number must be
increased.
Signed-off-by: Julian Vetter <jvetter@...rayinc.com>
Reviewed-by: Yann Sionneau <ysionneau@...rayinc.com>
---
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
Powered by blists - more mailing lists