From patchwork Wed Jan 17 18:39:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nate Watterson X-Patchwork-Id: 10170433 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1D6EA603ED for ; Wed, 17 Jan 2018 18:40:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 124912018F for ; Wed, 17 Jan 2018 18:40:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 10A0820415; Wed, 17 Jan 2018 18:40:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A73A32018F for ; Wed, 17 Jan 2018 18:40:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=2HZhFs1kosswxTjsMsjYfKuswAxJOADRM+1RQv/ej+g=; b=oYS Xu9l/mehWZI2ta446NUGQliOBhjl4MTW2/Kwb1ZpSe/DL7TR+5eVSiUNY6EX6c6BClWeZySccKYYU xOAgI62hIhhGcsVPjFhOEQMakD3b9KqEk0/uH/M3OrkLaoTsKVEkEEmSQERWW/RwwB9Hl0BmM4FMn vFXjrimuDyetg3269xNOHgzNgbjJ/n8DwPjVPEjyTXYx+Dplx7Oyptt2v97lwxKM2o2KLuN2g62uh 47L+R+TUzfwfFoA09iF1qlz9M9P+ROQkajzmeWy2bYufejBGMAspJMOi1sIqzpF8sdbJnfQfkZwSR TOsgKINiqwQJKN/9/xou3SJkxrS24hQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ebsdN-0003Dp-DY; Wed, 17 Jan 2018 18:40:25 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ebsdJ-0002n0-Ks for linux-arm-kernel@lists.infradead.org; Wed, 17 Jan 2018 18:40:23 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 678D5605A4; Wed, 17 Jan 2018 18:40:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516214410; bh=atwZgz9PG54/YJvwljkCUck9VhQJ1zC7Y87RL3y1kqY=; h=From:To:Cc:Subject:Date:From; b=LlSL9wrpI65hqXCdJf5FGt1L5DfBQU5g/v3DbG0bL/Dxw74pTQcOHILUs0s8sTb33 nB039iln916mllk+4ruKVL1UR7VF0X1mtPKLjsTbTFv6lCjxovtqouv0M6pXozrRT1 lVKix0XK4duSonDy70oCWgkUTjeiVi7T/xmz4asQ= Received: from ssd-mint172.qualcomm.com (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nwatters@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E364A6025D; Wed, 17 Jan 2018 18:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1516214409; bh=atwZgz9PG54/YJvwljkCUck9VhQJ1zC7Y87RL3y1kqY=; h=From:To:Cc:Subject:Date:From; b=VU5+x5QirTAC6VucnZRQutzxAhZONiwJtUVT75ByA768zRljKH3bhyIX5RSsbnYAE AuVhXKMszryU0KrQtqKwcACom2P5N09shEDcW/8WSQObh++NTWzjH5BWR7w4nEGvui dgEm6OBNd9J89ZhABHo/pB6yfvOcy2ooEbsc6yZI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E364A6025D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=nwatters@codeaurora.org From: Nate Watterson To: Will Deacon , Robin Murphy , Joerg Roedel , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: [PATCH] iommu/arm-smmu-v3: suppress MSI allocation failure message Date: Wed, 17 Jan 2018 13:39:59 -0500 Message-Id: <1516214399-24012-1-git-send-email-nwatters@codeaurora.org> X-Mailer: git-send-email 1.9.1 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sinan Kaya , Nate Watterson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Sinan Kaya Even though QDF2400 supports MSI interrupts with SMMUv3, it is not enabled in ACPI FW to preserve compatibility with older kernel versions. Code is emitting warning message during boot. This is causing some test tools to record a false warning and is causing support issues. Better reduce the message level. Signed-off-by: Sinan Kaya Signed-off-by: Nate Watterson --- drivers/iommu/arm-smmu-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index 744592d..2118fda 100644 --- a/drivers/iommu/arm-smmu-v3.c +++ b/drivers/iommu/arm-smmu-v3.c @@ -2331,7 +2331,7 @@ static void arm_smmu_setup_msis(struct arm_smmu_device *smmu) /* Allocate MSIs for evtq, gerror and priq. Ignore cmdq */ ret = platform_msi_domain_alloc_irqs(dev, nvec, arm_smmu_write_msi_msg); if (ret) { - dev_warn(dev, "failed to allocate MSIs\n"); + dev_info(dev, "failed to allocate MSIs\n"); return; }