[stable-rc 5.4] thp04: page allocation failure: order:0, mode:0x400dc0(GFP_KERNEL_ACCOUNT|__GFP_ZERO), nodemask=(null)

2021-04-20 Thread Naresh Kamboju
The following kernel crash reported on arm64 hikey device running stable-rc 5.4.114-rc1 kernel and testing LTP thp04 test case. Reported-by: Naresh Kamboju I have tried to reproduce this crash but was not successful after multiple attempts. Could not bisect this problem because it is not

Re: [PATCH] ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation

2021-03-25 Thread Naresh Kamboju
f wrapper to (0xe0) INFO: Uncompressed kernel (size 0xd985ec) overlaps the address of the wrapper(0x40) INFO: Fixing the link_address of wrapper to (0xe0) ERROR: modpost: "mul_u64_u64_div_u64" [drivers/ptp/ptp-qoriq.ko] undefined! Reported-by: Naresh Kamboju Steps to repro

Re: [PATCH 5.10 000/156] 5.10.26-rc2 review

2021-03-24 Thread Naresh Kamboju
On Tue, 23 Mar 2021 at 14:19, Naresh Kamboju wrote: > > On Mon, 22 Mar 2021 at 20:49, Greg Kroah-Hartman > wrote: > > > > This is the start of the stable review cycle for the 5.10.26 release. > > There are 156 patches in this series, all will be posted as a response

Re: [PATCH 5.10 104/157] mptcp: put subflow sock on connect error

2021-03-24 Thread Naresh Kamboju
fff8100 (relocation range: 0x8000-0xbfff) steps to reproduce: -- - cd /opt/kselftests/mainline/net/mptcp - ./mptcp_join.sh || true Reported-by: Naresh Kamboju crash test link: https://lkft.validation.linaro.org/scheduler/job/2436164 Re

icmpv6.h:70:2: error: implicit declaration of function '__icmpv6_send'; did you mean 'icmpv6_send'? [-Werror=implicit-function-declaration]

2021-03-02 Thread Naresh Kamboju
warnings being treated as errors make[2]: *** [scripts/Makefile.build:261: init/do_mounts.o] Error 1 Reported-by: Naresh Kamboju Build log link, https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1064182703#L61 https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/jobs/1064593353#L62 -- Linaro LKFT https://lkft.linaro.org

MIPS: net: mscc: ocelot: undefined reference to `packing'

2021-02-17 Thread Naresh Kamboju
drivers/net/ethernet/mscc/ocelot.o: in function `ocelot_xtr_poll_frame': drivers/net/ethernet/mscc/ocelot.c:(.text+0x1c08): undefined reference to `packing' Reported-by: Naresh Kamboju build link, https://builds.tuxbuild.com/1obrU4klh0OkIctHBFbxIwHO0Gd/build.log -- Linaro LKFT https://lkft.linaro.org

Re: [PATCH v4 4/4] arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller

2021-02-16 Thread Naresh Kamboju
;ethernet-phy"; > + reg = <0x1>; This build error was noticed on LKFT builder while building arm64 dtb on linux next 20210216 tag. arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts:52.3-4 syntax error FATAL ERROR: Unable to parse input tree Reported-by: Naresh Kamboju https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1033072509#L382 -- Linaro LKFT https://lkft.linaro.org

Re: linux-next: manual merge of the net-next tree with the arm-soc tree

2021-02-16 Thread Naresh Kamboju
On Tue, 16 Feb 2021 at 17:26, Yoshihiro Shimoda wrote: > > Hi, > > > From: Stephen Rothwell, Sent: Tuesday, February 16, 2021 11:05 AM > > > diff --cc arch/arm64/boot/dts/toshiba/tmpv7708-rm-mbrc.dts > > index 2407b2d89c1e,48fa8776e36f.. > > --- a/arch/arm64/boot/dts/toshiba/tmpv7708-

[next] [s390 ] net: mlx5: tc_tun.h:24:29: error: field 'match_level' has incomplete type

2021-02-09 Thread Naresh Kamboju
eter list will not be visible outside of this definition or declaration 27 | int (*calc_hlen)(struct mlx5e_encap_entry *e); | ^~~~~ Reported-by: Naresh Kamboju build link, https://builds.tuxbuild.com/1oF9mT3pKaPfVIptyzGbiNjKW0m/ -- Linaro LKFT https://lkft.linaro.org

[next] [arm] ERROR: modpost: "udp_sock_create6" [net/rxrpc/rxrpc.ko] undefined!

2021-02-09 Thread Naresh Kamboju
: modpost: "udp_sock_create4" [net/rxrpc/rxrpc.ko] undefined! make[2]: *** [scripts/Makefile.modpost:132: Module.symvers] Error 1 make[2]: *** Deleting file 'Module.symvers' make[2]: Target '__modpost' not remade because of errors. Reported-by: Naresh Kamboju b

Re: [stabe-rc 5.9 ] sched: core.c:7270 Illegal context switch in RCU-bh read-side critical section!

2020-12-16 Thread Naresh Kamboju
On Tue, 15 Dec 2020 at 23:52, Jakub Kicinski wrote: > > On Tue, 15 Dec 2020 06:45:31 -0800 Paul E. McKenney wrote: > > > Crash log: > > > -- > > > # selftests: bpf: test_tc_edt.sh > > > [ 503.796362] > > > [ 503.797960] = > > > [ 503.802131] WARNING: susp

[stabe-rc 5.9 ] sched: core.c:7270 Illegal context switch in RCU-bh read-side critical section!

2020-12-14 Thread Naresh Kamboju
rker_thread+0x48/0x498 [ 879.462340] kthread+0x158/0x168 [ 879.465584] ret_from_fork+0x10/0x1c Reported-by: Naresh Kamboju Full test log link, https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.9.y/build/v5.9.14-106-g609d95a95925/testrun/3586574/suite/linux-log-parser/test/check-kernel

BUG: KCSAN: data-race in __rpc_do_wake_up_task_on_wq / xprt_request_transmit

2020-12-04 Thread Naresh Kamboju
LKFT started testing KCSAN enabled kernel from the linux next tree. Here we have found BUG: KCSAN: data-race in __rpc_do_wake_up_task_on_wq / xprt_request_transmit This report is from an x86_64 machine clang-11 linux next 20201201. Since we are running for the first time we do not call this regres

Re: [PATCH] entry: Fix boot for !CONFIG_GENERIC_ENTRY

2020-11-24 Thread Naresh Kamboju
e. > > > > -- >8 -- > > Subject: [PATCH] entry: Fix boot for !CONFIG_GENERIC_ENTRY > > > > A copy-pasta mistake tries to set SYSCALL_WORK flags instead of TIF > > flags for !CONFIG_GENERIC_ENTRY. Also, add safeguards to catch this at > > compilation time. This

[arm64] kernel BUG at kernel/seccomp.c:1309!

2020-11-23 Thread Naresh Kamboju
pu_startup_entry+0x30/0x78 [7.379397] secondary_start_kernel+0x158/0x190 [7.383930] ---[ end trace 463debbc21f0c7b6 ]--- [ OK ] Reached target B# Reported-by: Naresh Kamboju full test log, https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20201123/testrun/3478150/suit

Re: [MPTCP] [PATCH net-next] mptcp: update rtx timeout only if required.

2020-11-19 Thread Naresh Kamboju
col.c | 9 + > > 1 file changed, 5 insertions(+), 4 deletions(-) > > > > Reviewed-by: Mat Martineau Reported-by: Naresh Kamboju Tested-by: Naresh Kamboju The reported kernel warning was fixed after applying this fix on top of Linux next tag 20201119. - Naresh

WARNING: net/mptcp/protocol.c:719 mptcp_reset_timer+0x40/0x50

2020-11-18 Thread Naresh Kamboju
0>] 0x0 [ 1276.305197] ---[ end trace fe4f318db7e06cdb ]--- Reported-by: Naresh Kamboju metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: 2052923327794192c5d884623b5ee5fec1867bda git describe: next-20201118

Re: [PATCH 5.9 000/255] 5.9.9-rc1 review

2020-11-17 Thread Naresh Kamboju
On Tue, 17 Nov 2020 at 19:02, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.9.9 release. > There are 255 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: arm64 build broken on linux next 20201021 - include/uapi/asm-generic/unistd.h:862:26: error: array index in initializer exceeds array bounds

2020-10-21 Thread Naresh Kamboju
On Wed, 21 Oct 2020 at 12:06, Marek Szyprowski wrote: > > Hi Naresh, > > On 21.10.2020 07:05, Naresh Kamboju wrote: > > arm64 build broken while building linux next 20201021 tag. > > > > include/uapi/asm-generic/unistd.h:862:26: error: array index in > &

