[PATCH bpf-next 2/5] riscv, bpf: Relax restrictions on Zbb instructions
Conor Dooley
conor at kernel.org
Wed Apr 3 05:29:49 PDT 2024
On Wed, Apr 03, 2024 at 06:05:38PM +0800, Pu Lehui wrote:
> Hi Conor and Björn,
>
> Thanks for your explanation. I totally agree with what you said,
> "CONFIG_RISCV_ISA_ZBB only controls whether optimizations for Zbb are built
> so that if Zbb is detected they can be used.".
>
> Since the instructions emited by bpf jit are in kernel space, they should
> indeed be aligned in this regard.
>
> PS: It's a bit difficult to understand this,😅 if I'm wrong please don't
> hesitate to tell me.
I think your understanding is correct. Sorry if I confused you at all!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20240403/f6d37191/attachment.sig>
More information about the linux-riscv
mailing list