From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48104C3DA6F for ; Wed, 23 Aug 2023 18:24:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238113AbjHWSYz (ORCPT ); Wed, 23 Aug 2023 14:24:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235744AbjHWSYy (ORCPT ); Wed, 23 Aug 2023 14:24:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EAE4E57 for ; Wed, 23 Aug 2023 11:24:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DB78365104 for ; Wed, 23 Aug 2023 18:24:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 81D36C433C8; Wed, 23 Aug 2023 18:24:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692815091; bh=Wz+ssdWTwoTiSo2ITnOaFFeZ1XRrz+F/5qzgicEYcis=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=htwvCHPej4Jwnp2UFIBuXIpTeJKk276AumCa8WcFRh4NFFKbauNDVSOpWZC3VBxIl v3n6If3I9FIk/nGZKOfO4IdtpKZ6BxYyUxzAF/vY6w/LExx9uNt30ncKwFMyvMVsmu paeH2C9AMXeRpPfE5YAEjrANcq/0BvLv1rPocJVDJEqny38oz/Z+x6WJVRQh3mHOlh au0NcRUkck+nJnf00QqNJKrZLNs4tZpuFc/161Dsdb1ulHCnW9BLKcnhDfGQnXJzc2 oE7d4ZhIL+DoKQsVmoMnjAtvZS/mxW/7IWMim91jFwShUAM2LRNpw7vvpPU2943QWS 18mMp4Yydhbpw== From: =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= To: Pu Lehui , linux-riscv@lists.infradead.org, bpf@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Yonghong Song , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Palmer Dabbelt , Xu Kuohai , Puranjay Mohan , Pu Lehui , Pu Lehui Subject: Re: [PATCH bpf-next 6/7] riscv, bpf: Support unconditional bswap insn In-Reply-To: <20230823231059.3363698-7-pulehui@huaweicloud.com> References: <20230823231059.3363698-1-pulehui@huaweicloud.com> <20230823231059.3363698-7-pulehui@huaweicloud.com> Date: Wed, 23 Aug 2023 20:24:47 +0200 Message-ID: <875y55liq8.fsf@all.your.base.are.belong.to.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Pu Lehui writes: > From: Pu Lehui > > Add support unconditional bswap instruction. Since riscv is always > little-endian, just treat the unconditional scenario the same as > big-endian conversion. > > Signed-off-by: Pu Lehui Acked-by: Bj=C3=B6rn T=C3=B6pel