Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp371266lqp; Wed, 12 Jun 2024 04:22:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVsaICIrDVrdcm+ZCVHQnJ4RctXbAtz8spSj8Go+W4yD/TAgrf8kpWF1kPKB1+zYlOhlWYy22DCNEGbqA+p19D2q/80OXfYQAvZMdfspg== X-Google-Smtp-Source: AGHT+IGyzpzJqPJdJbkTzDj7h84MvEwFHuiEikDj/X0HCYK4CBJ6CNvgFeZzZjtFbjV2usTWAzvU X-Received: by 2002:a05:6808:23cd:b0:3d2:2768:c8e2 with SMTP id 5614622812f47-3d23e0460c9mr1749618b6e.30.1718191349914; Wed, 12 Jun 2024 04:22:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718191349; cv=pass; d=google.com; s=arc-20160816; b=xY4vznylOj8AzPZW7/rI40VFxNpUlBZt0WfKPWu0Wt/kUvZ/7fdqIEBYWElnLGp+Xz L1wQnZOmdFzeyUT8tQPgB8AYnp1W+XdLR9yt55bRBYD/b2rVP9Z2nEhJiNn15jjmD4UL 3X90/1AOBeoK0D1qomGrr4qP2JP2cqOTlzwwEV9wr7SRi8M/k0wFRHlDmhaZ4aAcyAh9 Y8RalYPItpfk0ZA/lGyhLtPXhwGNj1p8KNjBzr8u3/LcjtTadyvGWcv5TMwk36wV8z0U 6XrhLbVjgFcW+HLJ+3NjP0/O+5lnz8nRT2zUEL60bouoGBsddhvYFAG1MSbgIVcCH0wi GlAw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=/IAp1HeQ73IM50UTkojUWwtLb+9FPd+0r53y+ZVFfs8=; fh=fyNNFsTMOo3+C84QnmFV8hKQF8yTzgovYjGzhaaQaeU=; b=mlJvW4ziz2q8V57nv03z89P4GJIF9NhZEj/WCO/BDMHNJIs0uqWqM0MdBxlhm7h8aS uSLali9QPfnF4BDnzopm+tVm0VZU11S/2JVQa3EGA/1aSnqQ33CHUQsfBV0ARIbl4ht1 tFPFQ+eZC4K3qZv9nm5VDDdhmDnhhW0wQ7gzRWxd8GoJ7vcLXxnlCayhw6XSl2VZR9wA IJVmFnZ4eq2gXdtZwvRww8ppdHe2Rb8V50Bsa6wnXXBnJE8ILtSZ1X95/6YRFYd+N2yB IFVpWOO7DbzuF7Zra9ZrxJntv89A8HmRrIqig/0DyN3q/vjxZ/q7Qs5R6byFLZp9z5q9 2OzA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SULeRaqN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-211407-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-7041af4fc43si7149939b3a.113.2024.06.12.04.22.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 04:22:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211407-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SULeRaqN; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-211407-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211407-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1BBE02878F2 for ; Wed, 12 Jun 2024 11:22:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B60AC16F0E2; Wed, 12 Jun 2024 11:22:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SULeRaqN" Received: from mail-vs1-f50.google.com (mail-vs1-f50.google.com [209.85.217.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C003716DECC for ; Wed, 12 Jun 2024 11:22:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.217.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718191340; cv=none; b=DebbSTYnrRM9/Fs0TYCK86BudlcCYDOtItRQCzNk0uFQio9RN4lWHxAi6pJyYGMzQGRz7eN/wYzYGM0puEqJBCP0W7qGKHflDoryoH+bhTsAvj1/h9vm9S5FVSmO8p8AFwbstZ+pffPIJ1GpN43gzRfB3NnRr4LneVZ4NG+ZQyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718191340; c=relaxed/simple; bh=S4ToOD7sLlIxL+6jhns7OyjKM8K4sMQHz0KiwTmb2Rk=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=mlyjMrl+zHWwL7fmQ/+PITEiWwj5xUYSj5cDi+ww3thzKLB+JY4VfjKwjnqRBItNrvW1uki/lB6h3hXiMHWdCpRFLoa2Kdr52mEAZgmRs2hEHmKJs/MahWbHfN4ywgPlCc/ZCshYUOmG5kvGQUqOJrAyd9d4FWnFuK1Cu++83/I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=SULeRaqN; arc=none smtp.client-ip=209.85.217.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-vs1-f50.google.com with SMTP id ada2fe7eead31-48d7a81a594so1010139137.2 for ; Wed, 12 Jun 2024 04:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718191337; x=1718796137; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=/IAp1HeQ73IM50UTkojUWwtLb+9FPd+0r53y+ZVFfs8=; b=SULeRaqN7tmJGH3DNrTxUd6E4oCRjufUJlogeYU3ry5r2ptFcpFsEZ1EjRMkADEVn9 t7lmy5x6WJAilYppZmaIjc8VnIZfWnKPiPStBM1qvoTxFXkVFykS7KQ18lCfss6m3fg4 hUSBAigj1LeT84BhXWjP+LJWouvVmC9oYSWEVZNmFWeNxfp6mvEzGd9sGCFdSpvDOhuz NHKg7Kcn/bGhTns8qLo/cHf4/WdJkQjLIRTtaO3yeNxGORVFd+NmzEej6kILU/z7zIPX y4VN4ik+AoYn/nlK8NS9pbTtZwuOcTCHVnntp41IH6kk4Z6BJ9JG5gpbmnu9Cuwnm+eD LA3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718191337; x=1718796137; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/IAp1HeQ73IM50UTkojUWwtLb+9FPd+0r53y+ZVFfs8=; b=ebnox0ZT65iIyXaG2OX531M7Bwyzu6WrlxRhGZ2y+yVn8js4aRoFz0gGv1K6y3N3dv jFbVH20LhAPlWIkkBKusyMIcH0lea1a6ZHu+BoZZc9BwSynFWHpLHeodIC8zRYx/FunI sQD0y4obj/4K1v5/tz8RASsPYvmk3QFaVH2DxpB3UCY3hRF3nj8r5R915Yw4CqUAYXAK dgM940FmQ670YDYqX6ugE0ya03TDXUJ4/ewUikzYPNhXPT1XrsR5jcNAkcssbCDWu3H2 hJQZghuIrbIRPELBNR1Dolg4wT7hs0sdaPT7p+Vx4Qk5TvWaUdP/EPkDkdmTEWYh7cCC poaw== X-Gm-Message-State: AOJu0YwXAhy/V62Uy5l0cV7p1xAqmzjBo4EqHWFUvAy7irzKcu9zI7jl b6Cx5E5Bbq+Q/kXZYfAr75JUbuSGuz6BUDdPAE1nmD2FCCsgDIT6BpW8wKQQ1x/7nzUp90s5/rQ e3PQwVwO81wKXoYjTAAlUBLQOWikvMo0mRUsiyykUiv7p5+wyuJ0= X-Received: by 2002:a67:f715:0:b0:48c:377b:11d with SMTP id ada2fe7eead31-48d91e41468mr1887485137.22.1718191337202; Wed, 12 Jun 2024 04:22:17 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Naresh Kamboju Date: Wed, 12 Jun 2024 16:52:05 +0530 Message-ID: Subject: LTP tracing crashed on arm64 rk3399-rock-pi-4 - pc : ftrace_ops_test To: open list , lkft-triage@lists.linaro.org, Linux Regressions Cc: Dan Carpenter , Arnd Bergmann , Masami Hiramatsu , Steven Rostedt Content-Type: text/plain; charset="UTF-8" The following kernel oops and kernel panic noticed while running LTP tracing test cases on arm64 rk3399-rock-pi-4 device running Linux next-20240612 tag. Reported-by: Linux Kernel Functional Testing Boot and test log: -------------- [ 0.000000] Linux version 6.10.0-rc3-next-20240612 (tuxmake@tuxmake) (Debian clang version 18.1.6 (++20240518023133+1118c2e05e67-1~exp1~20240518143227.130), Debian LLD 18.1.6) #1 SMP PREEMPT @1718178628 ... trap: SIGUSR1: bad trap ftrace-stress-test 1 TINFO: Start pid16=595 /opt/ltp/testcases/bin/ftrace_stress/ftrace_tracing_cpumask.sh ftrace-stress-test 1 TINFO: Start pid17=598 /opt/ltp/testcases/bin/ftrace_stress/ftrace_set_ftrace_filter.sh [ 55.770077] Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and stat_runtime require the kernel parameter schedstats=enable or kernel.sched_schedstats=1 [ 55.790580] Scheduler tracepoints stat_sleep, stat_iowait, stat_blocked and stat_runtime require the kernel parameter schedstats=enable or kernel.sched_schedstats=1 trap: SIGTERM: bad trap ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error ftrace_buffer_size_kb.sh: 33: echo: echo: I/O error [ 100.599846] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 [ 100.599846] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 [ 100.599846] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 [ 100.599846] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 [ 100.599856] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000008 [ 100.599866] Mem abort info: [ 100.599867] Mem abort info: [ 100.599867] Mem abort info: [ 100.599874] ESR = 0x0000000096000004 [ 100.599875] ESR = 0x0000000096000004 [ 100.599875] ESR = 0x0000000096000004 [ 100.599883] EC = 0x25: DABT (current EL), IL = 32 bits [ 100.599885] EC = 0x25: DABT (current EL), IL = 32 bits [ 100.599885] EC = 0x25: DABT (current EL), IL = 32 bits [ 100.599892] SET = 0, FnV = 0 [ 100.599896] SET = 0, FnV = 0 [ 100.599896] SET = 0, FnV = 0 [ 100.599899] EA = 0, S1PTW = 0 [ 100.599906] EA = 0, S1PTW = 0 [ 100.599906] EA = 0, S1PTW = 0 [ 100.599906] FSC = 0x04: level 0 translation fault [ 100.599914] Data abort info: [ 100.599915] FSC = 0x04: level 0 translation fault [ 100.599915] FSC = 0x04: level 0 translation fault [ 100.599920] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 100.599925] Data abort info: [ 100.599926] Data abort info: [ 100.599928] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 100.599935] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 100.599935] ISV = 0, ISS = 0x00000004, ISS2 = 0x00000000 [ 100.599936] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 100.599944] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 100.599946] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 100.599945] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000014fc7000 [ 100.599955] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 100.599955] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 100.599956] [0000000000000008] pgd=0000000000000000 [ 100.599964] , p4d=0000000000000000 [ 100.599966] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000006ce0000 [ 100.599966] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000079ec000 [ 100.599975] [ 100.599976] [0000000000000008] pgd=0000000000000000 [ 100.599977] [0000000000000008] pgd=0000000000000000 [ 100.599985] , p4d=0000000000000000 [ 100.599986] , p4d=0000000000000000 [ 100.599985] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP [ 100.599992] [ 100.599994] [ 100.599997] Modules linked in: brcmfmac snd_soc_hdmi_codec dw_hdmi_cec dw_hdmi_i2s_audio brcmutil crct10dif_ce rockchipdrm hci_uart snd_soc_spdif_tx hantro_vpu panfrost snd_soc_simple_card snd_soc_audio_graph_card btqca dw_mipi_dsi gpu_sched snd_soc_simple_card_utils btbcm v4l2_h264 analogix_dp cfg80211 drm_shmem_helper dw_hdmi v4l2_vp9 phy_rockchip_pcie bluetooth v4l2_mem2mem cec snd_soc_rockchip_i2s videobuf2_v4l2 drm_display_helper videobuf2_dma_contig drm_dma_helper videobuf2_memops rtc_rk808 rfkill snd_soc_es8316 videobuf2_common drm_kms_helper rockchip_saradc industrialio_triggered_buffer pcie_rockchip_host rockchip_thermal kfifo_buf coresight_cpu_debug drm fuse backlight dm_mod ip_tables x_tables [ 100.600212] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.10.0-rc3-next-20240612 #1 [ 100.600222] Hardware name: Radxa ROCK Pi 4B (DT) [ 100.600229] pstate: 800003c5 (Nzcv DAIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 100.600239] pc : ftrace_ops_test+0x34/0x138 [ 100.600258] lr : function_graph_enter+0x144/0x208 [ 100.600271] sp : ffff800082fd3730 [ 100.600276] x29: ffff800082fd3770 x28: 0000000000000038 x27: ffff80008271a790 [ 100.600293] x26: ffff800082d24b08 x25: ffffffffffffffff x24: ffff800082d24000 [ 100.600310] x23: 0000000000000001 x22: 0000000000000001 x21: ffff000000cbdf00 [ 100.600326] x20: ffff80008271a3f0 x19: ffff800080163078 x18: 000000000000123d [ 100.600343] x17: 0000000000000000 x16: 00500072b5503510 x15: 0000000000000000 [ 100.600359] x14: 0000000000000009 x13: 0000000000000037 x12: 0000000000000006 [ 100.600375] x11: 00000000fffffffe x10: ffff800082fd3740 x9 : ffff800082fd3738 [ 100.600391] x8 : 0000000000000000 x7 : 00000072b5503510 x6 : 0000000000300000 [ 100.600407] x5 : 0000000000000000 x4 : ffff8000801ffc20 x3 : ffff800082fd3900 [ 100.600423] x2 : 0000000000000000 x1 : ffff800080163078 x0 : ffff80008271a400 [ 100.600440] Call trace: [ 100.600445] ftrace_ops_test+0x34/0x138 [ 100.600455] function_graph_enter+0x144/0x208 [ 100.600465] ftrace_graph_func+0x34/0x58 [ 100.600477] arch_ftrace_ops_list_func+0xd0/0x180 [ 100.600489] ftrace_caller+0x6c/0x9c [ 100.600498] __traceiter_rcu_dyntick+0xc/0x88 [ 100.600511] trace_rcu_dyntick+0x7c/0xa0 [ 100.600523] ct_nmi_enter+0x90/0xc0 [ 100.600537] ct_irq_enter+0x10/0x20 [ 100.600548] enter_from_kernel_mode+0x30/0x58 [ 100.600560] el1_abort+0x24/0x60 [ 100.600570] el1h_64_sync_handler+0x80/0xd0 [ 100.600580] el1h_64_sync+0x64/0x68 [ 100.600590] ftrace_ops_test+0x34/0x138 [ 100.600600] function_graph_enter+0x144/0x208 [ 100.600610] ftrace_graph_func+0x34/0x58 [ 100.600620] arch_ftrace_ops_list_func+0xd0/0x180 [ 100.600633] Mem abort info: [ 100.600630] ftrace_caller+0x6c/0x9c [ 100.600639] ESR = 0x0000000096000004 [ 100.600641] arch_timer_set_next_event_phys+0xc/0x50 [ 100.600656] clockevents_program_event+0xa0/0x1e0 [ 100.600669] tick_program_event+0x5c/0xb0 [ 100.600679] hrtimer_start_range_ns+0x15c/0x350 [ 100.600691] tick_nohz_restart_sched_tick+0x90/0xb0 [ 100.600702] tick_nohz_idle_exit+0xf0/0x168 [ 100.600712] do_idle+0x238/0x290 [ 100.600721] cpu_startup_entry+0x40/0x50 [ 100.600730] secondary_start_kernel+0x13c/0x168 [ 100.600743] __secondary_switched+0xb8/0xc0 [ 100.600761] Code: f9402c08 a902ffff a901ffff a900ffff (f9400508) [ 100.600769] ---[ end trace 0000000000000000 ]--- [ 100.600782] Kernel panic - not syncing: Attempted to kill the idle task! [ 100.600789] SMP: stopping secondary CPUs [ 101.767463] SMP: failed to stop secondary CPUs 0-1,3-5 [ 101.767476] Kernel Offset: disabled [ 101.767481] CPU features: 0x04,00001041,60100000,4200421b [ 101.767489] Memory Limit: none [ 101.814070] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]--- metadata: ------- git_describe: next-20240612 git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_sha: 03d44168cbd7fc57d5de56a3730427db758fc7f6 kernel-config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2hloyVmgiND3p4zFZFj3KksAgm8/config build-url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2hloyVmgiND3p4zFZFj3KksAgm8/ kernel_version: 6.10.0-rc3 toolchain: clang-18 Links: ---- - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240612/testrun/24277665/suite/log-parser-test/tests/ - https://lkft.validation.linaro.org/scheduler/job/7658998#L1508 -- Linaro LKFT https://lkft.linaro.org