Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2721246rwb; Thu, 29 Sep 2022 14:11:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5v+XpuyGDCrx5ujDDLaqnfGyKd3LHWJu6ja4xrmQh7AlrOhkiGroHhOTSwpbsKROrCkCeg X-Received: by 2002:a17:906:fe49:b0:73d:70c5:1a52 with SMTP id wz9-20020a170906fe4900b0073d70c51a52mr4218312ejb.469.1664485862562; Thu, 29 Sep 2022 14:11:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664485862; cv=none; d=google.com; s=arc-20160816; b=XXMca0dTWKEuQ+A+0Y6Dz1Ac9dTw0HYFRIIZuiCXkS+waiFte/yeT2FQTuSr9BAk88 a96P2/NWfxU5iCJu9md2ax1o/Do+qjHhYoSu7bwWDVZlE95BFTPmh6xw10GUn6z54wFS pBEPAy2uSEeugolZcOSZqF8ejUEZIp60MvXZcRCNuQecOVL9S4l2etcUneu9kXZfQMD3 8KpRyr9yvqNOsoBmOJXkoEj9dLJbBlDJ7mQ6mdkF7ZyVmJR+ebk9Nxx9O1sOvJxXfFee UIy1bnxD7NyGt183EAuy060ywvmtygIs6SV91TOHhnD1bLCxLDTi/23dlcq2Ls7Sn1tx t1CQ== 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=ZS0vHZ8U5uCLBA4MsBJEK0RLj/l0e90kCXMVhqCQPgc=; b=uWwv/2ylYPhyqOjRvIp3fUb8Ykqr4p+Plg5OQyoMwCQbswUKLwZ8+IkpqfecNXd9fU TXSqcEpI0ha1V7FriW6KLk/z0tVuAT6mwIfmtbFS237DfYLkloeWnf/Ct43i2YBxtSpE CA64i0WK0OhOgX+ZgK3nV3xsMc3WRmYbKJMbC8O4VR3N6xgoC1Pq8LhWL07JiEmYQypL 2aToYCj57qawWzVVv5BqM51zjVXuoH0JEqyTecNqjtMOFjm1jVy9TL4x8L6YY1qjaw3U fc4fhShZwdj84wT7bsA/Q1U282V8I+02v4NhXrGhe6sK+i8IVcwxUtembaPMOnyeAZ/h Gu+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=sWVMLeZA; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a056402274d00b0044f29652bcbsi520948edd.533.2022.09.29.14.10.36; Thu, 29 Sep 2022 14:11:02 -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=@google.com header.s=20210112 header.b=sWVMLeZA; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229681AbiI2UiQ (ORCPT + 99 others); Thu, 29 Sep 2022 16:38:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbiI2UiN (ORCPT ); Thu, 29 Sep 2022 16:38:13 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2F5B1133CB4 for ; Thu, 29 Sep 2022 13:38:12 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id w10so2206612pll.11 for ; Thu, 29 Sep 2022 13:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=ZS0vHZ8U5uCLBA4MsBJEK0RLj/l0e90kCXMVhqCQPgc=; b=sWVMLeZAa/KXbx4kKJTYzU5K84r9LicA64dUzPnBfYn1inl6oBvvcSjcGZTwXvknIk avA7aJRKG4yJQdluQ11Im/oR37eOlVBUhdcGHGyflKZPStedZRchonMYff/C73l/p2h2 hzvjwyFLpDfOShH+HXzAXRjzGkb8HAhlwAMsWSLkcSXuZwbb7ST1Dhmz+fH88o+KWoAr b9aivegH+vaNPMtyPzTQz9d1TWKXc4Oaq59vCv355oCSu6dtBNmiL/KqPgHzLoznsJbK CZ4kc9YOIK7uj/cxCRnTTNryq5dAT/kGIfoxjdcxFch8HK/uB2wU0FirKKvRFSO3JNsb odgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=ZS0vHZ8U5uCLBA4MsBJEK0RLj/l0e90kCXMVhqCQPgc=; b=wEduslzSICV/xSSA4uiFcG0BHoYfeXp4KsArhGXi2byqF4XUNzgO9yEHKY8jh/T1Su BDCznrnT+d7cHf1ppxMIcM2BXhSr3uMb3gLiP8V5hvLrPGY4Jf83hNcVDNrJYtGKWvma OTJq+Y1aqPZ0TPvQEfLq+yEShuZ6EKsaXhHPtVTZwinDGyoFPiqDFbbAhe5GJ1pW7MVT Tr7AufT8vj/DHgT+1qQZiF4G1jMX99WnUz230+OJwYEApOu3Tdin6UEDygd7OfS37CF0 UXTka32OBQzynFMePXcb5FzB4secSlOgX+zh+MVuzUi/MQe/157g4yZi5GOWURnTZgHw CFtQ== X-Gm-Message-State: ACrzQf0LylqJdDtMYFMHbu7oWUISXRpVwwI1HTPUsuKYhvc9Y9EytxEm PT0TUATHz4G+n1MaVQqAnyQ70JeGTPLtMg== X-Received: by 2002:a17:902:f550:b0:178:5b6a:3a1c with SMTP id h16-20020a170902f55000b001785b6a3a1cmr5180601plf.36.1664483891034; Thu, 29 Sep 2022 13:38:11 -0700 (PDT) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id w18-20020a170902a71200b00172cb8b97a8sm343960plq.5.2022.09.29.13.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Sep 2022 13:38:10 -0700 (PDT) Date: Thu, 29 Sep 2022 20:38:07 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: "Maciej S. Szmigiero" , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH] KVM: allow compiling out SMM support Message-ID: References: <20220927152241.194900-1-pbonzini@redhat.com> <56a125ab-f113-56f7-f8cb-de05127c92b7@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56a125ab-f113-56f7-f8cb-de05127c92b7@redhat.com> X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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, Sep 29, 2022, Paolo Bonzini wrote: > The two Kconfig entries for SMM and XEN are more for things that you want to > remove to reduce attack surface than for testing. Yep, we want to disable SMM to reduce KVM's attack/bug surface. Any performance benefits are bonus side effects.