arm64 build broken on linux next 20201021 - include/uapi/asm-generic/unistd.h:862:26: error: array index in initializer exceeds array bounds

2020-10-20 Thread Naresh Kamboju
arm64 build broken while building linux next 20201021 tag. include/uapi/asm-generic/unistd.h:862:26: error: array index in initializer exceeds array bounds #define __NR_watch_mount 441 ^ Reported-by: Naresh Kamboju build error log on arm64

BUG: unable to handle page fault for address - PF: supervisor read access in kernel mode

2020-10-20 Thread Naresh Kamboju
[#1] SMP PTI CPU: 1 PID: 887 Comm: ip Tainted: GW K 5.9.0-next-20201016 #1 Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS 2.0b 07/27/2017 RIP: 0010:__kmalloc_track_caller+0x100/0x340 Reported-by: Naresh Kamboju metadata: git branch: master git repo: https://git.kernel.org

Re: selftests: netfilter: nft_nat.sh: /dev/stdin:2:9-15: Error: syntax error, unexpected counter

2020-10-14 Thread Naresh Kamboju
On Thu, 15 Oct 2020 at 01:00, Pablo Neira Ayuso wrote: > > On Wed, Oct 14, 2020 at 05:19:33PM +0530, Naresh Kamboju wrote: > > While running kselftest netfilter test on x86_64 devices linux next > > tag 20201013 kernel > > these errors are noticed. This not specific t

selftests: netfilter: nft_nat.sh: /dev/stdin:2:9-15: Error: syntax error, unexpected counter

2020-10-14 Thread Naresh Kamboju
fnamecount {} # ^^^ # /dev/stdin:4:9-15: Error: syntax error, unexpected counter # counter iifgroupcount {} # ^^^ # /dev/stdin:11:9-15: Error: syntax error, unexpected counter # counter icurrentyearc[ 1246.027275] kselftest: Running tests in pidfd ounter {} #

Re: WARNING: at net/netfilter/nf_tables_api.c:622 lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]

2020-10-14 Thread Naresh Kamboju
On Wed, 14 Oct 2020 at 12:20, Naresh Kamboju wrote: > > While running kselftest netfilter on arm64 hikey device on Linux next > 20201013 the following > kernel warning noticed. Same issue noticed on i386. # selftests: netfilter: nft_trans_stress.sh [ 1092.615814] --

WARNING: at net/netfilter/nf_tables_api.c:622 lockdep_nfnl_nft_mutex_not_held+0x28/0x38 [nf_tables]

2020-10-14 Thread Naresh Kamboju
While running kselftest netfilter on arm64 hikey device on Linux next 20201013 the following kernel warning noticed. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: f2fb1afc57304f9dd68c20a08270e287470af2eb git describe:

i386: allmodconfig build failed on linux next

2020-09-24 Thread Naresh Kamboju
i386 allmodconfig build failed on linux next due to below errors. Since we recently started building allmodconfig. we do not have when this problem started. We are building with gcc-8, gcc-9 and gcc-10. Build log: make -sk KBUILD_BUILD_USER=TuxBuild -C/linux ARCH=i386 HOSTCC=gcc CC="

expects argument of type 'size_t', but argument 5 has type 'Elf64_Xword

2020-08-24 Thread Naresh Kamboju
while building perf with gcc 7.3.0 on linux next this warning/error is found. In file included from libbpf.c:55:0: libbpf.c: In function 'bpf_object__elf_collect': libbpf_internal.h:74:22: error: format '%zu' expects argument of type 'size_t', but argument 5 has type 'Elf64_Xword {aka long long un

NETDEV WATCHDOG: WARNING: at net/sched/sch_generic.c:442 dev_watchdog

2020-08-19 Thread Naresh Kamboju
ild/v5.8.2/testrun/3085886/suite/linux-log-parser/test/check-kernel-warning-1683943/log Reported-by: Naresh Kamboju -- Linaro LKFT https://lkft.linaro.org

WARNING: at net/wireless/ti/wlcore/io.h:52 wlcore_set_partition - wl12xx_set_power_on

2020-08-10 Thread Naresh Kamboju
While running kselftests firmware test cases on arm64 hikey the following kernel warning noticed after rcu_preempt detected. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git commit: f80535b9aa10b0bbed0fb727247c03e20580db1c git d

Re: [PATCH net-next v2 2/6] tunnels: PMTU discovery support for directly bridged IP packets

2020-08-05 Thread Naresh Kamboju
cmp6hdr) { > + .icmp6_type = ICMPV6_PKT_TOOBIG, > + .icmp6_code = 0, > + .icmp6_cksum= 0, > + .icmp6_mtu = htonl(mtu), > + }; > + skb_reset_transport_header(skb); >

Re: [PATCHv3 ipsec-next 06/10] ip6_vti: support IP6IP6 tunnel processing with .cb_handler

2020-07-14 Thread Naresh Kamboju
On Mon, 6 Jul 2020 at 17:32, Xin Long wrote: > > Similar to IPIP tunnel's processing, this patch is to support > IP6IP6 tunnel processing with .cb_handler. > > v1->v2: > - no change. > v2-v3: > - enable it only when CONFIG_INET6_XFRM_TUNNEL is defined, to fix > the build error, reported by

Re: [PATCH 18/20] block: refator submit_bio_noacct

2020-07-02 Thread Naresh Kamboju
On Thu, 2 Jul 2020 at 19:40, Qian Cai wrote: > > On Mon, Jun 29, 2020 at 09:39:45PM +0200, Christoph Hellwig wrote: > > Split out a __submit_bio_noacct helper for the actual de-recursion > > algorithm, and simplify the loop by using a continue when we can't > > enter the queue for a bio. > > > > S

Re: stable-rc 4.19: NETDEV WATCHDOG: eth0 (asix): transmit queue 0 timed out - net/sched/sch_generic.c:466 dev_watchdog

2020-05-13 Thread Naresh Kamboju
: dev_watchdog+0x438/0x470 [ 1098.042508] lr : dev_watchdog+0x438/0x470 ref: https://qa-reports.linaro.org/lkft/linux-stable-rc-5.6-oe/build/v5.6.12-119-gf1d28d1c7608/testrun/1430360/log On Tue, 5 May 2020 at 17:01, Naresh Kamboju wrote: > > While running selftests bpf test_sysctl on stable rc 4.19

Re: x86_64: 5.6.0: locking/lockdep.c:1155 lockdep_register_key

2020-05-13 Thread Naresh Kamboju
On Thu, 16 Apr 2020 at 23:15, Naresh Kamboju wrote: > > On Sat, 11 Apr 2020 at 02:20, Cong Wang wrote: > > > > On Tue, Apr 7, 2020 at 2:58 AM Naresh Kamboju > > wrote: > > > > > > On Linux mainline kernel 5.6.0 running kselftest on i386 kernel runni

Re: [PATCH net 11/16] net: ethernet: marvell: mvneta: fix fixed-link phydev leaks

2020-05-07 Thread Naresh Kamboju
On Thu, 7 May 2020 at 16:43, Greg Kroah-Hartman wrote: > > > > > > > Greg, 3f65047c853a ("of_mdio: add helper to deregister fixed-link > > > PHYs") needs to be backported as well for these. > > > > > > Original series can be found here: > > > > > > > > > https://lkml.kernel.org/r/1480357509-

Re: [PATCH net 11/16] net: ethernet: marvell: mvneta: fix fixed-link phydev leaks

2020-05-06 Thread Naresh Kamboju
On Tue, 29 Nov 2016 at 00:00, Johan Hovold wrote: > > Make sure to deregister and free any fixed-link PHY registered using > of_phy_register_fixed_link() on probe errors and on driver unbind. > > Fixes: 83895bedeee6 ("net: mvneta: add support for fixed links") > Signed-off-by: Johan Hovold > ---

stable-rc 4.19: NETDEV WATCHDOG: eth0 (asix): transmit queue 0 timed out - net/sched/sch_generic.c:466 dev_watchdog

2020-05-05 Thread Naresh Kamboju
While running selftests bpf test_sysctl on stable rc 4.19 branch kernel on arm64 hikey device. The following warning was noticed. [ 118.957395] test_bpf: #296 BPF_MAXINSNS: exec all MSH [ 148.966435] [ cut here ] [ 148.988349] NETDEV WATCHDOG: eth0 (asix): transmit queue

kernel/workqueue.c:3030 __flush_work+0x2c2/0x2d0

