Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp863657rdb; Fri, 23 Feb 2024 02:23:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW+IiSEVWTcoOIAoqzPDiG5Y9eceU80qM+RunKWmVUb7HMjMyHzvv/mW16A9UM/MYVbRZlq69mXYKdhFsd4SkChiOkUwQhoUhil5ItbRw== X-Google-Smtp-Source: AGHT+IFBzgrJEXXBwwNhlsy6rUew4+ftiWyQsatwWES5WDFGSvAhmkXgHlOPBb+CSELVuzVkNE68 X-Received: by 2002:aa7:cd63:0:b0:564:21fd:2710 with SMTP id ca3-20020aa7cd63000000b0056421fd2710mr842228edb.37.1708683792300; Fri, 23 Feb 2024 02:23:12 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708683792; cv=pass; d=google.com; s=arc-20160816; b=jciphICk4OUyjSmpDYxi0lF7I6gSCXQS/OWpwCzqqtp0nVqjOsJcoSCcN6E+zvWc6g jbDZz9scklwivszunEJsYm2qXSyII4RtXs8f/A6Ap6Ks3LnZQTZl/kd7W6v+BJzv9P2r EOTLVhYKqudbs8VlLzg4bnUsT5Qx44/TkBlTkQWVu7Wk/QNNojd6HjCvK3ABg12PIWeV oeO2VHBmulDQb5eqGa6yn+2IB+aZ3VZ4SR9EW0LUF003PcWCv7nXoibN97rDcqg96V7X RRYSAovJd6+GersFxKfeMIWlkd9XGT6A32bZEJmoO6gNme/n61CP7RaoO5a0a6o1lfTK J8QQ== 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=ZoO3Xw3beBfOH2K4b6ClmDrpMhFy7CJvowWF4KEavmA=; fh=XSXHCwfeK5VHt8DQKb8G2IPaBg5e4fNsT/FI/dF+zQA=; b=T2+U7TwzN5HnqcBHGlI+ZeP8jYwKta9ex5LrwenHRlx12AhnGScJ4F4oHbMYA8luSm Ur9QhI9mSllgB+n7IMfqYWhcq04cpwrt0QG/0HfzO6hWq0EUTw8CqDB7an++wC5VAR/n 4qFwgNkF7HbirryIe73tJ9tgQLcJu7nE7QW7q3/OLMXLlta1lCa5wGFURhz8nmdY1ysP JGzqU4vW1arOii/xz5O0Zv2RntW2Q11pB5BqzfNBM+jdVT8X8tT9i1SBEQj1KNAHIyRv WBkTr4gXasxhDsd5+N3wpuSiVJ4CDlOj7seUTxYLy7dRW3wtDFs7qA53Rv+WZxwu6Z0L YJnA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=dKYo6Jl8; 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-78117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78117-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 n10-20020a05640206ca00b005640187e833si5902890edy.252.2024.02.23.02.23.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 02:23:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78117-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=dKYo6Jl8; 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-78117-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78117-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 DE7FF1F25D8E for ; Fri, 23 Feb 2024 10:23:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D962B5CDF5; Fri, 23 Feb 2024 10:23:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="dKYo6Jl8" Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (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 228AB5C916 for ; Fri, 23 Feb 2024 10:23:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708683783; cv=none; b=VlZe7Evp63wK1IKjcDvYytxUwF9GndRZEOeesk7vEBqAdQxDiubCvxMvBFBXJj+NKlyC/iurAYaXj7DJeDyRjTSY9ElBQK57+dnQ86nDpoSL52QCcpwIPNJzHP9TyOSkIDeu2m2yLhLC3OWqocG6l257o8N4GitEHHeGRoDcXK0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708683783; c=relaxed/simple; bh=gS4hVnZ6yHIJe1VRdjsJBQZAc2NyhgeEdWUc66p/3Uk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:In-Reply-To: Content-Type:References; b=U5kssRew2FCbotsvyP0q+5jPXLWXdexg4HJZ3JK9k1oGxyyM33OcIMkmfpqyc6nX8l91FsqrIf/vMaGou7huV8Aj4w+5Bpsz3Cr5g78ctSEt0y1OUm18IS8+hB+PadkM0OlG103yohgMnaNggQUbJOMmyz5a0+5Oo7MXHGA3L7M= 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=dKYo6Jl8; arc=none smtp.client-ip=210.118.77.12 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 mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240223102259euoutp02eea6c0830a78546f6f19d261ab8af958~2dtgaykNr0520305203euoutp02C for ; Fri, 23 Feb 2024 10:22:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240223102259euoutp02eea6c0830a78546f6f19d261ab8af958~2dtgaykNr0520305203euoutp02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1708683779; bh=ZoO3Xw3beBfOH2K4b6ClmDrpMhFy7CJvowWF4KEavmA=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=dKYo6Jl8RYbrO1Rlbxo6SZ7VFB1AS7yc1k5mVBV2jf3tgaS4Vnst4aFdkZZC0Qy2l fjG0tM5AprcHq9XmptPrKQ52oPsGgk30P13THwyaW7O7hcVvkQoaEb7mzrV7CtJYEl CwF3ZL3B9/2sjnMrYCuparmte3YV/fjZLjSV9Ifw= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240223102258eucas1p1902f3cc38815751513a8ae0f71831059~2dtgBehQa0375303753eucas1p1q; Fri, 23 Feb 2024 10:22:58 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 86.D2.09552.20278D56; Fri, 23 Feb 2024 10:22:58 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20240223102258eucas1p119f38e40f769c883c0a502e9e26be888~2dtflWkNh1871718717eucas1p1L; Fri, 23 Feb 2024 10:22:58 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240223102258eusmtrp24d7c0f8b76d3bb5b36c7edf81c4d8f0d~2dtfkiTaw1303513035eusmtrp2a; Fri, 23 Feb 2024 10:22:58 +0000 (GMT) X-AuditID: cbfec7f5-853ff70000002550-4b-65d87202dde3 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 02.E4.09146.20278D56; Fri, 23 Feb 2024 10:22:58 +0000 (GMT) Received: from [106.210.134.192] (unknown [106.210.134.192]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240223102256eusmtip2a43c558aeeb85bdd1a05aede28ca5078~2dteXDeEb1205012050eusmtip2J; Fri, 23 Feb 2024 10:22:56 +0000 (GMT) Message-ID: <481aa3b9-55c2-4ccb-bb4a-58b924d77ad7@samsung.com> Date: Fri, 23 Feb 2024 11:22:55 +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: 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: <20240127161753.114685-3-apatel@ventanamicro.com> Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA01Sf0xTVxjN7X197xVXfBRZr+BkqYrRIWjU5Bodk9jMt/GPLlsGuqEdvACh FPJqlbFsMGEOKnOiUUrTIQYya7Uwyg8pDMeajkadtSkZEpCQCQTpCv4ANwSBUR5u/HfO+c53 z/d9uTSUTYnD6QzNMY7XqNQKMoho7nxxb4uI7+G21v4YhXvPbcRFT8bF2Oh1AVzsfhc3PbYQ +Hq7W4QvOd1iXOGfJ/GZR39CbBvsFuOuVhOJmyeKSGw33RLj0a5SiE8ZV+Jv2p0U1jtmSVxu eQRxg+0C3BvKdhfXE+yFmd8J1j86SrB2Yz/FVtl0rM1SQrIPun8m2XG3m2IbavJZb+F9ip19 0USwE7a1B147FLQnlVNnHOf42LijQeme6ogcjzT3+ZXYAnBxhR5IaMTsQM0lY4QeBNEyxgxQ n6eTEsgkQF9/d3KJTAD0rPYy+aplvNEKhMIVgK5WlC2RpwC1eQdhwCVl4lDbMxMVwASzAf3S 2EQKegi6VTFEBHAYE4kGeg2LnlAmBVlH6hcxZOSod+iSKPDoKuaOCM2caSGFQiVEZR1bAphk tiH9mH5RlyyEPWm5BwVPJLoxZoKBZsQ8lCDry0kozK1EzsohsYBDkc/VSAl4DZq3C2mI+Rag qpmBJXIWoIKRXiC4dqMH7umFOHohYhOqa40V5HjUZr5GBWTEBKOesRBhiGB0rrkcCrIUFZ+S Ce4oZHTV/hf7q8cLzwKFcdldjMv2Ny5bx/h/bhUgLEDO6bRZaZx2u4Y7EaNVZWl1mrSYlOws G1j4nHfmXM9bgNn3NMYBRDRwAERDxSqpN7OHk0lTV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OLS/PS9ZLz czcxAhPFtmM/N+9gnPfqo94hRiYOxkOMEhzMSiK8l7JvpArxpiRWVqUW5ccXleakFh9iNAWG xkRmKdHkfGCqyiuJNzQzMDU0MbM0MLU0M1YS5/Us6EgUEkhPLEnNTk0tSC2C6WPi4JRqYGpu 1nLLOGEsofI6ckOXv+n5VfY3fzrknLPYvSvzYM6Z/a81E3jdP73aEzzZnXuNTbDwykl7BOdH zSpW/zdLUNQnO7BM90JNyvGYz6fzt/xcWvG+YJn9harL+j+mPtH7tvLN/UXHJzNWZszpTdjx QsBryn4m9xB5Pz7Nue9O83PnFLEH2lgGBc0JLtM/8NrRUP3FjK/1Z3ZbfqsOnDlrpuuvyr2F 08Lal+o3rNVJ0P+bfyRhtcbfjQXTnrIqCH13D13G/VRwy9P3BtUs0jHJHx6kHvq2MvqikJLJ rB//F35PMEn8srjTeW6nt3WQdExJWYiHj/2Zw5t3BXxYOKlgwcmWnHzHl643U0yay5nX+Cix FGckGmoxFxUnAgA2lDDwnQMAAA== X-CMS-MailID: 20240223102258eucas1p119f38e40f769c883c0a502e9e26be888 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> Dear All, 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); Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland