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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 758D3C001B0 for ; Thu, 10 Aug 2023 10:17:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234606AbjHJKQ5 (ORCPT ); Thu, 10 Aug 2023 06:16:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233486AbjHJKQy (ORCPT ); Thu, 10 Aug 2023 06:16:54 -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 3CC90C5 for ; Thu, 10 Aug 2023 03:16:52 -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 C659665769 for ; Thu, 10 Aug 2023 10:16:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEF8AC433C8; Thu, 10 Aug 2023 10:16:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691662611; bh=rxQXVJ0yXjMi3ynyps+JjJfJqtoB7d6KO/4+z5Vs7Go=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gpGE4KO9/C1welyewX/UY4RrCys51AOpewra3tjc/goBaZ96i9jbT1YuB6Mos42rx HDr6GRkzc1KBEF9vs8aA5dNfCGm75zmkaYBS6DRzs/cIrOSKVcnDfqNyyansA23MZ4 wYi6FmobUCWxju8HXbV9+tJya0wEM8vVQgZw7YCVD8vZK0+6fhhYivMDX6fXVFj93U cDqIBu/9hQebyOYSWzB0kT1Q1HJTEXVIlAK8NWNWDQsOUbUjfHqWhI6e+fmjjrcUX7 Ad6bMEYInlaW27uWzEjs1e68gzf4LixxnS7UK6nIOFjvTaGyyaKtr6zDRmYVXYaK+i uGwN4Y/77R2/A== Date: Thu, 10 Aug 2023 03:16:49 -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: <20230810101649.GA1795474@dev-arch.thelio-3990X> References: <20230810013334.GA5354@dev-arch.thelio-3990X> <20230810081038.GAZNSbftb6DOgg/U7e@fat_crate.local> <20230810090835.GBZNSpE6tCw+Ci+9yh@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810090835.GBZNSpE6tCw+Ci+9yh@fat_crate.local> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 10, 2023 at 11:08:35AM +0200, Borislav Petkov wrote: > On Thu, Aug 10, 2023 at 10:10:38AM +0200, Borislav Petkov wrote: > > I can repro this here with Debian clang version 14.0.6-2 even with -smp > > 2. > > > > Lemme poke at this a bit. > > Err, this stops booting even on plain -rc5 which doesn't have the SRSO > patches. Just to clarify, this is the guest kernel at -rc5 and the host kernel with the SRSO mitigations applied? If so, that's the problem. The guest kernel does not have to have the SRSO mitigations applied to see this problem. Sorry I should have made that more clear! If not though, that's interesting because I was running -rc5 on the host without issues. Cheers, Nathan