Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1287433rwl; Thu, 10 Aug 2023 09:01:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGTBIg6eBdssAy5GBRZoR3GX9+gQwcTv4ADshhYA6OuZZ0cEWivGj98Oll7XESHi3Of0C7q X-Received: by 2002:a05:6a20:4408:b0:138:1c5b:22fc with SMTP id ce8-20020a056a20440800b001381c5b22fcmr3509747pzb.54.1691683289237; Thu, 10 Aug 2023 09:01:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691683289; cv=none; d=google.com; s=arc-20160816; b=fQlRRrwJjCOISIGFq3UPSC4NljOFpXuy6q71aMKWmSFLv0XPPobKQ/x5SSpYlfPOtz gT/c9sXhILZzCjI7i02op/TjvwpjsavVXAxXOA10VzQGCS6N+X95FTb2cI3LNGKfNudL KqvL125lerBXvzGq5AgG+CQSVB0PKG8xm5+luXevIFPptZ4s16l4X9Hf4koX2iCUJCrx MPGkkmSoHglcVvOM92PUe/LJ8Hww+cnxEteC0ySd/0wpg9ZXkknDu2RGsqOnAQiC+AmV B2yWwkxWFSA/w9H5RwoL1Kg6bPlqQDlR7E+cUtP/jPELIwx7r1bz/ymUHy28OPygDKnB 7vfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EQC3Z8iHFGzG8aKYzAC/TR31Plq2/9UwNITc7xoKTf4=; fh=qbL3oTtvI8s5YNAzoA11vdqTq8Zmmw9LvjvyLWw5wyA=; b=1Ez71u3orTxmXYb27zbgZdIWyaTmwxh2f4dyyopqflDAE63EIDv1oVo/2GT4VZlGRE lrNXvYwaiZJp7c3pVxRgrGqo+W3/l0J3en1ib7jni8xhY3aqXZ4WSdUW4CTDBL3F2At8 kyYhBGiczWRB2VNmJBcsmzjVNKh4maBNJW8M49JU12cMgs2FlkcPAyiGO15FCAPCG+8c gwU3nLtDxzvoKm0go38O7/Lh9Xu+3OLTX5pQt6BXSqWc0tuzDTqRc+K75bVi3oe/F1Td oruHCp84jHZm4g/1mhsxhAC6fODP5VVGn9gOWUmbGUcrmohacoPbSERqHzClUc9dAwDo ZLIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="oibX/N3e"; 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 i14-20020a636d0e000000b00543d0bf8632si1870623pgc.866.2023.08.10.09.01.15; Thu, 10 Aug 2023 09:01:29 -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="oibX/N3e"; 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 S232500AbjHJPs5 (ORCPT + 99 others); Thu, 10 Aug 2023 11:48:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41718 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236265AbjHJPsf (ORCPT ); Thu, 10 Aug 2023 11:48:35 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28B21C7 for ; Thu, 10 Aug 2023 08:48:34 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B3520660D0 for ; Thu, 10 Aug 2023 15:48:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCD68C433C8; Thu, 10 Aug 2023 15:48:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691682513; bh=RdEDvfu2DiPqEjcOg91dWMNIZorUuPahJrnUeCkzJNU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oibX/N3es3HiIhAY/3QOJ7lhN7NzL62K36UDl5h5UjBjDMQFlDHwAc0+8PNXgPSPv lIJzGrMvrq5zyCYs4ruV1U2nTe+5RFAscwEIf192NfAhwVsCUywfYiaRqMg9fgygR3 K331u72wGqwHvNS/X+kMELAuJHVVzHh0UO/1qH9KEWcayoOSA7KLuICFA9j81D7ZS7 mvb1I8+Hwd/sDusKnqCgMhsUrt7gHZ3033HYNNO9/t/zZbHK3U+zY0QXhRa9s5oeiA 6eeQnrAac3EGHbkFknbYc1Jw4AOVNswVrvQbcN+b793pz60r8gbvIbOjChUYdf3vpM ae/f70gGZTtpg== Date: Thu, 10 Aug 2023 08:48:31 -0700 From: Nathan Chancellor To: Borislav Petkov Cc: x86@kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: Hang when booting guest kernels compiled with clang after SRSO mitigations Message-ID: <20230810154831.GA38495@dev-arch.thelio-3990X> References: <20230810081038.GAZNSbftb6DOgg/U7e@fat_crate.local> <20230810090835.GBZNSpE6tCw+Ci+9yh@fat_crate.local> <20230810101649.GA1795474@dev-arch.thelio-3990X> <20230810125122.GIZNTdSuFvA3Cjfexq@fat_crate.local> <20230810132706.GA3805855@dev-arch.thelio-3990X> <20230810133216.GKZNTm4KpohRR4gVsT@fat_crate.local> <20230810134056.GA130730@dev-arch.thelio-3990X> <20230810144344.GLZNT3oM6MLVdzGlyd@fat_crate.local> <20230810150706.GA42856@dev-arch.thelio-3990X> <20230810151410.GNZNT+wn/cLBWiU6dO@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810151410.GNZNT+wn/cLBWiU6dO@fat_crate.local> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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 Thu, Aug 10, 2023 at 05:14:10PM +0200, Borislav Petkov wrote: > On Thu, Aug 10, 2023 at 08:07:06AM -0700, Nathan Chancellor wrote: > > [ 2.408527] microcode: microcode updated early to new patch_level=0x0830107a > > Hm, a wild guess: can you boot the *host* with "dis_ucode_ldr" on the > kernel cmdline and see if it still reproduces? It does. > Also, can you bisect rc5..master to see which exact patch is causing > this? Sure thing. I at least isolated it to the SRSO merge, so I will just bisect that to see the exact commit that causes this. Cheers, Nathan