[07/10] cpu/msr: update PAT MSR PA0[2:0]
diff mbox series

Message ID 20190711174635.770-8-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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

ivanhu July 24, 2019, 7:48 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 | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
> index 3ff32c95..2ed1d183 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -401,7 +401,7 @@ static const msr_info IA32_MSRs[] = {
>   	{ "MTRR_FIX4K_E800",		0x0000026d,	0xffffffffffffffffULL, NULL },
>   	{ "MTRR_FIX4K_F000",		0x0000026e,	0xffffffffffffffffULL, NULL },
>   	{ "MTRR_FIX4K_F800",		0x0000026f,	0xffffffffffffffffULL, NULL },
> -	{ "PAT",			0x00000277,	0x0707070707070703ULL, NULL },
> +	{ "PAT",			0x00000277,	0x0707070707070707ULL, NULL },
>   	{ "MC0_CTL2",			0x00000280,	0x0000000040007fffULL, NULL },
>   	{ "MC1_CTL2",			0x00000281,	0x0000000040007fffULL, NULL },
>   	{ "MC2_CTL2",			0x00000282,	0x0000000040007fffULL, NULL },
> 

Acked-by: Ivan Hu <ivan.hu@canonical.com>
Colin King July 24, 2019, 3:05 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 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
> index 3ff32c95..2ed1d183 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -401,7 +401,7 @@ static const msr_info IA32_MSRs[] = {
>  	{ "MTRR_FIX4K_E800",		0x0000026d,	0xffffffffffffffffULL, NULL },
>  	{ "MTRR_FIX4K_F000",		0x0000026e,	0xffffffffffffffffULL, NULL },
>  	{ "MTRR_FIX4K_F800",		0x0000026f,	0xffffffffffffffffULL, NULL },
> -	{ "PAT",			0x00000277,	0x0707070707070703ULL, NULL },
> +	{ "PAT",			0x00000277,	0x0707070707070707ULL, NULL },
>  	{ "MC0_CTL2",			0x00000280,	0x0000000040007fffULL, NULL },
>  	{ "MC1_CTL2",			0x00000281,	0x0000000040007fffULL, NULL },
>  	{ "MC2_CTL2",			0x00000282,	0x0000000040007fffULL, 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 3ff32c95..2ed1d183 100644
--- a/src/cpu/msr/msr.c
+++ b/src/cpu/msr/msr.c
@@ -401,7 +401,7 @@  static const msr_info IA32_MSRs[] = {
 	{ "MTRR_FIX4K_E800",		0x0000026d,	0xffffffffffffffffULL, NULL },
 	{ "MTRR_FIX4K_F000",		0x0000026e,	0xffffffffffffffffULL, NULL },
 	{ "MTRR_FIX4K_F800",		0x0000026f,	0xffffffffffffffffULL, NULL },
-	{ "PAT",			0x00000277,	0x0707070707070703ULL, NULL },
+	{ "PAT",			0x00000277,	0x0707070707070707ULL, NULL },
 	{ "MC0_CTL2",			0x00000280,	0x0000000040007fffULL, NULL },
 	{ "MC1_CTL2",			0x00000281,	0x0000000040007fffULL, NULL },
 	{ "MC2_CTL2",			0x00000282,	0x0000000040007fffULL, NULL },