Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp81002lqp; Tue, 21 May 2024 19:37:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVA/QLMedPeNxhVIMr8lm1HkDjzs1G2i07ME/KzuSwgesOgU2b3c7zX3nqjzoA4/YhCwGVtg/nY+L9Sl0/cfYYerSjDmW5JGZcNne2oag== X-Google-Smtp-Source: AGHT+IFZ42fti6U7Py4tp0Mx/ONyXFRbpfPYqMUuOzyekc13vSuVw0tlGZCO1157qvpETdbMNVm6 X-Received: by 2002:a17:906:4086:b0:a5a:6367:7186 with SMTP id a640c23a62f3a-a62281910e7mr27980166b.70.1716345459127; Tue, 21 May 2024 19:37:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716345459; cv=pass; d=google.com; s=arc-20160816; b=vw6olyF6hz0x/bDNUgaPCMwe0mRkGPVNgCcYvtysFGGN1cPVGilVYPPc6QfRypOioQ gaDOKJPfe8zw1nixc94T1a8dASogaCFhUnRI8ChXvLIC4si5rn78R7wzUPJVe/XQQThz 0wKwJ/bRc2zWZf3K7F92CGBwSfnBgCB14m9tpWiP5RPhkmLjfOCzY7QbmxhSUpsIi1tD 129F2abkEyJmRIpzKeWHHPB0ZE+jeVNOzbbNJTSuQiKav1D3rcltjSapsPgU/pOMSViT y2I+uhPoFrHV3lNSIDDtbqSmlK7svyps1HhACF1nK5oLeKe2YQikmmJeVtq0z27OjsbK RYqQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=mScw330//XjyClrpxvPSs6MjpV33vzEHLROrLRihprk=; fh=gcVW7x8vD9Ys08jA2lMgTm5N60TMh1QjfXeJ14yY6wc=; b=Fbse+TZO53SLVhimoU6iCpp2823Kkk7mFiZYdj6mfWkZT1MoEdit44p5iNYtRhjnHD xpEpCI6YP56xrKGoujUCDPGYoKfA3lfamneGfhBjfxjwp8HmOs29/FULEWnfpOUEAD81 lODfJCpPKVgotSeGuwhfS9gToATPcZonHLUZVWG+fZi+eh90xZhMD1/q55ZeyIyZi7tZ Ef9Mr9fQqXRStx0UhzVmY0dqMAkdFuwY+niMO87EIoVY4HTDV2N6kzcqEccPEWjMB176 IlBo2H292YPOi4s7uYLhQzDYRbogN+n7g8OpdoU00lLSLrELQr6wWtt1+w4CbypP/GxN dqbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@libre.computer header.s=google header.b=kavSZDTc; arc=pass (i=1 dkim=pass dkdomain=libre.computer); spf=pass (google.com: domain of linux-kernel+bounces-185382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185382-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a86dcfdefsi870289066b.826.2024.05.21.19.37.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 19:37:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-185382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@libre.computer header.s=google header.b=kavSZDTc; arc=pass (i=1 dkim=pass dkdomain=libre.computer); spf=pass (google.com: domain of linux-kernel+bounces-185382-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-185382-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 56F551F21A03 for ; Tue, 21 May 2024 19:30:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 877781494BE; Tue, 21 May 2024 19:30:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=libre.computer header.i=@libre.computer header.b="kavSZDTc" Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com [209.85.208.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2BD794500C for ; Tue, 21 May 2024 19:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716319846; cv=none; b=rW13t88OqzzdIIKsdelTx8lGrmdMAyKeppPZZ+iCG4U0IMT8o59ypbxdxsB29A4P2sDEQBvgDBWijUPQF6BgZQFKpE9CIqKyZpwQYdUGIbtJS5LIpbYR5t7YL00aerXRGRX7f7xxw2ecPtHb/DTSkLYPv4QzfhzDXwAhVtdesb0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716319846; c=relaxed/simple; bh=uN497LMSSrTG2otGHW/OSlKS89nLU98TjsFNGvgc7BM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Dn5vkUOLZcYTUm1cPx5no9gs+Unc9eiRpZ539bnUZbBJJFqI902OHqpjdv8772jJLjMxxn43MI7pyvnoUKqn6qo+OUIeiFVIKJeT8Z4sJxq3pnmHVXXrnS0nzBqpseUB1DTpYcbp+QCcEsMTWbLMgrkN+XD+Wz8sdX2UJMrqGYE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=libre.computer; spf=none smtp.mailfrom=libretech.co; dkim=pass (2048-bit key) header.d=libre.computer header.i=@libre.computer header.b=kavSZDTc; arc=none smtp.client-ip=209.85.208.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=libre.computer Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=libretech.co Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2e724bc46c4so30021371fa.2 for ; Tue, 21 May 2024 12:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libre.computer; s=google; t=1716319843; x=1716924643; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mScw330//XjyClrpxvPSs6MjpV33vzEHLROrLRihprk=; b=kavSZDTcn7rkZP0vQJurkWAiSxIvcuo6LFF+9CDER3XgvhYFXv5Z4j/NnoyVaNohm0 bS+jcz+jKe0DC89YD1U+LaQrQyfDA9YN2AQ4xpz1TlSjqENrTDYbcfIXEsKnmyrsC7d1 ZMAVkvnxp3SYfNwplbnJ9PBMoJ2boNCK41F6VIDMU3rgl9wdFQ0P6SbAnhDHTYVthnvp Uik/tjE9JQC85s1uwQ4RHCamJsztnREWg1XGQySxFyj92zLrc2YmRSi9nvF94bnbc8dh gqB1PZeed2XMRx+q37Z4GCnLxl2FsgMutg3afp3E8XRp8dl5dPS3T2tR0NunrULGmkfh ZeFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716319843; x=1716924643; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mScw330//XjyClrpxvPSs6MjpV33vzEHLROrLRihprk=; b=V3LgEFkT/QNh7LYsKUKZMWLY9L/m/RB4DKpbjTxRnT/hkSpYILPnPQWPWHUmvxDPsW iCJMtBAoHWkbi/GnnJ5cmgT0t0HYEaD85FS3xA53QmZG4DeXcm9sz9YHdc+GtVxe1/Sb ulKWZCCl6nOdfzd/KOkHtf8fzDvEAAvWJ7SUDmsT31ogdT16KN7TtsYVTQZ0evFh3eMb f5xVEEjWekjuQBwyFsPa7q6DMXW4NnV1itITnAxpz2aoZA4WsN9n1GjgnfLxJm0H3T1n ordSlPOMBShCooYzVN0pP3KBNWyoCivxD1KSoLruJM+rB6gBOVSB0nchFvoqjzapcelW yslg== X-Forwarded-Encrypted: i=1; AJvYcCWd02IICRqePiPvLavN946O4IL6VmsJfJcgiDi7oSWDjKxyD0LtV0KTDfPBSXE4dO2ZRIWko1cCKqXCEKz7/ozWRkiNS7sNt9wgKfmM X-Gm-Message-State: AOJu0YzAQfwLHdamCfOYXoBaTHzg6MLi0SM8mcc1gEKQ10FhUtD5tpmm ryCZJ7mQM45558Kxc+l41SjtFTEAzNf+imwQst1Jo1j/kc/viz3lgwocKUmnoM1P/5NgCrHbCMx HniuuQ0C2qIdfYRM60gLWfZiEzd2JYy9Kkgee X-Received: by 2002:a2e:3206:0:b0:2e0:c81c:25da with SMTP id 38308e7fff4ca-2e51ff5fb1bmr232817751fa.30.1716319843220; Tue, 21 May 2024 12:30:43 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Da Xue Date: Tue, 21 May 2024 15:30:31 -0400 Message-ID: Subject: Re: [PATCH] net: mdio: meson-gxl set 28th bit in eth_reg2 To: "Russell King (Oracle)" Cc: Da Xue , Andrew Lunn , Heiner Kallweit , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-stable Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, May 21, 2024 at 3:24=E2=80=AFPM Russell King (Oracle) wrote: > > On Tue, May 21, 2024 at 02:56:45PM -0400, Da Xue wrote: > > @@ -65,7 +66,7 @@ static void gxl_enable_internal_mdio(struct > > gxl_mdio_mux *priv) > > * The only constraint is that it must match the one in > > * drivers/net/phy/meson-gxl.c to properly match the PHY. > > */ > > - writel(FIELD_PREP(REG2_PHYID, EPHY_GXL_ID), > > + writel(REG2_RESERVED_28 | FIELD_PREP(REG2_PHYID, EPHY_GXL_ID), > > priv->regs + ETH_REG2); > > > > /* Enable the internal phy */ > > In addition to what Andrew said, you need to look at how you're sending > patches - this patch looks like it has been whitespace damaged, which > means it can't be applied. Thanks for the feedback. There's 2 reserved ranges in that register with no further descriptions available. If naming the bit offset after the field range is OK, I will make edit and submit a V2 though send-email. > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!