Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp620527iog; Fri, 24 Jun 2022 10:21:36 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s+TAYFgdGt6Dy0ed9yqb+/aHCi2K9vGjmt6WjzqSMtPbDyChTqDsLYR3XkOJMCD4u3wROU X-Received: by 2002:a17:902:f20a:b0:16a:22ef:b17f with SMTP id m10-20020a170902f20a00b0016a22efb17fmr197715plc.168.1656091295942; Fri, 24 Jun 2022 10:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656091295; cv=none; d=google.com; s=arc-20160816; b=OYaBlqQq7EFfR5EESORzmTGJca8sQmrYUl6TfeDmK3N2rneVe/D4YbaSwqKJQPJt0+ duEAKpYzArDiD7bVmcOK7R32AdGxmSnYxqqzkdOZuGpRx9NBPx+sw5Gsl+epgZArGp2o DtVndQCBygc6veuMRwpN9aqO3nO0M/841ZVBUNqMLPVB35sJIzuXXMMRnuIShtXHN2c4 WLNqE82AX2PBejWmRT+FsugQ1ovoAiUfoWzHc+cedbnSIvBDHXiPFT1L59E3MEQWIt3k AbtYEwRAAApf7ulztuL9GsaEH/qKIgvbjrTNRF8evGxGEkQJ13VWd3x6mubyvCaiNSoU fklg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oNiiFv53teFu3CRex5rCry8QLqLkd97P3Hj9fAhbeYc=; b=fN+Qb8h4w+BbTeOlVeiv0ceIbjhqNA9pkERGLe6OA0PrkL4TCyBNsVQw22+86sTtK+ tbni3zlwJnn5Ey/uc0W8S0V4R4sRySpUmXowEKsnhkSp52IS86TDvb2+m4W1LG2Q3sxU yyMQBkucze7d6ak6TzpRvkayBFQ1ErYaI+B74msAifTLN+7t8dStKbcNo8dm9bWyNE5l CbTr+c56oXkZt30rICvW6ji/WTUWwrC5xx9/49crBB/AJZ5l+uf2dATK4w/leCrjx6aa 8Rz3RxEgWi8MynTVATk2VsjjcT1LJZQa3sfZZ9nYPyZa+2idVPN7QuVcSTMF5exBK3G8 0/EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=kFAUNKf1; 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 v21-20020a63d555000000b003f9caa62632si3230975pgi.65.2022.06.24.10.21.23; Fri, 24 Jun 2022 10:21:35 -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=kFAUNKf1; 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 S232280AbiFXRUP (ORCPT + 99 others); Fri, 24 Jun 2022 13:20:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232241AbiFXRTr (ORCPT ); Fri, 24 Jun 2022 13:19:47 -0400 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C3456E794 for ; Fri, 24 Jun 2022 10:19:19 -0700 (PDT) Received: by mail-oi1-x22a.google.com with SMTP id h65so4358391oia.11 for ; Fri, 24 Jun 2022 10:19:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oNiiFv53teFu3CRex5rCry8QLqLkd97P3Hj9fAhbeYc=; b=kFAUNKf1rEgkt+OYkPh8tB9E+HPlRDJ57kjd7aaOhWKcIYCN/ZjVerEUwL1D4UqEy6 jNB2akz9JlmI2z3ciS9Jkc2XEeGMl3dvnEZrG1QqRu/ya7j4cL/8FovPHxIwC5EW6es7 Ghq27j3amQkzIckOMXvVOxDa7HU8mwaHoI3RREC2uB5mU26z2mV8kUwNG56nJSMHMRqc 7XxJo0dYVvBtJQS7ebwKtCv1V87zEy9YAPcRV8rTLCfAJuZvL7bdAFhpoy8DPcdAukCV I/VMctopfL4nnKopG199aqN6z+kRpGu+YbvvSx5/icPAGuQh+9wvM0ZMI9vQVocoE5BI 2jZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oNiiFv53teFu3CRex5rCry8QLqLkd97P3Hj9fAhbeYc=; b=ktzWlVGXDt6iEBqxJ3+7bkijjfBB2YbjL8Ug2n6LLkWV3lzdhV5lMwpsnra9nL4ADD ioFFwVFHWyxCd/zHWjflWKI6jRyxp/8eJlYTuOl1jSjFfBbBcjw/BjiwsCAp6fFqvmL5 j5v3XEhLR9nedJ1arXXU5ifP88ubMpGTZ5KJQwsIQ4dytNmWVR+/GpnIB+UXIz1uLXeM 16iVrr0VryDdG8yQO0dv/n0dqOE9gviPZTC1WEH1CKoCSEdqANIfs/CmKFPo5lNx7DbV Bi19g45nPCVttAmxbfzbADKIVhf1PVicHzWPhQX96aeE49dZ7KNYkgFnZ2xCi16kmhwF tv1A== X-Gm-Message-State: AJIora9F0JB0PPCJrJqAQFM3jAYp2hOd7+qo8Y+yldPGi3p4nVB7bEc8 LeewNph1olLyfBqcwZ4KNYgrnZCqzSmqXvrOo7E4uA== X-Received: by 2002:a05:6808:179a:b0:32f:2b07:e733 with SMTP id bg26-20020a056808179a00b0032f2b07e733mr2572280oib.218.1656091158204; Fri, 24 Jun 2022 10:19:18 -0700 (PDT) MIME-Version: 1.0 References: <20220614120231.48165-1-kirill.shutemov@linux.intel.com> <5af19000-4482-7eb9-f158-0a461891f087@intel.com> In-Reply-To: From: Marc Orr Date: Fri, 24 Jun 2022 10:19:07 -0700 Message-ID: Subject: Re: [PATCHv7 00/14] mm, x86/cc: Implement support for unaccepted memory To: Dave Hansen Cc: Peter Gonda , "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 Content-Type: text/plain; charset="UTF-8" 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, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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, Jun 24, 2022 at 10:10 AM Dave Hansen wrote: > > On 6/24/22 10:06, Marc Orr wrote: > > I think Peter's point is a little more nuanced than that. Once lazy > > accept goes into the guest firmware -- without the feature negotiation > > that Peter is suggesting -- cloud providers now have a bookkeeping > > problem. Which images have kernels that can boot from a guest firmware > > that doesn't pre-validate all the guest memory? > > Hold on a sec though... > > Is this a matter of > > can boot from a guest firmware that doesn't pre-validate all the > guest memory? > > or > > can boot from a guest firmware that doesn't pre-validate all the > guest memory ... with access to all of that guest's RAM? > > In other words, are we talking about "fails to boot" or "can't see all > the RAM"? Ah... yeah, you're right, Dave -- I guess it's the latter. The guest won't have access to all of the memory that the customer is paying for. But that's still bad. If the customer buys a 96 GB VM and can only see 4GB because they're kernel doesn't have these patches they're going to be confused and frustrated.