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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id A825CC433F5 for ; Fri, 13 May 2022 14:45:29 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 12FE18D0001; Fri, 13 May 2022 10:45:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0B8F76B007B; Fri, 13 May 2022 10:45:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E9AD48D0001; Fri, 13 May 2022 10:45:28 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id D6CD86B0073 for ; Fri, 13 May 2022 10:45:28 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay13.hostedemail.com (Postfix) with ESMTP id A773160C40 for ; Fri, 13 May 2022 14:45:28 +0000 (UTC) X-FDA: 79460993136.03.0717359 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by imf21.hostedemail.com (Postfix) with ESMTP id 6B2F31C00B5 for ; Fri, 13 May 2022 14:45:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652453126; x=1683989126; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=oe4RvQVrbAkDL0kypbBx+ih7yeuE1vnJ1rTohZdq0BI=; b=eW3aYqhc4uRBPg8ICrTIR+Gh76KhDFj7GN6EgPA2F5pzsUT+9Ho7WMJd vc3wCs6jAwgrDiMDuiUmnN/D8PjYpeAnDTA5zPpi+Ztg0l8p6qT3w8JqG T9isR+/I9J1bWs6mqmlhK5cSAZUn3k/OV5MaH1bS4zv7L8vsmZWni2IVB IAaYhq9oJshfaErysc7YQBcU4/R7et1tXR9TypFFk8smywrSmb7Sz6FY3 lLBERHtTCLN74Z7lXOsuvQRbFmGtevB6NFZaZ5D+xnOdN+tS1HuIyTaHk g9GoGBqjHLnfXmCq1qlELrcCChSKDlPA3GZNydtNJ6D9pgHau9XeHpnLJ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10346"; a="270253767" X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="270253767" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 May 2022 07:45:23 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,223,1647327600"; d="scan'208";a="603862328" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga001.jf.intel.com with ESMTP; 13 May 2022 07:45:15 -0700 Received: by black.fi.intel.com (Postfix, from userid 1000) id 2FF2D147; Fri, 13 May 2022 17:45:15 +0300 (EEST) Date: Fri, 13 May 2022 17:45:15 +0300 From: "Kirill A. Shutemov" To: Borislav Petkov , Min Xu , Jiaqi Gao Cc: Dionna Amalie Glaze , Michael Roth , Borislav Petkov , "Kirill A. Shutemov" , 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 , Dave Hansen , Mike Rapoport , David Hildenbrand , x86@kernel.org, linux-mm@kvack.org, linux-coco@lists.linux.dev, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv5 06/12] x86/boot/compressed: Handle unaccepted memory Message-ID: <20220513144515.fx2cvo3rjued3vy5@black.fi.intel.com> References: <20220425033934.68551-1-kirill.shutemov@linux.intel.com> <20220425033934.68551-7-kirill.shutemov@linux.intel.com> <20220506153013.e6v4q2qhuhqumfiu@box.shutemov.name> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=eW3aYqhc; spf=none (imf21.hostedemail.com: domain of kirill.shutemov@linux.intel.com has no SPF policy when checking 134.134.136.65) smtp.mailfrom=kirill.shutemov@linux.intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 6B2F31C00B5 X-Stat-Signature: 41xxk39b51a73u8t9o73xzkfme7pbiww X-HE-Tag: 1652453118-301828 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, May 13, 2022 at 11:01:43AM +0200, Borislav Petkov wrote: > + mroth > - brijesh > > On Thu, May 12, 2022 at 10:34:02PM -0700, Dionna Amalie Glaze wrote: > > Kirill, I've been tracking these changes to see if we can handle the > > unaccepted memory type for SEV-SNP, but testing has been an issue. The > > proposed patch in Ovmf to introduce unaccepted memory seems to have > > stalled out last September > > (https://www.mail-archive.com/devel@edk2.groups.io/msg35842.html) and > > is particularly difficult to adapt to SEV-SNP since it doesn't follow > > the TDVF way of initializing all memory. Is there a different > > development I might have missed so that we might test these cases? > > Without the UEFI introducing EFI_UNACCEPTED_MEMORY type, any kernel > > uses are essentially dead code. + Min, Jiaqi. I don't follow firmware development. Min, Jiaqi, could you comment? -- Kirill A. Shutemov