Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp63508lqh; Thu, 30 May 2024 14:13:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXl8ABveYZ2A8jY6BJxbnrYpjo24lok6YSRnrzixscruFexn8ZsflvCq5ms7aBooWl9zSDmqdqn1axGG3Y8y8zcTM+xcmKARjD92E3CIg== X-Google-Smtp-Source: AGHT+IHL1qG/D4RxX6RpT3jOYA80ejwsq6qmw2COSkt26PO/Q3kj60mlLQpAkXqcHcRHuGqmQKxL X-Received: by 2002:a17:902:ea0f:b0:1f6:2623:7077 with SMTP id d9443c01a7336-1f636fe7218mr201155ad.12.1717103612692; Thu, 30 May 2024 14:13:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717103612; cv=pass; d=google.com; s=arc-20160816; b=S5vp8sMtYRFh9DD0aBJBVi8iVD2b4rtZity3mVWL45bdPV+Zq0iqeCWQ6M1EWE2xKI Vx7kV87HKWrkeYiqo6yVOedZAtK9Bx8l9/R99H3eJqEfi0gfLGM27yt6XJluaBZu+QFB 6b80gtHCoyj6gaH2MpmbBVNZVap/Tr14L6sqLIAtAZA6NK+d+Y+uGEy9GtipmBmtoQX+ zAvquW16qZP7+FqABejGGZmT+qVNrdyQugKRecfIY/KqbkutXk3kZbrMLKpQ7x/sBYyZ Rj5f2z8Wh6k15k99pFnACoGh1wjcTDJzOwhCGimdZRoQVT6tM6cdf0Qm8K2trqGeYozO JZ7A== 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=AUvXdGJGhMMNtNGCEusbCT3QAQBhUdGJKmAqTgsf8ic=; fh=yFEhvYkpQ6+AOhan8W9PBm3Qd/tlwnioLoOx90/h+W0=; b=JvbPBLq4F+OiDIvSxxCa1gG6GbnT3FGBlQKzNggm3fhONY27QA2KIWDdzZEFKFhQK2 9aIehtEtYfdQws4i714ONIAdURfRKX3BT/agKPXUc0HxMnSaEjkeksMIvd0Hfm1EbdNW 0k6EGAaOdLUF7xwnpvJV5KPRQljaUjHGLyPUcai6RUpDgEiQauykKnC5oDtIbFgZBmPv m70Na9Eyp785hu/k0qc0bdmpsshKXsK6e73KY2akvSKZMEadKL1VoAK+Zo1lVmtA40hr 3NAV1muz/Dzfmt1masN0/+CtDKD39B1GCzyBhRvXZJ0JniPPj7U2XgTXo/XCePcuc5+7 lmvQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AfLL8MoL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195921-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195921-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f63241c301si2997855ad.626.2024.05.30.14.13.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 14:13:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195921-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AfLL8MoL; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195921-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195921-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 51D222841F8 for ; Thu, 30 May 2024 21:13:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0743E18628E; Thu, 30 May 2024 21:10:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AfLL8MoL" 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 25A1318399D for ; Thu, 30 May 2024 21:10:30 +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=1717103431; cv=none; b=hMotD0reTvrM6DXCLCT4biQ62gE5QXXzUAzZvoyjPWQjc3xskseIFtGb5oXIKf2T2mfG9zlQ1yLtECdTE5iWFdP/Td9RaPRdnEEnKxaNr5bWYe/4dTgSQyN3mLLIi9d/e1f/uOC1BtU7gh6ZrDr9pTh6VCDLxOk+QUD87L7R4vs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717103431; c=relaxed/simple; bh=4HJqKtgGK39M+z3ADW4pz+yh2a4Pysk28/17uInmge4=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=QqYYBr9ax4JwBlHJ7TWXcdx6VVkBoZNGOLqyjmhJlmPo4rbvWrbaHkuj8L99/hrS0qOCXKM7G6Y8mqTIR55Mfg0QwUeaqblSIl2euschxOxUk6VZvDYWkgZSV+W65uyAd80a4E3IsliTHBQq7LKRfMLIsoLIpiWwTA2J0W26t/0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AfLL8MoL; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id B6457C4AF07; Thu, 30 May 2024 21:10:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717103430; bh=4HJqKtgGK39M+z3ADW4pz+yh2a4Pysk28/17uInmge4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=AfLL8MoLRhhgfMujWXaqTYfcWLJwJGZTGMInrmH58Ws/D5ODITYVwKOpJcGlsLdF6 w0nbAi/VIZvb1rYa+cviSGpGmVDw8D0lfyrfI89aZ1km0g+8S2vNhfT5QcC7dptSY5 /Pp+JSxvqVG/8sHdHao7zgZCwilspIrTn/I7daQUsDAWT7tglf0PJUSbjruv9s+Y6A zQO69omm7TdYgTsji/VX5CJFmnmWrZwVu3MDpfu1tv0NBA9AWJsppW72QZTNUEaqJk OINbk8GQNBeCKF9vz2PTGf6B4tI1D7pDY03B5s3nWITFoePytiG9PlwxBNqUaHlidb rJpJxdsxOnrOw== 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 A7E06D84BD0; Thu, 30 May 2024 21:10:30 +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 -fixes v2] riscv: Fix fully ordered LR/SC xchg[8|16]() implementations From: patchwork-bot+linux-riscv@kernel.org Message-Id: <171710343068.6624.13466290859953012929.git-patchwork-notify@kernel.org> Date: Thu, 30 May 2024 21:10:30 +0000 References: <20240530145546.394248-1-alexghiti@rivosinc.com> In-Reply-To: <20240530145546.394248-1-alexghiti@rivosinc.com> To: Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, leobras@redhat.com, linux-kernel@vger.kernel.org, parri.andrea@gmail.com Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Thu, 30 May 2024 16:55:46 +0200 you wrote: > The fully ordered versions of xchg[8|16]() using LR/SC lack the > necessary memory barriers to guarantee the order. > > Fix this by matching what is already implemented in the fully ordered > versions of cmpxchg() using LR/SC. > > Suggested-by: Andrea Parri > Reported-by: Andrea Parri > Closes: https://lore.kernel.org/linux-riscv/ZlYbupL5XgzgA0MX@andrea/T/#u > Fixes: a8ed2b7a2c13 ("riscv/cmpxchg: Implement xchg for variables of size 1 and 2") > Signed-off-by: Alexandre Ghiti > > [...] Here is the summary with links: - [-fixes,v2] riscv: Fix fully ordered LR/SC xchg[8|16]() implementations https://git.kernel.org/riscv/c/1d84afaf0252 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html