Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1098560rdg; Fri, 11 Aug 2023 09:36:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHx8Ygk5tOEIrFA7o9i8ZB/6vikOCL9hdF2kwOxkc+W1xP4T+4ZSOKzy78Vfr0mdgN47nww X-Received: by 2002:a17:90a:dc16:b0:268:7d8:597d with SMTP id i22-20020a17090adc1600b0026807d8597dmr1692947pjv.46.1691771812316; Fri, 11 Aug 2023 09:36:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691771812; cv=none; d=google.com; s=arc-20160816; b=C8rHXdjQYTvjIhKRn+JpttlqRlLjYdm2OkQMrwzQQ1NCbdxSsZl1ZMT75kzI7ddfaj P7swQ2NUP2b2YIQE+O1jdaJs7oZH7k/ts1LDMm7pHh4V7Wia0MI3DgpJDHvF99QY8ocL CJJIqeFVbNUL5RvIQvxpcomknbOgCzTKTtpBvk/1i5M0Y7hLnzStTK+R60R8BnCG6gpq oqxTV0izbLcO6EmBZPaQxbAHTKjtYK/mf0mEBxO+S0ve0BWXKpNuQoDTCjIA2CIW1VIK /aTIFCfcJhhiGiLk/gZ1vyXLT8r5LdFDX8DC3lMenprIB95DyXDEwyXRuqAZhkJtHiXh /RDw== 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=ZWCswt3p1t2FvPWcU+CW0VBcDZIt5mj/ZBsforpyaIM=; fh=7Z+5IbG4PhBpqVAbgCNuTz7Aa0/g1V2PKo0fKk9NlCk=; b=UpBBsc3Dq5w3G4ub56upOibfcBLYoS5yn21wOjgS1YazI+x0/hvUB9rduXj4eai15Q NTwT9K/r6pXO61INfOhNRhYKV/xgNxImXTIXdC+AeAIADgEMNoMXo5T6g2H4HdJr+D2l C/erNZzMr+GJAtky2ZCjplOeX17zT8KNMZjHNOdEiEk5j82auZcImFaepH1XGjA638Ob TZjHDEOW1j/oZnjTDPmBgmGn9MjBjYgKz7NetYh3d/oRgbu9WYdt1n/5ANgP8uJokCV7 MR8bgvrSxkYLjbA17Yv56nrBTXkAHiEF2WL5FDuNfDY52sR2RRBZAe5TQw/N2nEFjfAM vNEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=alien8 header.b=aAyPNa3c; 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 cq12-20020a17090af98c00b0025c1ff9cd67si3623697pjb.184.2023.08.11.09.36.40; Fri, 11 Aug 2023 09:36:52 -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=aAyPNa3c; 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 S234474AbjHKQMm (ORCPT + 99 others); Fri, 11 Aug 2023 12:12:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233860AbjHKQMl (ORCPT ); Fri, 11 Aug 2023 12:12:41 -0400 Received: from mail.alien8.de (mail.alien8.de [65.109.113.108]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 422D12712 for ; Fri, 11 Aug 2023 09:12:36 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.alien8.de (SuperMail on ZX Spectrum 128k) with ESMTP id 77E3640E01A2; Fri, 11 Aug 2023 16:12:34 +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 EIC00tw8V5eQ; Fri, 11 Aug 2023 16:12:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=alien8; t=1691770352; bh=ZWCswt3p1t2FvPWcU+CW0VBcDZIt5mj/ZBsforpyaIM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aAyPNa3cHGvngGF+lVn2/cbLxOpOFftRCG2Ca07nrLvSdmwDEPDar1/GH/k5tLCZM gtU/num0/D7I2ld6RfuvFR5wdnmV+LgFQz8fCq+oDRsgBuePOu0fNcoW4bzntxntko PN1p7TZHvi6r5IXpAQGWEMBe8kWUGcVkFRhPjnOcC76rPxRFJ2HUWW0a2x1S2hkEVD lKvwWAmIn4EqWzEs8IBnRqK03MQaxkeUWsnuIrNP+XkStetjOXeYgcOF3vckdslBqz bYOoRxwLvT4ifGUtDiUHJDlVJYPTdl+aL4cBEe6vRatxcPfRKRbh4N5MZ2BZB1tKqY Z87opq4uuiwEZ/iJYqIXDem9/qRZxGIx8Ngo8R9yulm06JWpsuHgGVy8UJ9Ke70MPy Yg+NESJovLJ1BWJuySJ9KK8NvjhN9IP89AMvVJ8JXKshrzKvA+yBoCW7p5vU6FBWFQ MOybolvlq00Ky1zs5xgsYyLth7k09bPEeM/SlNYovWSlX3xCxTQCRSMbx0n5H1EGO2 liSeGoFF0dcUBInDnuNL/Kalzic5szd1Uhh3ySjgrKXSWrPCBYBK+Xsc0NQwKACS6j bM+SnxDfqBOA7G0Pdp6OiFKHhW1aEcJyZTVnsJlhLUs8XvBIjtGJatQAzS1RYRe8r4 nvVOVUc66E43mrERdJRZRLXw= 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 9E71040E0194; Fri, 11 Aug 2023 16:12:26 +0000 (UTC) Date: Fri, 11 Aug 2023 18:12:25 +0200 From: Borislav Petkov To: Sean Christopherson Cc: Nathan Chancellor , x86@kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, Nick Desaulniers Subject: Re: Hang when booting guest kernels compiled with clang after SRSO mitigations Message-ID: <20230811161225.GIZNZd6QfLUoZv9TLO@fat_crate.local> References: <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> <20230810161414.GA4000@dev-arch.thelio-3990X> <20230811101456.GDZNYKIHs1k7ri8hrI@fat_crate.local> <20230811140941.GB193223@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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, URIBL_BLOCKED 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 Fri, Aug 11, 2023 at 09:03:18AM -0700, Sean Christopherson wrote: > Might be the flags bug that borks KVM's fastop() emulation. If that fixes things, > my guess is that bringing APs out of WFS somehow triggers emulation. I was just about to connect you two guys, thanks Sean! > https://lore.kernel.org/all/20230811155255.250835-1-seanjc@google.com Nathan, if you could test, that would be cool. Also, Nick has another patch for -mno-shared, it probably isn't fixing yours but it would be good to test it too, just in case: https://github.com/ClangBuiltLinux/linux/issues/1911#issuecomment-1674993796 Thx! -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette