Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp871996rdb; Fri, 23 Feb 2024 02:47:13 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXUatrQ91F++LmFKdm5dzlvH8mO3zR1GAir6EINNeEX7ermwP3MbUOsSqOSbNOkp3uGqJu2+8r5e2f1n4pduS9IPoQ1o5aYpGugR5dGqA== X-Google-Smtp-Source: AGHT+IHef+MK1Yme2YUrwdIiGpk1S7hvRtj54noqHnJ46YHB2gZWuYTTTp4QTG/SmZ5P5zlJzxzC X-Received: by 2002:a17:906:a856:b0:a3f:da1c:ae4c with SMTP id dx22-20020a170906a85600b00a3fda1cae4cmr648627ejb.54.1708685233382; Fri, 23 Feb 2024 02:47:13 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id e26-20020a170906081a00b00a3fe6168249si206369ejd.772.2024.02.23.02.47.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:47:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bp.renesas.com header.s=selector1 header.b="cqORsm/d"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-78173-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78173-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 59DB41F21D9E for ; Fri, 23 Feb 2024 10:47:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBFA7657B0; Fri, 23 Feb 2024 10:45:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=bp.renesas.com header.i=@bp.renesas.com header.b="cqORsm/d" Received: from JPN01-OS0-obe.outbound.protection.outlook.com (mail-os0jpn01on2041.outbound.protection.outlook.com [40.107.113.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E30C95C8FC; Fri, 23 Feb 2024 10:45:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.113.41 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708685114; cv=fail; b=oY7gnbeoPwEeqBsMpTc7F2178D9w31g+pLJGNjE304gDaDZ6i9iVqodiG2+DUXEiGv+792LDo4at+LCuT1aTja68geZacaYmxnP1mV419OV5PnOF1jLNxQe51vJkH4ZyJktI6dzmh8dMYVCL8I+5VOp6Kbb5rPzRe5N2X2f5gkM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708685114; c=relaxed/simple; bh=mojcDBvB1VFVE2FEUT0gE9uicr5Cyqnm4aE31JOLkE4=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Y/ebeObPkH7JElKIMIr2CC/JUcA9YoSBNMoToLqJcjWc2rFuYoyZSfq16iGvJVW8wcB7WEhcsAup4zuX7mn4t2OmZNs0eNrAh0ug8qSiPC54T+nGjpm+FbXq6nVE7k/y7TAxVN0llnnC9kpSWqT9SDZTw3KUtHhtLhNQUX4PiRQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; dkim=pass (1024-bit key) header.d=bp.renesas.com header.i=@bp.renesas.com header.b=cqORsm/d; arc=fail smtp.client-ip=40.107.113.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AZ/jvOSk8h2izqjrx9bprF7In5zgHry4hZ0LmjZa9kT5VvHQAlg8QmvtHQNw/3BJvTXhaGpeBVfAf0T6YKpfzAP2Ah5hiJOpRcFKLIPHnA0zS6uFYl8bT5aGA7EmubEpAXP8pwJLXMrFZRiPpjQBReVcvlmFPvfafEMCCJqJG7iXGWRb8Y8Y9UidSk+LwteU14jVrXMjhwmVMaCh82L1aym0ZZ1kjs02wpwV29EO6FVqHoksIP6535wKVd7YW7CEjviYhKgz2X/wMH2ytC5FK6kQjsT3IWA842akvVagVgbY4mY7N44ZsWtA5IHraQVzXUKJrKhzc3nEJr6BfdCETA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vmX5r69aZxQ30YHKECJj6N6YTw1I/5yfHSVSSh676Z0=; b=TAtmCa06wH15FtF0/y6y1tw+EOrQbG5MW6Uavf3TcpmeZzTrj47KcRPBeNtCm2c0zuNG8BWSeftOgXAYoRlh00I8Iij/28iFuSeAn29pVnctj5D+lvlhUV1vzih4a+pglfUvNe262B5f/QQ27NPjG6AVSJPfHlPGpOuzE9hOJB3l54iV2pFjrWOYxMm5EpLlKNxVYrrdvfkaiaYQAXK0VuKrIYCJvV2wZTedFCStYeTQzRFN//sZ7+/KYgb9LKlFpGquEOgOJAL9Wul1xb+zfMUuYHBF500f3VoMJioxz/RTjZ4cEre11/mH8gKm6qFm+XNM/Sh/SOglBK+FJQNVNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bp.renesas.com; dmarc=pass action=none header.from=bp.renesas.com; dkim=pass header.d=bp.renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bp.renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vmX5r69aZxQ30YHKECJj6N6YTw1I/5yfHSVSSh676Z0=; b=cqORsm/dHE4eDXMLRAHXQtgaagYCn5TSm8Ogi1RwcJNvE5HlJdnIVEjLezwDkCi0M+7MDp0rSgAzZLkEI/620JG8YJ9T+BaczI9o8bJsqWcj12pfwr6+eIRlMos3z529dXZlrfJXetkGZMxQPNcwokWczwiIJLuznhdWMN7/5dk= Received: from TYCPR01MB11269.jpnprd01.prod.outlook.com (2603:1096:400:3c0::10) by OSZPR01MB9632.jpnprd01.prod.outlook.com (2603:1096:604:1d7::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.24; Fri, 23 Feb 2024 10:45:07 +0000 Received: from TYCPR01MB11269.jpnprd01.prod.outlook.com ([fe80::6719:535a:7217:9f0]) by TYCPR01MB11269.jpnprd01.prod.outlook.com ([fe80::6719:535a:7217:9f0%3]) with mapi id 15.20.7316.023; Fri, 23 Feb 2024 10:45:07 +0000 From: Biju Das To: Marek Szyprowski , Anup Patel , Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley CC: Marc Zyngier , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= , Atish Patra , Andrew Jones , Sunil V L , Saravana Kannan , Anup Patel , "linux-riscv@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" Subject: RE: [PATCH v12 02/25] genirq/irqdomain: Remove the param count restriction from select() Thread-Topic: [PATCH v12 02/25] genirq/irqdomain: Remove the param count restriction from select() Thread-Index: AQHaZkJDw9NLoYRbNkuhzQYScggLGrEXvPCA Date: Fri, 23 Feb 2024 10:45:07 +0000 Message-ID: References: <20240127161753.114685-1-apatel@ventanamicro.com> <20240127161753.114685-3-apatel@ventanamicro.com> <481aa3b9-55c2-4ccb-bb4a-58b924d77ad7@samsung.com> In-Reply-To: <481aa3b9-55c2-4ccb-bb4a-58b924d77ad7@samsung.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=bp.renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB11269:EE_|OSZPR01MB9632:EE_ x-ms-office365-filtering-correlation-id: 75d7dc56-a861-4f9d-7074-08dc345c8078 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 871dRNu7AxtUWoynAiipSEyXnzITDK8q0CrDtvdz2zNnOVYLZZyr2h+SQ3bJjxcl3EToFWwPhaYkkYLNscUss8ttmfgn+iBp0Z/Uds9XiikUuWUXYTU9ekwRWJOT9JPGwCcOMMIKImqsxrYiB3GOb1aan2PgvOc6kt3jwIlFK2Ifo5Tgn0cLkU5XKqg6C18vRz8WcwB8ARAEteT/GlqpKNAz5sK9kS9LodHzGQtKGUez5YZ/es2gpWGxdXQ8JmLOn8WoNMeIrJ86DB25aDlKcyHQ/BdciCews4i/3X++kwldrUUQ5Rp+8jhNW3bbRrp0eXS98qKgYzg7t8uwrqLQ88kDF/rDKvboTtK+JtUDQIQkZ+xoCfGYUBPLyVfGap0jCaIqA7cwn8Q4VfI+V+x7Obm8khMwrUEq0l3GCXG9u07cT7nwKDAnorlnYXWLLe78ZMitWPwCMBoAYwYD/0ZjeqnvWVN9uyTeBXlsVdgflXcr0nXvy5yyeqicGpmGhYNxLOybR8W8RRvOFRX/ZQV0/Np1F9INF3ojn53FCNANNboGzWXKQnRIWC5oXrbBF4vkhNvRtzYzGUQp0XhzoNEKIMsHRICTx2xMhnStPfd5GgA= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB11269.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?rvWAK5+UAuBv/0F/fE4g2nsrEYoLXduI/WoldW5e+dJ4PQphHErlqOSOZR?= =?iso-8859-1?Q?A2bnSGTlqbtjQnspMaeutN2sQRnVTV/gsbU5EV6KYkBKAJhLbg45Xg1PtJ?= =?iso-8859-1?Q?9exZfzIlW+pMMP+x4yRVvOENN85O08L3O8qVEttSv/+ysfZMe4kj3/2ihV?= =?iso-8859-1?Q?XRI5TLTAxRz230yULym8D5dSg0OUp8zurpIF8SeXKG2c9nubS42Pr5o+36?= =?iso-8859-1?Q?IRWYJk6K4j9znZgc2dH0wiYkbH/fGgUNMggR9qqVPzELEfYvqYv6Qombch?= =?iso-8859-1?Q?L3qhkmGlLlO63kKW2ONYMiP3aLC7pQy7oLildWE1/AoOlfDshhkH9sQ+Cl?= =?iso-8859-1?Q?FoEluXTNv+bZ8RUg07nz3R8DUjH3iJZY58MduwSJpCc0f5KX+8VDtLsLt/?= =?iso-8859-1?Q?J/N0fAUwJY2ar2P41vueEmgqbTT6Ur8M6qdWmJs1wvTA8zlt50hCHb5RtO?= =?iso-8859-1?Q?OIFo+9XbrWqtsowC2vWP0uhAu0q0rckChg3mCB2lixPT5bsspX27Mn0Q9y?= =?iso-8859-1?Q?Rk0DeYXFsuxK9NkQ9jNmW37zeXYcayhH/4px4JuOMfThFNcHl9lDkALeiQ?= =?iso-8859-1?Q?R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mBXPIZbv949XCGQx+V8kLAs?= =?iso-8859-1?Q?t40VRn+M1leSyoOlkH3ZgVpwwjLAtgUPo7tsRjrhMfYYnCaacBTSEknsay?= =?iso-8859-1?Q?eDVhp4txYJcgWjH+D/ORyjs6zth/+DCTymjlkUry6yTELtsqsDwF3Mtgbq?= =?iso-8859-1?Q?tPkA2EZQAUeq+lmzQaUQdq5TPQQAz+rtx6OGO8nfEgALKo0V2I0l2sXQ?= =?iso-8859-1?Q?=3D=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: bp.renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB11269.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 75d7dc56-a861-4f9d-7074-08dc345c8078 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Feb 2024 10:45:07.6633 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AOPycWWvCT/9kzzX6Bhg93HNO8vt/d2aVVBI0LYuGBfcsBCXu4clt+r7WgOwwJ117RoGFYltIdsSp5kEPWC3g0HDRR72fkM90PKEeTlDB+s= X-MS-Exchange-Transport-CrossTenantHeadersStamped: OSZPR01MB9632 Hi Marek Szyprowski, > -----Original Message----- > From: linux-arm-kernel On > Behalf Of Marek Szyprowski > Sent: Friday, February 23, 2024 10:23 AM > Subject: Re: [PATCH v12 02/25] genirq/irqdomain: Remove the param count > restriction from select() >=20 > Dear All, >=20 > On 27.01.2024 17:17, Anup Patel wrote: > > From: Thomas Gleixner > > > > Now that the GIC-v3 callback can handle invocation with a fwspec > > parameter count of 0 lift the restriction in the core code and invoke > > select() unconditionally when the domain provides it. > > > > Preparatory change for per device MSI domains. > > > > Signed-off-by: Thomas Gleixner > > Signed-off-by: Anup Patel >=20 >=20 > This patch landed recently in linux-next (next-20240221) as commit > de1ff306dcf4 ("genirq/irqdomain: Remove the param count restriction from > select()"). I've noticed that it breaks booting of Qualcomm's Robotics > RB5 ARM64 board (arch/arm64/boot/dts/qcom/qrb5165-rb5.dts). Booting > freezes after "clk: Disabling unused clocks", but this is probably a > consequence of some earlier failure. Reverting $subject on top of > next-20240221 fixes this problem. Let me know how can I help debugging > this issue. >=20 >=20 > > --- > > kernel/irq/irqdomain.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index > > 0bdef4fe925b..8fee37918195 100644 > > --- a/kernel/irq/irqdomain.c > > +++ b/kernel/irq/irqdomain.c > > @@ -448,7 +448,7 @@ struct irq_domain *irq_find_matching_fwspec(struct > irq_fwspec *fwspec, > > */ > > mutex_lock(&irq_domain_mutex); > > list_for_each_entry(h, &irq_domain_list, link) { > > - if (h->ops->select && fwspec->param_count) > > + if (h->ops->select) > > rc =3D h->ops->select(h, fwspec, bus_token); > > else if (h->ops->match) > > rc =3D h->ops->match(h, to_of_node(fwnode), bus_token); This patch looks reverted on todays's next. But there was a fix for fixing = the issue you mentioned [1] [1] https://lore.kernel.org/all/170844679345.398.17551290253758129895.tip-b= ot2@tip-bot2/ Cheers, Biju