2019-06-16 Thread Naresh Kamboju
kselftest__url: https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.xz kselftest__version: '5.1' kselftest__revision: '5.1' Full test log, https://lkft.validation.linaro.org/scheduler/job/775857#L1114 Best regards Naresh Kamboju

bpf: test_xdp_vlan.sh: Kernel panic: Unable to handle kernel paging request at virtual address 000080096d61a000

2019-06-04 Thread Naresh Kamboju
] CPU features: 0x0002,24006004 [ 940.728957] Memory Limit: none [ 940.731998] ---[ end Kernel panic - not syncing: Fatal exception in interrupt ]--- [1] https://lkft.validation.linaro.org/scheduler/job/760547#L23242 Best regards Naresh Kamboju

BUG: kernel NULL pointer dereference, address: 00000000: memcpy+0x1d/0x30

2019-06-04 Thread Naresh Kamboju
: tasks_to [ 93.781266] note: test_sockmap[4354] exited with preempt_count 2 # # Fork 100 tasks to 'test_hashmap_walk' 100: tasks_to # # helper_fill_hashmap(261)FAILfailed to create hashmap err Cannot allocate memory, flags 0x0 [1] https://lkft.validation.linaro.org/scheduler/job/760391#L13640 Best regards Naresh Kamboju

selftests: bpf: test_sock: WARNING: workqueue.c:3030 __flush_work+0x3fc/0x470

2019-05-13 Thread Naresh Kamboju
ux-mainline-oe/build/v5.1-9822-g47782361aca2/testrun/719520/log Best regards Naresh Kamboju

selftests: bpf: test_align Failed to find match 1: R1=ctx(id=0,off=0,imm=0) func#0 @0

2019-03-18 Thread Naresh Kamboju
-20190306 Bad linux -next tag: next-20190318 git branch master git commitb9998194591467dc562c23ecefb63af4eff7530b git describe next-20190318 git repo https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Best regards Naresh Kamboju

net/strparser/strparser.c:526 strp_done+0x41/0x50

2019-03-01 Thread Naresh Kamboju
Do you see this Kernel warning while running selftests bpf tes_sock on x86_64 running Linux kernel version 5.0.0-rc8-next-20190301 ? selftests: bpf: test_sock Test case: bind4 load with invalid access: src_ip6 .. [PASS] Test case: bind4 load with invalid access: mark .. [PASS] Test case: bind6 l

bpf: test_tunnel.sh: BUG: unable to handle kernel NULL pointer dereference

2019-02-01 Thread Naresh Kamboju
device. Full test log on arm64. https://qa-reports.linaro.org/lkft/linux-next-oe/build/next-20190129/testrun/589455/log Best regards Naresh Kamboju

selftests: net: test_vxlan_fdb_changelink.sh: expected two remotes after link set [FAIL]

2019-01-30 Thread Naresh Kamboju
Newly added selftests: net: test_vxlan_fdb_changelink.sh Failed on 4.19, 4.14, 4.9 and 4.4 PASS on 4.20, mainline and -next This test case is added in kselftest version update to 4.20. selftests: net: test_vxlan_fdb_changelink.sh expected two remotes after fdb append [ OK ] expected two remotes af

[PATCH] selftests/netfilter: fix config fragment CONFIG_NF_TABLES_INET

2019-01-28 Thread Naresh Kamboju
In selftests the config fragment for netfilter was added as NF_TABLES_INET=y and this patch correct it as CONFIG_NF_TABLES_INET=y Signed-off-by: Naresh Kamboju --- tools/testing/selftests/netfilter/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing

selftests/bpf/test_netcnt failed on i386 - ibbpf: failed to create map (name: 'percpu_netcnt'): Invalid argument

2019-01-18 Thread Naresh Kamboju
st=bpf_test_netcnt Best regards Naresh Kamboju

Re: [PATCH bpf] bpf: fix panic in stack_map_get_build_id() on i386 and arm32

2019-01-17 Thread Naresh Kamboju
gt; > This patch fixes this error by using kmap_atomic/kunmap_atomic instead > > of page_address. > > > > Fixes: 615755a77b24 (" bpf: extend stackmap to save binary_build_id+offset > > instead of address") > > Reported-by: Naresh Kamboju > > Signed-o

Re: selftests/bpf/test_progs: 32-bit: Unable to handle kernel NULL pointer dereference at virtual address 00000000

