From patchwork Thu Dec 23 13:00:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 12698289 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 08AAEC433FE for ; Thu, 23 Dec 2021 13:02:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc: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=M2tBrPH6Ct4E0DYSf+yA9YaRMD7JAk2yYxc6c1UQY80=; b=xk6JqsQ8h7Uz9s s2CB0cOQLBHJp0J21XGcqfF66j4rUrYo0W8M2DaMcRkZKkkmxGSoF7uqEMwQhXWn2r1q56ZqQ5HvN izaaRggnRR/RusyvHb3XmSehHWngaXxr3B3Sz9jmQTkdkNcjfSeVJysqxR4ys4GLzz6OAn5GSzvxX mT9hGn28X8KwLBtQJzAv144pu19IME0k7hOn9Mv8COE4nbIRcQOvuMkv8n6Wf8jcf7byq4gaVlrLq aGm1ji+rusiJOcgA5YuzwcnFDChX/GQb0NP75ZExVzAizhHBoq2wGL8iWPI4NG5LNRDmMmuUJ9fof LC8NgN70wsmBQBxPc0Pw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n0NiV-00CkPD-4N; Thu, 23 Dec 2021 13:01:07 +0000 Received: from relmlor2.renesas.com ([210.160.252.172] helo=relmlie6.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n0NiO-00CkMh-Uz for linux-arm-kernel@lists.infradead.org; Thu, 23 Dec 2021 13:01:02 +0000 X-IronPort-AV: E=Sophos;i="5.88,229,1635174000"; d="scan'208";a="104966898" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 23 Dec 2021 22:00:58 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id CCD8A4366C26; Thu, 23 Dec 2021 22:00:55 +0900 (JST) From: Lad Prabhakar To: Will Deacon , Robin Murphy , Joerg Roedel , Rob Clark , linux-arm-kernel@lists.infradead.org, iommu@lists.linux-foundation.org Cc: Xin Tan , Sai Prakash Ranjan , "Isaac J. Manjarres" , Rob Herring , linux-kernel@vger.kernel.org, Prabhakar , Lad Prabhakar Subject: [PATCH 0/2] iommu/arm-smmu: Use platform_irq_count() Date: Thu, 23 Dec 2021 13:00:44 +0000 Message-Id: <20211223130046.9365-1-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211223_050101_132356_8BAB6CC1 X-CRM114-Status: UNSURE ( 6.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi All, This patch series aims to drop using platform_get_resource() for IRQ types in preparation for removal of static setup of IRQ resource from DT core code. Dropping usage of platform_get_resource() was agreed based on the discussion [0]. [0] https://patchwork.kernel.org/project/linux-renesas-soc/ patch/20211209001056.29774-1-prabhakar.mahadev-lad.rj@bp.renesas.com/ While I was at it created patch 2/2 to propagate errors upstream. Cheers, Prabhakar Lad Prabhakar (2): iommu/arm-smmu: Use platform_irq_count() to get the interrupt count iommu/arm-smmu: Propagate errors from platform_get_irq() drivers/iommu/arm/arm-smmu/arm-smmu.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)