Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2546606lqb; Tue, 28 May 2024 03:28:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX4qRM8ojhYEqSUS8mRP+6c8dp1oJXbrd3ViPzH8bu6b3Q4ZSbbQPyzZpqgUYR9RJ4fgqjvRJoIlzgSrqdDzQNRZaUMG4yyUYY+UEOaaQ== X-Google-Smtp-Source: AGHT+IESpIWJdM6I7c4jwqmIEqs25+z66aYJq3IP9MOVSJRRDLAHPzFy9xQpieEKB3EhxX8VQpj6 X-Received: by 2002:a05:6a20:9f03:b0:1aa:6167:b6d6 with SMTP id adf61e73a8af0-1b212e20d21mr14224930637.42.1716892118831; Tue, 28 May 2024 03:28:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716892118; cv=pass; d=google.com; s=arc-20160816; b=091Pmly3F0JWu3LLU9raz70u6huzp81BFMyJhw/HIy3PW1NhLVuKkwCyvVUxfHCrYU cp7OzI8MzAZMDFoJamjFZxlJV7De4/5Qq9jjT1S7p4aHNeXCsZaQ+b39o1TjQkiNsajX 7KwYT6LMwhsf0rctMtT64B+YObLYAo/Ufyr8wEVKpJ38fYJmf9fwkoHp/4lA8A+XvcHw jqkmxK8l3DyOkhM0nP5X4nD4ph2oJJ26hjGJexeYxD/ZLbym/xi4XhUwKxgnVBleCABz T1wB+U2/coaZPmUCblnbI9S8IoXmCD3KZJSag6FlMI41ZXUpwggMrQEhS67tEfpaoxM/ x2Sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender: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=O36LPsodbr+2D1LuW6n/mh2TD3fN2BTOqCrbAVe7KjQ=; fh=RktZsMmkGywU8fmT+u2zPGIOTtp6sgScVEHHn8fdWwU=; b=mYwKfY3UGiJzb3HuK7xrgrHN8BGOLo2fbFipDxbsLcGPScQE5iKSmXRCZEWcQftPIy cVzpqfhf3IfuolVV6xPRvckA0naZrNEayTrDFTeCDSmqNEk3oI6DO5ZbS99sApXv2B+2 aW4olP9D6hLXhLs7G11SB/tU4vNaINnzVBgDorF5n5KkGsAiiljG4iq17ATc/DaZpOO0 s7n0WvPrtumJK4mu936/bp5QfE8QEwtFLU7ZyVNbbEjj1VZ4hJo+b2kMiPAvSisd4wOh ea3bewrTsS5sRYU26cbb+uMcprmkAV20Y4EVub/Jx2zln9eRSd4jCMdH3563NZiE1ji/ YbNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="gDfb6/La"; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-192108-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192108-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822946bae4si8108866a12.574.2024.05.28.03.28.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:28:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192108-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b="gDfb6/La"; arc=pass (i=1 dkim=pass dkdomain=armlinux.org.uk dmarc=pass fromdomain=armlinux.org.uk); spf=pass (google.com: domain of linux-kernel+bounces-192108-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192108-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk 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 66408287D92 for ; Tue, 28 May 2024 10:25:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C357516C691; Tue, 28 May 2024 10:24:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b="gDfb6/La" Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [78.32.30.218]) (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 8F03616ABC6; Tue, 28 May 2024 10:24:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=78.32.30.218 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716891886; cv=none; b=UYPT/bDPCA0/QZdazJiAfPyRF2izdmym93KMGdoT1wKQ36ZC7j0hYOuigVmrY+Y7nFnusTS2Cm2lR33ChB2JGSTh9fSA/UT3L8oiyGJntCWNKrZo24rhvlk1du2SMpWeLJyBcETFG6feUG/+C9VNllGzzbJK9xnNRHAskqeHkTo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716891886; c=relaxed/simple; bh=D/i19GV6H88/mxlwtG4orLNiK9ojQnMQDqlOwTWuQU4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OsRhKTv+aEvScPPqnmY79bvDzETwcjNeGmrPJ+6kE+Wa2hNptF03MRGOXELXAK3XP9iEznwY1zECidzUiDeguWCYq+6W9myVDXlf0xRLB9a5gM0YDZfvQwV+LeO2dyacHeGELfNtCQtgt8lCORbrD5lCMDhTU4J9wgmr4QfKkrc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk; spf=none smtp.mailfrom=armlinux.org.uk; dkim=pass (2048-bit key) header.d=armlinux.org.uk header.i=@armlinux.org.uk header.b=gDfb6/La; arc=none smtp.client-ip=78.32.30.218 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=armlinux.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=O36LPsodbr+2D1LuW6n/mh2TD3fN2BTOqCrbAVe7KjQ=; b=gDfb6/LalxU55OpMYkI7ZZw5PA pa6zDAdGyYDPpF4jr1O93jiILKaH6JB0fDzzYMMKoUz2JDGWJHsTVelvgnDjpcIhYRnFaQTHR0lrC 9YEaI3enubY6Aerfr5oFRqqGQZXkQAbjDJ2iirS1PX1GstNNEq4n6jF1q/KisjnxOw77yYlvXNSA+ I/nwWk+1JIT4hDHfREMujDorQqroyelNkYEtFLFzs86KcCPmBdetpOBeigq3A3AbtDU6jDmRSwO5z +pjV1gqtMRhzuN/VKM1XN0QuKCtwU6+w8dig8X9OR9EG43+NDArukdzLifVQr8okHRnXuAo5V1f8L snrqv0Rw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33096) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sBu0L-0004cr-1n; Tue, 28 May 2024 11:24:29 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1sBu0M-0003BW-RI; Tue, 28 May 2024 11:24:30 +0100 Date: Tue, 28 May 2024 11:24:30 +0100 From: "Russell King (Oracle)" To: Serge Semin Cc: Alexandre Torgue , Jose Abreu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Maxime Coquelin , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , bpf@vger.kernel.org, netdev@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC net-next 1/3] net: stmmac: Prevent RGSMIIIS IRQs flood Message-ID: References: <20240524210304.9164-1-fancer.lancer@gmail.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: <20240524210304.9164-1-fancer.lancer@gmail.com> Sender: Russell King (Oracle) On Sat, May 25, 2024 at 12:02:57AM +0300, Serge Semin wrote: > Without reading the GMAC_RGSMIIIS/MAC_PHYIF_Control_Status the IRQ line > won't be de-asserted causing interrupt handler executed over and over. As > a quick-fix let's just dummy-read the CSR for now. > > Signed-off-by: Serge Semin I think it would make sense to merge these into the patches that do the conversion to avoid a git bisect hitting on a patch that causes an interrupt storm. Any objection? (I'm now converting these two in separate patches, so would need to split this patch...) Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!