[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160922172732.egjvbivmf5vmcetk@pd.tnic>
Date: Thu, 22 Sep 2016 19:27:32 +0200
From: Borislav Petkov <bp@...e.de>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: Brijesh Singh <brijesh.singh@....com>, thomas.lendacky@....com,
simon.guinot@...uanux.org, linux-efi@...r.kernel.org,
kvm@...r.kernel.org, rkrcmar@...hat.com, matt@...eblueprint.co.uk,
linus.walleij@...aro.org, linux-mm@...ck.org,
paul.gortmaker@...driver.com, hpa@...or.com,
dan.j.williams@...el.com, aarcange@...hat.com,
sfr@...b.auug.org.au, andriy.shevchenko@...ux.intel.com,
herbert@...dor.apana.org.au, bhe@...hat.com, xemul@...allels.com,
joro@...tes.org, x86@...nel.org, mingo@...hat.com,
msalter@...hat.com, ross.zwisler@...ux.intel.com,
dyoung@...hat.com, jroedel@...e.de, keescook@...omium.org,
toshi.kani@....com, mathieu.desnoyers@...icios.com,
devel@...uxdriverproject.org, tglx@...utronix.de,
mchehab@...nel.org, iamjoonsoo.kim@....com,
labbott@...oraproject.org, tony.luck@...el.com,
alexandre.bounine@....com, kuleshovmail@...il.com,
linux-kernel@...r.kernel.org, mcgrof@...nel.org,
linux-crypto@...r.kernel.org, akpm@...ux-foundation.org,
davem@...emloft.net
Subject: Re: [RFC PATCH v1 09/28] x86/efi: Access EFI data as encrypted when
SEV is active
On Thu, Sep 22, 2016 at 07:08:50PM +0200, Paolo Bonzini wrote:
> That's not how I read it. I just figured that the BIOS has some magic
> things high in the physical address space and if you reduce the physical
> address space the BIOS (which is called from e.g. EFI runtime services)
> would have problems with that.
Yeah, I had to ask about that myself and Tom will have it explained
better in the next version.
The reduction in physical address space happens when SME enabled because
you need a couple of bits in the PTE with which to say which key has
encrypted that page. So it is an indelible part of the SME machinery.
Btw, section "7.10 Secure Memory Encryption" has an initial writeup:
http://support.amd.com/TechDocs/24593.pdf
Now that I skim over it, it doesn't mention the BIOS thing but that'll
be updated.
HTH.
--
Regards/Gruss,
Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
Powered by blists - more mailing lists