Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3040895rdb; Tue, 12 Sep 2023 23:11:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGE1k30JFfYA6dLEKVHdII787olNHrFSXHsZgOEEprDQQV1BCx+KC5sErdiNPczhf06eFmw X-Received: by 2002:a17:90a:8a04:b0:274:4161:b9dc with SMTP id w4-20020a17090a8a0400b002744161b9dcmr1309772pjn.31.1694585492334; Tue, 12 Sep 2023 23:11:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694585492; cv=none; d=google.com; s=arc-20160816; b=ADicJs1lF6GWQPN9g9f7leyhN7uAiOVVkWEoDhJTj0Lq0PtMZniniiKmX++P26JGnY TuWUCVZT9C77OAPbg05hbewIti+5+shdxThvnVJF8vjl5DeddxGmofrJ/Iv65++H6E/x tK3XXG9Fs49fGmeTFADKIW9T+HTOEigTuDW7AIM9zalT5Gth/jiL4bpsLTR06YriRzTt dxIhcV1Pr6LgVDZx7RFqGEsZ0QZTfXc05KCY3sMNvgQrGBg5S/55T4RbUSWa69tb5kiw uMKCqj0n6m7nYGNPl7a4ah9jru2uVknZYvpSyhFqd1o/pEGtq3ZTeEEMsMNa4KJTHqSA y0gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Ns6UnpiLdI2yDe5ElqFkyvCqmhJVj9T5E+dHT+rOskI=; fh=IySK1NIJxFwSBQYGQ2CFWH64uB2XfVAq41B6jTCSVbQ=; b=T1NSHY+LmqFusavRbWPKtgIMnDeVOdkZ99r698yBTMuhVZdNUsDqVI7lFCMnpbL2CC 8aZctYBQv6zGpbxwnLEEa5YueUzXNcZ1Aj5voQG765Y6fE0XMdvfeEC/Dr+UXmrj7XQa z6DK22nH6zTXfwmIyj04NccZgB2zHKpBtagqw7xptSiWGb4vc4pC+YZiDKcL6PjHSdb/ 33P3uQ4dsM+WUZbu/AanB5YdcFrkfYp55uYuQmZcMY0TtGoAqwEakJ5MM5j3kM0UGa5B c7mFdz4y+Ok4z0uOUkablEuzpBqQX06kgDEfp1HXvYx4xT5UM+xH+slqFiZLOs1KdTq4 mflA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=KNpZUYN9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id lb2-20020a17090b4a4200b0025bf45ac365si1003767pjb.82.2023.09.12.23.11.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 23:11:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=KNpZUYN9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 85B33810AF49; Tue, 12 Sep 2023 19:19:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238149AbjIMCTQ (ORCPT + 99 others); Tue, 12 Sep 2023 22:19:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238153AbjIMCTP (ORCPT ); Tue, 12 Sep 2023 22:19:15 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BD601717; Tue, 12 Sep 2023 19:19:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Ns6UnpiLdI2yDe5ElqFkyvCqmhJVj9T5E+dHT+rOskI=; b=KNpZUYN9eD1KrH4e5o1C5msqt2 PKooCLoCoZRoBl8sbPDc7M0HGWjwDPyva6Gs/YBiw4id7IoRee7mmss6sFYKIIGZSBVGKsxe8K0EV GfD8TXWVKgu46iV+PthhYogYeOwZFi4ejdcJwComkGBs93V7kJ04dggruu6sRP0i6H1c=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qgFT5-006Gzf-7w; Wed, 13 Sep 2023 04:19:03 +0200 Date: Wed, 13 Sep 2023 04:19:03 +0200 From: Andrew Lunn To: Parthiban.Veerasooran@microchip.com Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net, Steen.Hegelund@microchip.com, rdunlap@infradead.org, horms@kernel.org, casper.casan@gmail.com, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Horatiu.Vultur@microchip.com, Woojung.Huh@microchip.com, Nicolas.Ferre@microchip.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com Subject: Re: [RFC PATCH net-next 2/6] net: ethernet: add mac-phy interrupt support with reset complete handling Message-ID: <489f7f63-a542-45cf-80ec-f8d3cb7aa686@lunn.ch> References: <20230908142919.14849-1-Parthiban.Veerasooran@microchip.com> <20230908142919.14849-3-Parthiban.Veerasooran@microchip.com> <28dce908-3a87-48c8-b181-d859697c0152@lunn.ch> <2db21ee1-17ba-b7ca-bcfb-110c0f66ef93@microchip.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2db21ee1-17ba-b7ca-bcfb-110c0f66ef93@microchip.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 19:19:26 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email > Ok. If I understand correctly, I have to use devm_request_threaded_irq() > instead of devm_request_irq() and let the thread handler registered with > the devm_request_threaded_irq() function to perform interrupt activity > directly? Yes. I've not looked at all the patches yet, but if the work queue is not used for anything else, you should be able to remove it, and let the IRQ core handle all the threading for you. Andrew