Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4443301rdh; Wed, 29 Nov 2023 01:26:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGdpBE10vBGlHSRdCeXmN0UjWYF+SGc9QgXdNxjq8OfbkAdFok6vzUG7zKGZePRPGOejfoV X-Received: by 2002:a05:6358:9214:b0:16d:b1f4:3a0 with SMTP id d20-20020a056358921400b0016db1f403a0mr21411878rwb.26.1701249975174; Wed, 29 Nov 2023 01:26:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701249975; cv=none; d=google.com; s=arc-20160816; b=WRCpwV7rRlhHuI+Vdd6j07t/X2GJh7pVw1wsdwdBVbK8HeMxf1ZtxSu5Ucc9wfOMKT xAQDLP30zbGytopqFi8LlLof2RPvDqXl/kxwE7oxDodZTxTeohBLn+yfhw+gGljHoD3A R9ngJTEtiTZFoCj0CNgunhpUjJYEZYkh+SIjOXJraLGy2HBO2ijuqdcC8AHFJx2OMnju HwqDXPzH9s827j4o4BozfzkWJrdEa20sc5/wgsg+CWia2TfJg93diRA31ccgsCQvV7jl y97IRnhPoH6wwM4n+9SYawtI+mMsOvs+X36z9XddREYLWU4fppLF1I2vpR7aiurg0d9r FhvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=G4bCQrf3b4dFN8whVTh98EHUKTMfE9BJ7Wt9mKQxa5k=; fh=2M7VhQjoutm7+TLSQk6KyKOMKW2hojhjH1KY0cMqkNA=; b=zeQWDN1uR5Qq2e2e+yTNmPLCN1JQiEEcS78FKsaM38RwqNWfQA0dsxSoLD4R+wg7+H 1W3B+54DkM4FrmoGToQBstnNoA4WrGH5CKZXK/E2rNC/0UPewhPlJgN/e/Sx9OGAutGG B+x8ZsSL2b1vr34LsAywWPANPe/vq4j8twcl6QBv3f7Xnw2GIyeoQ0agDMGjBJ5AuWF6 vNv5G6j7xZXE07iyHAOwqS8bqjsxaKTn8YKV55Y02uRV5R/Jd6KRENZAvmuEHlahq7y6 EaK48/WjxZ9go87e53bTWQMk9yrevjfiCIMK4sngapiYnKlThUF0hLOjDloH+DluS4bc /kcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=HVu+f2bE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id g23-20020a63f417000000b005b9083b81f5si14199254pgi.487.2023.11.29.01.26.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 01:26:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=HVu+f2bE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 31CB580ACC55; Wed, 29 Nov 2023 01:25:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229561AbjK2JYu (ORCPT + 99 others); Wed, 29 Nov 2023 04:24:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229513AbjK2JYs (ORCPT ); Wed, 29 Nov 2023 04:24:48 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E15E7D1; Wed, 29 Nov 2023 01:24:50 -0800 (PST) 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=G4bCQrf3b4dFN8whVTh98EHUKTMfE9BJ7Wt9mKQxa5k=; b=HVu+f2bEHnsILXXMm2Duw47Le4 3/KNkNmnz4cHkZVCeCoShtgRTJ95odiiewzOzvLekguui33VTiiC52500bEdrjxAhg9yLME9KENdu dPqUEXL4yc35hiyJs6rqkrvMzwbCt+aWMp/On8B9ThKpfm+Wf4tOIlIpCGP1zmUANzvjB9NHAVtjJ KJzNosIR5ZFmf5X43ISfV9svHUDVj+byX7bBStniuPKs+BwL+8xfDeYC80zzLWrGaxA/9deMb25MW iNlZq3y7biZ01VJNEPx27Uy2NyY7arNPPbIGLN+sKX8XFuyHdVtNL2a1GHEUIQY+56sWEedffuUQX f6YjH/ZQ==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:56646) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1r8Go4-0008Sh-1X; Wed, 29 Nov 2023 09:24:32 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1r8Go4-0003rL-V6; Wed, 29 Nov 2023 09:24:32 +0000 Date: Wed, 29 Nov 2023 09:24:32 +0000 From: "Russell King (Oracle)" To: Christian Marangi Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [net-next PATCH 02/14] net: phy: at803x: move disable WOL for 8031 from probe to config Message-ID: References: <20231129021219.20914-1-ansuelsmth@gmail.com> <20231129021219.20914-3-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231129021219.20914-3-ansuelsmth@gmail.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 29 Nov 2023 01:25:06 -0800 (PST) On Wed, Nov 29, 2023 at 03:12:07AM +0100, Christian Marangi wrote: > Probe should be used only for DT parsing and allocate required priv, it > shouldn't touch regs, there is config_init for that. I'm not sure where you get that idea from. PHY driver probe() functions are permitted to access registers to do any setup that they wish to. config_init() is to configure the PHY for use with the network interface. I think this patch is just noise rather than a cleanup. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!