Re: [PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-08 Thread Kirill A. Shutemov
On Wed, Feb 07, 2018 at 11:02:26AM -0800, Dave Hansen wrote: > On 02/07/2018 04:59 AM, Kirill A. Shutemov wrote: > > IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled > > TME and MKTME. It includes which encryption policy/algorithm is selected > > for TME or available for

Re: [PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-08 Thread Kirill A. Shutemov
On Wed, Feb 07, 2018 at 11:02:26AM -0800, Dave Hansen wrote: > On 02/07/2018 04:59 AM, Kirill A. Shutemov wrote: > > IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled > > TME and MKTME. It includes which encryption policy/algorithm is selected > > for TME or available for

Re: [PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-07 Thread Kai Huang
On Wed, 2018-02-07 at 11:02 -0800, Dave Hansen wrote: > On 02/07/2018 04:59 AM, Kirill A. Shutemov wrote: > > IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has > > enabled > > TME and MKTME. It includes which encryption policy/algorithm is > > selected > > for TME or available for

Re: [PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-07 Thread Kai Huang
On Wed, 2018-02-07 at 11:02 -0800, Dave Hansen wrote: > On 02/07/2018 04:59 AM, Kirill A. Shutemov wrote: > > IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has > > enabled > > TME and MKTME. It includes which encryption policy/algorithm is > > selected > > for TME or available for

Re: [PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-07 Thread Dave Hansen
On 02/07/2018 04:59 AM, Kirill A. Shutemov wrote: > IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled > TME and MKTME. It includes which encryption policy/algorithm is selected > for TME or available for MKTME. For MKTME, the MSR also enumerates how > many KeyIDs are

Re: [PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-07 Thread Dave Hansen
On 02/07/2018 04:59 AM, Kirill A. Shutemov wrote: > IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled > TME and MKTME. It includes which encryption policy/algorithm is selected > for TME or available for MKTME. For MKTME, the MSR also enumerates how > many KeyIDs are

[PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-07 Thread Kirill A. Shutemov
IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled TME and MKTME. It includes which encryption policy/algorithm is selected for TME or available for MKTME. For MKTME, the MSR also enumerates how many KeyIDs are available. Signed-off-by: Kirill A. Shutemov

[PATCHv2 2/5] x86/tme: Detect if TME and MKTME is activated by BIOS

2018-02-07 Thread Kirill A. Shutemov
IA32_TME_ACTIVATE MSR (0x982) can be used to check if BIOS has enabled TME and MKTME. It includes which encryption policy/algorithm is selected for TME or available for MKTME. For MKTME, the MSR also enumerates how many KeyIDs are available. Signed-off-by: Kirill A. Shutemov ---