Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp113987lqd; Tue, 23 Apr 2024 17:10:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXGDuZXjUCTCOj+KuUFGUzeFRmoJx3tV/VPe0bJIf+F85vF6agDf/TTkefRWyopz4ygNYvy5lrbGIQLCZAixBpO7d4LTXyp0oVMMIe35A== X-Google-Smtp-Source: AGHT+IGx8vOeU3so8Oy0L5JTK7lyLm1pNCVYl4M8Hy1Dhya2MsWC3hfPzsCe8fr3DpnkK/u3gxf6 X-Received: by 2002:a05:6870:9a85:b0:22e:b382:8b87 with SMTP id hp5-20020a0568709a8500b0022eb3828b87mr978546oab.41.1713917435939; Tue, 23 Apr 2024 17:10:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713917435; cv=pass; d=google.com; s=arc-20160816; b=O92hF0UaSYJL0lvI2BCv1ooP1gktiYDx6dZj3oVTsekDraEjTRCzrfOWUBCl5KYd1q OaG23ic2DF96FL7KfPbyELntkfKQiJL2g7Ph4AubdaK05UkfKiLS9vkSna+xrfOrj2BS F6sNsFBKh4R0hmSCGXaX1e8duaPfR3bZRn+S0TbabihxCfV3GFcHKAa2JAMH9mz26qCn V12SH7XsJoFIQPe+xrsZoYgduX3P00DwMncxcv2kkxmET/YCgbr3svzObHGF3+7eTIVS PnT4sBWBTRhh6OhX9Ol7dKUJHHhCCHDqOffzBT9Otaw1FKhK+B7x0kY4hadGmV8pwteW YoJw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=pzRCOhxxTMceX5xt8k8dO7gOOB7+2i2mEsUZDbxon5k=; fh=iT69aLAFCaAL1ECVELFGqnZRVt9iikoJcvzeKR1Ry4g=; b=wQQdtCoFu3Sn86MO17gmJRwd837VH1GQsGnRW2Q7+xQXlwnDSGCOnkldHtX+U4iv8X fznrsomRiyVodA2bAW0YGtl+/EjZz7tkCMys37xiomLRBPFFI9Wpc+zOv/tcBJsDnDxj Dtn+SP5N4nJ6ddypJ3SrJKIrtT7K161E9ArgXx+QATDM96s86nNwP4X79IdrCMtP9/Gh cCiVQf1unVw30ZpUkPlConPgf1Jc0tzSZjGJ3AJfHZ2XKFewI6LqIoDXq59nC4MF4FHc KQyyU0swo+HXmIdhSwnfTczYxtGRIFjBN/95hHBufyIZgpTVzIHbh2Csos3CFaQ3iwef Yzwg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hqZI5KMz; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-156048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y10-20020a056a00190a00b006edca2e0f0csi10678029pfi.389.2024.04.23.17.10.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 17:10:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=hqZI5KMz; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-156048-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156048-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 897D5289332 for ; Wed, 24 Apr 2024 00:10:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 08A3C2119; Wed, 24 Apr 2024 00:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="hqZI5KMz" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (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 CB232360; Wed, 24 Apr 2024 00:10:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713917426; cv=none; b=YH0XZ8o1auN3g5Tu16gs/2WNOTHeJQqnm+ptKzaFwhMyubojrPFVcGJxVGsWVfi4NiqtHTd6W2YVrSvh2Rt+LHVn45DPzpq9LvKIk1Ht7Btm7LYlj8rRBfGrRtM7J4eK+bpiQxHenvd5vIp1sI/oNB/6c8CBqOO4Ktdg+sjeEFQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713917426; c=relaxed/simple; bh=+e77a+C/J0EbHdPMVlryo4fU+rbbPqxpXXwvZkzEPGo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ivYLN8iotRgYohmDpPk3DrXjWtrfObhTcfnWA2i63wPYo0PRMmgDKvYayLDGYUgWMMkn9w5dX5cKJLNdlEGPYK2KeFvdop4iAh3GFY8fQiLD1sdbha8dFrGHT0qTIT5GDjB3Sg0nGL/iaLDgOS8dDBlU7atv30s/EcRvEQ+dE5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=hqZI5KMz; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch 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=pzRCOhxxTMceX5xt8k8dO7gOOB7+2i2mEsUZDbxon5k=; b=hqZI5KMzeSWaNWG1s3d5GJRN8b 0hCmkgcv5l8RFOYBlcjS5FFJqrEBroviP6fL+6mzI/WSZ7h1mA1XDd6t78s7a1vgb4WrEKJGt8Eg4 KAdfQKksxm81djJnu8GndVcHGGyge0o5Ql/VXEXTc9kxVs61WYJD19PIEsiElQOMWFbI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rzQDH-00DlMB-SM; Wed, 24 Apr 2024 02:10:15 +0200 Date: Wed, 24 Apr 2024 02:10:15 +0200 From: Andrew Lunn To: Parthiban Veerasooran Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, saeedm@nvidia.com, anthony.l.nguyen@intel.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, corbet@lwn.net, linux-doc@vger.kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, devicetree@vger.kernel.org, horatiu.vultur@microchip.com, ruanjinjie@huawei.com, steen.hegelund@microchip.com, vladimir.oltean@nxp.com, UNGLinuxDriver@microchip.com, Thorsten.Kummermehr@microchip.com, Pier.Beruto@onsemi.com, Selvamani.Rajagopal@onsemi.com, Nicolas.Ferre@microchip.com, benjamin.bigler@bernformulastudent.ch Subject: Re: [PATCH net-next v4 10/12] net: ethernet: oa_tc6: implement mac-phy interrupt Message-ID: References: <20240418125648.372526-1-Parthiban.Veerasooran@microchip.com> <20240418125648.372526-11-Parthiban.Veerasooran@microchip.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240418125648.372526-11-Parthiban.Veerasooran@microchip.com> On Thu, Apr 18, 2024 at 06:26:46PM +0530, Parthiban Veerasooran wrote: > The MAC-PHY interrupt is asserted when the following conditions are met. > > Receive chunks available - This interrupt is asserted when the previous > data footer had no receive data chunks available and once the receive > data chunks become available for reading. On reception of the first data > header this interrupt will be deasserted. > > Transmit chunk credits available - This interrupt is asserted when the > previous data footer indicated no transmit credits available and once the > transmit credits become available for transmitting transmit data chunks. > On reception of the first data header this interrupt will be deasserted. > > Extended status event - This interrupt is asserted when the previous data > footer indicated no extended status and once the extended event become > available. In this case the host should read status #0 register to know > the corresponding error/event. On reception of the first data header this > interrupt will be deasserted. > > Signed-off-by: Parthiban Veerasooran Reviewed-by: Andrew Lunn Andrew