2018-12-17 Thread Naresh Kamboju
.validation.linaro.org/scheduler/job/547357#L1808 qemu-system-arm, https://lkft.validation.linaro.org/scheduler/job/547090#L1818 Thanks Naresh > > Thanks, > Daniel > > >> On 12/17/2018 01:50 PM, Naresh Kamboju wrote: > >>> Unable to handle kernel NULL pointer de

selftests/bpf/test_progs: 32-bit: Unable to handle kernel NULL pointer dereference at virtual address 00000000

2018-12-17 Thread Naresh Kamboju
ernel/v4.x/linux-4.19.tar.xz kselftest__version: '4.19' kselftest__revision: '4.19' Best regards Naresh Kamboju

Re: [PATCH AUTOSEL 4.19 040/123] bpf: allocate local storage buffers using GFP_ATOMIC

2018-12-06 Thread Naresh Kamboju
On Fri, 7 Dec 2018 at 12:10, Naresh Kamboju wrote: > > On Wed, 5 Dec 2018 at 15:08, Sasha Levin wrote: > > > > From: Roman Gushchin > > > > [ Upstream commit 569a933b03f3c48b392fe67c0086b3a6b9306b5a ] > > > > Naresh reported an issue with the non-at

Re: [PATCH AUTOSEL 4.19 040/123] bpf: allocate local storage buffers using GFP_ATOMIC

2018-12-06 Thread Naresh Kamboju
ks) is called with disabled preemption, so GFP_ATOMIC > allocation should be used: e.g. alloc_htab_elem() in hashtab.c. > > Reported-by: Naresh Kamboju > Tested-by: Naresh Kamboju > Signed-off-by: Roman Gushchin > Cc: Alexei Starovoitov > Cc: Daniel Borkmann > Signed-

[PATCH] selftests/bpf: add config fragment CONFIG_NF_NAT_IPV6

2018-11-29 Thread Naresh Kamboju
CONFIG_NF_NAT_IPV6=y is required for bpf test_sockmap test case Fixes, ip6tables v1.6.1: can't initialize ip6tables table `nat': Table does not exist Signed-off-by: Naresh Kamboju --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing

[PATCH] selftests/bpf: add config fragment CONFIG_FTRACE_SYSCALLS

2018-11-27 Thread Naresh Kamboju
CONFIG_FTRACE_SYSCALLS=y is required for get_cgroup_id_user test case this test reads a file from debug trace path /sys/kernel/debug/tracing/events/syscalls/sys_enter_nanosleep/id Signed-off-by: Naresh Kamboju --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+) diff

selftests/bpf: libbpf: object file doesn't contain bpf program

2018-11-21 Thread Naresh Kamboju
.. libbpf: object file doesn't contain bpf program ./flow_dissector_load: bpf_prog_load bpf_flow.o selftests: test_flow_dissector [FAILED] Do you see problem when running on target devices ? Best regards Naresh Kamboju

selftests/bpf :get_cgroup_id_user: File not found: /sys/kernel/debug/tracing/events/syscalls/sys_enter_nanosleep/id

2018-11-21 Thread Naresh Kamboju
l/debug/tracing/events/syscalls/sys_enter_nanosleep/id\", O_RDONLY) = -1 ENOENT (No such file or directory) write(1, \"main:FAIL:open err -1 errno 2\n\", 30main:FAIL:open err -1 errno 2 Am I missing any pre-requirement ? Best regards Naresh Kamboju

Re: selftests: net: udpgro.sh hangs on DUT devices running Linux -next

2018-11-18 Thread Naresh Kamboju
Hi Paolo, On Sun, 18 Nov 2018 at 05:01, Paolo Abeni wrote: > > Hi, > > On Fri, 2018-11-16 at 14:55 +0530, Naresh Kamboju wrote: > > Kernel selftests: net: udpgro.sh hangs / waits forever on x86_64 and > > arm32 devices running Linux -next. Test getting PASS on arm64 dev

selftests: net: udpgro.sh hangs on DUT devices running Linux -next

2018-11-16 Thread Naresh Kamboju
les v1.6.1: can't initialize ip6tables table `nat': Table does not exist (do you need to insmod?) Best regards Naresh Kamboju

Re: BUG: sleeping function called from invalid context at mm/slab.h:421

2018-11-14 Thread Naresh Kamboju
Hi Roman, On Tue, 13 Nov 2018 at 23:07, Roman Gushchin wrote: > > On Tue, Nov 13, 2018 at 10:03:38PM +0530, Naresh Kamboju wrote: > > While running kernel selftests bpf test_cgroup_storage test this > > kernel BUG reported every time on all devices running Linux -next &

