Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1352252lqb; Thu, 30 May 2024 07:53:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXIT+fnlJzpm8XXC6weANKpmj83ARO2ixu/TOZ4Op8X79Cw5IuyLQ0nHHGGpNUWic/KFOqlxN48jWnlwtmCAUQTYLFvNB8IfYikGvWxow== X-Google-Smtp-Source: AGHT+IHLvytrKzH3gIcpjLISwSGj4LEvFP6x3GktFckHVSeSsrM+iFLj4zXn7y/MDnUqtTjmophE X-Received: by 2002:a17:90a:4087:b0:2b2:81c0:268d with SMTP id 98e67ed59e1d1-2c1abc4d067mr2307272a91.43.1717080810029; Thu, 30 May 2024 07:53:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717080810; cv=pass; d=google.com; s=arc-20160816; b=NkvEEk+NbphAo6xACA299yDIVNjs+h9IGOyHmJQvQa9yM/99y05zsrDvwV2lIGKikE A8oHueskw0mdGVjQDLorj0UVt41KPJTmaXVE8c5pmJYYfuAPEmhBC31cubFWSqWSU6pc +tUDELkyJRYzA9JgucZ8u0JQ4Ty1Qw3+gtFa4wIUTmk8SUT/41H8T1wbTt5QEsRfMEDy R9dsQHwefL23GvzdRAn6Iom4a/fYeCaZGvtSUzPV7vJDKjSLg88op2ysIRLKpHNtUcHx ULE4hpvW/KAGNsuF6D/pBMraUWmGM+2aljpSfBxTAtUdei4x28e+4vRjgMNkOPiT+gVf HYaw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=8xju9nW5aEF63Pcv0lMb3cbBthG2ZJ9khtPEmPPr3uI=; fh=fPo7eEFKbXImAcaHhd7D8fb9yzaRoLs0ewQ9kym8hi0=; b=TPRCtw0sWbHTdFcwAw3EiJ2vGcEQ3K3+a0mFAkEmUszvNqT9JT8YCT4lSiI2z9YImG oa2lpxggoKJZXLwiMOzcqbfwjIAOoNJ/+GIY+qknNPfng99UKDF6QzBL86BhFm1eAAE2 eHkMhTeXz4ig0wX+bPHn/g3qYyud/gz0iuTqq1EVnvEqFGHu8AiXI46j1dKdI+w3VBPL zZjotXQSb9gR5ojCUNprESp0SN6XnzZeOCaX6W4gsDieFc5xTmPsk3ZLwHkoiEjbZkr7 VD1uLOrzlWuLmUSrJ65MJ186fW0wtoOJg0ZIbCOL8GiGy87+uRli4ngma7d9dBNsM6QM pA5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=j9V9qBoO; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-195553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195553-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1a7799cc6si1736825a91.124.2024.05.30.07.53.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 07:53:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=j9V9qBoO; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-195553-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195553-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D87CFB22F70 for ; Thu, 30 May 2024 14:52:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2F07D17D89A; Thu, 30 May 2024 14:52:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="j9V9qBoO" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61BF017C208 for ; Thu, 30 May 2024 14:52:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717080760; cv=none; b=lCA8vEaIX0JHch+eGe2tOZaICoorHwp7fn6qZ+ATVq0YAVtSDXxBAuT2ImfEuZx6BnwvVarIMI5w+DE9PUh00FOcR2nyeQEmPfnE6dACKxRhCKMlO2LdrLcRriuB37r2S8vQcqh2yFT3rE8mNZaV0sFpy41/cKj7+QxSH5id9tA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717080760; c=relaxed/simple; bh=qCr2fwCZCC0sZAtQMrr7v5keGCDnI6ZBVcUAOfpdlSo=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dE8YRwmic81pooXCPh/uc8qmFFOBKLn3pCprt+BmKIyHPLpPZLKVPgCdMiPnb7opxakv/dEvvsWcy5sohFy5urfEMty5wAS6uxPmcpbcY3GFFttVPY7Drc5RoYt2zK7z6UfRV8CrUhZAQcgvyN1q/mIfl2ALvF4QiRqNKVflSKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=j9V9qBoO; arc=none smtp.client-ip=209.85.208.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-lj1-f169.google.com with SMTP id 38308e7fff4ca-2e96f298fbdso10181691fa.1 for ; Thu, 30 May 2024 07:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1717080755; x=1717685555; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8xju9nW5aEF63Pcv0lMb3cbBthG2ZJ9khtPEmPPr3uI=; b=j9V9qBoORQqeS3GKArPqvCwjBurBaovpjLhdWtece1aT1WlBuhmztHTGSAemZaMT2X F8mWXa8evU4eSXTREfPIXJJsluCy14HXoVNVZncmRzX2Km0KOM0EJ8SZ1rXOWYUsUJhX d9ErEkms/QWb3z9Z+ddqFeJHIgn1a5+U1ljG1fInmJaQCOP/ZZV7bE5hosRmZoJoJlWx ZYanWnoF0KN62fT6m7pz4l+LEeI6ca5Gsb4ykrfLJ78LLITxvCUtOhJOPU/Ihb2p2fpI Qq745Jl79/LpPpg7jC6a/U8XhXJU/+HX7BSV9lg9jY5rPwJ4LIeco8MGHnO7L9LYKnH0 uipw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717080755; x=1717685555; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8xju9nW5aEF63Pcv0lMb3cbBthG2ZJ9khtPEmPPr3uI=; b=ZqJ+3lwwSyqm5F2o84kkmxGEjjxuSy6JFseRMwR2nYNzpAwdmsMm/aAoPi3PTtO4I/ eDVrAajx3M9+o4W9qgeug6CUPm+v8ls8e3ywVQsQe4z4YIJTVKWMh9z7M+fBA/wR0KJC wRR/NyX8A8cBFi6q0dg5Ft52O0YK5NtrYPI9vh2RllxRSYzBG9EwPajrfm/6U1fd2/FC 6NlwGDlRwJvkfZ33WBm4OiXGQ4qsqD0zVHetloHR9ltVbqVMc1jr3WVTktMG0BOa42RY X1PiqB2C+eqSIdfNPVJqKdwK698XzpVSrxWYuE0ERSdAq+A/EdpnUxESXMODyroeVMyp ztjA== X-Forwarded-Encrypted: i=1; AJvYcCX00JEJ10pi8+ETIk+oKGQCss2wSPatDLQOJPtxzhmn/79nsBEBux4AyhJNCwOlh0ZfQCwAHXCgeqd6CFJn3pvBesiQNG4dylJMhXRL X-Gm-Message-State: AOJu0YwHdwThKMChsQpc8NLeYMzka1Kn/rtVW54FS5VvBP1oLge9bVz9 vw8018/kTsKf+fTsweOigB1V+qkkUnRqk6FxQfl3C1yl/CdD12HaGzlSIRiqsP4zZwC8LDgxdj3 HJjoMr/GL5HweMOs/5ehhkvhlKLEjt7mBYXY6fWD5+iZUScDc X-Received: by 2002:a05:651c:224:b0:2ea:8e94:a2f4 with SMTP id 38308e7fff4ca-2ea8e94a54emr2778791fa.21.1717080755423; Thu, 30 May 2024 07:52:35 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240529-dt-interrupt-map-fix-v2-0-ef86dc5bcd2a@kernel.org> In-Reply-To: <20240529-dt-interrupt-map-fix-v2-0-ef86dc5bcd2a@kernel.org> From: Anup Patel Date: Thu, 30 May 2024 20:22:23 +0530 Message-ID: Subject: Re: [PATCH v2 0/2] of: Fix interrupt-map for fw_devlink To: "Rob Herring (Arm)" Cc: Saravana Kannan , Marc Zyngier , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 30, 2024 at 1:29=E2=80=AFAM 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 fro= m 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(-) > --- > base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 > change-id: 20240529-dt-interrupt-map-fix-a37b9aff5ca0 > > Best regards, > -- > Rob Herring (Arm) > Works well for RISC-V, Thanks! Tested-by: Anup Patel Regards, Anup