[04/10] cpu/msr: add SMM_MONITOR_CTL (9bh) to IA32_MSRs
diff mbox series

Message ID 20190711174635.770-5-alex.hung@canonical.com
State Accepted
Headers show
Series
  • Updates architectural MSRs in IA32_MSRs
Related show

Commit Message

Alex Hung July 11, 2019, 5:46 p.m. UTC
BIT definition is as below:

0	Valid (R/W)
1	Reserved
2	Controls SMI unblocking by VMXOFF
11:3	Reserved
31:12	MSEG Base (R/W)
63:32	Reserved

Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/cpu/msr/msr.c | 1 +
 1 file changed, 1 insertion(+)

Comments

ivanhu July 24, 2019, 7:44 a.m. UTC | #1
On 7/12/19 1:46 AM, Alex Hung wrote:
> BIT definition is as below:
> 
> 0	Valid (R/W)
> 1	Reserved
> 2	Controls SMI unblocking by VMXOFF
> 11:3	Reserved
> 31:12	MSEG Base (R/W)
> 63:32	Reserved
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>   src/cpu/msr/msr.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
> index 43090e5d..9f94eee4 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -347,6 +347,7 @@ static const msr_info IA32_MSRs[] = {
>   	{ "FEATURE_CONTROL",		0x0000003a,	0x000000000016ff07ULL, NULL },
>   	{ "TSC_ADJUST",		0x0000003b,	0xffffffffffffffffULL, NULL },
>   	{ "BIOS_SIGN_ID",		0x0000008b,	0xffffffff00000000ULL, NULL },
> +	{ "SMM_MONITOR_CTL",            0x0000009b,     0x00000000fffff005ULL, NULL },
>   	{ "MTRRCAP",			0x000000fe,	0x0000000000000fffULL, NULL },
>   	/*
>   	 * LP#1582005 - Do not check sysenter MSRs, they will be different on
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
Colin King July 24, 2019, 3:03 p.m. UTC | #2
On 11/07/2019 18:46, Alex Hung wrote:
> BIT definition is as below:
> 
> 0	Valid (R/W)
> 1	Reserved
> 2	Controls SMI unblocking by VMXOFF
> 11:3	Reserved
> 31:12	MSEG Base (R/W)
> 63:32	Reserved
> 
> Signed-off-by: Alex Hung <alex.hung@canonical.com>
> ---
>  src/cpu/msr/msr.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
> index 43090e5d..9f94eee4 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -347,6 +347,7 @@ static const msr_info IA32_MSRs[] = {
>  	{ "FEATURE_CONTROL",		0x0000003a,	0x000000000016ff07ULL, NULL },
>  	{ "TSC_ADJUST",		0x0000003b,	0xffffffffffffffffULL, NULL },
>  	{ "BIOS_SIGN_ID",		0x0000008b,	0xffffffff00000000ULL, NULL },
> +	{ "SMM_MONITOR_CTL",            0x0000009b,     0x00000000fffff005ULL, NULL },
>  	{ "MTRRCAP",			0x000000fe,	0x0000000000000fffULL, NULL },
>  	/*
>  	 * LP#1582005 - Do not check sysenter MSRs, they will be different on
> 
Acked-by: Colin Ian King <colin.king@canonical.com>

Patch
diff mbox series

diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
index 43090e5d..9f94eee4 100644
--- a/src/cpu/msr/msr.c
+++ b/src/cpu/msr/msr.c
@@ -347,6 +347,7 @@  static const msr_info IA32_MSRs[] = {
 	{ "FEATURE_CONTROL",		0x0000003a,	0x000000000016ff07ULL, NULL },
 	{ "TSC_ADJUST",		0x0000003b,	0xffffffffffffffffULL, NULL },
 	{ "BIOS_SIGN_ID",		0x0000008b,	0xffffffff00000000ULL, NULL },
+	{ "SMM_MONITOR_CTL",            0x0000009b,     0x00000000fffff005ULL, NULL },
 	{ "MTRRCAP",			0x000000fe,	0x0000000000000fffULL, NULL },
 	/*
 	 * LP#1582005 - Do not check sysenter MSRs, they will be different on