diff mbox series

[1/5] cpu/msr: add MSR_PMG_IO_CAPTURE_BASE to IA32_silvermont_MSRs

Message ID 20190712050822.21432-2-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:

15:0    LVL_2 Base Address (R/W)
18:16   C-state Range (R/W)
63:19   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:
> 
> 15:0    LVL_2 Base Address (R/W)
> 18:16   C-state Range (R/W)
> 63:19   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 3a35d3d5..e694c65d 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -481,6 +481,7 @@ static const msr_info IA32_atom_MSRs[] = {
>   };
>   
>   static const msr_info IA32_silvermont_MSRs[] = {
> +	{ "MSR_PMG_IO_CAPTURE_BASE",	0x000000e4,	0x000000000007ffffULL, 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:
> 
> 15:0    LVL_2 Base Address (R/W)
> 18:16   C-state Range (R/W)
> 63:19   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 3a35d3d5..e694c65d 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -481,6 +481,7 @@ static const msr_info IA32_atom_MSRs[] = {
>  };
>  
>  static const msr_info IA32_silvermont_MSRs[] = {
> +	{ "MSR_PMG_IO_CAPTURE_BASE",	0x000000e4,	0x000000000007ffffULL, 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 3a35d3d5..e694c65d 100644
--- a/src/cpu/msr/msr.c
+++ b/src/cpu/msr/msr.c
@@ -481,6 +481,7 @@  static const msr_info IA32_atom_MSRs[] = {
 };
 
 static const msr_info IA32_silvermont_MSRs[] = {
+	{ "MSR_PMG_IO_CAPTURE_BASE",	0x000000e4,	0x000000000007ffffULL, NULL },
 	{ NULL,				0x00000000,	0, NULL },
 };