[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fwts-devel
Subject:    ACK: [PATCH][V2] cpu/msr: update THERM_INTERRUPT MSR masks
From:       ivanhu <ivan.hu () canonical ! com>
Date:       2019-07-25 8:05:07
Message-ID: cb2e75f7-7a7e-a330-3adf-bafdcf03df5e () canonical ! com
[Download RAW message or body]


On 7/25/19 6:21 AM, Alex Hung wrote:
> BIT definition is as below:
>
> 0	High-Temperature Interrupt Enable
> 1	Low-Temperature Interrupt Enable
> 2	PROCHOT# Interrupt Enable
> 3	FORCEPR# Interrupt Enable
> 4	Critical Temperature Interrupt Enable
> 7:5	Reserved
> 14:8	Threshold #1 Value
> 15	Threshold #1 Interrupt Enable
> 22:16	Threshold #2 Value
> 23	Threshold #2 Interrupt Enable
> 24	Power Limit Notification Enable
> 63:25	Reserved
>
> 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 6e28bc1c..d0f9551a 100644
> --- a/src/cpu/msr/msr.c
> +++ b/src/cpu/msr/msr.c
> @@ -361,7 +361,7 @@ static const msr_info IA32_MSRs[] = {
>  	{ "MCG_STATUS",			0x0000017a,	0xffffffffffffffffULL, NULL },
>  	{ "MCG_CTL",			0x0000017b,	0xffffffffffffffffULL, NULL },
>  	{ "CLOCK_MODULATION",		0x0000019a,	0x000000000000001fULL, NULL },
> -	{ "THERM_INTERRUPT",		0x0000019b,	0x000000000180801fULL, NULL },
> +	{ "THERM_INTERRUPT",		0x0000019b,	0x0000000001ffff1fULL, NULL },
>  	//{ "THERM_STATUS",		0x0000019c,	0x0000000080000fffULL, NULL },
>  	{ "MISC_ENABLE",		0x000001a0,	0x0000000400c51889ULL, NULL },
>  	{ "PACKAGE_THERM_INTERRUPT",	0x000001b2,	0x0000000001ffff17ULL, NULL },
Acked-by: Ivan Hu <ivan.hu@canonical.com>

-- 
fwts-devel mailing list
fwts-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/fwts-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic