Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp875254rdb; Fri, 23 Feb 2024 02:57:28 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCdXnBazBRwRXxMExKqMTYWdVEQx1QAwAGcxclqIRHlMOxMR06wK6EepQFJYLCrCgptTIBNKUG5Qzwre46hPKalAyYh5FOI32JzzZCZw== X-Google-Smtp-Source: AGHT+IEs4UqktuXdhELV5Z8mWHUrQYIS+k2VYvAYteFe12Si4sOxu6MhtQaYXZ3NFgWyNj1THJTC X-Received: by 2002:a17:906:1d01:b0:a3e:fb26:fc0f with SMTP id n1-20020a1709061d0100b00a3efb26fc0fmr938930ejh.65.1708685847965; Fri, 23 Feb 2024 02:57:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708685847; cv=pass; d=google.com; s=arc-20160816; b=Fr2olybOcd+qoBhYOwFmvROTXpWwamo+kxtHdHOR68Ta9N67RigDuO0LPcHz1E6GNU W9ZlTqdoonhgehBfxByxvW4hiA8ITP/W9HEi3G7tFrPbCRQGuSKUN3+i00+FVbwyqtTV 5wqesbzL+Fl4InzxXrwdv1zixf2ISNorVbTrc/dR5oDHtxqu/4vzHB2+P6g+4csNMUD6 Vyz/cBDS3LmWRTYyC0UhOb9x5doICeDIVEpynGVidqqtacHwMEih+uktPk1Btt8sT+Vf ewk/5pdGLkL4caA46rXwB/1mxmr/o2gt+DEK854mTNvaTMDqOg6M6bgNLsn1DZc0GGSM bAqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:content-transfer-encoding:in-reply-to:from:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature:dkim-filter; bh=e/E24afCa/A/bTv0FUCy2gEINIvOguyVi4saBrHg1no=; fh=BVySC5OkWI2OX3XUOggmd5beDqz5NIX40iV0qH7V+4A=; b=J5cwf/k8s8ZyiNW5M8t4TJr+GdJG8Vg6AMAL9Bh9euEIjuFYXpKBguPX1JaY71w7Pw 4SPzPlBfLQDQFaH4zo+vYtSvrYDhxA7bZKqwsz//ciXcKfFNRwun8FrKYd2axlHKdExj 7QaY+KaheiY2z4dEQP6bvGFTcqxnIQh25J1rZeXOmZ+4tTdnxn4sd5LZJIBbhTDkisOf U3+71poQcHaQ3jN/cxMLi1S5WiGPRHGtgB/Cce2d5HXVjo+EnU1LAT6z84PikRBwhgbl eY+GZmV4Q9MVQOkTBQ2JQL6pQGU5bMA1lZMfrgh4ZiTkwo3Ay1CQD+fVZwezrh2VTcQz 8aiQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=aglc4718; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-78186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id q12-20020a170906770c00b00a3dd8442e14si5926383ejm.508.2024.02.23.02.57.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:57:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=aglc4718; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-78186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.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 8F1841F24765 for ; Fri, 23 Feb 2024 10:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E1F67AE6E; Fri, 23 Feb 2024 10:56:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="aglc4718" Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) (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 8B79F78B79 for ; Fri, 23 Feb 2024 10:56:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708685799; cv=none; b=giPb1Kl5FxDAgQD76paugfLTmWJAv/9ihauxd/C0MxuKsDyi2V2VXZdvcxB5A8tLAHYQD7g5wMaq89RSonbVjPKRYg/ohO4wDmu40eiZSzTceJ6kUaHo9yUdaFgvW9OEyF3IA4z9GgPbMZ7Cgu0aa4wyLTX6cZgoaSNnEUgN1GI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708685799; c=relaxed/simple; bh=qrN3McwvCu9rwEIzpDsgS0hlMrLgxYrHIHEJwbXfCsU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:In-Reply-To: Content-Type:References; b=c05ghJlUNz7F3cS/nbH9oHGqJUqZ5R9Re9tRgTzf1C53mSvmIEZxIshmQlsZ2mOcZdFWoaGob/6d2FMGMf/bZXpGtbBsPXHHx0CswIM5JojF6ABMObpod7DMUTWrWieObRCZoL7ic9L4s11CgxszZ4UuT42DqaVlpdwR3eOFURg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=aglc4718; arc=none smtp.client-ip=210.118.77.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20240223105635euoutp01b2d3ef68d22c3469398c8f3d46b43c23~2eK2ZKN530296302963euoutp01L for ; Fri, 23 Feb 2024 10:56:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20240223105635euoutp01b2d3ef68d22c3469398c8f3d46b43c23~2eK2ZKN530296302963euoutp01L DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1708685795; bh=e/E24afCa/A/bTv0FUCy2gEINIvOguyVi4saBrHg1no=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=aglc47184CnJvjyCekauqZpB0LXg7kySasr7XA9HPreNWW8OrX/QTsgE69UfmSoey AZquGo1+ArQ0qfYFOrKK7OHRecpkYLlHlEQEefIinfDzqYTIeg1mvCyRrNyhpUARNO AV7yxGaDbbxC3zTVcVrOr29GDZLTYGB4xOWTymFE= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20240223105635eucas1p291b6b5c3a622a07e438cf6ea19eeae59~2eK1_cl0s1016610166eucas1p2A; Fri, 23 Feb 2024 10:56:35 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 39.C3.09814.2E978D56; Fri, 23 Feb 2024 10:56:35 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240223105634eucas1p297a1036cce35099035a1a2921ff09af1~2eK1gpKTH2099020990eucas1p2i; Fri, 23 Feb 2024 10:56:34 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20240223105634eusmtrp1d8e11f7f87825478fda985fcc8ee988d~2eK1edPSu2334423344eusmtrp17; Fri, 23 Feb 2024 10:56:34 +0000 (GMT) X-AuditID: cbfec7f4-711ff70000002656-15-65d879e29e87 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id DF.2B.09146.2E978D56; Fri, 23 Feb 2024 10:56:34 +0000 (GMT) Received: from [106.210.134.192] (unknown [106.210.134.192]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240223105633eusmtip15ed6546f383d516052775f55783e5248~2eK0O5Etl2847128471eusmtip1z; Fri, 23 Feb 2024 10:56:33 +0000 (GMT) Message-ID: <870534fc-eaa6-4da6-9180-a051443fbaa6@samsung.com> Date: Fri, 23 Feb 2024 11:56:32 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v12 02/25] genirq/irqdomain: Remove the param count restriction from select() Content-Language: en-US To: Biju Das , Anup Patel , Palmer Dabbelt , Paul Walmsley , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Frank Rowand , Conor Dooley Cc: Marc Zyngier , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , 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" From: Marek Szyprowski In-Reply-To: Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sf0xTVxj1vvf6+mMWny3aG8YgqalDE2Cdk93NAZIY9pYtcSRLNjeNNvIG HVBIK2O6P2xG1bZxjCgN8KxCJpmurltaLD9HttUORmC1QFah4tDRAe1anBZxjqCjfWzjv3PO d07Od79cAS45QaYI1JojjFajKpeTIqKj/5E3c/roOPPczAyGAmeeRYY/53mIHR0AyOgtRBe6 FjHkumsj0Fd9Xgy1eLw81Bx5QqK6uTs4ck77eWisx0qijpiBRN3WQR4KjZ3G0Ul2AzrR5+Ej s3uZRI22ORy1Oy347mTab3QQ9Jdz5/i0ZWmYoCOhEEF3s7f4dKuzmnbaTCQ96f+WpOe9Xj7d 3nacHq29waeXH7kIOuZMe1P8ruiVYqZc/SGjzc47JCp9MGIgq6LURxdj3YQePBSbgVAAqReg af48ZgYigYS6DKBnamiVLAA43hfmcSQGYL8lbuMi9+0eghtcAvCajcU5cg/ApuHahEtM5cHf Wly8OCYoBWw+f53H6RvhYHOQiONNVDqcCjTx41hKHYb2WUcC45QMBoItiT2SqQUMmqzhRANO OQjY39CHx10kpYTmqJmMYyF1EJr+MJFcOh12Rq2JAKQWhfDU7QnALb4HLl/7ZBVLYXjgKp/D qXDo7GmCC5wCsHVpCuNIPYD62cBqYhec9P69UiFYqdgGv+nJ5uQC2Hv5Cj8uQyoJjkc3cksk wTMdjTgni6HxpIRzb4XswNf/1f7gG8XrgZxdcxh2zQHYNc9h/+9tBYQNyJhqXUUJo3tew9Rk 6VQVumpNSdbhygonWPmpQ48HFrrApfC9LDfABMANoACXJ4tHy8YZibhYdfQYo608qK0uZ3Ru 8LSAkMvEiuJ0RkKVqI4wZQxTxWj/nWIC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R4L2XfSBXiTUms rEotyo8vKs1JLT7EaAoMjonMUqLJ+cAkllcSb2hmYGpoYmZpYGppZqwkzutZ0JEoJJCeWJKa nZpakFoE08fEwSnVwGSlMPnJARd1y+yqhpxryceOt1d4nflyIMdIPee9qkPPhJBj8Z/bsysy W3/Obj064QDDJuecnudG3KblAs6rHvcd9FeTz9/cX8/no6q1LNGhfvIvt081RjKrvE9NnbZw xsMYlV9ffPkO2tX/mV7wXslnitzLe6cEp2ukfp6+402Jl8maSa+6HG9+CZ7Z9z0i6/pL+3XM XLo1y3WWrXvHtfTrHL59DJ0lS3R6Ns2LeX1fXFQs/lSQW+/KdoH95af5Ii2WTVtR5PDoxAHp 7NCLc9x36T3b8zDa9fXjsw9S2jedZZtW6/A8VConSP+9zC3HBQdjQgUV17dJPChVPf8xrPRd 9X2WiH3Ffx62qXbKmyqxFGckGmoxFxUnAgD6KUeIqgMAAA== X-CMS-MailID: 20240223105634eucas1p297a1036cce35099035a1a2921ff09af1 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20240223102258eucas1p119f38e40f769c883c0a502e9e26be888 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240223102258eucas1p119f38e40f769c883c0a502e9e26be888 References: <20240127161753.114685-1-apatel@ventanamicro.com> <20240127161753.114685-3-apatel@ventanamicro.com> <481aa3b9-55c2-4ccb-bb4a-58b924d77ad7@samsung.com> On 23.02.2024 11:45, Biju Das wrote: >> 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 >> >> 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. >> >> >>> --- >>> 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 = h->ops->select(h, fwspec, bus_token); >>> else if (h->ops->match) >>> rc = 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-bot2@tip-bot2/ Thanks! Today's next seems to be broken on ARM64 (doesn't compile here), so I've missed it. Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland