From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E4EB6C77B7A for ; Tue, 13 Jun 2023 10:11:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To: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-Owner; bh=29CP4/yM4vv4+NLeqDXtjSnxDuw1JWdPc+Fpo50gpPw=; b=sn4vPicl64gAUNREJrHxxULGv7 WQIgGeV2btH4q5YjSa9NeXJotalZFvW7zSDA1xaeiUWZ1J6tbFNToq61Mge2iabG0aConBuEIVYmr mYY+ARpoLan+ixkr3kxiL7NY/RjkJ9kGpgdSGJwekv++143AeeKQMQndKqT4TLmtA7/CkHNyeghqR CrjAwdSZpK52gkpRZYDeoJTHjZ2VSbFBUyVfSZZrIvHEce3yCzb2ki4NkVON50ns+uZvY9qOv8aCj v5ZC4oRcfWr0xzRkZo5dM80uDn2jgFl72lF58c/PMHqe9DYOL7bp1SeuYze+cpWotJcEYk6XGpvuW rU0Jq+hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q90z2-007c8V-0j; Tue, 13 Jun 2023 10:10:40 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q90z0-007c7g-1x for linux-arm-kernel@bombadil.infradead.org; Tue, 13 Jun 2023 10:10:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=EQ8qG3I5WaG3P52JxI3Wd7lusGu6FrfknhfgsuNOgLo=; b=HXT/lXaEl8Jo0C4vCZ+OhEaIvL WCyw02XPUvtyNe+bGwpT1wtIffsMBUMLRa2iST6qJan9/msBZ8iuU0hv18tirRaJh2lenPmBsKDvQ JJjP1M+NHw+bqfPARqE0gNmo/MoxUW6mVuKiHJz1qHRdhrbO1uO6GXl87QykfcXXtv0FRY7pXmJxM xPqPDRNfn9QQHdqkj7C96lRU5HXrRBg5WM5IqcD6XuN7yNqqYU+CYVWVIIj4FSmmdU8fnyB3To8L3 bNJDo5zXVZPwMaJTJWtWTxB03vXb3MOBtLQHCM2UVhaoaNclNAxu+0Vmy4VS54Sq0Qilae8265fSy cq4LHbMg==; Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q90yu-009KGH-2b for linux-arm-kernel@lists.infradead.org; Tue, 13 Jun 2023 10:10:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686651022; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EQ8qG3I5WaG3P52JxI3Wd7lusGu6FrfknhfgsuNOgLo=; b=CFhdPOaPS7y9TdWq27fhO+zZaD4uuqvI/pwoGOWPPyvMXmLz7MlsvHtbhSwZ8OAg3nwt9i W4DKRYp+ZHXiJXdJ4kkp6CoN7cLr/DugfFbdQnEKWWh6vfzun0nMn45hsL1lRMXWiND0o3 aGlfFo1Uw+y1KdlQk8NMxZ++V4Db11U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686651030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=EQ8qG3I5WaG3P52JxI3Wd7lusGu6FrfknhfgsuNOgLo=; b=XvPUmK+AUflQFTFbmWJWMuXi9hVxygP57YDF1ENj9PlQJRbHV56re/aAG+aLUYuX94csJ/ gCMv07qiVeNSlpqFgxw0i94TVfqcI1q2Dn/iDOjsVkqveY2r6O8k688Z3AoGw20Ll1Op6F WI8DEQuVBsnP3hu79YMymCeuAnghbAc= Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-385-Iz_lE_zGMTG3mCiz5n-nfw-1; Tue, 13 Jun 2023 06:10:19 -0400 X-MC-Unique: Iz_lE_zGMTG3mCiz5n-nfw-1 Received: by mail-ej1-f71.google.com with SMTP id a640c23a62f3a-97ea7f0e088so347581166b.3 for ; Tue, 13 Jun 2023 03:10:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686651018; x=1689243018; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=EQ8qG3I5WaG3P52JxI3Wd7lusGu6FrfknhfgsuNOgLo=; b=hjhy3kC8alWFsym4kk4r38ViagxRf2MwOPVMK1S2x+YUvo5e12SoefnVpJMVueV6hi d9qY6zOdP6ifOmJcBK60fTGSZhk8fq8RYq569HMvIQ2hMB3IkQtjtYERlia3wNcICTzs T8HPmyttef2KBnPknGwksJBStCaB7zxwsHfYk9/nwicuWDxpcr5rOflzR6bqjkT+T/Lx i79KpduDfkKFIbZgi9iBaiB/oVrE27/cRVvujpuTRGByksLdrjS4aKZJRAaakVqYc9FD 4sUmIJ3cih+eNkmAFhC1SXDFH7K3faKhGG21ZqRN1vf0DWxzW0Eqyw4DJGgzUxuENUK4 DFNg== X-Gm-Message-State: AC+VfDzf17Jun8cEh3+pvjznlZwQWXuLdl+Dij1Ve4cS1Buh0MKNGs+z iSGaAv5hhwnn+zZurNITeTOmMxG/LonNNszKd9Edoo/tUaPfmF1X1dXgwwIfYR3q8ZEPxplQyIH RuQkTOxGUzwjR90ZrrGEKbt/6ekf1I499z08= X-Received: by 2002:a17:907:9306:b0:974:1e85:6a69 with SMTP id bu6-20020a170907930600b009741e856a69mr12573599ejc.16.1686651018077; Tue, 13 Jun 2023 03:10:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4x+CLF7oh9OSNrlseseUZsRMaCbeVralIJHlINtpA+bhMhcdCKdtmrONK76OG4HPKF+L9oAg== X-Received: by 2002:a17:907:9306:b0:974:1e85:6a69 with SMTP id bu6-20020a170907930600b009741e856a69mr12573565ejc.16.1686651017718; Tue, 13 Jun 2023 03:10:17 -0700 (PDT) Received: from localhost (net-130-25-106-149.cust.vodafonedsl.it. [130.25.106.149]) by smtp.gmail.com with ESMTPSA id y21-20020a170906471500b00974564fa7easm6492031ejq.5.2023.06.13.03.10.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 03:10:17 -0700 (PDT) Date: Tue, 13 Jun 2023 12:10:15 +0200 From: Lorenzo Bianconi To: "Russell King (Oracle)" Cc: Daniel Golle , netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, AngeloGioacchino Del Regno , Matthias Brugger , Lorenzo Bianconi , Mark Lee , Sean Wang , John Crispin , Felix Fietkau , Conor Dooley , Krzysztof Kozlowski , Rob Herring , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Sam Shih Subject: Re: [PATCH net-next 6/8] net: ethernet: mtk_eth_soc: convert caps in mtk_soc_data struct to u64 Message-ID: References: MIME-Version: 1.0 In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230613_111033_297045_85B39B15 X-CRM114-Status: GOOD ( 23.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3310955979823277977==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3310955979823277977== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cszZz60J0MnGgC6u" Content-Disposition: inline --cszZz60J0MnGgC6u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > On Sun, Jun 11, 2023 at 01:39:48AM +0100, Daniel Golle wrote: > > From: Lorenzo Bianconi > >=20 > > This is a preliminary patch to introduce support for MT7988 SoC. > >=20 > > Signed-off-by: Lorenzo Bianconi > > Signed-off-by: Daniel Golle >=20 > At some point, I'd really like to unpick this and see whether there's a > better structure to it - so that mac_config() doesn't have to save the > syscfg0 value, and restore it in mac_finish(). Given that syscfg0 is a > shared register, are we sure the code that updates this register is safe > from races caused by two MACs going through the config progress in two > separate CPUs at the same time? Agree, this seems a bit racy. However it does not seem related to this patc= h. I would say we can address it with a follow-up patch. Regards, Lorenzo >=20 > Is there anything which prevents two or more MACs wanting to mess with > the contents of the SYSCFG0_SGMII_MASK bits? It's difficult to tell with > the current code. >=20 > Thanks. >=20 > --=20 > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! >=20 --cszZz60J0MnGgC6u Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQTquNwa3Txd3rGGn7Y6cBh0uS2trAUCZIhAhwAKCRA6cBh0uS2t rKWRAQD8bHaqtDus4I0VAesGyVWRDufLK3pPr+pM1DFTIDlkHQEA/9/+RWG7ZPoC FpXYqhMD3z7v/+rNvWTD2rV8IbnfLg8= =Cfik -----END PGP SIGNATURE----- --cszZz60J0MnGgC6u-- --===============3310955979823277977== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3310955979823277977==--