Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1135340rwl; Thu, 10 Aug 2023 07:03:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFBdfzgk9RTdV1oZZCbXTQd7MnOjZEVFV7iU0BT3YnmJcm1j8vQniNd9f5JQmvtqyXqj1oc X-Received: by 2002:a17:903:50d:b0:1b8:2ba0:c9c0 with SMTP id jn13-20020a170903050d00b001b82ba0c9c0mr2005011plb.59.1691676180237; Thu, 10 Aug 2023 07:03:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691676180; cv=none; d=google.com; s=arc-20160816; b=qXunROD1aRIIoe3aJ2Ko/xwqXKitLsDU9StWHNToofpB6MwQk0JZQO+bl1ABq6lk+4 JjIe9SEOvCk0so20KyzBW6SPIxWWucWFS4ioNFcDmvQVt0nKEoZSY45K0Elclgaf/NyT b1OvivuPNBS3gZReeadyPtNxqfc4kU3nCWCo3TR2rnv9aO/Kg9Oa/TizeD7l6K9koiFx fmAZF5O9hnruLhEAhwqlBuQcb1AJLRfEnG8SU/p/FhdkiSZ+lrsvNXYEVBJJuCmLUArx 4ZTfLi/rIwtZNCtMSeJ5N4Y2UvwBoCQwII9UQdG9bsWi3ir1yNGijO6DBa8VliCCq3tt BH4w== 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=Ch/5z1MkCvKFFipvsI9iaL7m5l55GAQOvEb/qwxXSe8=; fh=t4sShX7IwO9kl1mRuKQdOUjW81gEWUOqhUM7Gt25iYw=; b=SyWtokRme/b72COUonkFmsZBqSBlV1DNFzfMhgBHVMxGCJWGn1uSHJ6bRWXA5do2fO m77FhHiwFNPY6H/p5eI2grz9PdXce3Q0Oxb25KbszfPt3kgU6bqVnMNJ6V+bBn1YqGyc tyCb623SsCBkorq7jXYtXR4N6OaYy6PaoK12YI+miPk4ju0Ikqdvpgf3CUcfg05PqaAm Bds2TM6sUO4ANZOM44jf2iev4Ki9cn6ljfcIdzuaqBf6CJifr9PaapGGNBUICGLF/r3V 8GgaoJFqOpjI/WYHE1JWKuwy6bhas0lMWvHb34rSCOEQJg5CvdqGj9kq7pSVoWfhd7Vz M7Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=JFX1WChq; 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=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u8-20020a17090341c800b001bc11c02ae9si1548366ple.517.2023.08.10.07.02.12; Thu, 10 Aug 2023 07:03:00 -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=@alien8.de header.s=alien8 header.b=JFX1WChq; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233640AbjHJNca (ORCPT + 99 others); Thu, 10 Aug 2023 09:32:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235364AbjHJNc3 (ORCPT ); Thu, 10 Aug 2023 09:32:29 -0400 Received: from mail.alien8.de (mail.alien8.de [IPv6:2a01:4f9:3051:3f93::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E7A82106 for ; Thu, 10 Aug 2023 06:32:28 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id DEA5540E01A1; Thu, 10 Aug 2023 13:32:26 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.alien8.de Authentication-Results: mail.alien8.de (amavisd-new); dkim=pass (4096-bit key) header.d=alien8.de Received: from mail.alien8.de ([127.0.0.1]) by localhost (mail.alien8.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id evPqkES7QNkf; Thu, 10 Aug 2023 13:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1691674344; bh=Ch/5z1MkCvKFFipvsI9iaL7m5l55GAQOvEb/qwxXSe8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JFX1WChqjnjJblW1BWn7Ml7clSKGTohYoiLUvctOVKHkD40ryZAubko2vfr8tYjLF FTuwzvAwoYYfn3e0XnIa9uZ335PgdsD9OTN04B6fYoS4C2TiXSSPfqtzP7DteHCyf+ UzZIeDvFHrL8/CVOcIZuyZ8pPg0YQwtAvEauAqWAj+/XKu/SAx3inAgl1YZTwzHra5 VARplhlLpgsvqKGWsuFnB4M0RgBvfKWVE+rAHZbT00Zf/NJsUz92TciDeT+JwXWD46 9inor0or4SidhCbMHgdP/M1+fQGRrIYBgEMfH92Jq9b2OoE5l4K3FcoJvqSYXtTQsP OavCkmoCn0Zg7QnPDdGgtIkoAj2pdUnxfISpHOjxJkYApWdUhyvVZIO063ytugMx4U PIMkhCjV3f7hxd+LNsDiAgfNWLJCmuBJBA6KiHjQW/4nAiOqF+RcTmd2m8JlyOJNXX 1wVh+usbrQCd3SRX2rHWhfgY17Wi6aBEom5oZ22d/FrBgeTdBjUsmTbKMjFNIFK/xT KkQ3A8oAyPFSiAQ2GPU9oMo1OHexig8wPADT2JX3HtUB9CUla09EZwR1/9BGEvAHmX vxeRGlopCYAVs9LTxqyJSY5u0AZloTN0LznJpYX+h2tsrOu8lsB7cwBXnmEywiRz4W Pb8ha63exjuTskjbo7fPLQW4= Received: from zn.tnic (pd9530d32.dip0.t-ipconnect.de [217.83.13.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 9AB9140E01A0; Thu, 10 Aug 2023 13:32:20 +0000 (UTC) Date: Thu, 10 Aug 2023 15:32:16 +0200 From: Borislav Petkov To: Nathan Chancellor 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: <20230810133216.GKZNTm4KpohRR4gVsT@fat_crate.local> References: <20230810013334.GA5354@dev-arch.thelio-3990X> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20230810132706.GA3805855@dev-arch.thelio-3990X> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 06:27:06AM -0700, Nathan Chancellor wrote: > But my host kernel was compiled using GCC 13.2.0 from kernel.org for the > sake of testing to see if the compiler used to build the host kernel had > an impact on the problem and it did not. Ok, now I'm confused. Lemme see if I understand it correctly: host kernel: - SRSO enabled - built with gcc guest kernel: - built with clang - SRSO not necessary Is that the scenario? Anything else? Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette