Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp138792lqs; Thu, 13 Jun 2024 06:19:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaRK7zj/dgBA+YOR8+5rha9SGcxG/5QdAI06ujJdtTEN7o3Ku+6ENMbMpYihTGXtBOTb4Uu0p9vYDKzk2bTp/ywekEO0fZGqe0bqkKIA== X-Google-Smtp-Source: AGHT+IHcvwEGTQI3d6V9MjADoSsxi/DfOTHHGuBqwMR+sytOFneBbo7D8UfELHbUoETKG3q5zdlB X-Received: by 2002:a05:6a00:21d1:b0:704:37b2:4ced with SMTP id d2e1a72fcca58-705bcdffe08mr5616279b3a.11.1718284741467; Thu, 13 Jun 2024 06:19:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718284741; cv=pass; d=google.com; s=arc-20160816; b=LOO3sV3DbsEHxRNMMQ4jGqgiilb2aCSNXnOWNKLy77B0RE9m5l1ZaTvkw6Ol7MY8I6 xSkprRmlrycc5dmCCdvLdlEX0zlaiWf2AWKIENRKC+5ybah0CyhfJwz39pUMaU/HjboY YFD39ZK1E//YJFIz7v7LodR4EkG7qwa6dc5nM8ux/3Vv2xKx0gYGBiqftRpFYphmcHst WcDTKVlbhMWFaDbqW6B8QtXzByS4aJu7tDoAb9UEe59vXSBf+Ig6PnWez0HZph8pYf1d Ia+MEKKApfZ0lJ3OPPDdLyUJ1XN6davkTFo5V2662P9Arm3EqjNS4jd9RPDtbRUa0eqT aSig== 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=61ouTCt8HWN0ZdDws0+ptI7BCpGd4+Hs5oquQFyzwjk=; fh=s3P+AbXAAgI349zsTgEc2ogIh7IxXhyWfWnOX0VvccA=; b=aZe1JJuqeMubi3bFcLARM6KdhXCVEYVonYHVivm1ZuXUcu8vqCAVUVtHs9Pd8MdNI9 FUFnVXDxqUS3G3M7o84R2U+XZ/2QgwHa+RMeR0uYOxgCtt+n7QB83wj+XQByMcIGbBUm mzwfORNi80sCH4OVd0rR0bWjDaUd+oGhpKoTdCbm34yGwgGV0WG9yaWUtaQeYD2lyiKh XW4/xAXk3v2iWD4JkU9gKOrh4JBEVrQSTpYL6BRp0yFUzIqLT5VVwbezxo9qScHdRCsx ErSveLrica0eGDnUt/g7485uY0Dio84LDwJF4Mt1n3ziIcFSfKT+5DhrRpCtQ9XoHh1o tEHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RTqqxGE2; 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-213274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213274-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fee67ba6a1si1310467a12.885.2024.06.13.06.19.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jun 2024 06:19:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-213274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RTqqxGE2; 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-213274-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-213274-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 92C072842CB for ; Thu, 13 Jun 2024 13:17:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F006A1442EF; Thu, 13 Jun 2024 13:16:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RTqqxGE2" Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com [209.85.222.42]) (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 AE97F143C41 for ; Thu, 13 Jun 2024 13:16:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718284565; cv=none; b=J4+ochZrDEdUwyY+iVCdX62DNF0kfTIwITi8tKV9ryIG/QbSmw0st1Er9OTdQpFwQ5/qTVpK58ZvqedK6gAee3JKIbTfiUGNTh/aUJE/tlXOl37CeJxr9BmvnOKB1rBVKm7u4p3MdW4PjtJ9Ey3L7BJ8P777HlRSk/ZirPelcao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718284565; c=relaxed/simple; bh=V1MODXg2FeVlGh8cU9j9/KuGFRIBbgRDLnpu/K0rcBE=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=oE10N0E64WdB9xcHBNpraPJZmkUjw0wt8SnwRTIjirJ+341D1nGvFOoRmXWwtKsjjudFPsA8xCF6PzOEfJhxZTND/s3i1ryiqtWLHBTfBRcYGdXyeuRNO6wtPzyBbnZ36/8stHFOnvQN7x0jEy8zMOgwNgzbvkVlIAnCZyHxOsY= 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=RTqqxGE2; arc=none smtp.client-ip=209.85.222.42 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-ua1-f42.google.com with SMTP id a1e0cc1a2514c-80b86cd882cso316385241.0 for ; Thu, 13 Jun 2024 06:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718284561; x=1718889361; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=61ouTCt8HWN0ZdDws0+ptI7BCpGd4+Hs5oquQFyzwjk=; b=RTqqxGE2s0C6Rh2eSJivNJPgvREBaGPgTPqX0f/FfDXS8VC7dCKnlOOdi7ecPHGUuR cAE8QhQhsbWp7F02O3v/qhivt5bxsZhzKByveW6sPysDKhw9mp8adFUyI299lyTprIUv y265voJHnkR0ZGfm8oH+COhE3gyrNuOjl0BDHvElmJIEQHVNzECkgmJQWH1gUEdi3D+Q 0xO7tDQ2eGbeKQL+41cOg/udJvI/q5NKsmn6rov8tnXeFK2ujsYNjNyYgXA9zX6peqqo +tTOW4aV7LBDvF7Iuh54a9r08lLIxWZ4QIkxTyRBhgKz0mb7ciW1zrhrF8nHmP7XvYaY r3YQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718284561; x=1718889361; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=61ouTCt8HWN0ZdDws0+ptI7BCpGd4+Hs5oquQFyzwjk=; b=Ow56zgOMrTzVjK29edkXn9pMn4CTGsr+yRG4zUTisE13gx7ZjGTmrKK78E371BFYCN E319m1AJDrhL6fLEJDYC6Iwe7lwkSKcSbBhwucJtX4TVe3x1EM3CU5w07bMdLsS6GFO2 YPJK5cY4lMMVTIKK3xOh8te4rpoQjp0/YwP4G4FFZJSqs//O3zRreXypT60DG2jJYL0r kTEhRATENdFyxU/kJlOhTYjbGQ8m09yDzJ75ttmVHmKjBdYbGJm6g1K5MNPmVAhjOXsm fUsReY2WFcl28EKWDsQLXgdQ8TQI+VUcBNIr1XInZqMNSwUCLrg18kEYYrECmtFuCANW ts7A== X-Gm-Message-State: AOJu0YzMFpkxe6AC1rhlYIBN8YdTh95IhpLTCU/y3W1RtaO6F+QkvnDD +aq146hqpAbWq8WFTUuRyLtGKJxInftQXg/y7XhWUJ1BQevwVspaedL+kimd2Hz+VcdIz8pzeBz UTzyQUjZVKWXg5to8EuWEVwbgvwRIpY4C5imjTGGBLgitexJvEB8= X-Received: by 2002:a1f:e4c2:0:b0:4ed:f1:e0b7 with SMTP id 71dfb90a1353d-4ed07aad6a4mr4561204e0c.2.1718284560997; Thu, 13 Jun 2024 06:16:00 -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: Thu, 13 Jun 2024 18:45:49 +0530 Message-ID: Subject: selftests: ftrace: WARNING: at arch/arm64/kernel/stacktrace.c:112 arch_stack_walk To: open list , Linux ARM , lkft-triage@lists.linaro.org, Linux Regressions , "open list:KERNEL SELFTEST FRAMEWORK" Cc: Catalin Marinas , Nianyao Tang , Mark Rutland , Stephen Boyd , Puranjay Mohan , James Morse , Will Deacon , Arnd Bergmann , Dan Carpenter , Anders Roxell , Steven Rostedt , Masami Hiramatsu Content-Type: text/plain; charset="UTF-8" The following kernel warning noticed on arm64 qemu-arm64 and rk3399-rock-pi-4 device while running selftests ftrace tests on Linux next-20240613. This is always reproducible on qemu-arm64 and rock-pi-4 device with kselftest merge configs Reported-by: Linux Kernel Functional Testing Test log: ------- kselftest: Running tests in ftrace TAP version 13 1..1 # timeout set to 0 # selftests: ftrace: ftracetest-ktap # unlink: cannot unlink '/opt/kselftests/default-in-kernel/ftrace/logs/latest': No such file or directory # TAP version 13 # 1..141 # ok 1 Basic trace file check <4>[ 96.183553] ------------[ cut here ]------------ <4>[ 96.187100] WARNING: CPU: 1 PID: 538 at arch/arm64/kernel/stacktrace.c:112 arch_stack_walk (arch/arm64/kernel/stacktrace.c:112 (discriminator 1) arch/arm64/kernel/stacktrace.c:155 (discriminator 1) arch/arm64/kernel/stacktrace.c:172 (discriminator 1) arch/arm64/kernel/stacktrace.c:243 (discriminator 1) arch/arm64/kernel/stacktrace.c:267 (discriminator 1)) <4>[ 96.188005] Modules linked in: crct10dif_ce sm3_ce sm3 sha3_ce sha512_ce sha512_arm64 fuse drm backlight dm_mod ip_tables x_tables <4>[ 96.189034] CPU: 1 PID: 538 Comm: ftracetest Not tainted 6.10.0-rc3-next-20240613 #1 <4>[ 96.189183] Hardware name: linux,dummy-virt (DT) <4>[ 96.189366] pstate: 624000c9 (nZCv daIF +PAN -UAO +TCO -DIT -SSBS BTYPE=--) <4>[ 96.189529] pc : arch_stack_walk (arch/arm64/kernel/stacktrace.c:112 (discriminator 1) arch/arm64/kernel/stacktrace.c:155 (discriminator 1) arch/arm64/kernel/stacktrace.c:172 (discriminator 1) arch/arm64/kernel/stacktrace.c:243 (discriminator 1) arch/arm64/kernel/stacktrace.c:267 (discriminator 1)) <4>[ 96.189562] lr : arch_stack_walk (arch/arm64/kernel/stacktrace.c:109 arch/arm64/kernel/stacktrace.c:155 arch/arm64/kernel/stacktrace.c:172 arch/arm64/kernel/stacktrace.c:243 arch/arm64/kernel/stacktrace.c:267) <4>[ 96.189593] sp : ffff80008000bdf0 <4>[ 96.189610] x29: ffff80008000be80 x28: ffff9969bab84000 x27: ffff9969b9c53b98 <4>[ 96.189702] x26: ffff9969bb6a60c0 x25: ffff9969b9c53b98 x24: 0000000082000000 <4>[ 96.189775] x23: 65cf9969b8823ddc x22: ffff9969b882e518 x21: ffff9969b8836200 <4>[ 96.189809] x20: ffff80008000bec8 x19: ffff9969b8823d70 x18: 0000000002000000 <4>[ 96.189842] x17: 0000000000000000 x16: ffff800080008000 x15: 00001e8480000000 <4>[ 96.189876] x14: 000000000003d090 x13: 0000000000000000 x12: 003d090000000000 <4>[ 96.189910] x11: ffff9969bb764150 x10: ffff80008000bf30 x9 : ffff9969b88b2970 <4>[ 96.189958] x8 : ffff9969b882e518 x7 : 0000000000000000 x6 : 0000000000000023 <4>[ 96.189990] x5 : 0000000000000000 x4 : ffff80008000bf30 x3 : ffff80008000bfe0 <4>[ 96.190021] x2 : ffff9969b882e518 x1 : ffff9969b882e518 x0 : ffff9969b882e518 <4>[ 96.190145] Call trace: <4>[ 96.190196] arch_stack_walk (arch/arm64/kernel/stacktrace.c:112 (discriminator 1) arch/arm64/kernel/stacktrace.c:155 (discriminator 1) arch/arm64/kernel/stacktrace.c:172 (discriminator 1) arch/arm64/kernel/stacktrace.c:243 (discriminator 1) arch/arm64/kernel/stacktrace.c:267 (discriminator 1)) <4>[ 96.190269] return_address (arch/arm64/kernel/return_address.c:45) <4>[ 96.190335] trace_hardirqs_on (kernel/trace/trace_preemptirq.c:56 (discriminator 1)) <4>[ 96.190372] handle_softirqs (arch/arm64/include/asm/irqflags.h:26 arch/arm64/include/asm/irqflags.h:48 kernel/softirq.c:538) <4>[ 96.190744] ---[ end trace 0000000000000000 ]--- # ok 2 Basic test for tracers metadata: ------ git_describe: next-20240613 git_ref: master git_repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git_sha: 6906a84c482f098d31486df8dc98cead21cce2d0 git_short_log: 6906a84c482f ("Add linux-next specific files for 20240613") arch: arm and arm64 config: kselftest merge configs Links: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240613/testrun/24304248/suite/log-parser-test/test/check-kernel-exception/log - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240613/testrun/24304248/suite/log-parser-test/tests/ - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2hoMyyk19L9y5Hg3AT2V3yaedPU Build reproduce: -- - https://storage.tuxsuite.com/public/linaro/lkft/builds/2hoMxP9HQelutO3feaEW1G9KhDz/tuxmake_reproducer.sh - https://tuxapi.tuxsuite.com/v1/groups/linaro/projects/lkft/tests/2hoMyyk19L9y5Hg3AT2V3yaedPU/reproducer -- Linaro LKFT https://lkft.linaro.org