BUG: sleeping function called from invalid context at mm/slab.h:421

2018-11-13 Thread Naresh Kamboju
egards Naresh Kamboju

[PATCH] selftests/bpf: add config fragments BPF_STREAM_PARSER and XDP_SOCKETS

2018-10-25 Thread Naresh Kamboju
BPF sockmap and hashmap are dependent on CONFIG_BPF_STREAM_PARSER and xskmap is dependent on CONFIG_XDP_SOCKETS Signed-off-by: Naresh Kamboju --- tools/testing/selftests/bpf/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/bpf/config b/tools/testing

Re: [PATCH bpf-next 6/6] selftests/bpf: test_verifier, check bpf_map_lookup_elem access in bpf prog

2018-10-25 Thread Naresh Kamboju
p_map_xskmap); > > + } selftests: bpf: test_verifier sockmap, sockhash, xskmap failed on mainline and next (from 4.19.0-rc7-next-20181011 to till date ) Are we missing any pre-required kernel configs ? Test log, selftests: bpf: test_verifier <> #274/p prevent map lookup in

Re: selftests/bpf: test_kmod.sh hangs on all devices

2018-10-09 Thread Naresh Kamboju
Hi Shuah, On Mon, 8 Oct 2018 at 20:46, Shuah Khan wrote: > > Hi Naresh, > > Please use sh...@kernel.org for faster responses. I updated MAINTAINERS > entry a while back removing shua...@osg.samsung.com address due to IT > infrastructure changes at Samsung. +1 Thank you. B

Re: selftests/bpf: test_kmod.sh hangs on all devices

2018-10-09 Thread Naresh Kamboju
> > > OTOH, > > > There is a kernel BUG, > > > > This is quite an old linux-next kernel, should be fixed by 100811936f89 > > ("bpf: test_bpf: > > add init_net to dev for flow_dissector"). Please make sure you have that > > commit included > > in your testing: This patch included in the linux nex

Re: selftests/bpf: test_kmod.sh hangs on all devices

2018-10-08 Thread Naresh Kamboju
Daniel, On Mon, 8 Oct 2018 at 18:58, Daniel Borkmann wrote: > > On 10/08/2018 03:13 PM, Naresh Kamboju wrote: > > BPF test case test_kmod.sh hangs on all devices running linux next. > > > > + cd /opt/kselftests/default-in-kernel/bpf > > + ./test_kmod.sh > > sy

mainline: x86_64: kernel panic: RIP: 0010:__xfrm_policy_check+0xcb/0x690

2018-06-11 Thread Naresh Kamboju
\ 0x } Complete test log can be found in this location, https://lkft.validation.linaro.org/scheduler/job/269604#L2092 Best regards Naresh Kamboju

selftests: pmtu: Need pre-required configs ?

2018-05-17 Thread Naresh Kamboju
://snapshots.linaro.org/openembedded/lkft/morty/intel-core2-32/rpb/\ linux-mainline/852/config For more details please refer this log, https://lkft.validation.linaro.org/scheduler/job/212320#L3395 Best regards Naresh Kamboju

Re: [PATCH] net: ethernet: ti: cpsw: fix packet leaking in dual_mac mode

2018-05-17 Thread Naresh Kamboju
On 2 May 2018 at 20:38, David Miller wrote: > From: Grygorii Strashko > Date: Tue, 1 May 2018 12:41:22 -0500 >> Signed-off-by: Grygorii Strashko > > Applied and queued up for -stable, thank you. 4.4 stable-rc build failed for arm32. MACHINE=am57xx-evm Build error log: dri

Re: selftests: net: reuseport_bpf failed intermittently

2018-02-08 Thread Naresh Kamboju
Hi Daniel, On 8 February 2018 at 18:07, Daniel Borkmann wrote: > On 02/08/2018 12:41 PM, Naresh Kamboju wrote: >> selftests/net/reuseport_bpf FAILED in full run on x86_64 and the >> independent test execution resulted as PASS. >> >

selftests: net: reuseport_bpf failed intermittently

2018-02-08 Thread Naresh Kamboju
ure. Best regards Naresh Kamboju

Re: [PATCH] selftests: bpf: test_kmod.sh: check the module path before insmod

