Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp14080imw; Mon, 4 Jul 2022 04:29:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vP42B8uGp+j60W0onWnDtZXqFlPpP5hpqbLXTFydVNVGNX8LNJD3nXxs6wqii9JRWCWGKk X-Received: by 2002:a05:6a00:4211:b0:525:a57c:25c8 with SMTP id cd17-20020a056a00421100b00525a57c25c8mr36020848pfb.85.1656934152709; Mon, 04 Jul 2022 04:29:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656934152; cv=none; d=google.com; s=arc-20160816; b=treJ538UZtyv81j45Z/ixYrK213f2u1rGuY67VHmmBey8VNGPpQa/jIAhWWwS/Fhmz mwDgwIqmsOrobBRqhofYuLWV/U0XAVyoK1eBmNsQ9rc+Jrj1HF7U6bTllccBGoktht8i XpxJo723SY9WGQUZSg/BLAn33SdxEmeJTK+vLAyp531mo7nA/YF/3GOelf1xmJWChYhs 0+04sxyjdukP1rtgg1zV+66q9nB4b1N5Dw/tyJ3Obs5Url1VZPYTvQ0f5jxcvdSbbMj2 BL9jKtPL/p2BFPFgfOlHunhUeh/C5v7gjrDwIogwM8pYM24c3x/B7Mv3Nld6T9y5dAqw XKkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YUovA0hr1VYQh5Aq3nJ/uSdFjBQFNxFlHX7wqLzckL0=; b=fJdUWnBHVwVjNvB3HW+B+YH+1lpqRXYUApkiRFhlqNYDJemiM6AR5aUkuoGg3MIRy2 IGWr0oYSecOBCUcXbSZaEV1lLpZXZJdFrFPYkL7O/r+5z5Ctfrc1wPfhdiy+Kx/t8jAX JUiN1MV+thr24+mBtndFqqMoQzrN8eP/skpfNqqQtvdCbgjr+89nwXOM0BhAS9kASjZ+ w3djh6ekmxqi1mei1VYkB1e/ypsXq7dBbb1A/PiUhA0TOF/LArumKJCnBLJVi6U8R8U1 f3bTl8I+zDSohUCzpRofNq3z9DVcREauGKl5KIasFngLKsKQgtNxvT6MnRALbzSk55hg W8lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IQGCOcGN; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a636b0a000000b003fd085317e3si7528962pgc.176.2022.07.04.04.29.00; Mon, 04 Jul 2022 04:29:12 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=IQGCOcGN; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232656AbiGDL0R (ORCPT + 99 others); Mon, 4 Jul 2022 07:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbiGDL0P (ORCPT ); Mon, 4 Jul 2022 07:26:15 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DF54101F8 for ; Mon, 4 Jul 2022 04:26:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 08322B80EDF for ; Mon, 4 Jul 2022 11:26:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6A59C341D1; Mon, 4 Jul 2022 11:26:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1656933971; bh=RxQ+WPdK+8ljus8FYxhhp+i2WQDSKsXRyAKp1y5aKuI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IQGCOcGNIg9srb3P060dF/JcdvLQ/lKKW6K9hBHhqg466hXnhrCkjy1p4RUerAbgJ 5yUA33dTMBD1n7hcjNKeLWR9JbW9PVxktu9AIbv2s9D9uDsfYTcRoXlkiYMiWfYwDO eDdLIl94OCId2IpV75BVjmP18+5f0UGUJvgvOHF6S78uD5vucg9rMi3CnXMGeOKUfx DFBAz2BbsxCOReoBFs0YSVOQCDCv7zocME3kAdw9MA7RXGnfpRJN8fwduw7177ARBL QeGdUDDh/fvj4ZFWq1OuMdNFtMCC0np/LxxRjTUegOnbP+AXFV6djciJUuRmPqKLJd /AwTNktqmdWaA== Date: Mon, 4 Jul 2022 12:26:06 +0100 From: Will Deacon To: Naresh Kamboju Cc: open list , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Linux ARM , LTP List , Linus Torvalds , Catalin Marinas , brauner@kernel.org, Vincent Guittot Subject: Re: 5.19.0-rc5 : Raspberry Pi 4 : Unable to handle kernel paging request at virtual address Message-ID: <20220704112605.GB31553@willie-the-truck> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Mon, Jul 04, 2022 at 01:28:30PM +0530, Naresh Kamboju wrote: > While running LTP controllers tests on arm64 Raspberry Pi 4 Model B > the following kernel crash noticed. > > Reported-by: Linux Kernel Functional Testing > > metadata: > git_ref: master > git_repo: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline > git_sha: 88084a3df1672e131ddc1b4e39eeacfd39864acf > kernel_version: 5.19.0-rc5 > kernel-config: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh/config > build-url: https://gitlab.com/Linaro/lkft/mirrors/torvalds/linux-mainline/-/pipelines/579007773 > artifact-location: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh > vmlinux.xz: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh/vmlinux.xz > System.map: https://builds.tuxbuild.com/2BSEyt8Sb19HSj6SnBFiMo6kiQh/System.map > toolchain: gcc-11 > > Steps to reproduce: > ------------------- > ./runltp -p -q -f controllers > > Test log: > ---------- > cgroup_fj_stress_blkio_4_4_each 1 TPASS: All done! > cgroup_fj_stress_blkio_4_4_each 2 TINFO: Removing all ltp subgroups... > cgroup_fj_stress_blkio_2_9_each 1 TINFO: Subsystem blkio is mounted at > /sys/fs/cgroup/blkio > cgroup_fj_stress_blkio_2_9_each 1 TINFO: Creating subgroups ... > [ 2414.973441] Unable to handle kernel paging request at virtual > address 00620000090336a0 > [ 2414.981581] Mem abort info: > [ 2414.984480] ESR = 0x0000000086000004 > [ 2414.988323] EC = 0x21: IABT (current EL), IL = 32 bits > [ 2414.993765] SET = 0, FnV = 0 > [ 2414.996905] EA = 0, S1PTW = 0 > [ 2415.000124] FSC = 0x04: level 0 translation fault > [ 2415.005118] [00620000090336a0] address between user and kernel address ranges > [ 2415.012393] Internal error: Oops: 86000004 [#1] PREEMPT SMP > [ 2415.018048] Modules linked in: btrfs blake2b_generic libcrc32c > raid6_pq zstd_compress xhci_pci snd_soc_hdmi_codec xhci_pci_renesas > raspberrypi_cpufreq hci_uart btqca brcmfmac brcmutil btbcm vc4 > bluetooth cfg80211 cec drm_display_helper drm_cma_helper rfkill > clk_raspberrypi reset_raspberrypi drm_kms_helper crct10dif_ce > raspberrypi_hwmon drm i2c_bcm2835 iproc_rng200 rng_core pwm_bcm2835 > bcm2711_thermal pcie_brcmstb fuse > [ 2415.055725] CPU: 0 PID: 11626 Comm: cgroup_fj_stres Not taintedlinu#1 > [ 2415.062965] Hardware name: Raspberry Pi 4 Model B (DT) > [ 2415.068175] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) > [ 2415.075238] pc : 0x620000090336a0 > [ 2415.078600] lr : ktime_get+0x50/0xac > [ 2415.082228] sp : ffff80000dfdbb90 > [ 2415.085585] x29: ffff80000dfdbb90 x28: 00000000ffffffff x27: ffff00006405e580 > [ 2415.092832] x26: ffff00006405e748 x25: 0000000001200000 x24: ffff00006405e180 > [ 2415.100076] x23: ffff80000dfdbd68 x22: 0000000000000000 x21: 000002321545f201 > [ 2415.107320] x20: 000000000012017e x19: ffff80000ae3b440 x18: ffff000000000000 > [ 2415.114564] x17: 0000000000000000 x16: 0000000000000000 x15: 00000000000000dc > [ 2415.121809] x14: 0000000001200011 x13: 0000000060000000 x12: 0000ffffa7b6c1e8 > [ 2415.129052] x11: 0000000000000040 x10: ffff80000a96c5c0 x9 : ffff8000080990d4 > [ 2415.136295] x8 : 0000000000000000 x7 : 0000000000a9c84a x6 : 4480001ec1769752 > [ 2415.143538] x5 : 00ffbffeffffffff x4 : 0000000900000000 x3 : 0000000000000000 > [ 2415.150781] x2 : ffff80000a94e000 x1 : ffff8000090336a0 x0 : ffff80000ad102f0 > [ 2415.158025] Call trace: > [ 2415.160498] 0x620000090336a0 > [ 2415.163505] copy_process+0xe34/0x1534 Do you have the disassembly (and source:line infor) around copy_process+0xe34/0x1534? The faulting PC is like a messed up copy of x1 where the upper bits have been corrupted somehow. Will