[10/10] cpu/msr: add VMX_VMFUNC MSR register
diff mbox series

Message ID 20190711174635.770-11-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
Signed-off-by: Alex Hung <alex.hung@canonical.com>
---
 src/cpu/msr/msr.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ivan Hu July 24, 2019, 7:49 a.m. UTC | #1
On 7/12/19 1:46 AM, Alex Hung wrote:
> 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 aa2e87dd..0645c5db 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -453,6 +453,7 @@ static const msr_info IA32_MSRs[] = {
>   	{ "VMX_TRUE_PROCBASED_CTLS",	0x0000048e,	0xffffffffffffffffULL, NULL },
>   	{ "VMX_TRUE_EXIT_CTLS",		0x0000048f,	0xffffffffffffffffULL, NULL },
>   	{ "VMX_TRUE_ENTRY_CTLS",	0x00000490,	0xffffffffffffffffULL, NULL },
> +	{ "VMX_VMFUNC",	0x00000491,	0xffffffffffffffffULL, NULL },
>   	{ "A_PMC4",			0x000004c5,	0xffffffffffffffffULL, NULL },
>   	{ "A_PMC5",			0x000004c6,	0xffffffffffffffffULL, NULL },
>   	{ "A_PMC6",			0x000004c7,	0xffffffffffffffffULL, NULL },
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
Colin King July 24, 2019, 3:07 p.m. UTC | #2
On 11/07/2019 18:46, Alex Hung wrote:
> 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 aa2e87dd..0645c5db 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -453,6 +453,7 @@ static const msr_info IA32_MSRs[] = {
>  	{ "VMX_TRUE_PROCBASED_CTLS",	0x0000048e,	0xffffffffffffffffULL, NULL },
>  	{ "VMX_TRUE_EXIT_CTLS",		0x0000048f,	0xffffffffffffffffULL, NULL },
>  	{ "VMX_TRUE_ENTRY_CTLS",	0x00000490,	0xffffffffffffffffULL, NULL },
> +	{ "VMX_VMFUNC",	0x00000491,	0xffffffffffffffffULL, NULL },
>  	{ "A_PMC4",			0x000004c5,	0xffffffffffffffffULL, NULL },
>  	{ "A_PMC5",			0x000004c6,	0xffffffffffffffffULL, NULL },
>  	{ "A_PMC6",			0x000004c7,	0xffffffffffffffffULL, NULL },
> 

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 aa2e87dd..0645c5db 100644
--- a/src/cpu/msr/msr.c
+++ b/src/cpu/msr/msr.c
@@ -453,6 +453,7 @@  static const msr_info IA32_MSRs[] = {
 	{ "VMX_TRUE_PROCBASED_CTLS",	0x0000048e,	0xffffffffffffffffULL, NULL },
 	{ "VMX_TRUE_EXIT_CTLS",		0x0000048f,	0xffffffffffffffffULL, NULL },
 	{ "VMX_TRUE_ENTRY_CTLS",	0x00000490,	0xffffffffffffffffULL, NULL },
+	{ "VMX_VMFUNC",	0x00000491,	0xffffffffffffffffULL, NULL },
 	{ "A_PMC4",			0x000004c5,	0xffffffffffffffffULL, NULL },
 	{ "A_PMC5",			0x000004c6,	0xffffffffffffffffULL, NULL },
 	{ "A_PMC6",			0x000004c7,	0xffffffffffffffffULL, NULL },