Re: [PATCH 1/2] selftests/mm: Fix build break when compiling pkey_util.c

2025-04-28 Thread Venkat Rao Bagalkote
5b332f7a08 100644 --- a/tools/testing/selftests/mm/pkey_util.c +++ b/tools/testing/selftests/mm/pkey_util.c @@ -1,4 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only +#define __SANE_USERSPACE_TYPES__ #include #include Tested this patch by applying on top of mainline kernel v6.15-rc4, and i

Re: [PATCH 2/2] selftests/mm: Fix a build failure on powerpc

2025-04-28 Thread Venkat Rao Bagalkote
ot;nop\n")) static inline void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) { Tested this patch by applying on top of mainline kernel v6.15-rc4, and it fixes the build issue. Hence, Tested-by: Venkat Rao Bagalkote Without this Patch:  CC   protection_

Re: [PATCH v2 0/2] Fix xdp_adjust_frags_tail_grow selftest on powerpc

2025-03-07 Thread Venkat Rao Bagalkote
PASSED, 0 SKIPPED, 0 FAILED Please add below tag to all the patches in series. Tested-by: Venkat Rao Bagalkote Regards, Venkat.

Re: [PATCH] selftests/bpf: Fix sockopt selftest failure on powerpc

2025-03-12 Thread Venkat Rao Bagalkote
#326/37  sockopt/setsockopt: allow IP_TOS <= 128:OK #326/38  sockopt/setsockopt: deny IP_TOS > 128:OK #326/39  sockopt/can attach only BPF_CGROUP_SETSOCKOP:OK #326/40  sockopt/can attach only BPF_CGROUP_GETSOCKOP:OK #326 sockopt:OK #327     sockopt_inherit:OK #328 sockopt_multi:OK #329 sockopt_qos_to_cc:OK #330 sockopt_sk:OK Summary: 8/40 PASSED, 0 SKIPPED, 0 FAILED Please add below tag. Tested-by: Venkat Rao Bagalkote Regards, Venkat.

Re: [PATCH] selftests/bpf: Fix bpf selftest build error

2025-05-11 Thread Venkat Rao Bagalkote
:read/write()") changed the required type for struct bin_attribute to const struct bin_attribute. To resolve the error, update corresponding signature for the callback. Reported-by: Venkat Rao Bagalkote Closes: https://lore.kernel.org/all/e915da49-2b9a-4c4c-a34f-877f37812...@linux.ibm.com/

Re: [PATCH] selftests/bpf: Fix bpf selftest build warning

2025-05-09 Thread Venkat Rao Bagalkote
PI to the header guard in various network headers") changed the header guard from _LINUX_IF_XDP_H to _UAPI_LINUX_IF_XDP_H in include/uapi/linux/if_xdp.h. To resolve the warning, update tools/include/uapi/linux/if_xdp.h to align with the changes in include/uapi/linux/if_xdp.h Reported-by

Re: [bpf-next 1/6] bpf,powerpc: Introduce bpf_jit_emit_probe_mem_store() to emit store instructions

2025-08-05 Thread Venkat Rao Bagalkote
On 05/08/25 1:04 pm, Christophe Leroy wrote: Le 05/08/2025 à 08:27, Saket Kumar Bhaskar a écrit : bpf_jit_emit_probe_mem_store() is introduced to emit instructions for storing memory values depending on the size (byte, halfword, word, doubleword). Build break with this patch   CC  arc

Re: [bpf-next 0/6] bpf,powerpc: Add support for bpf arena and arena atomics

2025-08-05 Thread Venkat Rao Bagalkote
On 05/08/25 11:57 am, Saket Kumar Bhaskar wrote: This patch series introduces support for the PROBE_MEM32, bpf_addr_space_cast and PROBE_ATOMIC instructions in the powerpc BPF JIT, facilitating the implementation of BPF arena and arena atomics. The last patch in the series has fix for arena sp