ACK: [PATCH] cpu/msr: skip read-only MCG_CAP MSR

ivanhu ivan.hu at canonical.com
Tue Jun 25 10:03:33 UTC 2019



On 6/20/19 11:40 AM, Alex Hung wrote:
> Signed-off-by: Alex Hung <alex.hung at canonical.com>
> ---
>   src/cpu/msr/msr.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/src/cpu/msr/msr.c b/src/cpu/msr/msr.c
> index 69fd80c8..2cd51e5c 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -265,7 +265,10 @@ static const msr_info AMD_MSRs[] = {
>   	{ "SYSENTER_ESP",		0x00000175,	0xffffffffffffffffULL, NULL },
>   	{ "SYSENTER_EIP",		0x00000176,	0xffffffffffffffffULL, NULL },
>   	 */
> +	 /*
> +	  * MCG_CAP is read-only and can differ from core to core
>   	{ "MCG_CAP",			0x00000179,	0x0000000001ff0fffULL, NULL },
> +	  */
>   	{ "MCG_STATUS",			0x0000017a,	0xffffffffffffffffULL, NULL },
>   	{ "MCG_CTL",			0x0000017b,	0xffffffffffffffffULL, NULL },
>   	{ "MTRR_PHYSBASE0",		0x00000200,	0xffffffffffffffffULL, NULL },
> 

Acked-by: Ivan Hu <ivan.hu at canonical.com>



More information about the fwts-devel mailing list