[PATCH] riscv, bpf: Use STACK_ALIGN macro for size rounding up
Wang, Xiao W
xiao.w.wang at intel.com
Wed May 22 20:11:06 PDT 2024
> -----Original Message-----
> From: Pu Lehui <pulehui at huawei.com>
> Sent: Thursday, May 23, 2024 9:43 AM
> To: Wang, Xiao W <xiao.w.wang at intel.com>
> Cc: paul.walmsley at sifive.com; palmer at dabbelt.com;
> aou at eecs.berkeley.edu; luke.r.nels at gmail.com; xi.wang at gmail.com;
> bjorn at kernel.org; ast at kernel.org; daniel at iogearbox.net; andrii at kernel.org;
> martin.lau at linux.dev; eddyz87 at gmail.com; song at kernel.org;
> yonghong.song at linux.dev; john.fastabend at gmail.com; kpsingh at kernel.org;
> sdf at google.com; haoluo at google.com; jolsa at kernel.org; linux-
> riscv at lists.infradead.org; linux-kernel at vger.kernel.org; bpf at vger.kernel.org;
> Li, Haicheng <haicheng.li at intel.com>
> Subject: Re: [PATCH] riscv, bpf: Use STACK_ALIGN macro for size rounding up
>
>
> On 2024/5/22 13:45, Xiao Wang wrote:
> > Use the macro STACK_ALIGN that is defined in asm/processor.h for stack size
> > rounding up, just like bpf_jit_comp32.c does.
> >
> > Signed-off-by: Xiao Wang <xiao.w.wang at intel.com>
> > ---
> > arch/riscv/net/bpf_jit_comp64.c | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
>
> It met a patching conflict. I think you should target for the bpf-next tree.
> https://github.com/kernel-patches/bpf/pull/7080
OK, I would make v2 based on bpf-next.
BRs,
Xiao
More information about the linux-riscv
mailing list