[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200429112315.GO21900@8bytes.org>
Date: Wed, 29 Apr 2020 13:23:15 +0200
From: Joerg Roedel <joro@...tes.org>
To: Tom Lendacky <thomas.lendacky@....com>
Cc: linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
Herbert Xu <herbert@...dor.apana.org.au>,
David Miller <davem@...emloft.net>,
Borislav Petkov <bp@...en8.de>,
Brijesh Singh <brijesh.singh@....com>
Subject: Re: [PATCH v2] crypto: ccp: Add support for SEV-ES to the PSP driver
On Tue, Apr 21, 2020 at 12:44:49PM -0500, Tom Lendacky wrote:
> To provide support for SEV-ES, the hypervisor must provide an area of
> memory to the PSP. Once this Trusted Memory Region (TMR) is provided to
> the PSP, the contents of this area of memory are no longer available to
> the x86.
>
> Update the PSP driver to allocate a 1MB region for the TMR that is 1MB
> aligned and then provide it to the PSP through the SEV INIT command.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky@....com>
>
> ---
>
> Changes since v1:
> - No need to over-allocate the memory area to obtain the required
> alignment when using the page allocator.
Reviewed-by: Joerg Roedel <jroedel@...e.de>
Powered by blists - more mailing lists