From mboxrd@z Thu Jan 1 00:00:00 1970 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 BC1D6C25B74 for ; Thu, 30 May 2024 13:55:02 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Subject:Cc:To:From:Message-ID:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/fUXtERKaqK7jfoN0GPAAaPF5eMZH0E5Y/oIMxWA3u4=; b=m9Iaj2US8ukB9v lllqFVuvQ+SocWiQ6QUxfdfIxzZI8GBEBgyGx9nvqAjfW6MXpJE/D4tRd3VaRBsYrePpyp0qXQTHI mK35GI/nfI5mo/U7g/dKcB2lnA2lcDqTh3tb7rC3Dmv2Z5dJ6rV8KseqCDybqNaSnOd5bO/HrACh8 yaQGuzdDYtR8HU44nMri77+0fH5aryShiEEaEXKoR3qHfM57d7E0BUswPwtaODFVexWqaXIB7ZDNZ c8XUn35Yt/7sCuywcGDWUys0JvKrGfHKIlw5UYteU01tO/wK8C5J7OAXpL+GsmRNqWknkgWxj+MKL 7UOJQUCTrzLj/KJ6rGcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCgF3-00000007S2u-3Med; Thu, 30 May 2024 13:54:53 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sCgF0-00000007S1x-3R1o; Thu, 30 May 2024 13:54:52 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id AA084CE1A92; Thu, 30 May 2024 13:54:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D09E0C2BBFC; Thu, 30 May 2024 13:54:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717077287; bh=q3qGYkWoISiLK4CH2M4GGiP+fm0cRhpFmjJb9qqJnno=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=g61V7EenqhG+KV90gKh5/eSORsAYlgXDU9Kzj8sTwRLAJy4tEWHgtFONYSK8oh9+5 k4LdLjFbsZbUBUUVkgVoZtE6/K8Dm9DWYivHvowfBy1PryJvZezS1BpVtRGdhI2K5n k6ZJDalpk5MBwWzwU+zpZVCHCAYT9k/wazHsUDowSP7/U6CNvnjLtinmE5hxlVuq/1 5dwZBDqN4HwhpUjMTcwibhbpi2xfVPCqitLVfcz4XuaRbYJx71dolggH3RfaOO5V2w pBcaX4xGpwrEkpU8vZdf27Cr6hUUD8bYVZ520YwyfTtIF3PdYILK3dFvZoktgd/wUK uC4xBcvqBfMIQ== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sCgEv-00GuVb-Le; Thu, 30 May 2024 14:54:45 +0100 Date: Thu, 30 May 2024 14:54:44 +0100 Message-ID: <86wmnbl80r.wl-maz@kernel.org> From: Marc Zyngier To: "Rob Herring (Arm)" Cc: Saravana Kannan , Anup Patel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v2 0/2] of: Fix interrupt-map for fw_devlink In-Reply-To: <20240529-dt-interrupt-map-fix-v2-0-ef86dc5bcd2a@kernel.org> References: <20240529-dt-interrupt-map-fix-v2-0-ef86dc5bcd2a@kernel.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/29.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: robh@kernel.org, saravanak@google.com, apatel@ventanamicro.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240530_065451_065942_C9544E43 X-CRM114-Status: GOOD ( 17.47 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 29 May 2024 20:59:19 +0100, "Rob Herring (Arm)" wrote: > > The duplicated parsing continued to bother me, so I've refactored things > to avoid that for parsing the interrupt parent and args in the > interrupt-map. > > It passes testing with unittests on QEMU virt platform, but I don't > think that catches the problematic cases. So please test. > > v1: https://lore.kernel.org/all/20240528164132.2451685-1-maz@kernel.org/ > - Refactor existing interrupt-map parsing code and use it for > fw_devlink > > Signed-off-by: Rob Herring (Arm) > --- > Marc Zyngier (1): > of: property: Fix fw_devlink handling of interrupt-map > > Rob Herring (Arm) (1): > of/irq: Factor out parsing of interrupt-map parent phandle+args from of_irq_parse_raw() > > drivers/of/irq.c | 127 +++++++++++++++++++++++++++++------------------- > drivers/of/of_private.h | 3 ++ > drivers/of/property.c | 30 ++++-------- > 3 files changed, 89 insertions(+), 71 deletions(-) I've just gave it a go on an M1 and as a kvmtool guest, and nothing caught fire. Must be perfect. Tested-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel