Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1334239rwl; Thu, 10 Aug 2023 09:36:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFeRakNAIaikXPdpij+CZHtsxbXZLOsJyjGYTJGqURMjpWazprebN1pQ+TXuzYy6EanBSab X-Received: by 2002:a17:90a:c396:b0:269:1e3f:a54d with SMTP id h22-20020a17090ac39600b002691e3fa54dmr2688066pjt.10.1691685384029; Thu, 10 Aug 2023 09:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691685384; cv=none; d=google.com; s=arc-20160816; b=avMlBRJPTkApjm8qp2DjjQYwjEE4o1xksiKdBfgCiBhowZWOUUZ2/T+AWp4W0ghDng 9wgKv5s+7q56jEbpgRv4HREsHrfb68XyNUeJpMIcbe9FzBTZChNPAqEtb1PYShNkJzOp yjPsVJ1fa1Ie2ibAHxuiQD0uwiksalAQ1sQLJhXzN+ICrgPT/zkEkQ9xH0so1Ye5Fzoj dR/N7cbz4dgQsDuebiHEdPG8vjOKHKLzMLX7/okNYe3HsIL2PyY3Y5NMwo0HuIrs1cto YFbD70ngDcs7h7aOpFISnTbKHK7kVkNpWt63r4DtrPZOkxRKSIWeYmc4m914cfQzsJ8E FWMA== 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=pNpvdkI8EZr4OGHKCf40Q2DFCnRvGDoQCtEvit73Txc=; fh=qbL3oTtvI8s5YNAzoA11vdqTq8Zmmw9LvjvyLWw5wyA=; b=XTmTLPFJJxnTOzf2crbIrB/YqMszAkH89LLoWoNJrfOu0f1pX+s3gDSEf0Uw++34V+ RAGVPfsEH1FT5UfU7iiYc5nudI9aIWD4U4R7PfO5S7O1U7o8D4/Vv4SV56AB3wY9ETxa 65/1BZlsWdWSqHjpe52Anct9UgH67SQs1jVHqmiPN6XNT/PsFAk5V3OkZBBbsWbYE2ZK LNM0zfDQNRvpYM0ETqsqdwQ/MHcK/C+RWbDKtF4NqtK7XNGsDyxwyKPqr11PkgjFJgBw bkCLeOIpmKuXKbjTKt2NWllUhlbRIHWoYCL5tJqTBG2AIm6vHW05M7hXYFy0Jvf1htgB 3yHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BNmJh8ej; 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 e4-20020a17090301c400b001b8b44273b0si1704787plh.403.2023.08.10.09.36.11; Thu, 10 Aug 2023 09:36:24 -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=BNmJh8ej; 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 S233573AbjHJQOY (ORCPT + 99 others); Thu, 10 Aug 2023 12:14:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236394AbjHJQOS (ORCPT ); Thu, 10 Aug 2023 12:14:18 -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 B37C42108 for ; Thu, 10 Aug 2023 09:14:17 -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 4B902662BB for ; Thu, 10 Aug 2023 16:14:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AA4AC433C7; Thu, 10 Aug 2023 16:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691684056; bh=6Go2WKLDy7qs3VXcLqunmrgEAcs368VHPXxDDUvIZdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BNmJh8ejT0OJ1yT4jlibcttZCrelUwschOkdscxlbLOyujWYBDTGLucM7AZdeuLK8 mrT59CBhO8sI+7Ka/BbH8m3MOVh520b83y6U0j1kMzV2SN7DczFYKcwVGtx3a078dZ 5/C/x/DqgSPE8XajXC+JHDAQsr/kQl+/hL62Yf/Ueoea6LAyMzNJaJKMoQE3B51Vrk HUlmZzrrdGxnKidb4sJ6Txxy7prj9ypD7cGZwMW1G0fYiMvFhI3XxskGTJqHsvC57W dMCnu2YXyt7qxkpmPRFwmO/d11Dd5+f0mWDcUKVvq9MBd2G7l/2Y+oZ4+trcH8PXtu 23B/pkMoOQGlQ== Date: Thu, 10 Aug 2023 09:14:14 -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: <20230810161414.GA4000@dev-arch.thelio-3990X> References: <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> <20230810154831.GA38495@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810154831.GA38495@dev-arch.thelio-3990X> 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 08:48:31AM -0700, Nathan Chancellor wrote: > On Thu, Aug 10, 2023 at 05:14:10PM +0200, Borislav Petkov wrote: > > 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. Heh, figured this would be the case: # bad: [138bcddb86d8a4f842e4ed6f0585abc9b1a764ff] Merge tag 'x86_bugs_srso' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # good: [14f9643dc90adea074a0ffb7a17d337eafc6a5cc] Merge tag 'wq-for-6.5-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq git bisect start '138bcddb86d8a4f842e4ed6f0585abc9b1a764ff' '14f9643dc90adea074a0ffb7a17d337eafc6a5cc' # bad: [233d6f68b98d480a7c42ebe78c38f79d44741ca9] x86/srso: Add IBPB git bisect bad 233d6f68b98d480a7c42ebe78c38f79d44741ca9 # bad: [fb3bd914b3ec28f5fb697ac55c4846ac2d542855] x86/srso: Add a Speculative RAS Overflow mitigation git bisect bad fb3bd914b3ec28f5fb697ac55c4846ac2d542855 # good: [0e52740ffd10c6c316837c6c128f460f1aaba1ea] x86/bugs: Increase the x86 bugs vector size to two u32s git bisect good 0e52740ffd10c6c316837c6c128f460f1aaba1ea # first bad commit: [fb3bd914b3ec28f5fb697ac55c4846ac2d542855] x86/srso: Add a Speculative RAS Overflow mitigation Not sure how helpful that will be... Cheers, Nathan