diff mbox series

[2/5] cpu/msr: add MSR_FEATURE_CONFIG to IA32_silvermont_MSRs

Message ID 20190712050822.21432-3-alex.hung@canonical.com
State Accepted
Headers show
Series Updates atom MSRs in IA32_silvermont_MSRs | expand

Commit Message

Alex Hung July 12, 2019, 5:08 a.m. UTC
BIT definition is as below:
1:0     AES Configuration (RW-L)
63:2    Reserved

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, 8:02 a.m. UTC | #1
On 7/12/19 1:08 PM, Alex Hung wrote:
> BIT definition is as below:
> 1:0     AES Configuration (RW-L)
> 63:2    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 e694c65d..1ff4de43 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -482,6 +482,7 @@ static const msr_info IA32_atom_MSRs[] = {
>   
>   static const msr_info IA32_silvermont_MSRs[] = {
>   	{ "MSR_PMG_IO_CAPTURE_BASE",	0x000000e4,	0x000000000007ffffULL, NULL },
> +	{ "MSR_FEATURE_CONFIG",		0x0000013c,	0x0000000000000003ULL, NULL },
>   	{ NULL,				0x00000000,	0, NULL },
>   };
>   
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
Colin Ian King July 24, 2019, 3:08 p.m. UTC | #2
On 12/07/2019 06:08, Alex Hung wrote:
> BIT definition is as below:
> 1:0     AES Configuration (RW-L)
> 63:2    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 e694c65d..1ff4de43 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -482,6 +482,7 @@ static const msr_info IA32_atom_MSRs[] = {
>  
>  static const msr_info IA32_silvermont_MSRs[] = {
>  	{ "MSR_PMG_IO_CAPTURE_BASE",	0x000000e4,	0x000000000007ffffULL, NULL },
> +	{ "MSR_FEATURE_CONFIG",		0x0000013c,	0x0000000000000003ULL, NULL },
>  	{ NULL,				0x00000000,	0, NULL },
>  };
>  
> 

Acked-by: Colin Ian King <colin.king@canonical.com>
diff mbox series

Patch

diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
index e694c65d..1ff4de43 100644
--- a/src/cpu/msr/msr.c
+++ b/src/cpu/msr/msr.c
@@ -482,6 +482,7 @@  static const msr_info IA32_atom_MSRs[] = {
 
 static const msr_info IA32_silvermont_MSRs[] = {
 	{ "MSR_PMG_IO_CAPTURE_BASE",	0x000000e4,	0x000000000007ffffULL, NULL },
+	{ "MSR_FEATURE_CONFIG",		0x0000013c,	0x0000000000000003ULL, NULL },
 	{ NULL,				0x00000000,	0, NULL },
 };