Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp576887lqs; Thu, 13 Jun 2024 21:34:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXswrcSj/pHpV2JNKYngd+5YPtjt4elvg/GKRz0JjOn4aqk6XuRlRwz1kOuibavTwIMbdU81bj4f9iw5n3eoRPkT+r81AuG2pXq6Dr1TA== X-Google-Smtp-Source: AGHT+IENKBeBbKl9AG9EHK5dDGV13mpCwerjqtM59fDU7YxbCywsMYPce7emkYveMBcm5UNqC0Z+ X-Received: by 2002:a17:903:234c:b0:1f7:13db:528c with SMTP id d9443c01a7336-1f8625c0576mr19459005ad.13.1718339668952; Thu, 13 Jun 2024 21:34:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718339668; cv=pass; d=google.com; s=arc-20160816; b=RlmRG+MJMtXEaIHber1oJm9R3VjqFza3oq4UEc2JddP/65Mp2t7fiWwl/OTZ0cUs/9 drUE5nXhR5ivl6U6FgJu4pGESwVuXvfeNUfmRERV+hlmB0uWfRqcYuJlVpOSAt+Q0d48 vUalDStHmZ3tds7+zwDJeYaCx45wDjIj2vMzA/lI4WWr6KnEikpB0j8dXD44Y4DlgBgq nRwiSe+5XakRSERklXZBK94EOg990CxcxcPPYZC9/ltWPwGvsnfKUpfwRv/QNaRgaxBh EL12av9koSfgSKvyOsNra+Uo7+VAMiK3Oe5T6y/nJQkHA3ZUQ4VZbSJnrvOmL2+vWMEr YlSQ== 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=2RZvYmb6OILLTKXitQvFZfYiiec4lsDgdLiGTkxXcH0=; fh=JMW6FkLZ0Jpjc/sXu8OZtIAy9ZX6Q6M2rb/Iq89Wf4o=; b=uwRfzMNUwPexomehsoy+F9PdoOxrX8xmjGzSpG7C/FXlHp3PeE9LPkccP2Evqex4XO Z+fQ9L7goBjgn1DBIgWlRPEaaz4DHgUJmDJJWPxCtc3Y2JGfuyLhHliSaTxOSsJXT61y mJU26atU3rvRTBP+8OFfffjDdfiD84lrl9sCyJHzHIlgi33h0IO+zwKn1SuPw8OsqIEA ce08/pGQn0gzp8DUR+4zAp/ucIFTZ+H85hgGI612tioY0u/V4itKfcX/4BDeVZNdwMP8 JSa1w7wK8z5Pn6g88zQEX6fYBFseTDM2jg5p3y0RymZI2ZWYJBIRsdKywJl1xqNB4Lxd Kshw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=QWLKlybd; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-214339-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214339-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f855e3a204si15611335ad.3.2024.06.13.21.34.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 21:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-214339-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=pass header.i=@microchip.com header.s=mchp header.b=QWLKlybd; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel+bounces-214339-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-214339-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microchip.com 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 96B7528436D for ; Fri, 14 Jun 2024 04:34:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 743A3146A83; Fri, 14 Jun 2024 04:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="QWLKlybd" Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (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 809F48479; Fri, 14 Jun 2024 04:34:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=68.232.154.123 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718339658; cv=none; b=Hl4eAxZGb2ljfh6pRkfzHeDYcHRJpBZRehJ0wV3A0t2RpGCIZoRZRxbyblSikCRxxWMYjJE66swC6+iyRh833GRcRLNxkxyHZkaq53UTdFO2bpPdyhwto5EfI3HfF5xsrpP2ZprDZxkxR2LGFY0I4ucy6WHGuFBB/HtDZ9QlTAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718339658; c=relaxed/simple; bh=6oLS7NlxzKsN5itD6m/GaOkmu+FsXpvr3txVhSx2uN4=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=fl1PXoNDKuXq+blzfbgBOa/ElMGInj3eX8r+dN3nswZf6WdiohJlc3lPE711xep8TJQnjBi6IfNTwy+snmcH4eaUbFQhg4qB69GnGTtctI9MHO3aEL5Vy/B9mJx6NjcDaVYuGiEutuW2+HnTomWmflED86uk1duY532966Mq6/4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com; spf=pass smtp.mailfrom=microchip.com; dkim=pass (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b=QWLKlybd; arc=none smtp.client-ip=68.232.154.123 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1718339656; x=1749875656; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6oLS7NlxzKsN5itD6m/GaOkmu+FsXpvr3txVhSx2uN4=; b=QWLKlybdB8F0TrywFKHfjSIunVhwGH5O2YoSlgd/6fZL41RLmIqaCTAL aj95ZaxEMuZiHdsO+vCzOFDUDYPpsO8m2JT5/lzGbOYuT+eMdp1rRcPs3 c0xDzOl7Jw6IKVTQtbdJ11YA+VaDPinUTRDUg6xkdQLQI7GF2QiGBiD3k 3/fGdQps8HfcpGm+oPIhQUmB/GCAgpk8Xux98htu64V7a5x60P3NPq/em T+gRh0bzzN/JvxNGrjK5rBKwDfwKUmI5a3v44xnGVh8ipC65kil8E1Ads FjSjJi+2eYBUgvTN6OvgNSNlzbGa1fonD1s0QVtwVHSvgWx7TXHqIe3Wo w==; X-CSE-ConnectionGUID: bLxVCISsTUiZ12rdpwUNiw== X-CSE-MsgGUID: jnaoROPnQyGXQjHlrCKWBQ== X-IronPort-AV: E=Sophos;i="6.08,236,1712646000"; d="scan'208";a="194899419" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 13 Jun 2024 21:34:15 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 13 Jun 2024 21:33:45 -0700 Received: from localhost (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 13 Jun 2024 21:33:44 -0700 Date: Fri, 14 Jun 2024 10:00:58 +0530 From: Raju Lakkaraju To: "Russell King (Oracle)" CC: Raju Lakkaraju , , , , , , , , , , , , , , Subject: Re: [PATCH net V4 1/3] net: lan743x: disable WOL upon resume to restore full data path operation Message-ID: References: <20240612172539.28565-1-Raju.Lakkaraju@microchip.com> <20240612172539.28565-2-Raju.Lakkaraju@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="utf-8" Content-Disposition: inline In-Reply-To: Hi Russell King, The 06/13/2024 08:44, Russell King (Oracle) wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe > > On Wed, Jun 12, 2024 at 10:55:37PM +0530, Raju Lakkaraju wrote: > > @@ -3728,6 +3729,30 @@ static int lan743x_pm_resume(struct device *dev) > > return ret; > > } > > > > + ret = lan743x_csr_read(adapter, MAC_WK_SRC); > > + netif_info(adapter, drv, adapter->netdev, > > + "Wakeup source : 0x%08X\n", ret); > > Does this need to be printed at info level, or is it a debug message? Print at info level helps the tester/sqa team to identify the root cause of the wake and confirm the test cases. In general, tester does not enable debug level messages for testing. Still, if we need to change from info to debug, i can change. Please let me know. > > Thanks. > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! -- Thanks, Raju