Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753339AbbL2LFd (ORCPT ); Tue, 29 Dec 2015 06:05:33 -0500 Received: from terminus.zytor.com ([198.137.202.10]:57263 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753272AbbL2LF2 (ORCPT ); Tue, 29 Dec 2015 06:05:28 -0500 Date: Tue, 29 Dec 2015 03:04:02 -0800 From: tip-bot for MaJun Message-ID: Cc: lizefan@huawei.com, linux-arm-kernel@lists.infradead.org, Will.Deacon@arm.com, guohanjun@huawei.com, marc.zyngier@arm.com, linux-kernel@vger.kernel.org, majun258@huawei.com, hpa@zytor.com, huxinwei@huawei.com, mingo@kernel.org, dingtianhong@huawei.com, Catalin.Marinas@arm.com, tglx@linutronix.de, liguozhu@hisilicon.com, jason@lakedaemon.net, mark.rutland@arm.com Reply-To: lizefan@huawei.com, marc.zyngier@arm.com, guohanjun@huawei.com, linux-arm-kernel@lists.infradead.org, Will.Deacon@arm.com, linux-kernel@vger.kernel.org, mingo@kernel.org, huxinwei@huawei.com, hpa@zytor.com, majun258@huawei.com, Catalin.Marinas@arm.com, dingtianhong@huawei.com, jason@lakedaemon.net, liguozhu@hisilicon.com, tglx@linutronix.de, mark.rutland@arm.com In-Reply-To: <1450752442-9392-1-git-send-email-majun258@huawei.com> References: <1450752442-9392-1-git-send-email-majun258@huawei.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:irq/core] irq/platform-MSI: Increase the maximum MSIs the MSI framework can support Git-Commit-ID: aff5e06b0dda7704ff2fa45162cfc4dde316a6f1 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1794 Lines: 51 Commit-ID: aff5e06b0dda7704ff2fa45162cfc4dde316a6f1 Gitweb: http://git.kernel.org/tip/aff5e06b0dda7704ff2fa45162cfc4dde316a6f1 Author: MaJun AuthorDate: Tue, 22 Dec 2015 10:47:22 +0800 Committer: Thomas Gleixner CommitDate: Tue, 29 Dec 2015 11:58:53 +0100 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 Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Cc: Link: http://lkml.kernel.org/r/1450752442-9392-1-git-send-email-majun258@huawei.com Signed-off-by: Thomas Gleixner --- 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 a203896..47c4338 100644 --- a/drivers/base/platform-msi.c +++ b/drivers/base/platform-msi.c @@ -24,7 +24,7 @@ #include #include -#define DEV_ID_SHIFT 24 +#define DEV_ID_SHIFT 21 #define MAX_DEV_MSIS (1 << (32 - DEV_ID_SHIFT)) /* -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/