2018-02-07 Thread Naresh Kamboju
Hi Daniel, On 7 February 2018 at 19:02, Daniel Borkmann wrote: > Hi Naresh, > > On 02/06/2018 10:07 PM, Naresh Kamboju wrote: >> test_kmod.sh reported false failure when module not present. >> Check test_bpf.ko is present in the path before loading it. >> >>

[PATCH v2] selftests: bpf: test_kmod.sh: check the module path before insmod

2018-02-07 Thread Naresh Kamboju
other hand testers run full tests by installing modules on device under test (DUT) and followed by modprobe to insert the modules accordingly. Signed-off-by: Naresh Kamboju --- tools/testing/selftests/bpf/test_kmod.sh | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) di

[PATCH] selftests: bpf: test_kmod.sh: check the module path before insmod

2018-02-06 Thread Naresh Kamboju
test_kmod.sh reported false failure when module not present. Check test_bpf.ko is present in the path before loading it. Stop using "insmod $SRC_TREE/lib/test_bpf.ko" instead use "modprobe test_bpf" Signed-off-by: Naresh Kamboju --- tools/testing/selftests/bpf/test_kmod.sh

[PATCH] selftests: net: Adding config fragment CONFIG_NUMA=y

2017-12-19 Thread Naresh Kamboju
kernel config fragement CONFIG_NUMA=y is need for reuseport_bpf_numa. Signed-off-by: Naresh Kamboju --- tools/testing/selftests/net/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config index e57b4ac..7177bea 100644

selftests: net: config: need extra kernel config fragments ?

2017-12-12 Thread Naresh Kamboju
Thank you in advance. Best regards Naresh Kamboju

[PATCH] selftests: bpf: Adding config fragment CONFIG_CGROUP_BPF=y

2017-12-11 Thread Naresh Kamboju
CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case. Signed-off-by: Naresh Kamboju --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index 52d53ed..9d48973 100644 --- a

[PATCH] selftests: net: Adding config fragment CONFIG_CGROUP_BPF=y

2017-12-07 Thread Naresh Kamboju
CONFIG_CGROUP_BPF=y is required for test_dev_cgroup test case. Signed-off-by: Naresh Kamboju --- tools/testing/selftests/net/config | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config index e57b4ac..02301c6 100644 --- a

[PATCH v3 2/2] selftests: bpf: test_kmod.sh: use modprobe on target device

2017-11-07 Thread naresh . kamboju
From: Naresh Kamboju On ARM and ARM64 devices kernel source tree is not available so insmod "$SRC_TREE/lib/test_bpf.ko" is not working. On these target devices the test_bpf.ko is installed under /lib/modules/`uname -r`/kernel/lib/ so use modprobe dry run to check for missing test_bpf

[PATCH v3 1/2] selftests: bpf: test_kmod.sh: check the module path before insmod

2017-11-07 Thread naresh . kamboju
From: Naresh Kamboju test_kmod.sh reported false failure when module not present. Instead check test_bpf.ko is present in the path before loading it. Signed-off-by: Naresh Kamboju --- tools/testing/selftests/bpf/test_kmod.sh | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff

Re: [PATCH v2 1/2] selftests: bpf: test_kmod.sh: check if module is present in the path before insert

2017-11-06 Thread Naresh Kamboju
On 7 September 2017 at 14:46, Daniel Borkmann wrote: > On 09/07/2017 10:19 AM, naresh.kamb...@linaro.org wrote: >> >> From: Naresh Kamboju >> >> The test script works when kernel source and build module test_bpf.ko >> present on the machine. This patch will che

Re: [PATCH v2 2/2] selftests: bpf: test_kmod.sh: use modprobe on target device

2017-11-06 Thread Naresh Kamboju
On 7 September 2017 at 14:50, Daniel Borkmann wrote: > On 09/07/2017 10:19 AM, naresh.kamb...@linaro.org wrote: >> >> From: Naresh Kamboju >> >> on ARM and ARM64 devices kernel source tree is not available so >> insmod "$SRC_TREE/lib/test_bpf.ko" is not

wlcore: DEADLOCK: WARNING: possible circular locking dependency detected

2017-05-18 Thread Naresh Kamboju
8/0x68 [ 76.513005] [] irq_thread+0x158/0x1f8 [ 76.518242] [] kthread+0x108/0x138 [ 76.523217] [] ret_from_fork+0x10/0x40 Best regards Naresh Kamboju