Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp4610286rwb; Tue, 17 Jan 2023 03:14:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXtCotFdePqIpgIJjbfmncB6glhI3kkylEVSOQ1vjtD8u69yvqkrcVcL5KOOtXiavSPeKm+K X-Received: by 2002:a05:6402:5507:b0:49d:efdc:4f77 with SMTP id fi7-20020a056402550700b0049defdc4f77mr10833419edb.38.1673954045602; Tue, 17 Jan 2023 03:14:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673954045; cv=none; d=google.com; s=arc-20160816; b=X1yKxVto0Ph4N5zxLfkX2aW+o0v5k7HTtuvoZfZjtdL/UMDMYurLoauulYqYhGSYNE Ej7X4l2O3/lf9gQ9P9wtuaO5BCNc//2+4S5Z0MAMutalHJAxvPBaIQSRx12qzxei4365 CLy9Vt3DagnscvPcooZoVF5ba3v8zUixT7ghlFH9JZP8UpXcvhB7hqEv2OY/HwTnUGqT yQP4TydcP6bzRsq6GsyIgvla0eotvkdlVFl2Ww7KyBtik8o5TosK5FWeqm7c2iY2EHF1 8za5cgUnt7kKCDt4vUThX4DuNwSs5ZyhdvJvJjoQCyvKD0rSQ0I0zqaLvaSwu1uOomet 3bXQ== 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=QQOt8ySyPNfsebwY1js22piNE2vG1l6hynTNM9Lu89A=; b=J5hqIx4XMijzlVE+4n6CGcO6MZpjHfZrjMr+NmAWoEImcBAz3M5BxZ8p64Lw4lHSvy +ZiYbk+y2jKckW1vPIsHY/xHvIwlOEICHn8Cu4FzYfkuVhVLf1ZiNOaJV6/MKCBZzBYJ qbqfHRwCS1pw/S3akBPg0fbuyJqArXKxmBx6Vc9xw5bruPRUtWQaN+oIi3AjQMn1A81M /HScSxNJmP1Xdwwkx2G1JJ/yPQbG62+SpOaMmIYFDia3z9Wqg4G3s7rYCN8NyQncSPkX Xb189lVim4AAxC+GPfafgLN/ivNxxvOrOlbXRr/ftRh5oh8Zue6ABdGM/3jThU42pemT 2wmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TBHZrfsE; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c20-20020a05640227d400b0046b2840ca3dsi26415721ede.474.2023.01.17.03.13.50; Tue, 17 Jan 2023 03:14:05 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=TBHZrfsE; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236452AbjAQKk3 (ORCPT + 49 others); Tue, 17 Jan 2023 05:40:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43130 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236481AbjAQKjc (ORCPT ); Tue, 17 Jan 2023 05:39:32 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E30C7303F9 for ; Tue, 17 Jan 2023 02:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673951699; 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: in-reply-to:in-reply-to:references:references; bh=QQOt8ySyPNfsebwY1js22piNE2vG1l6hynTNM9Lu89A=; b=TBHZrfsEXiSRrqJCqp8uoXo3iZpiWXsGS4L0Z/wLdQotPBBSlDKa4U7A9D5gYcAyMEp0+L sFoNvIWQX2yMD4nLDt7JIfeBJn82YSp4o1SZcebw4W02JKw8TCPAKK93/T4P9EsUUGukk/ m4HDxZFp3BSwtop+XIpmdzf56NE6+hg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-513-R2m6b25aP3W36F_H3VIq-g-1; Tue, 17 Jan 2023 05:34:54 -0500 X-MC-Unique: R2m6b25aP3W36F_H3VIq-g-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E213E811E6E; Tue, 17 Jan 2023 10:34:53 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.124]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9F9981121315; Tue, 17 Jan 2023 10:34:53 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 0DCDC1800097; Tue, 17 Jan 2023 11:34:51 +0100 (CET) Date: Tue, 17 Jan 2023 11:34:51 +0100 From: Gerd Hoffmann To: Dave Hansen Cc: "Kirill A. Shutemov" , Dionna Glaze , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, x86@kernel.org, jiewen.yao@intel.com, devel@edk2.groups.io, Ard Biescheuvel , "Min M. Xu" , James Bottomley , Tom Lendacky , Erdem Aktas , Dave Hansen Subject: Re: [PATCH v2] x86/efi: Safely enable unaccepted memory in UEFI Message-ID: <20230117103451.74k6eddipikhml3y@sirius.home.kraxel.org> References: <20230113212926.2904735-1-dionnaglaze@google.com> <20230113222024.rp2erl54vx3grdbd@box.shutemov.name> <20230116105648.63hsxnmj2juwudmu@sirius.home.kraxel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Hi, > In any case, the firmware side of things didn't seem like _that_ much > code. So, I'm not protesting *that* strongly. But, I also don't > believe for a second that this is going to be removed in 3-5 years. If things are going roughly as I expect them to go (both tdx support and unaccepted memory support land upstream this year; distros enable it by default) we should be able to drop this when the 6.1-lts kernel goes EOL. First in edk2, later in linux too. take care, Gerd