Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1560042

[PATCH] irq/platform-msi: Fix comment about maximal MSIs

Path csiph.com!1.us.feeder.erje.net!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Matthias Brugger <mbrugger@suse.com>
Newsgroups linux.kernel
Subject [PATCH] irq/platform-msi: Fix comment about maximal MSIs
Date Mon, 16 Jan 2017 21:40:02 +0100
Message-ID <t0mem-5KG-7@gated-at.bofh.it> (permalink)
X-Mailer git-send-email 2.6.6
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 24
Organization linux.* mail to news gateway
X-Original-Cc tglx@linutronix.de, majun258@huawei.com, linux-kernel@vger.kernel.org, Matthias Brugger <mbrugger@suse.com>
X-Original-Date Mon, 16 Jan 2017 19:48:20 +0100
X-Original-Message-ID <1484592500-15400-1-git-send-email-mbrugger@suse.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1560042

Show key headers only | View raw


Commit aff5e06b0dda ("irq/platform-MSI: Increase the maximum MSIs the MSI
framework can support") increases the maximum MSIs to 2048.
Fix the comment to reflect that.

Signed-off-by: Matthias Brugger <mbrugger@suse.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 be6a599..0fc7c4d 100644
--- a/drivers/base/platform-msi.c
+++ b/drivers/base/platform-msi.c
@@ -206,7 +206,7 @@ platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec,
 {
 	struct platform_msi_priv_data *datap;
 	/*
-	 * Limit the number of interrupts to 256 per device. Should we
+	 * Limit the number of interrupts to 2048 per device. Should we
 	 * need to bump this up, DEV_ID_SHIFT should be adjusted
 	 * accordingly (which would impact the max number of MSI
 	 * capable devices).
-- 
2.6.6

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] irq/platform-msi: Fix comment about maximal MSIs Matthias Brugger <mbrugger@suse.com> - 2017-01-16 21:40 +0100
  [tip:irq/core] irq/platform-msi: Fix comment about maximal MSIs tip-bot for Matthias Brugger <tipbot@zytor.com> - 2017-01-17 10:50 +0100

csiph-web