Re: powercap / RAPL: add new CPU IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 22 December 2014 15:50:56 Pali Rohár wrote:
> From: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> 
> commit a97ac35b5d9e948ccfcbc04c69e9d2c94e788e94
> 
> Add support for Broadwell model 0x3d and Haswell model (0x3c).
> 
> Signed-off-by: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
> 
> diff --git a/drivers/powercap/intel_rapl.c
> b/drivers/powercap/intel_rapl.c index 1c987d2..b1cda6f 100644
> --- a/drivers/powercap/intel_rapl.c
> +++ b/drivers/powercap/intel_rapl.c
> @@ -951,7 +951,9 @@ static const struct x86_cpu_id rapl_ids[]
> = { { X86_VENDOR_INTEL, 6, 0x2d},/* Sandy Bridge EP */
>  	{ X86_VENDOR_INTEL, 6, 0x37},/* Valleyview */
>  	{ X86_VENDOR_INTEL, 6, 0x3a},/* Ivy Bridge */
> -	{ X86_VENDOR_INTEL, 6, 0x45},/* Haswell */
> +	{ X86_VENDOR_INTEL, 6, 0x3c},/* Haswell */
> +	{ X86_VENDOR_INTEL, 6, 0x3d},/* Broadwell */
> +	{ X86_VENDOR_INTEL, 6, 0x45},/* Haswell ULT */
>  	/* TODO: Add more CPU IDs after testing */
>  	{}
>  };

Maybe I should specify to apply this patch to all applicable 
stable kernel versions.

-- 
Pali Rohár
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]