[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220624175816.vzwguyo2nd5k6toy@amd.com>
Date: Fri, 24 Jun 2022 12:58:16 -0500
From: Michael Roth <michael.roth@....com>
To: Peter Gonda <pgonda@...gle.com>
CC: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Borislav Petkov <bp@...en8.de>,
Andy Lutomirski <luto@...nel.org>,
Sean Christopherson <seanjc@...gle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Joerg Roedel <jroedel@...e.de>,
Ard Biesheuvel <ardb@...nel.org>,
Andi Kleen <ak@...ux.intel.com>,
Kuppuswamy Sathyanarayanan
<sathyanarayanan.kuppuswamy@...ux.intel.com>,
David Rientjes <rientjes@...gle.com>,
Vlastimil Babka <vbabka@...e.cz>,
Tom Lendacky <thomas.lendacky@....com>,
Thomas Gleixner <tglx@...utronix.de>,
"Peter Zijlstra" <peterz@...radead.org>,
Paolo Bonzini <pbonzini@...hat.com>,
"Ingo Molnar" <mingo@...hat.com>,
Varad Gautam <varad.gautam@...e.com>,
"Dario Faggioli" <dfaggioli@...e.com>,
Dave Hansen <dave.hansen@...el.com>,
"Mike Rapoport" <rppt@...nel.org>,
David Hildenbrand <david@...hat.com>,
<marcelo.cerri@...onical.com>, <tim.gardner@...onical.com>,
<khalid.elmously@...onical.com>, <philip.cox@...onical.com>,
"the arch/x86 maintainers" <x86@...nel.org>, <linux-mm@...ck.org>,
<linux-coco@...ts.linux.dev>, <linux-efi@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCHv7 00/14] mm, x86/cc: Implement support for unaccepted
memory
On Fri, Jun 24, 2022 at 12:40:57PM -0500, Michael Roth wrote:
>
> 1) how to configure OVMF to enable/disable lazy acceptance
> - compile time option most likely: accept-all/accept-minimum/accept-1GB
>
> 2) how to introduce an automatic mode in the future where OVMF does the
> right thing based on what the guest supports. Gerd floated the idea of
> tying it to ExitBootServices as well, but not sure there's a solid
> plan on what to do here yet.
>
> If that's accurate, it seems like the only 'safe' option is to disable it via
> #1 (accept-all), and then when #2 comes along, compile OVMF to just Do The
> Right Thing.
>
> Users who know their VMs implement lazy acceptance can force it on via
> accept-all OVMF compile option.
accept-min / accept-X I mean.
Powered by blists - more mailing lists