Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6557064rwb; Mon, 14 Nov 2022 23:38:03 -0800 (PST) X-Google-Smtp-Source: AA0mqf6LlN2PjcnZm4ur1dL1I0MEUGOLTlBnr0UmThWe8IM+VWb6FkK8kcgy3Oly0iCVhChCuBD7 X-Received: by 2002:a17:906:858a:b0:7ae:63e3:bfc4 with SMTP id v10-20020a170906858a00b007ae63e3bfc4mr12995897ejx.348.1668497883108; Mon, 14 Nov 2022 23:38:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668497883; cv=none; d=google.com; s=arc-20160816; b=x3h1kuAMyl3KPDIXSHgDsfCMmOmSaeS2iW3LOhkfqRNbkPMxNgsK89SFtSqZxYob7i Hs4qBMWOiXA9KgZ9KSo3fPvAfgGYC+l9qXXDxCfK5kGi65VCqvI+8teDTvcCjyQ8nsDE yguAxkdZF55dBAgu0Yb7VHTUJYKuFger8BZOuKm8EJX3tpXelE0hiezNVy9tdlLuvCJg 3hi30fWaKXOjAkd/7f4hRUs0tGcpIB+s3mU94rgCGQiiWC/m4Wn3PaKGohvEapkM2ac0 lLdalhFt0B7N77HbMRGQUpZc6SxTPUW4zYWsEjnA+qZeNPLpFGgj79yw6aCt9HEfkRUy iJrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=t2MSqieIloRSX5j4XySxPNiECkBoHXA8aafgFPvChpc=; b=ezgCREB2qobVjTaNbjQFE8lo1FS9kaQ0mvXuiRJ9Om8Dho6q700SKUUacnHP8u6bQb XeK4Bm2nfCamqbGdS7XdTrc0Xbi3AO0aTRTz54cuQni6hh7EtF1GbIUpLv9B7j7E7/C3 09WcZXnso9IGAj4+f/iaz1kkDvCjgbRl/RuS2uAEjIFpHqI/lCaHFO6JQRwz5TI8QNT6 MTgvZAq6Z7rxHAJAk4Y6duJbRav26kz2F9bOKzJjS/br5OYrm+0G/uGiNgMEQUXh8MSa YF+XHidqbcvROF5kHAY5x+jIztW+mOrjHsCEodjpwMB+rztZaKjNBKzHeO5jJNPM4rqc qUEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QgfBWx5j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb24-20020a1709077e9800b00791a4f70674si5049075ejc.24.2022.11.14.23.37.40; Mon, 14 Nov 2022 23:38:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QgfBWx5j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232452AbiKOH2O (ORCPT + 88 others); Tue, 15 Nov 2022 02:28:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232463AbiKOH2L (ORCPT ); Tue, 15 Nov 2022 02:28:11 -0500 Received: from mail-yb1-xb35.google.com (mail-yb1-xb35.google.com [IPv6:2607:f8b0:4864:20::b35]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1508218377 for ; Mon, 14 Nov 2022 23:28:06 -0800 (PST) Received: by mail-yb1-xb35.google.com with SMTP id b131so15537078yba.11 for ; Mon, 14 Nov 2022 23:28:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=t2MSqieIloRSX5j4XySxPNiECkBoHXA8aafgFPvChpc=; b=QgfBWx5jr+T9D0OPatz9aPNvycrIr4iLDGczMIzC44uZC9r3WFasL9kXz9bxT2FW/x glqG1PaWw4xvuOrV67TlUP7yxQQloJzA5Nr3tRkrKnPpJCIc+coc18Cb5PhjpivrwkGg 8b+QBJu5yLEI9vWBdYYizjJqj8S+VftW/cgxTvZ1ef9mo5HH75/d6Jg3qOQvpy18ka0Q y8GrQUcOykvgOiJhC94mg2ZxY6M5NaTQ6QQsxQcYUmgb6JwNjI+mo5lQ/mVik6dgg4wG mCkOn+WDOFXogwYbNEDgriUju/CHlBrUvJ5r+WKPp+1BbyvCXBoi2OE1E5DCvpqBtLnh N5Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=t2MSqieIloRSX5j4XySxPNiECkBoHXA8aafgFPvChpc=; b=NK6m1Of8YSXVlFtf7XTgLQkk8nocxzOkAVjKutOAmUfcT5XTKu9HoBG+KDvcPg2YtM rp3fLPDv+D70IYbdaK2AH2EGI2mHftxFS+7XYjHg/1zCDm8tjgBC9ZoWCcLxeeBIFyka IXs6TCbTV+IdspVYZpnDOl7ObK3E19+KqWBneAbwSpezlYwu1pDqNR1N9c64qCRPxjHx cyRDU5837Qbe3RiIzMvBvEIzzA80lK27JjypTG4A6gk2sQ7Lci9NuP50Q4F+FXplSccQ KkZHzM5b8DZ1B12AzS2Vl5x/5LLr7xVj1U5zwJ51DOx6P0l4Ujo9vAqo1BPvSK7ixYDa 4WEA== X-Gm-Message-State: ANoB5pmGdTbD/2O8Uw9Zo5d1imPN8ekXEtpxVvt4Xkp2G41y6SrxNL6p IPE4yk46y7EOn5aAAs3bVnXQF08HuW9pEaCT2lzWcX8rGf0SHw== X-Received: by 2002:a25:2358:0:b0:6d2:5835:301f with SMTP id j85-20020a252358000000b006d25835301fmr15945622ybj.336.1668497285091; Mon, 14 Nov 2022 23:28:05 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Tue, 15 Nov 2022 12:57:53 +0530 Message-ID: Subject: WARNING: CPU: 0 PID: 1111 at arch/arm64/kernel/fpsimd.c:464 fpsimd_save+0x170/0x1b0 To: open list , linux-stable , lkft-triage@lists.linaro.org Cc: Greg Kroah-Hartman , Mark Brown , Arnd Bergmann , Catalin Marinas , Ard Biesheuvel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Following kernel warning noticed while running kselftest arm64 sve-ptrace on qemu-arm64 on ampere-altra server. Reported-by: Linux Kernel Functional Testing /usr/bin/qemu-system-aarch64 -cpu max,pauth-impdef=on \ -machine virt-2.10 \ -nographic \ -net nic,model=virtio,macaddr=BA:DD:AD:FC:09:12 \ -net tap -m 4096 -monitor none \ -kernel Image.gz --append "console=ttyAMA0 root=/dev/vda rw" -hda lkft-kselftest-image-juno-20221114150409.rootfs.ext4 -smp 4 -nographic Boot log: --------- [ 0.000000] Linux version 6.0.9-rc1 (tuxmake@tuxmake) (aarch64-linux-gnu-gcc (Debian 11.3.0-6) 11.3.0, GNU ld (GNU Binutils for Debian) 2.39) #1 SMP PREEMPT @1668438377 [ 0.000000] random: crng init done [ 0.000000] Machine model: linux,dummy-virt # selftests: arm64: sve-ptrace # ok 680 # SKIP SVE set FPSIMD get SVE for VL 2704 # ok 681 Set SVE VL 2720 [ 422.607034] ------------[ cut here ]------------ [ 422.615382] WARNING: CPU: 0 PID: 1111 at arch/arm64/kernel/fpsimd.c:464 fpsimd_save+0x170/0x1b0 [ 422.617588] Modules linked in: cfg80211 bluetooth rfkill crct10dif_ce sm3_ce sm3 sha3_ce sha512_ce sha512_arm64 fuse drm [ 422.619758] CPU: 0 PID: 1111 Comm: sve-ptrace Not tainted 6.0.9-rc1 #1 [ 422.620402] Hardware name: linux,dummy-virt (DT) [ 422.620958] pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 422.621614] pc : fpsimd_save+0x170/0x1b0 [ 422.621988] lr : fpsimd_save+0xd8/0x1b0 [ 422.622307] sp : ffff800008f3bb00 [ 422.622612] x29: ffff800008f3bb00 x28: ffffae14dd664bc0 x27: 0000000000000001 [ 422.623519] x26: ffff0000ff773858 x25: 0000000000000000 x24: ffff0000c0994fa8 [ 422.624102] x23: 0000000000000001 x22: 0000000000000100 x21: ffff0000ff75f0b0 [ 422.624706] x20: ffff51ec22a8b000 x19: ffffae14dccd40b0 x18: 0000000000000000 [ 422.625292] x17: ffff51ec22a8b000 x16: 0000000000000000 x15: 0000000000000000 [ 422.626041] x14: 0000000000000003 x13: 0000000000000000 x12: 0000000000000002 [ 422.626647] x11: ffffae14ddbee840 x10: 0000000000000312 x9 : ffffae14da818210 [ 422.627326] x8 : ffff0000c09935c0 x7 : ffffae14de2b8d08 x6 : 0000000000000000 [ 422.627889] x5 : 000000c91075a4a8 x4 : 0000000000000000 x3 : 0000000000000001 [ 422.628487] x2 : ffff51ec22a8b000 x1 : 0000000000000204 x0 : 0000000000000010 [ 422.629203] Call trace: [ 422.629579] fpsimd_save+0x170/0x1b0 [ 422.630014] fpsimd_thread_switch+0x2c/0xc4 [ 422.630431] __switch_to+0x20/0x160 [ 422.630745] __schedule+0x380/0xb90 [ 422.631038] preempt_schedule_irq+0x4c/0x130 [ 422.631386] el1_interrupt+0x4c/0x64 [ 422.631689] el1h_64_irq_handler+0x18/0x24 [ 422.632037] el1h_64_irq+0x64/0x68 [ 422.632335] do_page_fault+0x31c/0x4d0 [ 422.632660] do_translation_fault+0xd8/0x100 [ 422.632993] do_mem_abort+0x58/0xb0 [ 422.633311] el0_ia+0x8c/0x134 [ 422.633685] el0t_64_sync_handler+0x134/0x140 [ 422.634061] el0t_64_sync+0x18c/0x190 [ 422.634580] irq event stamp: 654 [ 422.634923] hardirqs last enabled at (653): [] exit_to_kernel_mode+0x34/0x130 [ 422.635713] hardirqs last disabled at (654): [] __schedule+0x3f0/0xb90 [ 422.636309] softirqs last enabled at (650): [] __do_softirq+0x514/0x62c [ 422.636877] softirqs last disabled at (637): [] __irq_exit_rcu+0x164/0x19c [ 422.637446] ---[ end trace 0000000000000000 ]--- Full test log: https://lkft.validation.linaro.org/scheduler/job/5847349#L2206 https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.0.y/build/v6.0.8-191-gf8896c3ebbcf/testrun/13007451/suite/log-parser-test/test/check-kernel-exception/log https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.0.y/build/v6.0.8-191-gf8896c3ebbcf/testrun/13007451/suite/log-parser-test/test/check-kernel-exception/details/ metadata: git_ref: linux-6.0.y git_repo: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc git_sha: f8896c3ebbcfcc053d9c27413bea3af94c01fd71 git_describe: v6.0.8-191-gf8896c3ebbcf kernel_version: 6.0.9-rc1 kernel-config: https://builds.tuxbuild.com/2HXisCgbMlQAU85bS1QC4TvzydK/config build-url: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc/-/pipelines/694074125 artifact-location: https://builds.tuxbuild.com/2HXisCgbMlQAU85bS1QC4TvzydK toolchain: gcc-11 -- Linaro LKFT https://lkft.linaro.org