intel_idle: add support for cloverview atom processor
authorLeonard Mai <leonard.mai@intel.com>
Sat, 19 Nov 2011 14:47:05 +0000 (06:47 -0800)
committerGross, Mark <mark.gross@intel.com>
Mon, 21 Nov 2011 03:07:26 +0000 (19:07 -0800)
BZ: 14868

Cloverview SOC has introduced new x86_model = 0x35 which currently not yet
supported in the intel_idle driver.

This patch adds a new variant x86_model = 0x35 for enabling Cloverview Atom
proccessor.

Change-Id: Ib437e5a0f8e512ea276d64e43fb517e3815a73e1
Signed-off-by: Leonard D Mai <leonard.mai@intel.com>
Reviewed-by: Pierre Tardy <pierre.tardy@intel.com>
Tested-by: Prabu Renganathan <prabu.renganathan@intel.com>
Tested-by: Sujith Thomas <sujith.thomas@intel.com>
Reviewed-on: http://android.intel.com:8080/24635
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Gross, Mark <mark.gross@intel.com>
drivers/idle/intel_idle.c

index 6e089b6..ca99e79 100644 (file)
@@ -512,6 +512,7 @@ static int intel_idle_probe(void)
                intel_idle_platform_prepare = &mrst_pmu_invalid_cstates;
 #endif
        case 0x27:      /* 39 - Penwell Atom Processor */
+       case 0x35:      /* 53 - Cloverview Atom Processor */
                cpuidle_state_table = mrst_cstates;
                auto_demotion_disable_flags = ATM_LNC_C6_AUTO_DEMOTE;
                break;