Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1739565lqo; Sun, 12 May 2024 17:00:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWE3s8euLclHW0ooG5LHzhWwk4HetFCaFkzEg5cOq66WAu/EIttQXgpg1CdK3/TimuYnP3eekM7YdpfFuUq4Upqft0C/OdtfEWTeB8Zcg== X-Google-Smtp-Source: AGHT+IH2nENg2okNzUYjBZShZujceDYZsQOHy0G27ZXmEf3rwpFDyGZVZd9w13sj8c/P1XE6TbNW X-Received: by 2002:a05:6a20:5657:b0:1a9:a820:c604 with SMTP id adf61e73a8af0-1afde1b7058mr10258653637.48.1715558454991; Sun, 12 May 2024 17:00:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715558454; cv=pass; d=google.com; s=arc-20160816; b=BbAHC9q4UPWwFbl+YwTBujyw/aRy4gjs365xQGIPY2lkfqNw4tO6Yzuh0Uk6AOxbG8 2tipYAqXOZXRgzNlk+OlpCu5gI+MYK5II3jNQBMR76EvTZJNW8BOd3ughapWRJksiWAK YhghiaJe9uP8RciwpjjF/fCBDE8OLmQm/ak6/EwyKtfwUQ0mz4pa9gjvanxzrZjmFZSz nfDN0IBOCxir4nXtQLphSSC+d45kq5EDUVAc3j8g7XD4QPtyz57HIoGzqfvRidZioT7/ yaaWgjGXIP0sh64BlUKX6vH0rGfpZmE5HMWemfCUPpoZn2R6KuqcS24Yf6Qu4GCYjq68 /kqA== 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=aSqi6d/XzeUhW9Lf+XcNnUtsQjeSy8a2NP9oBj6ZySY=; fh=Ac0xyNRYbdavWShtdt9PBdqzctTopzJDLZwXKm0c6vA=; b=ckDucKTKB0ruet9GU/HPIh1gpfUzb9989QUG/iIBWTC8QTrVIbOgFtqNl2OpE+0XKv WnXUNk/1Spn1qxE7PTecI3ben7tTUgUgG6bO6hp2Q1Q9JNR3+4OcyC4FfJyiKJJAKgVx n5VfZY6R0j9SsswNi673R5Bk2FCsvd/ShuuxGlghZIc+4fHg9D8pd9aH/A1AcKUtT0Zf SAn272Z6eLnZiHSQd64aWaCE4uT5ssmAb4zvYqm67cUL8gGJWM1kyaoWvP4GUfGfly0O w2a5v4sF31alxfz2A7+dO8r3Of25U5hsVZeC0OaWLBdqW/GTWEZVwGcgKxZX8yqW+U4p jqyg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YzAXZuL2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177056-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177056-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-1ef0bad62d5si77793905ad.144.2024.05.12.17.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 17:00:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177056-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=YzAXZuL2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177056-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177056-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 7DBCB28132F for ; Mon, 13 May 2024 00:00:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 328295C603; Mon, 13 May 2024 00:00:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YzAXZuL2" 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 4D1292A1AA; Mon, 13 May 2024 00:00: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=1715558430; cv=none; b=kPpvEucJGfTjkE/woLD/Cq+GGv+E/NihGPUTF/D6FW/Oz/LEd+9pOzfpnXTAHne1pSfL86oJ/g5nQT3Tv93ibIiLd0pzxuu9zzPJ+/WeDqF3KAxtlCqEQiWEcI4nMclgfPdE8DcF3geooHOpJrgCX8xTtsasooyJXp7q2FT0rqY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715558430; c=relaxed/simple; bh=e2NpOR2CweEKvqvlaEK0pm/6D2en3jgIpSgJ46eRceA=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=WH/O8K2C454s0D4mR8+gqcJ4SXzh8xL8znqMuxbVkW+njNbLRk09uGFFufEf2101fWSuI49FUY5xELmHPfJeF+c4ci8QXkAWTdxLsRyeT9fGMpXd9ns2+zrSHPvUx0CJHmuTpp8t1gRtAl4qcJC01ccUz3rUbpZJvPFgVSZN9vI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YzAXZuL2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id CD42FC4AF08; Mon, 13 May 2024 00:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715558429; bh=e2NpOR2CweEKvqvlaEK0pm/6D2en3jgIpSgJ46eRceA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=YzAXZuL24mQqZ0qK+/OMp07ToKUNqmOycs4b2wBwgP7vFX80wU8v2wXxnQRnH2Sj4 e45QZoxmPPjHGl5GwA+KAICSLYQVPKKfG22iKb2qBt/VTRs+ybs3O19PMCYinRzFeG LuAruWUGwELm28J/rVCEAcFioBIV/iTGL3iyurJSVGSl7n2lEetRQE7T0rtWPSgcwu z/prxpV4gNm3PtKqD6rONtXOXpJ9w64BBt9ilE80dCX2HeOJQxVhkYYEVGuB2iDXbm QofhHKbCDcASOT8eSd2NEI4AAy765DtUJz80wRTBOdP1YWraBs9YeL4ACmrBLza+KZ kSyrtKPuQ4Cyw== 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 BBEF1C43444; Mon, 13 May 2024 00:00:29 +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 bpf] riscv, bpf: make some atomic operations fully ordered From: patchwork-bot+netdevbpf@kernel.org Message-Id: <171555842976.18024.13752863594876761911.git-patchwork-notify@kernel.org> Date: Mon, 13 May 2024 00:00:29 +0000 References: <20240505201633.123115-1-puranjay@kernel.org> In-Reply-To: <20240505201633.123115-1-puranjay@kernel.org> To: Puranjay Mohan Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, eddyz87@gmail.com, song@kernel.org, yonghong.song@linux.dev, john.fastabend@gmail.com, kpsingh@kernel.org, sdf@google.com, haoluo@google.com, jolsa@kernel.org, bjorn@kernel.org, pulehui@huawei.com, paulmck@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, bpf@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, puranjay12@gmail.com Hello: This patch was applied to bpf/bpf-next.git (master) by Alexei Starovoitov : On Sun, 5 May 2024 20:16:33 +0000 you wrote: > The BPF atomic operations with the BPF_FETCH modifier along with > BPF_XCHG and BPF_CMPXCHG are fully ordered but the RISC-V JIT implements > all atomic operations except BPF_CMPXCHG with relaxed ordering. > > Section 8.1 of the "The RISC-V Instruction Set Manual Volume I: > Unprivileged ISA" [1], titled, "Specifying Ordering of Atomic > Instructions" says: > > [...] Here is the summary with links: - [bpf] riscv, bpf: make some atomic operations fully ordered https://git.kernel.org/bpf/bpf-next/c/20a759df3bba You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html