lkml.org 
[lkml]   [2023]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v10 01/16] x86/tdx: Define TDX supported page sizes as macros
From
On 06.03.23 15:13, Kai Huang wrote:
> TDX supports 4K, 2M and 1G page sizes. The corresponding values are
> defined by the TDX module spec and used as TDX module ABI. Currently,
> they are used in try_accept_one() when the TDX guest tries to accept a
> page. However currently try_accept_one() uses hard-coded magic values.
>
> Define TDX supported page sizes as macros and get rid of the hard-coded
> values in try_accept_one(). TDX host support will need to use them too.
>
> Signed-off-by: Kai Huang <kai.huang@intel.com>
> Reviewed-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
> ---

Reviewed-by: David Hildenbrand <david@redhat.com>

--
Thanks,

David / dhildenb

\
 
 \ /
  Last update: 2023-03-27 01:03    [W:0.144 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site