From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2878C54E94 for ; Thu, 26 Jan 2023 15:11:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=CNuWEU4eKkGJ9BLeNmOX94gYgIE3plWZVtbhTpQ2SCA=; b=XfRYi9M/SeV0VM Pic1uqC9EJ/AYq3o1bM03eoheaGftnPJFfnBXKNCrDuYiZYUGKvglT6ZBHef72OO4v+N/cBprG5QM EJAoO6FXRhUIC58oZ808BsKYHpKqPGpXJIQr0CA1O+ymvvocSw5mt5COR9e8k7sWKf31nv1icAsDK zKjLQF9DWXq44u6Y8hdFXVPQuk25unhWte20cMzHrzuun8KwoLKA7saoE8FUnLFjmjKYSFqKrTkQn TVN0qfBIyxkC/PUHcdpwHNNofmQbmFCMux2eNbe5+rPkcN3pQJ8Uv0H3fTLVCLbZEPTHsklx9YnwU nSOWnz9JOmGsf7iuj9ng==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL3tB-00BPvs-1k; Thu, 26 Jan 2023 15:10:09 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pL3t6-00BPuT-Tn for linux-arm-kernel@lists.infradead.org; Thu, 26 Jan 2023 15:10:07 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A84724B3; Thu, 26 Jan 2023 07:10:44 -0800 (PST) Received: from FVFF77S0Q05N.cambridge.arm.com (FVFF77S0Q05N.cambridge.arm.com [10.1.33.135]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C3CB73F5A1; Thu, 26 Jan 2023 07:10:01 -0800 (PST) Date: Thu, 26 Jan 2023 15:09:58 +0000 From: Mark Rutland To: Will Deacon Cc: cki-project@redhat.com, xiawu@redhat.com, catalin.marinas@arm.com, bhe@redhat.com, linux-arm-kernel@lists.infradead.org, ardb@kernel.org Subject: Re: ? FAIL (91/181 SKIPPED): Test report for for-kernelci (6.2.0-rc5, arm-next, 2e84eedb) Message-ID: References: <29992.123012504212600261@us-mta-139.us.mimecast.lan> <20230126125202.GA29102@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230126125202.GA29102@willie-the-truck> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230126_071005_109599_0B183880 X-CRM114-Status: GOOD ( 18.61 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jan 26, 2023 at 12:52:03PM +0000, Will Deacon wrote: > [+Mark and Ard in case they have ideas] > > On Wed, Jan 25, 2023 at 09:21:19AM -0000, cki-project@redhat.com wrote: > > Hi, we tested your kernel and here are the results: > > > > Overall result: FAILED > > Merge: OK > > Compile: OK > > Test: FAILED > > > > > > Kernel information: > > Commit message: Merge branch 'for-next/core' into for-kernelci > > > > You can find all the details about the test run at > > https://datawarehouse.cki-project.org/kcidb/checkouts/66828 > > > > One or more kernel tests failed: > > Unrecognized or new issues: > > aarch64 - kdump - kexec_boot > > Logs: https://datawarehouse.cki-project.org/kcidb/tests/6799495 > > This looks like we run into an undefined instruction when we jump to the > kexec relocation code. Do you know if the failure is reproducible, and is > the log identical each time? I had a go in a QEMU KVM VM on ThunderX2, and a QEMU KVM TCG VM. With defconfig I don't see the issue, but with the config from the test run link above I consistently see the issue both under KVM and TCG (logs below). It should be simple enough to figure out which config option is tickling this; I'll go dig in to that.. KVM: | # ./kexec --reuse-cmdline -f Image | [ 46.965800] kexec_core: Starting new kernel | [ 47.143641] psci: CPU1 killed (polled 0 ms) | [ 47.233653] psci: CPU2 killed (polled 0 ms) | [ 47.323465] psci: CPU3 killed (polled 0 ms) | [ 47.324776] Bye! | [ 47.327072] Internal error: Oops - Undefined instruction: 0000000002000000 [#1] SMP | [ 47.328510] Modules linked in: | [ 47.329086] CPU: 0 PID: 259 Comm: kexec Not tainted 6.2.0-rc5+ #3 | [ 47.330223] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015 | [ 47.331497] pstate: 604003c5 (nZCv DAIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) | [ 47.332782] pc : 0x43a95000 | [ 47.333338] lr : machine_kexec+0x190/0x1e0 | [ 47.334169] sp : ffff80000d293b70 | [ 47.334845] x29: ffff80000d293b70 x28: ffff000002cc0000 x27: 0000000000000000 | [ 47.336292] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 | [ 47.337744] x23: ffff80000a837858 x22: 0000000048ec9000 x21: 0000000000000010 | [ 47.339192] x20: 00000000adc83000 x19: ffff000000827000 x18: 0000000000000006 | [ 47.340638] x17: ffff800075a61000 x16: ffff800008000000 x15: ffff80000d293658 | [ 47.342085] x14: 0000000000000000 x13: ffff80000d2937f7 x12: ffff80000a7ff6e0 | [ 47.343530] x11: 00000000ffffdfff x10: ffff80000a8ef8e0 x9 : ffff80000813ef00 | [ 47.344976] x8 : 000000000002ffe8 x7 : c0000000ffffdfff x6 : 00000000000affa8 | [ 47.346431] x5 : 0000000000001fff x4 : 0000000000000001 x3 : ffff80000a0a3008 | [ 47.347877] x2 : ffff80000a8220f8 x1 : 0000000043a95000 x0 : ffff000000827000 | [ 47.349334] Call trace: | [ 47.349834] 0x43a95000 | [ 47.350338] kernel_kexec+0x88/0x100 | [ 47.351070] __do_sys_reboot+0x108/0x268 | [ 47.351873] __arm64_sys_reboot+0x2c/0x40 | [ 47.352689] invoke_syscall+0x78/0x108 | [ 47.353458] el0_svc_common.constprop.0+0x4c/0x100 | [ 47.354426] do_el0_svc+0x34/0x50 | [ 47.355102] el0_svc+0x34/0x108 | [ 47.355747] el0t_64_sync_handler+0xf4/0x120 | [ 47.356617] el0t_64_sync+0x194/0x198 | [ 47.357374] Code: bad PC value | [ 47.357999] ---[ end trace 0000000000000000 ]--- | [ 47.358937] Kernel panic - not syncing: Oops - Undefined instruction: Fatal exception | [ 47.360515] Kernel Offset: disabled | [ 47.361230] CPU features: 0x002000,00050108,c8004203 | [ 47.362232] Memory Limit: none TCG: | # ./kexec --reuse-cmdline -f Image | [ 94.257277] kvm: exiting hardware virtualization | [ 94.315790] kexec_core: Starting new kernel | [ 94.447279] psci: CPU1 killed (polled 0 ms) | [ 94.542471] psci: CPU2 killed (polled 0 ms) | [ 94.643061] psci: CPU3 killed (polled 0 ms) | [ 94.657775] Bye! | [ 94.659186] Internal error: Oops - Undefined instruction: 0000000002000000 [#1] SMP | [ 94.660439] Modules linked in: | [ 94.662160] CPU: 0 PID: 258 Comm: kexec Not tainted 6.2.0-rc5+ #3 | [ 94.662936] Hardware name: QEMU QEMU Virtual Machine, BIOS 0.0.0 02/06/2015 | [ 94.663793] pstate: 61400bc9 (nZCv DAIF +PAN -UAO -TCO +DIT -SSBS BTYPE=-c) | [ 94.664470] pc : 0x43a95000 | [ 94.665780] lr : machine_kexec+0x190/0x1e0 | [ 94.667025] sp : ffff80000d1f3ac0 | [ 94.667346] x29: ffff80000d1f3ac0 x28: ffff000002014380 x27: 0000000000000000 | [ 94.668315] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 | [ 94.668970] x23: ffff80000a837858 x22: 0000000048b06000 x21: 0000000000000010 | [ 94.669618] x20: 00000000adc83000 x19: ffff000000805c00 x18: 0000000000000006 | [ 94.670253] x17: 0000000000000000 x16: 0000000000000000 x15: ffff80000d1f35a8 | [ 94.670895] x14: 0000000000000000 x13: ffff80000d1f3747 x12: ffff80000a7ff6e0 | [ 94.671538] x11: 00000000ffffdfff x10: ffff80000a8ef8e0 x9 : ffff80000813ef00 | [ 94.672279] x8 : 000000000002ffe8 x7 : c0000000ffffdfff x6 : 00000000000affa8 | [ 94.672926] x5 : 0000000000000000 x4 : 0000000000000002 x3 : ffff80000a0a3008 | [ 94.673572] x2 : ffff80000a8220f8 x1 : 0000000043a95000 x0 : ffff000000805c00 | [ 94.674430] Call trace: | [ 94.674750] 0x43a95000 | [ 94.675133] kernel_kexec+0x88/0x100 | [ 94.675492] __do_sys_reboot+0x108/0x268 | [ 94.675863] __arm64_sys_reboot+0x2c/0x40 | [ 94.676230] invoke_syscall+0x78/0x108 | [ 94.676581] el0_svc_common.constprop.0+0x4c/0x100 | [ 94.676990] do_el0_svc+0x34/0x50 | [ 94.677299] el0_svc+0x34/0x108 | [ 94.677630] el0t_64_sync_handler+0xf4/0x120 | [ 94.678004] el0t_64_sync+0x194/0x198 | [ 94.678716] Code: bad PC value | [ 94.679828] ---[ end trace 0000000000000000 ]--- | [ 94.680585] Kernel panic - not syncing: Oops - Undefined instruction: Fatal exception | [ 94.681870] Kernel Offset: disabled | [ 94.682241] CPU features: 0x000000,0075016b,4d23e33f | [ 94.683007] Memory Limit: none Thanks, Mark. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel