Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp6455794rwd; Mon, 19 Jun 2023 07:33:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nBcocN8QgZesKT7Tkjawe7Sp7LguTxQ2xaAS70RK29LhMVPz3+E5GFtl2qUmFe8Z7QrbI X-Received: by 2002:a17:902:da88:b0:1b2:28ca:d38 with SMTP id j8-20020a170902da8800b001b228ca0d38mr13371620plx.10.1687185187276; Mon, 19 Jun 2023 07:33:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687185187; cv=none; d=google.com; s=arc-20160816; b=qhsb2x8F4rU7pmeViG2hIfCAfC/se5GYjeyMorwnzQ8ToCJDOE047Lba9879e0HPi2 MELIBpRClAD7/RY3UC4l+G76ImOWtU+yssSTp5TMbdeqmSnBG4DB0qrBz1DsqjVVXNG0 wcx49xyr/07fI8NeG7NEzvwk4tVEBNVmgKScYbbcY0PzmBf8WDV0xeVnXBIR3UMyXpSF yHwDtP6aK3E8agnrdeAkAYJ+uBjLMPTvedFg8JRlW5OBtlWj+yp3OeaGYAivRUsxpJkL gu8TKLkcxHs/Yo+DIrVfpRLfmOVvq3+T2lKA2sPX/KfCQF8oxYdEamwJrrNqR6zcBic7 aUtQ== 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=dauZfH419GwV7AqGYcWLBcBdhZBxvPfNeC7rR2F351c=; b=bLuDLv6pnKo405AT4u/GTcq4H02AT2FjvTOXZ1vx71VIiHrAeiNk3GWzuxErpvz3T0 gHCrGTjKZ2q8ZR1jPKNwRCxzCHAys/mJbSErtfY5iLNz6Rzt+VfwQtSiYeAml554sADw 51QUPX/2XR4SsGmpy6r0CVtOk/rA3cWDLFv+AfJ9+w7mkFmIihgymfXF4wqoeM3W6LOc ECvoV+O2VWUOETHk9JFzY0uZHaMTKms4N1IMArpN1RTcLi9LM1leXdrJrJo/zU+s4soR Ykvwy/q4wy1cAcQLZ1gSB3D1zcQC7bWqIGbNm4odswfVAAR9FjMlN/wa8M8Qy8sjv7si T5SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=sFkdi3+L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a170902f69100b001a986ca38easi6147856plg.15.2023.06.19.07.32.53; Mon, 19 Jun 2023 07:33:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=sFkdi3+L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232081AbjFSN5d (ORCPT + 99 others); Mon, 19 Jun 2023 09:57:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbjFSN5b (ORCPT ); Mon, 19 Jun 2023 09:57:31 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5316510D; Mon, 19 Jun 2023 06:57:30 -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=dauZfH419GwV7AqGYcWLBcBdhZBxvPfNeC7rR2F351c=; b=sFkdi3+Lfzz9qXfd9vmCJ8TUba 7lILW+oC1H6kEitcKpuSYJASswuU9iKQ//y9pEqqXr+cJV38i17uK/MmvqB9uQc9iHt5+g+pJQ+Oz R/IrUHxE1oJPtgdn5/OAcR89LV5nm4oaU0VhqQ+r7hxfn6cwC34joQXHwdwOcICFI/hk=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qBFNf-00Guk6-Hv; Mon, 19 Jun 2023 15:57:19 +0200 Date: Mon, 19 Jun 2023 15:57:19 +0200 From: Andrew Lunn To: "Radu Pirea (NXP OSS)" Cc: hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sebastian.tobuschat@nxp.com, stable@vger.kernel.org Subject: Re: [PATCH net v3 1/1] net: phy: nxp-c45-tja11xx: fix the PTP interrupt enablig/disabling Message-ID: References: <20230619132851.233976-1-radu-nicolae.pirea@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230619132851.233976-1-radu-nicolae.pirea@oss.nxp.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 19, 2023 at 04:28:51PM +0300, Radu Pirea (NXP OSS) wrote: > .config_intr() handles only the link event interrupt and should > disable/enable the PTP interrupt also. > > It's safe to disable/enable the PTP irq even if the egress ts irq > is disabled. This interrupt, the PTP one, acts as a global switch for all > PTP irqs. > > Fixes: 514def5dd339 ("phy: nxp-c45-tja11xx: add timestamping support") > CC: stable@vger.kernel.org # 5.15+ > Signed-off-by: Radu Pirea (NXP OSS) Reviewed-by: Andrew Lunn Andrew