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 AEDEB1EA95 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> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230810090835.GBZNSpE6tCw+Ci+9yh@fat_crate.local> 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