Jump to content

[GUIDE] HWP(Intel Speed Shift) enable with full power management


172 posts in this topic

Recommended Posts

Enabled HWP with HWPEnable in clover configurator, no value in HWPValue reboot results in cpu @ 4ghz constant. Removed ssdt.aml created from 

ssdtPRGen.sh and reboot and all seems fine. Thoughts? Do i still need any SSDT for CPU power management? Should i use this method or revert to using ssdt?

AppleIntelInfo.kext v2.0 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 0
logCStates...............................: 1
logIPGStyle..............................: 1

Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0x296d25b25688 (1138 MHz)
MWAIT C-States...........................: 1319200

Processor Brandstring....................: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz

Processor Signature..................... : 0x506E3
------------------------------------------
 - Family............................... : 6
 - Stepping............................. : 3
 - Model................................ : 0x5E (94)

Model Specific Registers (MSRs)
------------------------------------------

MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF8048122100
------------------------------------------
 - Core Count........................... : 4
 - Thread Count......................... : 8

MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012800
------------------------------------------
 - Maximum Non-Turbo Ratio.............. : 0x28 (4000 MHz)
 - Ratio Limit for Turbo Mode........... : 1 (programmable)
 - TDP Limit for Turbo Mode............. : 1 (programmable)
 - Low Power Mode Support............... : 0 (LMP not supported)
 - Number of ConfigTDP Levels........... : 0 (only base TDP level available)
 - Maximum Efficiency Ratio............. : 8
 - Minimum Operating Ratio.............. : 8

MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x8000
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 0 (not enabled)
 - CFG Lock............................. : 1 (MSR locked until next reset)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 (disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x0
 - C-state Range........................ : 0 (C-States not included, I/O MWAIT redirection not enabled)

IA32_MPERF.......................(0xE7)  : 0x2DDBC62724
IA32_APERF.......................(0xE8)  : 0x25B209298F

MSR_FLEX_RATIO...................(0x194) : 0xE0000

MSR_IA32_PERF_STATUS.............(0x198) : 0x291800002800
------------------------------------------
 - Current Performance State Value...... : 0x2800 (4000 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0x2A00
------------------------------------------
 - Target performance State Value....... : 0x2A00 (4200 MHz)
 - Intel Dynamic Acceleration........... : 0 (IDA engaged)

IA32_CLOCK_MODULATION............(0x19A) : 0x0

IA32_THERM_INTERRUPT.............(0x19B) : 0x0

IA32_THERM_STATUS................(0x19C) : 0x88460000
------------------------------------------
 - Thermal Status....................... : 0
 - Thermal Log.......................... : 0
 - PROCHOT # or FORCEPR# event.......... : 0
 - PROCHOT # or FORCEPR# log............ : 0
 - Critical Temperature Status.......... : 0
 - Critical Temperature log............. : 0
 - Thermal Threshold #1 Status.......... : 0
 - Thermal Threshold #1 log............. : 0
 - Thermal Threshold #2 Status.......... : 0
 - Thermal Threshold #2 log............. : 0
 - Power Limitation Status.............. : 0
 - Power Limitation log................. : 0
 - Current Limit Status................. : 0
 - Current Limit log.................... : 0
 - Cross Domain Limit Status............ : 0
 - Cross Domain Limit log............... : 0
 - Digital Readout...................... : 70
 - Resolution in Degrees Celsius........ : 1
 - Reading Valid........................ : 1 (valid)

MSR_THERM2_CTL...................(0x19D) : 0x0

IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
 - Fast-Strings......................... : 1 (enabled)
 - FOPCODE compatibility mode Enable.... : 0
 - Automatic Thermal Control Circuit.... : 1 (enabled)
 - Split-lock Disable................... : 0
 - Performance Monitoring............... : 1 (available)
 - Bus Lock On Cache Line Splits Disable : 0
 - Hardware prefetch Disable............ : 0
 - Processor Event Based Sampling....... : 0 (PEBS supported)
 - GV1/2 legacy Enable.................. : 0
 - Enhanced Intel SpeedStep Technology.. : 1 (enabled)
 - MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
 - Adjacent sector prefetch Disable..... : 0
 - CFG Lock............................. : 0 (MSR not locked)
 - xTPR Message Disable................. : 1 (disabled)

MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x641400
------------------------------------------
 - Turbo Attenuation Units.............. : 0 
 - Temperature Target................... : 100
 - TCC Activation Offset................ : 0

MSR_MISC_PWR_MGMT................(0x1AA) : 0x1CC1
------------------------------------------
 - EIST Hardware Coordination........... : 1 (hardware coordination disabled)
 - Energy/Performance Bias support...... : 1
 - Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
 - Thermal Interrupt Coordination Enable : 0 (thermal interrupt not rerouted)

MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2828282A
------------------------------------------
 - Maximum Ratio Limit for C01.......... : 2A (4200 MHz) 
 - Maximum Ratio Limit for C02.......... : 28 (4000 MHz) 
 - Maximum Ratio Limit for C03.......... : 28 (4000 MHz) 
 - Maximum Ratio Limit for C04.......... : 28 (4000 MHz) 

IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
 - Power Policy Preference...............: 1 (highest performance)

MSR_POWER_CTL....................(0x1FC) : 0x2C005F
------------------------------------------
 - Bi-Directional Processor Hot..........: 1 (enabled)
 - C1E Enable............................: 1 (enabled)

MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
 - Power Units.......................... : 3 (1/8 Watt)
 - Energy Status Units.................. : 14 (61 micro-Joules)
 - Time Units .......................... : 10 (976.6 micro-Seconds)

MSR_PKG_POWER_LIMIT..............(0x610) : 0x42FFD0001AEA82
------------------------------------------
 - Package Power Limit #1............... : 3408 Watt
 - Enable Power Limit #1................ : 1 (enabled)
 - Package Clamping Limitation #1....... : 0 (disabled)
 - Time Window for Power Limit #1....... : 13 (20480 milli-Seconds)
 - Package Power Limit #2............... : 4090 Watt
 - Enable Power Limit #2................ : 1 (enabled)
 - Package Clamping Limitation #2....... : 0 (disabled)
 - Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
 - Lock................................. : 0 (MSR not locked)

MSR_PKG_ENERGY_STATUS............(0x611) : 0x21FB588
------------------------------------------
 - Total Energy Consumed................ : 2174 Joules (Watt = Joules / seconds)

MSR_PKG_POWER_INFO...............(0x614) : 0x2F8
------------------------------------------
 - Thermal Spec Power................... : 95 Watt
 - Minimum Power........................ : 0
 - Maximum Power........................ : 0
 - Maximum Time Window.................. : 0

MSR_PP0_POWER_LIMIT..............(0x638) : 0x0

MSR_PP0_ENERGY_STATUS............(0x639) : 0x13E7101
------------------------------------------
 - Total Energy Consumed................ : 1273 Joules (Watt = Joules / seconds)

MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0

MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKGC7_IRTL...................(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0

MSR_PLATFORM_ENERGY_COUNTER......(0x64D) : 0x0 (not supported by hardware/BIOS)

MSR_PPERF........................(0x64E) : 0x24EDCCDA54
------------------------------------------
 - Hardware workload scalability........ : 158608448084

MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x30000000
------------------------------------------
 - PROCHOT Status....................... : 0
 - Thermal Status....................... : 0
 - Residency State Regulation Status.... : 0
 - Running Average Thermal Limit Status. : 0
 - VR Therm Alert Status................ : 0
 - VR Therm Design Current Status....... : 0
 - Other Status......................... : 0
 - Package/Platform-Level #1 Power Limit : 0
 - Package/Platform-Level #2 Power Limit : 0
 - Max Turbo Limit Status............... : 0
 - Turbo Transition Attenuation Status.. : 0
 - PROCHOT Log.......................... : 0
 - Thermal Log.......................... : 0
 - Residency State Regulation Log....... : 0
 - Running Average Thermal Limit Log.... : 0
 - VR Therm Alert Log................... : 0
 - VR Thermal Design Current Log........ : 0
 - Other Status Log..................... : 0
 - Package/Platform-Level #1 Power Limit : 0
 - Package/Platform-Level #2 Power Limit : 0
 - Max Turbo Limit Log.................. : 1 (status bit has asserted)
 - Turbo Transition Attenuation Log..... : 1 (status bit has asserted)
HDC Supported

IA32_PKG_HDC_CTL.................(0xDB0) : 0x0

IA32_PM_CTL1.....................(0xDB1) : 0x1
------------------------------------------
HDC Allow Block..................(0xDB1) : 1 (HDC blocked)

IA32_THREAD_STALL................(0xDB2) : 0x0

MSR_PKG_HDC_CONFIG...............(0x652) : 0x2
------------------------------------------
Pkg Cx Monitor ..................(0x652) : 2 (count package C3 and deeper)
MSR_CORE_HDC_RESIDENCY...........(0x653) : 0x0

MSR_PKG_HDC_SHALLOW_RESIDENCY....(0x655) : 0x0

MSR_PKG_HDC_DEEP_RESIDENCY.......(0x656) : 0x0

IA32_TSC_DEADLINE................(0x6E0) : 0x296D2CE25D5C
MSR_PPERF........................(0x63E) : 0x1 (39)

IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

IA32_HWP_CAPABILITIES............(0x771) : 0x109282A
-----------------------------------------
 - Highest Performance.................. : 42
 - Guaranteed Performance............... : 40
 - Most Efficient Performance........... : 9
 - Lowest Performance................... : 1

IA32_HWP_INTERRUPT...............(0x773) : 0x0
------------------------------------------
 - Guaranteed Performance Change........ : 0 (Interrupt generation disabled)
 - Excursion Minimum.................... : 0 (Interrupt generation disabled)

IA32_HWP_REQUEST................(0x774) : 0x8000FF01
-----------------------------------------
 - Minimum Performance................. : 1
 - Maximum Performance................. : 255
 - Desired Performance................. : 0
 - Energy Efficient Performance........ : 128
 - Activity Window..................... : 0, 0
 - Package Control..................... : 0

IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
 - Guaranteed Performance Change....... : 0 (has not occured)
 - Excursion To Minimum................ : 0 (has not occured)

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  8 ( 800 MHz)
Maximum non-Turbo Ratio/Frequency........: 40 (4000 MHz)
Maximum Turbo Ratio/Frequency............: 42 (4200 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (9) 33 40 ]
CPU C6-Cores [ 0 4 5 6 7 ]
CPU P-States [ 8 (9) 33 40 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 8 (9) 10 33 40 ]
CPU P-States [ 8 (9) 10 14 33 40 ]
CPU P-States [ 8 (9) 10 14 29 33 40 ]
CPU P-States [ 8 (9) 10 12 14 29 33 40 ]
CPU P-States [ 8 (9) 10 11 12 14 29 33 40 ]
CPU P-States [ 8 9 10 11 12 14 (22) 23 29 33 40 ]
CPU P-States [ 8 9 10 11 12 14 17 22 23 29 33 (40) ]
CPU P-States [ 8 9 10 11 12 14 17 20 22 23 29 33 (40) ]
CPU P-States [ 8 (9) 10 11 12 14 17 20 22 23 28 29 33 40 ]
CPU P-States [ 8 (9) 10 11 12 14 17 20 22 23 28 29 30 33 40 ]
CPU P-States [ 8 9 10 11 12 14 17 20 22 23 25 28 29 30 33 (40) ]
CPU P-States [ 8 (9) 10 11 12 14 15 17 20 22 23 25 28 29 30 33 40 ]
CPU P-States [ 8 9 10 11 12 14 15 17 20 22 23 25 28 29 30 33 (37) 40 ]
CPU P-States [ 8 (9) 10 11 12 14 15 16 17 20 22 23 25 28 29 30 33 37 40 ]
CPU P-States [ 8 (9) 10 11 12 13 14 15 16 17 20 22 23 25 28 29 30 33 37 40 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 20 22 23 25 28 29 30 33 (36) 37 40 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 20 (21) 22 23 25 28 29 30 33 36 37 40 ]
CPU P-States [ 8 (9) 10 11 12 13 14 15 16 17 20 21 22 23 25 27 28 29 30 33 36 37 40 ]
CPU P-States [ 8 (9) 10 11 12 13 14 15 16 17 19 20 21 22 23 25 27 28 29 30 33 36 37 40 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 25 27 28 29 30 33 (34) 36 37 40 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 19 20 21 22 23 24 (25) 27 28 29 30 33 34 36 37 40 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 (18) 19 20 21 22 23 24 25 27 28 29 30 33 34 36 37 40 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 33 34 36 37 40 (42) ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 33 34 36 37 (39) 40 42 ]
CPU P-States [ 8 9 10 11 12 13 (14) 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 33 34 35 36 37 39 40 42 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 33 34 35 36 37 39 (40) 42 ]
CPU P-States [ 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 27 28 29 30 31 33 34 35 36 37 39 (40) 41 42 ]
CPU P-States [ 8 (9) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 33 34 35 36 37 39 40 41 42 ]
CPU P-States [ 8 (9) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 39 40 41 42 ]
CPU P-States [ 8 (9) 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 ]

post-1083558-0-53459600-1487300608_thumb.png

Enabled HWP with HWPEnable in clover configurator, no value in HWPValue reboot results in cpu @ 4ghz constant. Removed ssdt.aml created from 

ssdtPRGen.sh and reboot and all seems fine. Thoughts? Do i still need any SSDT for CPU power management? Should i use this method or revert to using ssdt?

 

 

Should X86PlatformPlugin.kext load with HWP ? Does this command line output something on Intel MacBook and real iMac17,1 ?

$ kextstat | grep -i x86platformplugin

Yep I think so. And therefore I lowered it to 0x05 ==> 500 MHz. I found that it seemed that my Core m5 cannot get a lower frequency. The lowest seems to be 500. Also I tuned EPP to 0xC0/192, it's 0x92/146 by default.

Yeah I found that sometimes my MacBook9,1 can get a 800 MHz when idling although the FrequencyVectors defines the LFM is 0x0C/12. Could be related to HWP.

I guessed that that was for a better performance?

How did you change the EPP to 192? I could not find where to change this value.

 

attachicon.gifmy files.zip

 

Didn´t work for me. :(  The patch is not preventing the kernel panic and reboot after trying the tiny ssdt.

Maybe I am doing something wrong.

Now it is working. Wrong Clover version. Updating to Clover_v2.4k_r4003 was the fix.

How did you change the EPP to 192? I could not find where to change this value.

 

 

the EPP (energy performance preference)  value is in the FrequencyVectors string

 

from Mac-473D31EABEB93F9B.plist - used with MBP13,1

 

02000000 04000000 01000000 00000000 BC020000 00000000 19000000 00000000 0064FFFF FFFFFFFF 0F000000 ... 00000000

         ^-- min P state (LFM)             

 

for my I5-6300U:

P-state - I changed from 0D (x13) to 04 (x4)

 

note: 128 decimal means default - balanced, 0 = high-perf, 255 = low-perf for max battery life

 

from some code i googled:

+ if (static_cpu_has(X86_FEATURE_HWP_EPP)) {

+  /*

+   * Range:

+   * 0x00-0x3F : Performance

+   * 0x40-0x7F : Balance performance

+   * 0x80-0xBF : Balance power

+   * 0xC0-0xFF : Power

  • Like 2

the EPP (energy performance preference)  value is in the FrequencyVectors string

 

from Mac-473D31EABEB93F9B.plist - used with MBP13,1

 

02000000 04000000 01000000 00000000 BC020000 00000000 19000000 00000000 0064FFFF FFFFFFFF 0F000000 ... 00000000

         ^-- min P state             ^-- EPP

 

for my I5-6300U:

P-state - I changed from 0D (x13) to 04 (x4)

EPP -  0xBC = 192 which is biased towards battery life - i didn't change. 

 

note: 128 decimal means default - balanced, 0 = high-perf, 255 = low-perf for max battery life

 

from some code i googled:

+ if (static_cpu_has(X86_FEATURE_HWP_EPP)) {

+  /*

+   * Range:

+   * 0x00-0x3F : Performance

+   * 0x40-0x7F : Balance performance

+   * 0x80-0xBF : Balance power

+   * 0xC0-0xFF : Power

Thanks tluck. Now I understood.

On my Dell 5557 Core i7 6500u I was getting about 6h on battery when surfing the web and doing some programing.

Now, after enabling full power management, my battery lasts about 8h or a little bit more.

I am using MacBook9,1 SMBIOS and based to what you have wrote, 781e0000 should be my EPP. 

78 means 120 decimal, so the default for MacBook9,1 is Balance Performance, almost Balance Power.

I am happy with the performance and battery, so I will keep it as is.

As dpassmor said, we don´t need to use hwpenable on clover or kext. PM works just fine even after sleep without that.

Thank you for your help.

I would like to thank syscl, dpassmor, PMheart, tluck, nomadturk and all the people sharing their finds and knowledge here.

I learned a lot with you.

  • Like 1

Huh? I don't think so.

Sorry. I don't agree what @tluck said.

IMHO. The following is EPP value. (It's 0x92/146 by default like this.)

post-1579222-0-86891600-1487384771_thumb.png

I changed this to 0xC0 only...

 

You might also check this via Pike's freqVectorsEdit.sh (Run `freqVectorsEdit.sh -d 1`)

It showed that my EPP value was 0x92/146.

Note: I changed this via a dummy kext/injector but Pike's script was reading the data from the vanilla X86PlatformPlugin and therefore it was correct.

Examining data of: Mac-9AE82516C7C6B903.plist (MacBook9,1) ...
-----------------------------------------------------------------
Max Turbo Boost: 2700 MHz (FrequencyVectors @ 1) Converted to: /tmp/Mac-9AE82516C7C6B903-1.bin (7668 bytes)
Settings: Low Frequency Mode: 1200 MHz
	  BACKGROUND, KGROUND, REALTIME_SHORT, KERNEL, THRU_TIER0, THRU_TIER2, THRU_TIER3, THRU_TIER4, THRU_TIER5
	  hard-rt-ns (4000000), ubpc (1), off (0), on (0), hwp (1), epp (146), perf-bias (5), utility-tlvl (20), non-focal-tlvl (150)
	  iocs_engage (1600000), iocs_disengage (2500000), iocs_cstflr (3), iocs_rtrigger (100)

Max Turbo Boost: 3100 MHz (FrequencyVectors @ 2) Converted to: /tmp/Mac-9AE82516C7C6B903-2.bin (7668 bytes)
Settings: Low Frequency Mode: 1200 MHz
	  BACKGROUND, KGROUND, REALTIME_SHORT, KERNEL, THRU_TIER0, THRU_TIER2, THRU_TIER3, THRU_TIER4, THRU_TIER5
	  hard-rt-ns (4000000), ubpc (1), off (0), on (0), hwp (1), epp (146), perf-bias (5), utility-tlvl (20), non-focal-tlvl (150)
	  iocs_engage (1600000), iocs_disengage (2500000), iocs_cstflr (3), iocs_rtrigger (100)

Max Turbo Boost: 2200 MHz (FrequencyVectors @ 0) Converted to: /tmp/Mac-9AE82516C7C6B903-0.bin (7668 bytes)
Settings: Low Frequency Mode: 1200 MHz
	  BACKGROUND, KGROUND, REALTIME_SHORT, KERNEL, THRU_TIER0, THRU_TIER2, THRU_TIER3, THRU_TIER4, THRU_TIER5
	  hard-rt-ns (4000000), ubpc (1), off (0), on (0), hwp (1), epp (146), perf-bias (5), utility-tlvl (20), non-focal-tlvl (150)
	  iocs_engage (1600000), iocs_disengage (2500000), iocs_cstflr (3), iocs_rtrigger (100)

Yup. The output matched above.

 

===============================

 

[uPDATE]

Here is something I found from Mac-E43C1C25D4880AD6 (MacBookPro12,1).

02 00 00 00 0D 00 00 00 01 00 00 00 00 00 00 00 BC 02 00 00
                                                ^^

Note that MBP12,1 does NOT support EPP absolutely because it is a Broadwell based model. (Only Skylake supports HWP, EPP, etc) And this means that that 0xBC isn't the EPP value.

 

FYI.

Mac-E43C1C25D4880AD6.zip

Edited by PMheart

@PMHeart

- yeah i seem to be wrong on the EPP  (wrong location in freq vector ?) - how did you change it?

 

in freq vector... much deeper in the string...

 

- my EPP shows as 0x80 = 128

00001c40: 0000 0000 6570 7000 0000 0000 0000 0000  ....epp.........
00001c50: 0000 0000 0000 0000 8000 0000 0000 0000  ................

 

- my EPP Overide is 0x78 = 120

 

00001cf0: 0000 0000 0000 0000 6570 705f 6f76 6572  ........epp_over
00001d00: 7269 6465 0000 0000 0000 0000 7800 0000  ride........x...

 

from Pike's freq vector script:

Examining data of: Mac-473D31EABEB93F9B.plist (MacBookPro13,1) ...
-----------------------------------------------------------------
Max Turbo Boost: 3000 MHz (FrequencyVectors @ 1) Converted to: /tmp/Mac-473D31EABEB93F9B-1.bin (7668 bytes)
Settings: Low Frequency Mode: 400 MHz
   BACKGROUND, KGROUND, REALTIME_SHORT, KERNEL, THRU_TIER2, THRU_TIER3, THRU_TIER4, THRU_TIER5
   ubpc (1), off (0), on (0), hwp (1), epp (128), perf-bias (5), utility-tlvl (62), non-focal-tlvl (250)
   ratioratelimit (3000000), ring_mbd_ns (10000), ring_ratio (32)

  • Like 1

@PMHeart

- yeah i seem to be wrong on the EPP  (location in freq vector ?) - how did you change it?

- my EPP shows as 128.

You may check my screen shot at #57 but you seem not to get it? Sorry. Maybe I don't do an excellent explanation...  :(

So let's try again!

 

First of all. Open your configuration file in X86PlatformPlugin via PlistEdit Pro. (e.g. For me, it's Mac-9AE82516C7C6B903.plist)

For my (real) MacBook9,1, my highest P-State/Frequency is 2700 MHz and this means that the 'FrequencyVectors[1]' will be used as my primary FrequencyVectors. (Check the 'Frequencies' entry.)

So I copy the second one/'FrequencyVectors[1]' to Hex Fiend. Just like this.

post-1579222-0-10901100-1487393992_thumb.png

And press "Command + F", then search for

65 70 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Which means 'epp' and some null strings, as you see.

Yup. Now you can get the default epp value. It's 0x92/146 in my case. (0x92 is the next hex of the last 0x00/nullstr.) Like this.

65 70 70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 || 92 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
                                                               ^^

I just changed it into 0xC0/192.

@PMHeart

- yeah i seem to be wrong on the EPP  (wrong location in freq vector ?) - how did you change it?

 

in freq vector... much deeper in the string...

 

- my EPP shows as 0x80 = 128

00001c40: 0000 0000 6570 7000 0000 0000 0000 0000  ....epp.........

00001c50: 0000 0000 0000 0000 8000 0000 0000 0000  ................

 

- my EPP Overide is 0x78 = 120

 

00001cf0: 0000 0000 0000 0000 6570 705f 6f76 6572  ........epp_over

00001d00: 7269 6465 0000 0000 0000 0000 7800 0000  ride........x...

Why you need to add some extra strings like '_' 'o' 'v' 'e' 'r' 'r' 'i' 'd' 'e' etc?

ok - yes i understand

- the freq vector Mac-473D31EABEB93F9B.plist - MBP13,1 - show epp 128.

- but there is another value called epp_override in there. i didn't add it.

ok - yes i understand

- the freq vector Mac-473D31EABEB93F9B.plist - MBP13,1 - show epp 128.

- but there is another value called epp_override in there. i didn't add it.

Glad to hear that.  :D

Ah yes. I see/remember.

Yup. This value is typically 0x80/128 by default. You can also check Pike's comment in his freqVectorsEdit.sh.

'epp_override' seems to exist in MBP13,2 13,3 and the new Kaby Lake models (not released yet).

 

Oops. Time to go outside now. Farewell!  :)

Glad to hear that. :D

Ah yes. I see/remember.

Yup. This value is typically 0x80/128 by default. You can also check Pike's comment in his freqVectorsEdit.sh.

'epp_override' seems to exist in MBP13,2 13,3 and the new Kaby Lake models (not released yet).

 

Oops. Time to go outside now. Farewell! :)

Sierra on my Dell with model identifier MacBookPro13,3 will dynamically change the EPP value depending upon load and whether the system is on battery or not-- perhaps epp_override controls that behavior.

  • Like 1

Sierra on my Dell with model identifier MacBookPro13,3 will dynamically change the EPP value depending upon load and whether the system is on battery or not-- perhaps epp_override controls that behavior.

Yes. Just like my real MacBook9,1 can get 800 MHz frequency when idling although the LFM is 1200 MHz according to the FrequencyVectors. HWP, EPP and something else may be changed dynamically in some specific cases. Yup. Maybe epp_override did that.

Sierra on my Dell with model identifier MacBookPro13,3 will dynamically change the EPP value depending upon load and whether the system is on battery or not-- perhaps epp_override controls that behavior.

And how can I know my actual EPP value?

Here is my result could you please confirm my HWP is working? I am seeing HWP enabled but many things looks disabled and unsupported. I really don't get it.

AppleIntelInfo.kext v2.0 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1

Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0x73cca848bb (12 MHz)
MWAIT C-States...........................: 1319200

Processor Brandstring....................: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz

Processor Signature..................... : 0x506E3
------------------------------------------
 - Family............................... : 6
 - Stepping............................. : 3
 - Model................................ : 0x5E (94)

Model Specific Registers (MSRs)
------------------------------------------

MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF80BD158B00
------------------------------------------
 - Core Count........................... : 4
 - Thread Count......................... : 8

MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012800
------------------------------------------
 - Maximum Non-Turbo Ratio.............. : 0x28 (4000 MHz)
 - Ratio Limit for Turbo Mode........... : 1 (programmable)
 - TDP Limit for Turbo Mode............. : 1 (programmable)
 - Low Power Mode Support............... : 0 (LMP not supported)
 - Number of ConfigTDP Levels........... : 0 (only base TDP level available)
 - Maximum Efficiency Ratio............. : 8
 - Minimum Operating Ratio.............. : 8

MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x0
------------------------------------------
 - I/O MWAIT Redirection Enable......... : 0 (not enabled)
 - CFG Lock............................. : 0 (MSR not locked)
 - C3 State Auto Demotion............... : 0 (disabled/unsupported)
 - C1 State Auto Demotion............... : 0 (disabled/unsupported)
 - C3 State Undemotion.................. : 0 (disabled/unsupported)
 - C1 State Undemotion.................. : 0 (disabled/unsupported)
 - Package C-State Auto Demotion........ : 0 (disabled/unsupported)
 - Package C-State Undemotion........... : 0 (disabled/unsupported)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x0
 - C-state Range........................ : 0 (C-States not included, I/O MWAIT redirection not enabled)

IA32_MPERF.......................(0xE7)  : 0x3D49A8F0EC
IA32_APERF.......................(0xE8)  : 0x4091C93D01

MSR_FLEX_RATIO...................(0x194) : 0xE0000

MSR_IA32_PERF_STATUS.............(0x198) : 0x2B2100002C00
------------------------------------------
 - Current Performance State Value...... : 0x2C00 (4400 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0x2C00
------------------------------------------
 - Target performance State Value....... : 0x2C00 (4400 MHz)
 - Intel Dynamic Acceleration........... : 0 (IDA engaged)

IA32_CLOCK_MODULATION............(0x19A) : 0x0

IA32_THERM_INTERRUPT.............(0x19B) : 0x10
------------------------------------------
 - High-Temperature Interrupt Enable.... : 0 (disabled)
 - Low-Temperature Interrupt Enable..... : 0 (disabled)
 - PROCHOT# Interrupt Enable............ : 0 (disabled)
 - FORCEPR# Interrupt Enable............ : 0 (disabled)
 - Critical Temperature Interrupt Enable : 1 (enabled)
 - Threshold #1 Value................... : 0
 - Threshold #1 Interrupt Enable........ : 0 (disabled)
 - Threshold #2 Value................... : 0
 - Threshold #2 Interrupt Enable........ : 0 (disabled)
 - Power Limit Notification Enable...... : 0 (disabled)

IA32_THERM_STATUS................(0x19C) : 0x88470000
------------------------------------------
 - Thermal Status....................... : 0
 - Thermal Log.......................... : 0
 - PROCHOT # or FORCEPR# event.......... : 0
 - PROCHOT # or FORCEPR# log............ : 0
 - Critical Temperature Status.......... : 0
 - Critical Temperature log............. : 0
 - Thermal Threshold #1 Status.......... : 0
 - Thermal Threshold #1 log............. : 0
 - Thermal Threshold #2 Status.......... : 0
 - Thermal Threshold #2 log............. : 0
 - Power Limitation Status.............. : 0
 - Power Limitation log................. : 0
 - Current Limit Status................. : 0
 - Current Limit log.................... : 0
 - Cross Domain Limit Status............ : 0
 - Cross Domain Limit log............... : 0
 - Digital Readout...................... : 71
 - Resolution in Degrees Celsius........ : 1
 - Reading Valid........................ : 1 (valid)

MSR_THERM2_CTL...................(0x19D) : 0x0

IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
 - Fast-Strings......................... : 1 (enabled)
 - FOPCODE compatibility mode Enable.... : 0
 - Automatic Thermal Control Circuit.... : 1 (enabled)
 - Split-lock Disable................... : 0
 - Performance Monitoring............... : 1 (available)
 - Bus Lock On Cache Line Splits Disable : 0
 - Hardware prefetch Disable............ : 0
 - Processor Event Based Sampling....... : 0 (PEBS supported)
 - GV1/2 legacy Enable.................. : 0
 - Enhanced Intel SpeedStep Technology.. : 1 (enabled)
 - MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
 - Adjacent sector prefetch Disable..... : 0
 - CFG Lock............................. : 0 (MSR not locked)
 - xTPR Message Disable................. : 1 (disabled)

MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x64140D
------------------------------------------
 - Turbo Attenuation Units.............. : 13 (122.1 micro-Seconds)
 - Temperature Target................... : 100
 - TCC Activation Offset................ : 0

MSR_MISC_PWR_MGMT................(0x1AA) : 0x401CC1
------------------------------------------
 - EIST Hardware Coordination........... : 1 (hardware coordination disabled)
 - Energy/Performance Bias support...... : 1
 - Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
 - Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)

MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2C2C2C2C
------------------------------------------
 - Maximum Ratio Limit for C01.......... : 2C (4400 MHz) 
 - Maximum Ratio Limit for C02.......... : 2C (4400 MHz) 
 - Maximum Ratio Limit for C03.......... : 2C (4400 MHz) 
 - Maximum Ratio Limit for C04.......... : 2C (4400 MHz) 

IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
 - Power Policy Preference...............: 1 (highest performance)

MSR_POWER_CTL....................(0x1FC) : 0x2C005F
------------------------------------------
 - Bi-Directional Processor Hot..........: 1 (enabled)
 - C1E Enable............................: 1 (enabled)

MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
 - Power Units.......................... : 3 (1/8 Watt)
 - Energy Status Units.................. : 14 (61 micro-Joules)
 - Time Units .......................... : 10 (976.6 micro-Seconds)

MSR_PKG_POWER_LIMIT..............(0x610) : 0x42FFFF001BFFFF
------------------------------------------
 - Package Power Limit #1............... : 4095 Watt
 - Enable Power Limit #1................ : 1 (enabled)
 - Package Clamping Limitation #1....... : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
 - Time Window for Power Limit #1....... : 13 (20480 milli-Seconds)
 - Package Power Limit #2............... : 4095 Watt
 - Enable Power Limit #2................ : 1 (enabled)
 - Package Clamping Limitation #2....... : 0 (disabled)
 - Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
 - Lock................................. : 0 (MSR not locked)

MSR_PKG_ENERGY_STATUS............(0x611) : 0x3E85B91
------------------------------------------
 - Total Energy Consumed................ : 4001 Joules (Watt = Joules / seconds)

MSR_PKG_POWER_INFO...............(0x614) : 0x2F8
------------------------------------------
 - Thermal Spec Power................... : 95 Watt
 - Minimum Power........................ : 0
 - Maximum Power........................ : 0
 - Maximum Time Window.................. : 0

MSR_PP0_POWER_LIMIT..............(0x638) : 0x0

MSR_PP0_ENERGY_STATUS............(0x639) : 0x287A270
------------------------------------------
 - Total Energy Consumed................ : 2590 Joules (Watt = Joules / seconds)

MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0

MSR_PP1_POWER_LIMIT..............(0x640) : 0x0

MSR_PP1_ENERGY_STATUS............(0x641) : 0x2115B
------------------------------------------
 - Total Energy Consumed................ : 8 Joules (Watt = Joules / seconds)

MSR_PP1_POLICY...................(0x642) : 0x18
------------------------------------------
 - Priority Level....................... : 24

MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKGC7_IRTL...................(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0

MSR_PLATFORM_ENERGY_COUNTER......(0x64D) : 0x0 (not supported by hardware/BIOS)

MSR_PPERF........................(0x64E) : 0x3E4592F87A
------------------------------------------
 - Hardware workload scalability........ : 267455232122

MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x0
HDC Supported

IA32_PKG_HDC_CTL.................(0xDB0) : 0x0

IA32_PM_CTL1.....................(0xDB1) : 0x1
------------------------------------------
HDC Allow Block..................(0xDB1) : 1 (HDC blocked)

IA32_THREAD_STALL................(0xDB2) : 0x0

MSR_PKG_HDC_CONFIG...............(0x652) : 0x2
------------------------------------------
Pkg Cx Monitor ..................(0x652) : 2 (count package C3 and deeper)
MSR_CORE_HDC_RESIDENCY...........(0x653) : 0x0

MSR_PKG_HDC_SHALLOW_RESIDENCY....(0x655) : 0x0

MSR_PKG_HDC_DEEP_RESIDENCY.......(0x656) : 0x0

IA32_TSC_DEADLINE................(0x6E0) : 0x73E408DB67
MSR_PPERF........................(0x63E) : 0x1 (38)

IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
 - Highest Performance.................. : 44
 - Guaranteed Performance............... : 40
 - Most Efficient Performance........... : 9
 - Lowest Performance................... : 1

IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
 - Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
 - Excursion Minimum.................... : 0 (Interrupt generation disabled)

IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
 - Minimum Performance................. : 1
 - Maximum Performance................. : 44
 - Desired Performance................. : 0
 - Energy Efficient Performance........ : 32
 - Activity Window..................... : 0, 0
 - Package Control..................... : 0

IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
 - Guaranteed Performance Change....... : 0 (has not occured)
 - Excursion To Minimum................ : 0 (has not occured)

CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  8 ( 800 MHz)
Maximum non-Turbo Ratio/Frequency........: 40 (4000 MHz)
Maximum Turbo Ratio/Frequency............: 44 (4400 MHz)

IGPU Info:
------------------------------------------
IGPU Current Frequency...................:    0 MHz
IGPU Minimum Frequency...................:  350 MHz
IGPU Maximum Non-Turbo Frequency.........:  350 MHz
IGPU Maximum Turbo Frequency.............: 1150 MHz
IGPU Maximum limit.......................: 1150 MHz

P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ 42 (44) ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 4 6 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
bash-3.2# 

 

9FG3dZE.png


IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)

IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
 - Highest Performance.................. : 44
 - Guaranteed Performance............... : 40
 - Most Efficient Performance........... : 9
 - Lowest Performance................... : 1

IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
 - Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
 - Excursion Minimum.................... : 0 (Interrupt generation disabled)

IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
 - Minimum Performance................. : 1
 - Maximum Performance................. : 44
 - Desired Performance................. : 0
 - Energy Efficient Performance........ : 32
 - Activity Window..................... : 0, 0
 - Package Control..................... : 0

IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
 - Guaranteed Performance Change....... : 0 (has not occured)
 - Excursion To Minimum................ : 0 (has not occured)

9FG3dZE.png

Seem to be enabled.

  • Like 1

But what is the meaning of :

 

AppleIntelInfo.kext v2.0 Copyright  2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0
?

 

Nope. This is not related to HWP. It's actually controlled by this.

And also. I don't have a look at the source code ATM. But I guessed that is relevant to some preprocessors.

:)

 

[uPDATE]

Yes! It is.

post-1579222-0-06812700-1487490651_thumb.png

First of all. The routine will check for the boolean of 'enableHWP', like I mentioned above.

#if ENABLE_HWP
			OSBoolean * key_enableHWP = OSDynamicCast(OSBoolean, getProperty("enableHWP"));
			
			if (key_enableHWP)
			{
				if ((bool)key_enableHWP->getValue())
				{
					do_cpuid(0x00000006, cpuid_reg);
				
					if ((cpuid_reg[eax] & 0x80) == 0x80)
					{
						if (rdmsr64(IA32_PM_ENABLE) == 0)
						{
							wrmsr64(IA32_PM_ENABLE, 1);
						}
					}
				}
			}
			
			IOLOG("enableHWP................................: %d\n", (bool)key_enableHWP->getValue());
#endif

Then if its value is yes and the output of "IOLOG("enableHWP................................: %d\n", (bool)key_enableHWP->getValue());" is 1, else will be 0, and actually it's disabled by default (0).

So just don't care of that.

  • Like 1

Seem to be enabled.

 
I forgot to remove SSDT.aml here is the new result; Now it look works much proper but I can't see X86PlatformPlugin anymore inside of the ioreg, I can see now ACPI_SMC_PlatformPlugin, is that normal? are you using SSDT or any patch for X86PlatformPlugin? or do I need it?
 
Last login: Sun Feb 19 20:07:30 on console
Murats-Mac:~ muratozgul$ sudo -s
Password:
bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext
bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext
bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext
bash-3.2# cat /tmp/AppleIntelInfo.dat
 
AppleIntelInfo.kext v2.0 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0
 
Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1
 
Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0xe2e9fb1987 (24 MHz)
MWAIT C-States...........................: 1319200
 
Processor Brandstring....................: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
 
Processor Signature..................... : 0x506E3
------------------------------------------
- Family............................... : 6
- Stepping............................. : 3
- Model................................ : 0x5E (94)
 
Model Specific Registers (MSRs)
------------------------------------------
 
MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF80B89AC000
------------------------------------------
- Core Count........................... : 4
- Thread Count......................... : 8
 
MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012800
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x28 (4000 MHz)
- Ratio Limit for Turbo Mode........... : 1 (programmable)
- TDP Limit for Turbo Mode............. : 1 (programmable)
- Low Power Mode Support............... : 0 (LMP not supported)
- Number of ConfigTDP Levels........... : 0 (only base TDP level available)
- Maximum Efficiency Ratio............. : 8
- Minimum Operating Ratio.............. : 8
 
MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x0
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 0 (MSR not locked)
- C3 State Auto Demotion............... : 0 (disabled/unsupported)
- C1 State Auto Demotion............... : 0 (disabled/unsupported)
- C3 State Undemotion.................. : 0 (disabled/unsupported)
- C1 State Undemotion.................. : 0 (disabled/unsupported)
- Package C-State Auto Demotion........ : 0 (disabled/unsupported)
- Package C-State Undemotion........... : 0 (disabled/unsupported)
 
MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x0
- C-state Range........................ : 0 (C-States not included, I/O MWAIT redirection not enabled)
 
IA32_MPERF.......................(0xE7)  : 0x44C2D44C84
IA32_APERF.......................(0xE8)  : 0x4329B89C1C
 
MSR_FLEX_RATIO...................(0x194) : 0xE0000
 
MSR_IA32_PERF_STATUS.............(0x198) : 0x2B3D00002C00
------------------------------------------
- Current Performance State Value...... : 0x2C00 (4400 MHz)
 
MSR_IA32_PERF_CONTROL............(0x199) : 0x2C00
------------------------------------------
- Target performance State Value....... : 0x2C00 (4400 MHz)
- Intel Dynamic Acceleration........... : 0 (IDA engaged)
 
IA32_CLOCK_MODULATION............(0x19A) : 0x0
 
IA32_THERM_INTERRUPT.............(0x19B) : 0x10
------------------------------------------
- High-Temperature Interrupt Enable.... : 0 (disabled)
- Low-Temperature Interrupt Enable..... : 0 (disabled)
- PROCHOT# Interrupt Enable............ : 0 (disabled)
- FORCEPR# Interrupt Enable............ : 0 (disabled)
- Critical Temperature Interrupt Enable : 1 (enabled)
- Threshold #1 Value................... : 0
- Threshold #1 Interrupt Enable........ : 0 (disabled)
- Threshold #2 Value................... : 0
- Threshold #2 Interrupt Enable........ : 0 (disabled)
- Power Limit Notification Enable...... : 0 (disabled)
 
IA32_THERM_STATUS................(0x19C) : 0x88450000
------------------------------------------
- Thermal Status....................... : 0
- Thermal Log.......................... : 0
- PROCHOT # or FORCEPR# event.......... : 0
- PROCHOT # or FORCEPR# log............ : 0
- Critical Temperature Status.......... : 0
- Critical Temperature log............. : 0
- Thermal Threshold #1 Status.......... : 0
- Thermal Threshold #1 log............. : 0
- Thermal Threshold #2 Status.......... : 0
- Thermal Threshold #2 log............. : 0
- Power Limitation Status.............. : 0
- Power Limitation log................. : 0
- Current Limit Status................. : 0
- Current Limit log.................... : 0
- Cross Domain Limit Status............ : 0
- Cross Domain Limit log............... : 0
- Digital Readout...................... : 69
- Resolution in Degrees Celsius........ : 1
- Reading Valid........................ : 1 (valid)
 
MSR_THERM2_CTL...................(0x19D) : 0x0
 
IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
- Fast-Strings......................... : 1 (enabled)
- FOPCODE compatibility mode Enable.... : 0
- Automatic Thermal Control Circuit.... : 1 (enabled)
- Split-lock Disable................... : 0
- Performance Monitoring............... : 1 (available)
- Bus Lock On Cache Line Splits Disable : 0
- Hardware prefetch Disable............ : 0
- Processor Event Based Sampling....... : 0 (PEBS supported)
- GV1/2 legacy Enable.................. : 0
- Enhanced Intel SpeedStep Technology.. : 1 (enabled)
- MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
- Adjacent sector prefetch Disable..... : 0
- CFG Lock............................. : 0 (MSR not locked)
- xTPR Message Disable................. : 1 (disabled)
 
MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x64140D
------------------------------------------
- Turbo Attenuation Units.............. : 13 (122.1 micro-Seconds)
- Temperature Target................... : 100
- TCC Activation Offset................ : 0
 
MSR_MISC_PWR_MGMT................(0x1AA) : 0x401CC1
------------------------------------------
- EIST Hardware Coordination........... : 1 (hardware coordination disabled)
- Energy/Performance Bias support...... : 1
- Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
- Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)
 
MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2C2C2C2C
------------------------------------------
- Maximum Ratio Limit for C01.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C02.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C03.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C04.......... : 2C (4400 MHz) 
 
IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
- Power Policy Preference...............: 1 (highest performance)
 
MSR_POWER_CTL....................(0x1FC) : 0x2C005F
------------------------------------------
- Bi-Directional Processor Hot..........: 1 (enabled)
- C1E Enable............................: 1 (enabled)
 
MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
- Power Units.......................... : 3 (1/8 Watt)
- Energy Status Units.................. : 14 (61 micro-Joules)
- Time Units .......................... : 10 (976.6 micro-Seconds)
 
MSR_PKG_POWER_LIMIT..............(0x610) : 0x42FFFF001BFFFF
------------------------------------------
- Package Power Limit #1............... : 4095 Watt
- Enable Power Limit #1................ : 1 (enabled)
- Package Clamping Limitation #1....... : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
- Time Window for Power Limit #1....... : 13 (20480 milli-Seconds)
- Package Power Limit #2............... : 4095 Watt
- Enable Power Limit #2................ : 1 (enabled)
- Package Clamping Limitation #2....... : 0 (disabled)
- Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
- Lock................................. : 0 (MSR not locked)
 
MSR_PKG_ENERGY_STATUS............(0x611) : 0x5F26D5F
------------------------------------------
- Total Energy Consumed................ : 6089 Joules (Watt = Joules / seconds)
 
MSR_PKG_POWER_INFO...............(0x614) : 0x2F8
------------------------------------------
- Thermal Spec Power................... : 95 Watt
- Minimum Power........................ : 0
- Maximum Power........................ : 0
- Maximum Time Window.................. : 0
 
MSR_PP0_POWER_LIMIT..............(0x638) : 0x0
 
MSR_PP0_ENERGY_STATUS............(0x639) : 0x33CC688
------------------------------------------
- Total Energy Consumed................ : 3315 Joules (Watt = Joules / seconds)
 
MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0
 
MSR_PP1_POWER_LIMIT..............(0x640) : 0x0
 
MSR_PP1_ENERGY_STATUS............(0x641) : 0x3A0C8
------------------------------------------
- Total Energy Consumed................ : 14 Joules (Watt = Joules / seconds)
 
MSR_PP1_POLICY...................(0x642) : 0x18
------------------------------------------
- Priority Level....................... : 24
 
MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKGC7_IRTL...................(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0
 
MSR_PLATFORM_ENERGY_COUNTER......(0x64D) : 0x0 (not supported by hardware/BIOS)
 
MSR_PPERF........................(0x64E) : 0x4038B624C4
------------------------------------------
- Hardware workload scalability........ : 275829368004
 
MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x0
HDC Supported
 
IA32_PKG_HDC_CTL.................(0xDB0) : 0x0
 
IA32_PM_CTL1.....................(0xDB1) : 0x1
------------------------------------------
HDC Allow Block..................(0xDB1) : 1 (HDC blocked)
 
IA32_THREAD_STALL................(0xDB2) : 0x0
 
MSR_PKG_HDC_CONFIG...............(0x652) : 0x2
------------------------------------------
Pkg Cx Monitor ..................(0x652) : 2 (count package C3 and deeper)
MSR_CORE_HDC_RESIDENCY...........(0x653) : 0x0
 
MSR_PKG_HDC_SHALLOW_RESIDENCY....(0x655) : 0x0
 
MSR_PKG_HDC_DEEP_RESIDENCY.......(0x656) : 0x0
 
IA32_TSC_DEADLINE................(0x6E0) : 0xE2F424A46B
MSR_PPERF........................(0x63E) : 0x1 (38)
 
IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)
 
IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
- Highest Performance.................. : 44
- Guaranteed Performance............... : 40
- Most Efficient Performance........... : 9
- Lowest Performance................... : 1
 
IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
- Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
- Excursion Minimum.................... : 0 (Interrupt generation disabled)
 
IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
- Minimum Performance................. : 1
- Maximum Performance................. : 44
- Desired Performance................. : 0
- Energy Efficient Performance........ : 32
- Activity Window..................... : 0, 0
- Package Control..................... : 0
 
IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
- Guaranteed Performance Change....... : 0 (has not occured)
- Excursion To Minimum................ : 0 (has not occured)
 
CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  8 ( 800 MHz)
Maximum non-Turbo Ratio/Frequency........: 40 (4000 MHz)
Maximum Turbo Ratio/Frequency............: 44 (4400 MHz)
 
IGPU Info:
------------------------------------------
IGPU Current Frequency...................: 1050 MHz
IGPU Minimum Frequency...................:  350 MHz
IGPU Maximum Non-Turbo Frequency.........:  350 MHz
IGPU Maximum Turbo Frequency.............: 1150 MHz
IGPU Maximum limit.......................: 1150 MHz
 
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (9) 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 4 5 ]
CPU P-States [ (9) 21 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 7 ]
CPU P-States [ (9) 10 21 39 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 21 34 39 (44) ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 9 10 21 34 38 39 (41) 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 (22) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 22 27 34 38 39 41 (44) ] iGPU P-States [ ]
CPU P-States [ 9 10 15 (17) 21 22 27 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 17 21 22 25 27 (29) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ (9) 10 12 15 17 21 22 25 27 29 34 38 39 41 44 ] iGPU P-States [ ]
 
bash-3.2#

KXR6PxZ.png

 

 
I forgot to remove SSDT.aml here is the new result; Now it look works much proper but I can't see X86PlatformPlugin anymore inside of the ioreg, I can see now ACPI_SMC_PlatformPlugin, is that normal? are you using SSDT or any patch for X86PlatformPlugin? or do I need it?
 
Last login: Sun Feb 19 20:07:30 on console
Murats-Mac:~ muratozgul$ sudo -s
Password:
bash-3.2# chown -R 0:0 ~/Desktop/AppleIntelInfo.kext
bash-3.2# chmod -R 755 ~/Desktop/AppleIntelInfo.kext
bash-3.2# kextload ~/Desktop/AppleIntelInfo.kext
bash-3.2# cat /tmp/AppleIntelInfo.dat
 
AppleIntelInfo.kext v2.0 Copyright © 2012-2016 Pike R. Alpha. All rights reserved
enableHWP................................: 0
 
Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1
 
Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0xe2e9fb1987 (24 MHz)
MWAIT C-States...........................: 1319200
 
Processor Brandstring....................: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
 
Processor Signature..................... : 0x506E3
------------------------------------------
- Family............................... : 6
- Stepping............................. : 3
- Model................................ : 0x5E (94)
 
Model Specific Registers (MSRs)
------------------------------------------
 
MSR_CORE_THREAD_COUNT............(0x35)  : 0xFFFFFF80B89AC000
------------------------------------------
- Core Count........................... : 4
- Thread Count......................... : 8
 
MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012800
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x28 (4000 MHz)
- Ratio Limit for Turbo Mode........... : 1 (programmable)
- TDP Limit for Turbo Mode............. : 1 (programmable)
- Low Power Mode Support............... : 0 (LMP not supported)
- Number of ConfigTDP Levels........... : 0 (only base TDP level available)
- Maximum Efficiency Ratio............. : 8
- Minimum Operating Ratio.............. : 8
 
MSR_PMG_CST_CONFIG_CONTROL.......(0xE2)  : 0x0
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 0 (MSR not locked)
- C3 State Auto Demotion............... : 0 (disabled/unsupported)
- C1 State Auto Demotion............... : 0 (disabled/unsupported)
- C3 State Undemotion.................. : 0 (disabled/unsupported)
- C1 State Undemotion.................. : 0 (disabled/unsupported)
- Package C-State Auto Demotion........ : 0 (disabled/unsupported)
- Package C-State Undemotion........... : 0 (disabled/unsupported)
 
MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x0
- C-state Range........................ : 0 (C-States not included, I/O MWAIT redirection not enabled)
 
IA32_MPERF.......................(0xE7)  : 0x44C2D44C84
IA32_APERF.......................(0xE8)  : 0x4329B89C1C
 
MSR_FLEX_RATIO...................(0x194) : 0xE0000
 
MSR_IA32_PERF_STATUS.............(0x198) : 0x2B3D00002C00
------------------------------------------
- Current Performance State Value...... : 0x2C00 (4400 MHz)
 
MSR_IA32_PERF_CONTROL............(0x199) : 0x2C00
------------------------------------------
- Target performance State Value....... : 0x2C00 (4400 MHz)
- Intel Dynamic Acceleration........... : 0 (IDA engaged)
 
IA32_CLOCK_MODULATION............(0x19A) : 0x0
 
IA32_THERM_INTERRUPT.............(0x19B) : 0x10
------------------------------------------
- High-Temperature Interrupt Enable.... : 0 (disabled)
- Low-Temperature Interrupt Enable..... : 0 (disabled)
- PROCHOT# Interrupt Enable............ : 0 (disabled)
- FORCEPR# Interrupt Enable............ : 0 (disabled)
- Critical Temperature Interrupt Enable : 1 (enabled)
- Threshold #1 Value................... : 0
- Threshold #1 Interrupt Enable........ : 0 (disabled)
- Threshold #2 Value................... : 0
- Threshold #2 Interrupt Enable........ : 0 (disabled)
- Power Limit Notification Enable...... : 0 (disabled)
 
IA32_THERM_STATUS................(0x19C) : 0x88450000
------------------------------------------
- Thermal Status....................... : 0
- Thermal Log.......................... : 0
- PROCHOT # or FORCEPR# event.......... : 0
- PROCHOT # or FORCEPR# log............ : 0
- Critical Temperature Status.......... : 0
- Critical Temperature log............. : 0
- Thermal Threshold #1 Status.......... : 0
- Thermal Threshold #1 log............. : 0
- Thermal Threshold #2 Status.......... : 0
- Thermal Threshold #2 log............. : 0
- Power Limitation Status.............. : 0
- Power Limitation log................. : 0
- Current Limit Status................. : 0
- Current Limit log.................... : 0
- Cross Domain Limit Status............ : 0
- Cross Domain Limit log............... : 0
- Digital Readout...................... : 69
- Resolution in Degrees Celsius........ : 1
- Reading Valid........................ : 1 (valid)
 
MSR_THERM2_CTL...................(0x19D) : 0x0
 
IA32_MISC_ENABLES................(0x1A0) : 0x850089
------------------------------------------
- Fast-Strings......................... : 1 (enabled)
- FOPCODE compatibility mode Enable.... : 0
- Automatic Thermal Control Circuit.... : 1 (enabled)
- Split-lock Disable................... : 0
- Performance Monitoring............... : 1 (available)
- Bus Lock On Cache Line Splits Disable : 0
- Hardware prefetch Disable............ : 0
- Processor Event Based Sampling....... : 0 (PEBS supported)
- GV1/2 legacy Enable.................. : 0
- Enhanced Intel SpeedStep Technology.. : 1 (enabled)
- MONITOR FSM.......................... : 1 (MONITOR/MWAIT supported)
- Adjacent sector prefetch Disable..... : 0
- CFG Lock............................. : 0 (MSR not locked)
- xTPR Message Disable................. : 1 (disabled)
 
MSR_TEMPERATURE_TARGET...........(0x1A2) : 0x64140D
------------------------------------------
- Turbo Attenuation Units.............. : 13 (122.1 micro-Seconds)
- Temperature Target................... : 100
- TCC Activation Offset................ : 0
 
MSR_MISC_PWR_MGMT................(0x1AA) : 0x401CC1
------------------------------------------
- EIST Hardware Coordination........... : 1 (hardware coordination disabled)
- Energy/Performance Bias support...... : 1
- Energy/Performance Bias.............. : 0 (disabled/MSR not visible to software)
- Thermal Interrupt Coordination Enable : 1 (thermal interrupt routed to all cores)
 
MSR_TURBO_RATIO_LIMIT............(0x1AD) : 0x2C2C2C2C
------------------------------------------
- Maximum Ratio Limit for C01.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C02.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C03.......... : 2C (4400 MHz) 
- Maximum Ratio Limit for C04.......... : 2C (4400 MHz) 
 
IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x1
------------------------------------------
- Power Policy Preference...............: 1 (highest performance)
 
MSR_POWER_CTL....................(0x1FC) : 0x2C005F
------------------------------------------
- Bi-Directional Processor Hot..........: 1 (enabled)
- C1E Enable............................: 1 (enabled)
 
MSR_RAPL_POWER_UNIT..............(0x606) : 0xA0E03
------------------------------------------
- Power Units.......................... : 3 (1/8 Watt)
- Energy Status Units.................. : 14 (61 micro-Joules)
- Time Units .......................... : 10 (976.6 micro-Seconds)
 
MSR_PKG_POWER_LIMIT..............(0x610) : 0x42FFFF001BFFFF
------------------------------------------
- Package Power Limit #1............... : 4095 Watt
- Enable Power Limit #1................ : 1 (enabled)
- Package Clamping Limitation #1....... : 1 (allow going below OS-requested P/T state during Time Window for Power Limit #1)
- Time Window for Power Limit #1....... : 13 (20480 milli-Seconds)
- Package Power Limit #2............... : 4095 Watt
- Enable Power Limit #2................ : 1 (enabled)
- Package Clamping Limitation #2....... : 0 (disabled)
- Time Window for Power Limit #2....... : 33 (10 milli-Seconds)
- Lock................................. : 0 (MSR not locked)
 
MSR_PKG_ENERGY_STATUS............(0x611) : 0x5F26D5F
------------------------------------------
- Total Energy Consumed................ : 6089 Joules (Watt = Joules / seconds)
 
MSR_PKG_POWER_INFO...............(0x614) : 0x2F8
------------------------------------------
- Thermal Spec Power................... : 95 Watt
- Minimum Power........................ : 0
- Maximum Power........................ : 0
- Maximum Time Window.................. : 0
 
MSR_PP0_POWER_LIMIT..............(0x638) : 0x0
 
MSR_PP0_ENERGY_STATUS............(0x639) : 0x33CC688
------------------------------------------
- Total Energy Consumed................ : 3315 Joules (Watt = Joules / seconds)
 
MSR_TURBO_ACTIVATION_RATIO.......(0x64C) : 0x0
 
MSR_PP1_POWER_LIMIT..............(0x640) : 0x0
 
MSR_PP1_ENERGY_STATUS............(0x641) : 0x3A0C8
------------------------------------------
- Total Energy Consumed................ : 14 Joules (Watt = Joules / seconds)
 
MSR_PP1_POLICY...................(0x642) : 0x18
------------------------------------------
- Priority Level....................... : 24
 
MSR_PKGC6_IRTL...................(0x60b) : 0x0
MSR_PKGC7_IRTL...................(0x60c) : 0x0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x0
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0
 
MSR_PLATFORM_ENERGY_COUNTER......(0x64D) : 0x0 (not supported by hardware/BIOS)
 
MSR_PPERF........................(0x64E) : 0x4038B624C4
------------------------------------------
- Hardware workload scalability........ : 275829368004
 
MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x0
HDC Supported
 
IA32_PKG_HDC_CTL.................(0xDB0) : 0x0
 
IA32_PM_CTL1.....................(0xDB1) : 0x1
------------------------------------------
HDC Allow Block..................(0xDB1) : 1 (HDC blocked)
 
IA32_THREAD_STALL................(0xDB2) : 0x0
 
MSR_PKG_HDC_CONFIG...............(0x652) : 0x2
------------------------------------------
Pkg Cx Monitor ..................(0x652) : 2 (count package C3 and deeper)
MSR_CORE_HDC_RESIDENCY...........(0x653) : 0x0
 
MSR_PKG_HDC_SHALLOW_RESIDENCY....(0x655) : 0x0
 
MSR_PKG_HDC_DEEP_RESIDENCY.......(0x656) : 0x0
 
IA32_TSC_DEADLINE................(0x6E0) : 0xE2F424A46B
MSR_PPERF........................(0x63E) : 0x1 (38)
 
IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)
 
IA32_HWP_CAPABILITIES............(0x771) : 0x109282C
-----------------------------------------
- Highest Performance.................. : 44
- Guaranteed Performance............... : 40
- Most Efficient Performance........... : 9
- Lowest Performance................... : 1
 
IA32_HWP_INTERRUPT...............(0x773) : 0x1
------------------------------------------
- Guaranteed Performance Change........ : 1 (Interrupt generated on change of)
- Excursion Minimum.................... : 0 (Interrupt generation disabled)
 
IA32_HWP_REQUEST................(0x774) : 0x20002C01
-----------------------------------------
- Minimum Performance................. : 1
- Maximum Performance................. : 44
- Desired Performance................. : 0
- Energy Efficient Performance........ : 32
- Activity Window..................... : 0, 0
- Package Control..................... : 0
 
IA32_HWP_STATUS..................(0x777) : 0x0
-----------------------------------------
- Guaranteed Performance Change....... : 0 (has not occured)
- Excursion To Minimum................ : 0 (has not occured)
 
CPU Ratio Info:
------------------------------------------
Base Clock Frequency (BLCK)............. : 100 MHz
Maximum Efficiency Ratio/Frequency.......:  8 ( 800 MHz)
Maximum non-Turbo Ratio/Frequency........: 40 (4000 MHz)
Maximum Turbo Ratio/Frequency............: 44 (4400 MHz)
 
IGPU Info:
------------------------------------------
IGPU Current Frequency...................: 1050 MHz
IGPU Minimum Frequency...................:  350 MHz
IGPU Maximum Non-Turbo Frequency.........:  350 MHz
IGPU Maximum Turbo Frequency.............: 1150 MHz
IGPU Maximum limit.......................: 1150 MHz
 
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (9) 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 4 5 ]
CPU P-States [ (9) 21 39 44 ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 7 ]
CPU P-States [ (9) 10 21 39 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 21 34 39 (44) ] iGPU P-States [ ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 9 10 21 34 38 39 (41) 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 (22) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 21 22 27 34 38 39 41 (44) ] iGPU P-States [ ]
CPU P-States [ 9 10 15 (17) 21 22 27 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ 9 10 15 17 21 22 25 27 (29) 34 38 39 41 44 ] iGPU P-States [ ]
CPU P-States [ (9) 10 12 15 17 21 22 25 27 29 34 38 39 41 44 ] iGPU P-States [ ]
 
bash-3.2#

KXR6PxZ.png

 

No. You should load X86* via a tiny SSDT like you previously did.

  • Like 2

here is a bundle I adapted from

  • syscl's X86PlatformInjector kext
  • syscl's small SSDT
  • pike's freqvector script (modified)
  1. install the Injector kext in /Library/Extensions
  2. replace SSDT in EFI/CLOVER/ACPI/patched (or OEM)
  3. run the injector-freqVectorsEdit.sh script to create your HWP profile to match your model and CPU

 

The 1st run of the script will list all the Resource files and copy the selected one into the Injector - from the standard X86Platform Resource plists. Edit the one of the Frequencies to match your CPU max turbo if necessary. 

 

If you run it a 2nd time, the script will look in the Injector for the Resources vs original

 

So pick a resource plist for a model that matches your current model. and then modify the speed to match our CPU.

 

Notes: 

it will check to see determine if the Vector Frequencies match your CPU Max Turbo speed

it will change the LFM to 400 MHz (or what ever you set with -f option)

it will change EPP to 128 (or what ever you set with -p option)

it will change ring_ratio to be 2 less than the max turbo freq - seems to be the typical pattern.

 

There are some overrides:

 

./injector-freqVectorsEdit.sh -p 142 -f 800

 

this will set EPP to 142 vs 128

this will set LFM to 800 instead 400

 

 

 

 

 

HWP.zip

  • Like 6

Are you guys having problems with sleep with this SSDT and HWP enabled?

Just to explain better, i was using this other SSDT to inject correct sleep properties:

 

 

DefinitionBlock ("", "SSDT", 1, "Pike", "MISC", 0x00003000)
{
    External (_SB_.PCI0, DeviceObj)    // (from opcode)

    Scope (\)
    {
        Name (SLTP, Zero)
        Method (_TTS, 1, NotSerialized)  // _TTS: Transition To State
        {
            Store ("Method (_TTS) called", Debug)
            Store (Arg0, SLTP)
        }
    }

    Scope (\_SB.PCI0)
    {
        Method (LPS0, 0, NotSerialized)
        {
            Store ("Method (LPS0) called", Debug)
            Return (One)
        }
    }

    Scope (\_GPE)
    {
        Method (LXEN, 0, NotSerialized)
        {
            Store ("Method (LXEN) called", Debug)
            Return (One)
        }
    }
}
 

 

 

With this SSDT, under IOPMRootDomain there should these three entries:

PMStatusCode

IOPMDeepIdleSupported

IOPMSystemSleepType

 

But after enabling HWP with the suggested SSDT I lose:

PMStatusCode

 

It seems that the computer still sleeps somehow, display and fans powers off...

But the led doesn't blinks as usually and opening the lid doesn't wake, only the power button works for wake...

Any idea?

 

Thanks!

×
×
  • Create New...