Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp875995lqp; Thu, 23 May 2024 02:40:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvLY+AeFJYrud9dz0LEiRwwdkcmFkuXbmtgQxrcwInzjNZKJ8pZvDmAUZPZq25RNksu4fyODbgN+rxLgoSec8MKfLY2Fji5Rxc2Pl9/g== X-Google-Smtp-Source: AGHT+IE01yZg7uIflZhXkWEd/vyCmDtr6F4dihMLuxY0EYc38pl7rtAzkqpESSDroyh8bWFBHNYB X-Received: by 2002:a05:6512:3f17:b0:51e:ef3f:e74d with SMTP id 2adb3069b0e04-526bf545f82mr4084964e87.62.1716457249035; Thu, 23 May 2024 02:40:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716457249; cv=pass; d=google.com; s=arc-20160816; b=uaQRvDe9Vq8Z/TD4y+DNJHAflGEV8tpZpsvVstIosmtujFzemKxpWr6pWSOoSR5eSX mpPob8NDcyYPB/XaDFJP41F+8IYvWi4kNpd5SRtkWc/A51Mr5lqbPs5+7D6Fx/wh6Vy8 MuSJ36hLK2aCpeLP10OlQiDCMln9e3mlZHhFloLoCbEvUabJaRJMWi8EOXqgyWnRL65D UbC1Tyt9PGWqigY0OzQIqw9MSFyOdjvDJ0XT78hvdXrwNtw9FqDqyCOFU2x2ubnm2Tic 1gGoPDzdxjofWrmYO1CRD4XS9uyUgx5veCYuwBp1fHxadRLMWBxPCaIM5GiF2RNTFmUa 2tGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=PXPfO+kuqBYuF1HYUowkjDE96XWIFReOAgk9riibmuM=; fh=DxxGzxzsgBxfgQvu+BG6Az4jqTTCe00Zitj45gyngFk=; b=egCOCN9hPXgvNlxdlWeawXyzF5DTYL6MjpSQKilQHg1Mj9L1DCT8LNS3cVC28fScpv DyNskcGzeTOwoJavEsZxhGpt2wL/rnXlwqPUjW6wwbJrsVCLEhx12eqZ/cxIEX+HF1OQ /NimKWTRycF9CgVpHst2s/ER6ye83Ih1bjBuVRBAaGBjgS6oFM5OPE8mIRqPceDgiCPJ DP4XBdMdyI3eX3ivftw+/7JgjGLwjyXT89J4ifdVcxrQGlwpzcAGxr7r8j/5yl9YTfS3 N2QtWbUKh/uZgyXSjkvbnkEOhI2nyEKI6bIemUmnFciNJWrVlxWhBcYiXp0BaF3/KQTP pHig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VzYuenIM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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-a619d144591si421301666b.930.2024.05.23.02.40.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 02:40:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187285-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=@kernel.org header.s=k20201202 header.b=VzYuenIM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-187285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 AC2051F2328E for ; Thu, 23 May 2024 09:40:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C81B13D29E; Thu, 23 May 2024 09:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VzYuenIM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6EA0E4685; Thu, 23 May 2024 09:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716457238; cv=none; b=QV6zQ26Djyz6x39ms3k7vv0u/LJ5viorafrwnBTcw6zvMPVi8MIisHzlsjMfrvHJ6rcINVRIDnrN5PDbLg0dMHEipKaI+9dahkG1E5K4EnH0BZKz5PS/qbEeM6VzJeTbQ/EmCV5LgEJW30D1C2P4H0pVj0CUtv7pFKHdQOqkeGY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716457238; c=relaxed/simple; bh=0a8Cvw4MRnzhALmRdstt3jzS71JOV55Hiq8Rf4MC7GY=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=QzWi+iRWk+/JS22iAOtIK5yRfG7tWR3ECtYzQ0VUThUXrSqO24g1NvN7ohWHI7gqp+zkDKt8g9rVqXCwrmxrY9B6zHPJC3gjFggILDO9ad3tzePMd/Uoe9IOHI1WbZI4fHFuNM/nS5w2Iw8TUH+9DfaMwmh67gur1tnMY4i5q4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VzYuenIM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id DE9F1C32782; Thu, 23 May 2024 09:40:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716457237; bh=0a8Cvw4MRnzhALmRdstt3jzS71JOV55Hiq8Rf4MC7GY=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=VzYuenIM80nW7ntnPLMKGkabfZFxJEqKpu1MT/FiN+h5oFOZBVMiEsfRjHy+DhGrV ajbVyu5aWI+qS78OM9nSfFtJFWM5oyYpZiZ3v//0MVpbCXSBnGUGvA1m+1Ux87pn3K IjQGMWw+XPCWkcC12U7w0naAxTXNyhWIffhiKOUQl4Gcsk0biafl0gKidkq/03f9iK hdsKVIfZrCuBv1E1ZfFANtZZ3zG+01sprUaiNeMjhthCv1qE4uKwHCmbNDRliElsdJ fYD6aQLgtkCRIseVUSWikuXFaIJpg4KPTSy+JN/q73HvLdKQxas3a0TUdA+ORHrihU qMDKs7lv+agqg== 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 CE823C43617; Thu, 23 May 2024 09:40:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2 net] net: fec: avoid lock evasion when reading pps_enable From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171645723783.24100.7721910085063661458.git-patchwork-notify@kernel.org> Date: Thu, 23 May 2024 09:40:37 +0000 References: <20240521023800.17102-1-wei.fang@nxp.com> In-Reply-To: <20240521023800.17102-1-wei.fang@nxp.com> To: Wei Fang Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, shenwei.wang@nxp.com, xiaoning.wang@nxp.com, richardcochran@gmail.com, andrew@lunn.ch, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : On Tue, 21 May 2024 10:38:00 +0800 you wrote: > The assignment of pps_enable is protected by tmreg_lock, but the read > operation of pps_enable is not. So the Coverity tool reports a lock > evasion warning which may cause data race to occur when running in a > multithread environment. Although this issue is almost impossible to > occur, we'd better fix it, at least it seems more logically reasonable, > and it also prevents Coverity from continuing to issue warnings. > > [...] Here is the summary with links: - [v2,net] net: fec: avoid lock evasion when reading pps_enable https://git.kernel.org/netdev/net/c/3b1c92f8e537 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html