[PATCH bpf-next 6/7] riscv, bpf: Support unconditional bswap insn

Björn Töpel bjorn at kernel.org
Wed Aug 23 11:24:47 PDT 2023


Pu Lehui <pulehui at huaweicloud.com> writes:

> From: Pu Lehui <pulehui at huawei.com>
>
> 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 <pulehui at huawei.com>

Acked-by: Björn Töpel <bjorn at kernel.org>



More information about the linux-riscv mailing list