Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2805154lqp; Mon, 25 Mar 2024 09:38:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7xmfmp2qf1HZlPq1pgwJfIfY6NRGgxMR2+AA4ul+CNSvmCoLJoGTyMCDb1fVSznvItPMQdEcvJlioPg2sGbrRpyTMzOWrV0+CWRkpDA== X-Google-Smtp-Source: AGHT+IFykWO3IEWjHdsxgAwlE6Y5ZXvCwlG/S/YRf4MTiJrIupP6AeOHBKrf0GzV+Uefz5yqvAyb X-Received: by 2002:a25:ab8d:0:b0:dcb:d653:8ad9 with SMTP id v13-20020a25ab8d000000b00dcbd6538ad9mr5968076ybi.12.1711384737840; Mon, 25 Mar 2024 09:38:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711384737; cv=pass; d=google.com; s=arc-20160816; b=zxRi13O1ReAFIwX6Xu0JWepTaD2OhxAvTIW0bvtJAJqiIbzu/mFfUkliwvhVqs5Mk+ n1dHOZF/8jomfz+vlFOh2heNWvxCQbca4OVaAIvgkWCbdqp/aI6n1WB3taDtzrCuA9YO I4iOkaObPiUklA3EupvGy3uvh1/2uu6p2Wyev900GiF1mWRonUI3bmzId+2csM4Mmcgs 8pzp+YDYXfUyeGkyeDxp3YFpPDx+AsSdrqHhZp/HU1zGTjl2JOqpRwJ0LEjujq2tlzHa ldWyyvYscC3nNLy7YEcGLY+VYHW22AcIl8BvEZRliSWwOkKJYjjGC+npms+W4OtWJwr0 jlXw== 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:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=scp8gHDjwNgusRSytANpeo8hHtgek17JLYhnzsK5X5M=; fh=GViZ6taxwkTnx/42kqMRwXlBUcewCSqKQsVfLSHyLyk=; b=eE2cSXtWbXVuEAby03j+Ip3xXQxZ2BQdhL3RaI8pD5KeO2WZf/MV7nlxp9Z5PBLdju 7z2wJrhNQV+dpA33WYi3kLn3EP6RQkwmRI2CORfgxVdMe2IySp4zOLw4ZymuNu7J4zsP mLN3wX0cpbUgW7B1kXVtos6j3sq26DXmijYmolV+xeM1Jhk/nG3yybtSU7ajDHX4CO4P +o45Kh/w0q+iPov+0dsaZ5DTCIUIjOoPUPVrjMWj31dQiddOdhtwGNA0tQ2I/Mermbis vl1BPpACqlYe95l5HzavZQsFjwOpfuMKLRI8MunxlNlz4Bit4daUryKtaJjQCWpiNtj7 NweA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WH5TJY26; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-117272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ly9-20020a0562145c0900b0069183811eb3si7928681qvb.493.2024.03.25.09.38.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 09:38:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=WH5TJY26; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-117272-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117272-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 9DC331C626BC for ; Mon, 25 Mar 2024 16:35:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 993B2131E50; Mon, 25 Mar 2024 14:39:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WH5TJY26" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE76A58135 for ; Mon, 25 Mar 2024 14:39:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711377579; cv=none; b=L0vq7o1tlpiaZckJSPx3z6ZOea6XP0H4J/ue/6EAdgFvUkzAzI7HqqudwW3zc6zQ4omns1jxQP9PaaUhSxy14tfldH7X1F6UU/uulMbOceYD4pwC8C9RgY7LsYfmt9RXwwKBjsDCTrsuIDyaKukoPn4xou9AUKCQEkEk6yLXQ90= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711377579; c=relaxed/simple; bh=PZs0rghxCeYopxbWbw9MtO4OhtjlQGpnCDFbcAELFfE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OUjr5bWhz6HxMkNmELcLfF2TRZFLsiif1764HdFsNM1fdssLo/F2WkPQXEngXIjON+V0Kx2K30FrkZs2vdZNEO4YZGEZ3vLkyECzJiB8miciO55Slsl0pUVCKB0OoIoPerScLgIV6JpdPWTpiZLHWBB+K6KaT2OJqUKlMzl3F3M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WH5TJY26; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3ED77C433F1 for ; Mon, 25 Mar 2024 14:39:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711377579; bh=PZs0rghxCeYopxbWbw9MtO4OhtjlQGpnCDFbcAELFfE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=WH5TJY26+0r6af4PCB3nC8dtbN+CiM/zxpxYd3TrNv0IQOlfeie5r7m4xlD5DgJZH qtyp4yrdJFbG9Q0zQcSxnn1BVB0zmWluyZABlreoMDsCQz16A9FjyG/g7lc4irqEYU 3cJ51nKFUJ3XpWSnD55ZCBEgHExZ/vEM8njiehkxc5ZifPUVbhhIkgOhG6T3JauR3g stttZqJjYGDvqerngylxCCpvKKJEokwAIX7eUuqVxy2MyHmOm6sXJGo6F9fOAhREIe r9w+YY5PYnX86qN4sjk8UPXMaBycOd/915XTt+a13oZAAjwDDO6qduAEDh5AsMRFnZ 1CrcjuGadibsA== Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2d28051376eso83958311fa.0 for ; Mon, 25 Mar 2024 07:39:39 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCX9VHfYKsVO/iLVaQ/V/4CECpAYTxF9wkKOF9nJQ055Gaz2fXtfMz/qY/C92SpP01sPhMVG3XrZLzyqWSbjYCQYh+kzNCMs0WvMUs12 X-Gm-Message-State: AOJu0YzMXvmEmHGeHpUXoU6n/NW++aWYmzur6hP3NyZjgHXNnBfSVF6i 72NmBM0MruhTLVyRXo3qTRlraBymtz6klU0Jrxce70Yjctt9kcPQDZLvKFhNd550Koi+EZfbVAh QyDkqI3ZphmfkO8/mTia6FtXt4vo= X-Received: by 2002:a05:651c:2108:b0:2d6:cd05:1899 with SMTP id a8-20020a05651c210800b002d6cd051899mr5202179ljq.17.1711377577590; Mon, 25 Mar 2024 07:39:37 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <202403221630.2692c998-oliver.sang@intel.com> <20240324142532.GAZgA33M_u1lW_E_1n@fat_crate.local> In-Reply-To: <20240324142532.GAZgA33M_u1lW_E_1n@fat_crate.local> From: Ard Biesheuvel Date: Mon, 25 Mar 2024 16:39:26 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [linus:master] [x86/sme] 48204aba80: BUG:kernel_failed_in_early-boot_stage,last_printk:Booting_the_kernel(entry_offset:#) To: Borislav Petkov Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, linux-kernel@vger.kernel.org, Tom Lendacky Content-Type: text/plain; charset="UTF-8" On Sun, 24 Mar 2024 at 16:26, Borislav Petkov wrote: > > On Fri, Mar 22, 2024 at 05:03:18PM +0800, kernel test robot wrote: > > > > > > Hello, > > > > kernel test robot noticed "BUG:kernel_failed_in_early-boot_stage,last_printk:Booting_the_kernel(entry_offset:#)" on: > > > > commit: 48204aba801f1b512b3abed10b8e1a63e03f3dd1 ("x86/sme: Move early SME kernel encryption handling into .head.text") > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master > > > > [test failed on linus/master 741e9d668aa50c91e4f681511ce0e408d55dd7ce] > > [test failed on linux-next/master a1e7655b77e3391b58ac28256789ea45b1685abb] > > > > in testcase: boot > > > > compiler: gcc-12 > > test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G > > My guest boots with your .config and SNB as CPU model: > > ... > [ 0.373770][ T1] smpboot: CPU0: Intel Xeon E312xx (Sandy Bridge) (family: 0x6, model: 0x2a, stepping: 0x1) > > Artefacts like: > > -initrd initrd-vm-meta-180.cgz > > or > > RESULT_ROOT=/result/boot/1/vm-snb/quantal-x86_64-core-20190426.cgz/x86_64-rhel-8.3-bpf/gcc-12/48204aba801f1b512b3abed10b8e1a63e03f3dd1/3 > > I don't have and don't know how to generate here so I can't run your > exact reproducer. > I ran the reproducer using the instructions, and things seem to work fine. https://paste.debian.net/1311951/ Could you provide any information regarding the QEMU version and its BIOS implementation?