Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp675325iog; Fri, 24 Jun 2022 11:28:56 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uvYeKpOqpqDkN/5DnixKJYr92WiolHjRgQFWRXIR/IN7LPbM4xpYAiMbclmtd6yDbk4DxK X-Received: by 2002:a63:8c47:0:b0:40d:2d4:e3a2 with SMTP id q7-20020a638c47000000b0040d02d4e3a2mr198794pgn.2.1656095336423; Fri, 24 Jun 2022 11:28:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656095336; cv=none; d=google.com; s=arc-20160816; b=dzMac07BgWVvbjyWIGiQ7VYdV3jjaQfJQ0qrqNF335qjsOLUlEN9Fi+4jOUoj3s+D4 4N06YUGhbA8p53CBLzENE2Qxh2lelDfZv0aikH8jZuCfJmHz4rz4w2WiQ5CxgmciFFga OFXDbBSiwVhtKWBHAO7KS09qRXA2oeFvcOjtNsYFCB3rlONFpr4dyP7Zswpg5K0InPtC bNS72xR5mpoie+5Z/uqEpgs+0XFzQr811u8tJ+jt+Hfo+1NGKoHGsHYV0SJbAdt3x80R 5cXHUGbzri3ILK+9rEhy9VBED8I03FzvdAgp61JKLCcSb2665qPJ/Khg4w06e29AbGHZ bwbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=fuSOFbs1yD49rU0jJT6lBsJbR7XhEHn4XjdQfAwjJp8=; b=lmzUldN87A1lAnos2tyQBw1BBeo2EAIC7xdP8uYuY/OJK5P1jV8myH9mpEtuyND4TF VNpzFKdLb+domdqF1jWc8OI9ChGJEgSU2iFk9y2N4IP3jq5HQU+n2YgJtrFJwav2S9dM X7S1yfUymOaOr3Kz7Q4PNJvXiavWqq2HXp11xbmivLF0frip8q3n2rc2gQQsXdMZJ9Zi Ng38hfUhne4HYZk+CSxL26sRof+9ZUxhOFyXQKqRa+L0Eeyard861SR/Uv6OVNgWFK/P Y0Q36z8nebQJVKcFwwZERmnHsWL81JkNxRRpHjjgEopU1lv8snPjFj6ZNdh92Wj3zfEC 675w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GCo0mhYc; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w69-20020a638248000000b0040c76b0efdesi3427162pgd.711.2022.06.24.11.28.42; Fri, 24 Jun 2022 11:28:56 -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=@intel.com header.s=Intel header.b=GCo0mhYc; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229928AbiFXSOb (ORCPT + 99 others); Fri, 24 Jun 2022 14:14:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbiFXSO3 (ORCPT ); Fri, 24 Jun 2022 14:14:29 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1906D4707F; Fri, 24 Jun 2022 11:14:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656094468; x=1687630468; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=YeV/d+4LsC7Rh9IZcGmWfqXWcLSrc2sIo/Y1Mv7nibY=; b=GCo0mhYc/H6FzyBwRxwoAqUFinUnqC0twLgVD8cDkDG9YBceW2nIGFEL XIzRTXnZlgrUmY6HM6iQmA3GrY7QpTrXUp8PM6CYqi9oBK93B8IQXTfWt lhtp9c+JgWB1HwTfU/iYseyZaBgkhltoRRVJ3vJsqJaphYuJBZU+pbMFy fqtQjqZ0zZ7rOBzGzNu+UIwJvKL1Wq1sRp85tvqqHFXdJbqrnIZRwmOIa 1rsgrTQP41RU8Pfy8BmeI+RnKIL2MjTm2HoZu859Z38qw7V++/JYUHLWL Bcbd1CfCoOXJF8n8SO0ghPAcdSMUN4qcxZfN80puxaSvt5xvygx7JqyQQ w==; X-IronPort-AV: E=McAfee;i="6400,9594,10388"; a="282146947" X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="282146947" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 11:14:07 -0700 X-IronPort-AV: E=Sophos;i="5.92,218,1650956400"; d="scan'208";a="731418689" Received: from mdedeogl-mobl.amr.corp.intel.com (HELO [10.209.126.186]) ([10.209.126.186]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jun 2022 11:14:05 -0700 Message-ID: Date: Fri, 24 Jun 2022 11:13:30 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCHv7 00/14] mm, x86/cc: Implement support for unaccepted memory Content-Language: en-US To: Peter Gonda Cc: Marc Orr , "Kirill A. Shutemov" , Borislav Petkov , Andy Lutomirski , Sean Christopherson , Andrew Morton , Joerg Roedel , Ard Biesheuvel , Andi Kleen , Kuppuswamy Sathyanarayanan , David Rientjes , Vlastimil Babka , Tom Lendacky , Thomas Gleixner , Peter Zijlstra , Paolo Bonzini , Ingo Molnar , Varad Gautam , Dario Faggioli , Mike Rapoport , David Hildenbrand , Marcelo , tim.gardner@canonical.com, Khalid ElMously , philip.cox@canonical.com, the arch/x86 maintainers , linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, LKML References: <20220614120231.48165-1-kirill.shutemov@linux.intel.com> <5af19000-4482-7eb9-f158-0a461891f087@intel.com> <1e7ad728-d796-c84d-b7ba-b96d8f9fcd0c@intel.com> From: Dave Hansen In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 6/24/22 11:10, Peter Gonda wrote: >> How big is the window going to be where we have guests that can have >> unaccepted memory, but don't have acceptance support? For TDX, it's >> looking like it'll probably _just_ be 5.19. Is TDX on 5.19 in shape >> that cloud providers can deploy it? Or, is stuff like lack of >> attestation a deal breaker? > This is complicated because distros don't run upstream linux versions. > If I understand correctly (I see some distro emails on here so please > correct me) distros normally maintain forks which they backport things > into. So I cannot answer this question. It is possible that a > hypothetical distro backports only the SNP/TDX initial patches and > doesn't take these for many releases. Distros could also backport a bare-bones version of this set that doesn't do anything fancy and just synchronously accepts the memory at boot. No bitmap, no page allocator changes. It'll slow boot down, but is better than having no RAM.