Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp515583lqb; Wed, 29 May 2024 02:41:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXQ1NTzExR5xHhRXSK7Acab5vYFomcEqXJg2QOmhuKqjSTc/ejvIBrV4DTn2S9o4zHYh6OA7yrClJx2PGkHPYqeeCYlZLGF3A2nGQ3CeQ== X-Google-Smtp-Source: AGHT+IE2hX23sr4DXp1e7iRGbyp4S8jEjTD8Nrrz0b7MP3kKnV/afxEBDjeXOaS4EVHOobMrFKJz X-Received: by 2002:a05:6808:190f:b0:3d1:d2e4:a4e1 with SMTP id 5614622812f47-3d1d2e4a67cmr3598681b6e.58.1716975700042; Wed, 29 May 2024 02:41:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716975700; cv=pass; d=google.com; s=arc-20160816; b=hlIJ34qnq9c+LOc6DRLtmYM6e3IhzWqfORKuTQ2LVdeRIxHB1IuUXAwBr+2pfhWOd+ ImSvP51N5bcntKHmtLG45Wg//zkL+L6liqN+kCvKdtxMtPok2KjSvFqu4+3boBKC3VkQ WlMeOuFEXK+redRoylyeQVAjz4qZqZwYJbQiGSfe9sqTq2kbhOFCtRc29Emo0fGfPKkX uUklai05S80J5u/ENM89mOkebr0Ljy4h9d9ItPuEFS4HTK1fjC/RuCUHczd4X9L+YFyC 7MahrVkG/+ECIR0y2X9+j8U6eNMaEQrZRPbn1DJoQjXYaSrz9BlVfyEFiUQTMAGZGjRv S7eA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=uir9LFW50J4kp4Duy6Ppyxb5DdxOsTxyGiQdBZqAzR8=; fh=xB9SKxNyadQ6Af4u+hMwoxvRo2KSzTcXacdUdMzbxg0=; b=rRASInHJDsfC7/5Rmr8ByyBCk/xS6kK05vKN4xWzkw8W5rlvRKQYvY90YelN63j5+a a7ZPv6mOzoNDDSAAUL17ht+V/J3l+XrgeQgBcgFlcqSGi2rO62e1TzXk6FbcZtniP0Or 4sQT057/hwu3UQv2qUaahOMv2XJsotF+Mz3J8JTD1NUImDRORkMumAiAZBPXlXk05S67 iXbMYyboTU6ZhoQmPMnyvvBZ71kCZGf9AbrU9GFXLrE0dX8MUCzo9EWxqMQA4eyvfOuq bmzD6EOzXXQiuvv1ZxV+BwlavDq1sqRTTkvT01UQ5eAQJQu7ynobI2OuXwhrfRxK+tzD wLWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NghQR9Gc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-193858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193858-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18eaae7si143930561cf.765.2024.05.29.02.41.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 02:41:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NghQR9Gc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-193858-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193858-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BFD7D1C23D87 for ; Wed, 29 May 2024 09:41:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1657A16B745; Wed, 29 May 2024 09:41:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="NghQR9Gc" 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 369A316A375; Wed, 29 May 2024 09:41:32 +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=1716975693; cv=none; b=p5RyNoHoAJeDGr0cr246+NgiU3lOZDbDU8lAVTbyTviOkUElO3YJmZjCef6MwTR6adIipZ3SxJisGEn569HmYWEn0wBhPCJThGAzgEig7QiJLHgzv4kTa0R4sAncrKE5YGNMwMnIY7zx87da3CNTLE7QYKjf9/e/EVSMOUVOeoY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716975693; c=relaxed/simple; bh=uir9LFW50J4kp4Duy6Ppyxb5DdxOsTxyGiQdBZqAzR8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=FE/obeTHbqLzUWx+7kPqLxSoRhc4AlGEm0Kjn9aQ1IZXeCj+ZwZfGNncfl6f1D/CLu2tcT7VkjSNV2Vg0u5nLadu8GVXcpgya/6e0zKXNfo1lvx6VUOW0zVo3fLMT//iP/Dn8GVUVnZjWJ+l4Cq6Zd/JXXws2YJepNMtJGzDIqw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=NghQR9Gc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0E69BC2BD10; Wed, 29 May 2024 09:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716975692; bh=uir9LFW50J4kp4Duy6Ppyxb5DdxOsTxyGiQdBZqAzR8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=NghQR9GcPFym7Ye0xUvNEdcm2BliFOBrPccsChz71UUsd5/+PmDIrPK1jexIdphWz k3eqy8NYXh82zI6F6JX7saXnx+mABFVAyxRfD1R+cCtP2wsOufnfA/HCitcrFF3zPC 4AkVP4mMFiD13IsEhcfJLGRawnKfDh27Ym1WgSPudsJuSXmseDhAbphoyMqncllW9q YhqXJSRGVoCBtS3sZFBBP+T8wrlZ9H6LNypRj1pp7gnyT56ur5gynRW9ESXPklSri/ 9l9E0a9L58NS1AwI53DoaOBc4icUAk3Z2tnP+4JO+cEEdQyevffKOj7AbpND/geAnA WudziyTLhiUAw== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Xiao Wang , paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, luke.r.nels@gmail.com, xi.wang@gmail.com, daniel@iogearbox.net Cc: ast@kernel.org, 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, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, pulehui@huawei.com, puranjay@kernel.org, haicheng.li@intel.com, Xiao Wang Subject: Re: [PATCH bpf-next v4 2/2] riscv, bpf: Introduce shift add helper with Zba optimization In-Reply-To: <20240524075543.4050464-3-xiao.w.wang@intel.com> References: <20240524075543.4050464-1-xiao.w.wang@intel.com> <20240524075543.4050464-3-xiao.w.wang@intel.com> Date: Wed, 29 May 2024 11:41:28 +0200 Message-ID: <87ikyx2bw7.fsf@all.your.base.are.belong.to.us> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Xiao, Xiao Wang writes: > Zba extension is very useful for generating addresses that index into arr= ay > of basic data types. This patch introduces sh2add and sh3add helpers for > RV32 and RV64 respectively, to accelerate addressing for array of unsigned > long data. This patched slipped! Apologies for the slow reply. Acked-by: Bj=C3=B6rn T=C3=B6pel