Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp99363lqd; Tue, 23 Apr 2024 16:29:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX8jih6vNb3+GT4m1R1Z8bGCKc8Vi0iap8SUGsBJqSAmyxAXASplCOuinluG9Mw0ibL+wLz79u4X0yMxZBv1Rhhw881XrG0g7E2kgk3zg== X-Google-Smtp-Source: AGHT+IFkMce26oKXbQMO0u/SiOGG5cLiwo8iks+svls59PzJqu+RUz0MllCOxvbsrXY4i7Aa9Kab X-Received: by 2002:a05:6e02:156c:b0:36b:10f4:4dc with SMTP id k12-20020a056e02156c00b0036b10f404dcmr1311338ilu.23.1713914963322; Tue, 23 Apr 2024 16:29:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713914963; cv=pass; d=google.com; s=arc-20160816; b=wPUH3WbDQgS+TuV2ou1y+0WAOOuvDj/1mxsO7xDk548g1ILOCFB9DnzmZqfzWBl41/ KWDDdwg9q4ETb4oa2HKxlPZOv1q9UeOzpuBasFmff7yuRcS6zvuCKSASI+23C4UXGYN+ 3E3DgP+NMeBH46HiHtgQ+KIanEDO3g0kGo1i5muDy8mcYjFolu8+WHO3G3AKD4EwvzHp Nee7wMg1y7K61YAr8oHQajLCbprxljkDcBdGURUZ6jgMwbi/71iWUF6j4CSta7jk6soV YbRjQGSrA/2TF4RGPPD+CUidmL/dFeKWk/KBMJs8Zkho1DG7Bo/wrSjLEDAM7gO7rV+y AqRA== 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=2wkn34TJloC4Y8deA3NUhgvA8IvVsAZmbGxActHIjqA=; fh=iT69aLAFCaAL1ECVELFGqnZRVt9iikoJcvzeKR1Ry4g=; b=eCbE0Goc16RXJP702RLK0VwKra6Sd/1AZxPS9/t5oQlzxAf8AwdG6BZFHh4gVnuQZ+ N9FV/17NVUNhC90tHRUU+seIBSifFk2uLyBIiTGKiA8zKQI3Joa6J6C5CzJu6ojDQP6W xhtdbVjUrU6UhRS6auJI6xsBGNFvtrbq5T9Rbktef6+30eticCHqvtWIOxDO8LTfmeAd 5WMEobcJ8KZXAp/40u4iV7I3B7T9d4hlbMUIxoUTP+nx7u4DopUnveS+SKgy6wZ2GGKY vUKwVSuojkP2Rlu70MLEH6wpU85vD+S+d0snT9xoxwrBS/FxhvdWxEOqZrlQPr/kWvid cZww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=oG2uZ17X; 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-156007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156007-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id o25-20020a634e59000000b005f0a5269689si10523157pgl.659.2024.04.23.16.29.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 16:29:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=oG2uZ17X; 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-156007-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156007-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 868D8B22AD8 for ; Tue, 23 Apr 2024 23:28:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB2F354BDE; Tue, 23 Apr 2024 23:27:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="oG2uZ17X" 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 6D78F535A8; Tue, 23 Apr 2024 23:27:51 +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=1713914872; cv=none; b=sVsOEFIYp2kIpMpOt1Sc/b+Vc9LJI2cX+RzmsRKh3GzQawbc6lDMSerf+y0qFpNFpmlgoGfSbgYj/CGEy9gJNUlkb+EM767jq8lWJ+DTXk713nSaBLTE2+UjZkJWWdbHodSHSv22IxZ23Nhzh0cErHJQCoo3X0UUZD9vWEWma10= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713914872; c=relaxed/simple; bh=Di0eUS6WREMzSyk4+6QnDiMIGNndSFqM4RTH15x9824=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e8ppRcWSLv8UGMDqr//TUzy3J8r9ESpLrhfC9RnxWQm7x5MnOAAEvXOCXxMvFS7HRX/x1/pPFitkfl8P5il7XTbYM7ggGzR7qOWtcChki03lkBbNPToszrEMx/1/onLqI2b0trSZQ3l07PPdg45w7AfveAZUseCeD26tBTenL6c= 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=oG2uZ17X; 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=2wkn34TJloC4Y8deA3NUhgvA8IvVsAZmbGxActHIjqA=; b=oG2uZ17Xn75kmR3SkL9E50tdIM hr8ZqQQiFqK55NOlh7LuYZO0sOrabAHSbvBRevbhSFt9iKHyQQdxgayUhaQzzGg5Mqo7hgkNot8Z0 gCWEqrHOjKkWkhoV9W2QEsVq+V0BOUtC1Mp6KO5sRwvj8YHbzYXlupdG/q+xYJcamkSI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rzPY6-00Dl56-Tz; Wed, 24 Apr 2024 01:27:42 +0200 Date: Wed, 24 Apr 2024 01:27:42 +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 05/12] net: ethernet: oa_tc6: implement error interrupts unmasking Message-ID: <307990fc-a196-427a-ac29-0b295bd024f7@lunn.ch> References: <20240418125648.372526-1-Parthiban.Veerasooran@microchip.com> <20240418125648.372526-6-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-6-Parthiban.Veerasooran@microchip.com> On Thu, Apr 18, 2024 at 06:26:41PM +0530, Parthiban Veerasooran wrote: > This will unmask the following error interrupts from the MAC-PHY. > tx protocol error > rx buffer overflow error > loss of framing error > header error > The MAC-PHY will signal an error by setting the EXST bit in the receive > data footer which will then allow the host to read the STATUS0 register > to find the source of the error. > > Signed-off-by: Parthiban Veerasooran Reviewed-by: Andrew Lunn Andrew