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 F0F4EC32771 for ; Sun, 18 Sep 2022 19:04:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229604AbiIRTEb (ORCPT ); Sun, 18 Sep 2022 15:04:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229577AbiIRTE3 (ORCPT ); Sun, 18 Sep 2022 15:04:29 -0400 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E0A42A5; Sun, 18 Sep 2022 12:04:26 -0700 (PDT) Received: from zn.tnic (p200300ea9733e7d5329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9733:e7d5:329c:23ff:fea6:a903]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 3BF0D1EC02F2; Sun, 18 Sep 2022 21:04:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1663527861; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=EWdwI+9F6KbF5P7EBjHLyJIqBo8SY/a75JkGfnay0dI=; b=U00QM7wSHikbt8CJZUY9HK8HpzlQnvUC7Msxf6QTULbZ/Qo651n+VVa/uZc/BJ+Vwn8cgi Kg+6Qi6TqSsIqXXSO95iiOFmeW/OusCe7Ar0JwQJNz2kEXGHTlcH44hJTDvCtnvHcR8JN6 szhpScE/k56x/NxjnCXUvgaOC6uvYVM= Date: Sun, 18 Sep 2022 21:04:16 +0200 From: Borislav Petkov To: Sean Christopherson Cc: Jim Mattson , Avi Kivity , Babu Moger , "Chang S. Bae" , Dave Hansen , "H. Peter Anvin" , Ingo Molnar , Joerg Roedel , Josh Poimboeuf , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Paolo Bonzini , Pawan Gupta , Peter Zijlstra , Thomas Gleixner , Wyes Karny , x86@kernel.org Subject: Re: [PATCH 2/5] KVM: svm: Disallow EFER.LMSLE on hardware that doesn't support it Message-ID: References: <20220916045832.461395-1-jmattson@google.com> <20220916045832.461395-3-jmattson@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 16, 2022 at 10:33:29PM +0000, Sean Christopherson wrote: > ... > Either way, KVM appears to be carrying a half-baked "fix" for a buggy guest that's > long since gone. So like we did in commit 8805875aa473 ("Revert "KVM: nVMX: Do not > expose MPX VMX controls when guest MPX disabled""), I think we should just revert > the "fix". If, as message 0/5 says, setting this bit so that SLE11 Xen 4.0 boots as a nested hypervisor is the use case, then sure, unconditional NO_LSMLE and we all should go on with our lives. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette