public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] msi: The MSI framework only supports 2048 platform MSIs
@ 2022-06-14 15:14 Julian Vetter
  2022-06-14 15:14 ` [PATCH v2 2/2] msi: Add sanity check if more than MAX_DEV_MSIS MSIs are requested Julian Vetter
  2022-06-14 15:23 ` [PATCH v2 1/2] msi: The MSI framework only supports 2048 platform MSIs Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: Julian Vetter @ 2022-06-14 15:14 UTC (permalink / raw)
  To: gregkh, rafael, linux-kernel, ysionneau, jmaselbas; +Cc: Julian Vetter

Some devices need more MSIs. To support this the number must be
increased.

Signed-off-by: Julian Vetter <jvetter@kalrayinc.com>
Reviewed-by: Yann Sionneau <ysionneau@kalrayinc.com>
---
(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


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

end of thread, other threads:[~2022-06-16 15:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-14 15:14 [PATCH v2 1/2] msi: The MSI framework only supports 2048 platform MSIs Julian Vetter
2022-06-14 15:14 ` [PATCH v2 2/2] msi: Add sanity check if more than MAX_DEV_MSIS MSIs are requested Julian Vetter
2022-06-14 15:24   ` Greg KH
2022-06-14 15:23 ` [PATCH v2 1/2] msi: The MSI framework only supports 2048 platform MSIs Greg KH
2022-06-16 15:19   ` Julian Vetter

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