Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp572386pxp; Wed, 9 Mar 2022 08:23:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJysPpzYtI+ku6r8yORf6FrSSHQWJxFszUZJ7gaz4Rdx5d9PiKCVxNUAQDyFdWCQQnxKWjZu X-Received: by 2002:a17:906:3a83:b0:6d6:e54d:3264 with SMTP id y3-20020a1709063a8300b006d6e54d3264mr543535ejd.96.1646842998736; Wed, 09 Mar 2022 08:23:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646842998; cv=none; d=google.com; s=arc-20160816; b=dTg7alT/Hi4M8F+6qrXzuGPcvD0DsghmkttoMNU2oMH1vtdYAnIf72PNIlGX6Z8aP7 Qc/WMupOJxx0x0JKBawcO27sZcswfMs52+5neTYczwls8tNGUk4WI3LHdw61uXvAhi6O gNfcjrD5kpJQSgxrt5O2bDgL3DBnHnLaWIDTxo0q9KmqKwx9MnUaUSP/+gHxhd/1xcyb WN6Ua1MNvjFtU43tcSyNXfJOMe65kX6wBrbFeqzDu/118Iq4oNCa28KbHBIrYO8adziV eRXHmlVFrmzdizeg6x7+EPfDr368b33IMGI4FnAHtppjRaIx0tfTx2fMWNOy56s9JhTL EM8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=4Q1eVLBsP7vpzSbj4EXVieA1NhuZC8MD0hVIW46KKbs=; b=Y5BLUk2sf+L1nD+WoQsALBlzlwpb6I+wA29hyYcnsrCSTI4etxFYKQ9g2ewUQe/KEH S+VoEx9Y1H9JLph0uXVB7THkhIVbxAxxaIQO/S/yC5OkFyw0gAUfRbs+/SYWPdF4bGcA 7Y3rTBHpA0WgNb9fOFkeXdo0H/Bszi2tl3rXUe64xIc2u5jBqGz5W8f/ct+eoFlK2GxD aBW2wYtuHDN1RmaW3NwdeLLc1gTmlfl+ctPsCVmAyrBUhIZkD2bw+JPXUzpcn0u90AEW BGZLRyBX00CQJeWh5jHutSJjLIYyWYXoPqUh/QmGPjZ3Ck2Nu1T3lKpWcyq12oL0pErG GBug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nmdDEIPK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sc31-20020a1709078a1f00b006da7ac2043fsi1505749ejc.224.2022.03.09.08.22.55; Wed, 09 Mar 2022 08:23:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nmdDEIPK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233715AbiCIPBS (ORCPT + 99 others); Wed, 9 Mar 2022 10:01:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233651AbiCIPBO (ORCPT ); Wed, 9 Mar 2022 10:01:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7CC015134D; Wed, 9 Mar 2022 07:00:15 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 430A4611EE; Wed, 9 Mar 2022 15:00:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id A1864C340F9; Wed, 9 Mar 2022 15:00:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646838014; bh=Fuz/TOJZtdnCc1h3t/uL3fSq6MITPPNkm56HXLDyVNY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=nmdDEIPKY2mpOzW6LkO0367ipFbQAPf1TLl4k68SATj6yGcLBUfozqD/MrKw3xJWs 7Xp2G5Mqo+aC2++iHs1QXJAxCUUF1qJ+mhhCH8+9ZKyxoYIQYB2byUjmK5reqbcDr1 k5fY0rdd5GQ5Uqlnb/pGqMZ9po6Ttx7ULSYDGTEtdDJTlDIgzyjFLnoujaiQCLk/Y4 1gg6QpC+swCldhGhYDf3qaqncRAC+6JtENY54mU1bYlvZZEHJOMWtqGoajCrO08EeN YMuWlJyyD8S4/Zeq/gzCOO993+hNJs3TmnTD8ErTyVS/U4EybIIrjLVSJ+N+ULMjwk XzDFOjfFWX//Q== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 8A91DE73C2D; Wed, 9 Mar 2022 15:00:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next] net: lan966x: Add spinlock for frame transmission from CPU. From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164683801456.7970.18419622051031308474.git-patchwork-notify@kernel.org> Date: Wed, 09 Mar 2022 15:00:14 +0000 References: <20220308102904.3978779-1-horatiu.vultur@microchip.com> In-Reply-To: <20220308102904.3978779-1-horatiu.vultur@microchip.com> To: Horatiu Vultur Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver@microchip.com, davem@davemloft.net, kuba@kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net-next.git (master) by David S. Miller : On Tue, 8 Mar 2022 11:29:04 +0100 you wrote: > The registers used to inject a frame to one of the ports is shared > between all the net devices. Therefore, there can be race conditions for > accessing the registers when two processes send frames at the same time > on different ports. > > To fix this, add a spinlock around the function > 'lan966x_port_ifh_xmit()'. > > [...] Here is the summary with links: - [net-next] net: lan966x: Add spinlock for frame transmission from CPU. https://git.kernel.org/netdev/net-next/c/0dbdf819f4c1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html