tests/pm_pc8: BDW should also support PC8 residencies
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 26 Feb 2014 18:13:00 +0000 (15:13 -0300)
committerPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 26 Feb 2014 22:15:44 +0000 (19:15 -0300)
And I'm hoping the MSR register addresses will be the same.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
tests/pm_pc8.c

index ec86a89..ab33d41 100644 (file)
@@ -683,7 +683,7 @@ static void setup_pc8(void)
        has_pc8 = false;
 
        /* Only Haswell supports the PC8 feature. */
-       if (!IS_HASWELL(ms_data.devid))
+       if (!IS_HASWELL(ms_data.devid) && !IS_BROADWELL(ms_data.devid))
                return;
 
        /* Make sure our Kernel supports MSR and the module is loaded. */