Contribute
Register

Skylake HWP Enable

Status
Not open for further replies.
Hi @kolyapatrik,

Initially I used this methods in combination with ssdtPRGen. Which is WRONG.

I removed the ssdt and provide CPU values in clover config running baby lake.

All works perfect !!!

Thanks for your effort
 

Attachments

  • Power gadget.png
    Power gadget.png
    49.6 KB · Views: 458
I would greatly appreciate it if someone could take a look at my setup. I just can't get HWP to work..

intel.png

I'm running a i7-7700K (ASUS Z270I Board), macOS 10.12.6 and I'm using a iMac18,3 SMBIOS.

sysctl machdep.xcpm output:

xcmp.png
AppleIntelInfo.kext output:

Code:
AppleIntelInfo.kext v2.6 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 0
logCStates...............................: 1
logIPGStyle..............................: 1
InitialTSC...............................: 0xcd29638cf2 (20 MHz)
MWAIT C-States...........................: 1319200

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

Processor Signature..................... : 0x906E9
------------------------------------------
- Family............................... : 6
- Stepping............................. : 9
- Model................................ : 0x9E (158)

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

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

MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012A00
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x2A (4200 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)  : 0x7E000008
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 0 (MSR not locked)
- C3 State Auto Demotion............... : 1 (enabled)
- C1 State Auto Demotion............... : 1 (enabled)
- C3 State Undemotion.................. : 1 (enabled)
- C1 State Undemotion.................. : 1 (enabled)
- Package C-State Auto Demotion........ : 1 (enabled)
- Package C-State Undemotion........... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x31814
------------------------------------------
- LVL_2 Base Address................... : 0x1814
- C-state Range........................ : 3 (C-States not included, I/O MWAIT redirection not enabled)

IA32_MPERF.......................(0xE7)  : 0x18D63E7856
IA32_APERF.......................(0xE8)  : 0x1A19F15052

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

MSR_IA32_PERF_STATUS.............(0x198) : 0x26DF00002D00
------------------------------------------
- Current Performance State Value...... : 0x2D00 (4500 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0x2D00
------------------------------------------
- Target performance State Value....... : 0x2D00 (4500 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) : 0x88310800
------------------------------------------
- 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................. : 1
- Current Limit Status................. : 0
- Current Limit log.................... : 0
- Cross Domain Limit Status............ : 0
- Cross Domain Limit log............... : 0
- Digital Readout...................... : 49
- 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) : 0x2D2D2D2D
------------------------------------------
- Maximum Ratio Limit for C01.......... : 2D (4500 MHz)
- Maximum Ratio Limit for C02.......... : 2D (4500 MHz)
- Maximum Ratio Limit for C03.......... : 2D (4500 MHz)
- Maximum Ratio Limit for C04.......... : 2D (4500 MHz)

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

MSR_POWER_CTL....................(0x1FC) : 0x3C005F
------------------------------------------
- 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) : 0x2B84692
------------------------------------------
- Total Energy Consumed................ : 2785 Joules (Watt = Joules / seconds)

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

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

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

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

MSR_CONFIG_TDP_NOMINAL...........(0x648) : 0x2A
MSR_CONFIG_TDP_LEVEL1............(0x649) : 0x0
MSR_CONFIG_TDP_LEVEL2............(0x64a) : 0x0
MSR_CONFIG_TDP_CONTROL...........(0x64b) : 0x80000000
MSR_TURBO_ACTIVATION_RATIO.......(0x64c) : 0x0
MSR_PKGC3_IRTL...................(0x60a) : 0x884E
MSR_PKGC6_IRTL...................(0x60b) : 0x8876
MSR_PKGC7_IRTL...................(0x60c) : 0x8894
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x143F14FEB4
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x64326F2A7E
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x143F14FEB4
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x64326F2A7E
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0
MSR_PKG_C8_RESIDENCY............(0x630) : 0x0
MSR_PKG_C9_RESIDENCY............(0x631) : 0x0
MSR_PKG_C10_RESIDENCY...........(0x632) : 0x0
MSR_PKG_C8_LATENCY..............(0x633) : 0x0
MSR_PKG_C9_LATENCY..............(0x634) : 0x0
MSR_PKG_C10_LATENCY.............(0x635) : 0x0

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

MSR_PPERF........................(0x64E) : 0x1866AE3B2F
------------------------------------------
- Hardware workload scalability........ : 104801909551

MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x4000000
------------------------------------------
- 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 : 1 (status bit has asserted)
- Package/Platform-Level #2 Power Limit : 0
- Max Turbo Limit Log.................. : 0
- Turbo Transition Attenuation Log..... : 0
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) : 0xCD2E7CD6D4
MSR_PPERF........................(0x63E) : 0x1 (39)

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

IA32_HWP_CAPABILITIES............(0x771) : 0x10F2A2D
-----------------------------------------
- Highest Performance.................. : 45
- Guaranteed Performance............... : 42
- Most Efficient Performance........... : 15
- 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) : 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........: 42 (4200 MHz)
Maximum Turbo Ratio/Frequency............: 45 (4500 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ 44 (45) ]
CPU C3-Cores [ 0 2 4 5 7 ]
CPU C6-Cores [ 1 3 4 5 7 ]
CPU P-States [ 42 44 (45) ]
CPU C3-Cores [ 0 1 2 4 5 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 7 ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 42 44 (45) ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 42 44 45 ]


IORegistryExplorer:

ioregistry.png
 

Attachments

  • config.plist
    12.2 KB · Views: 303
I would greatly appreciate it if someone could take a look at my setup. I just can't get HWP to work..

View attachment 267744

I'm running a i7-7700K (ASUS Z270I Board), macOS 10.12.6 and I'm using a iMac18,3 SMBIOS.

sysctl machdep.xcpm output:

View attachment 267746
AppleIntelInfo.kext output:

Code:
AppleIntelInfo.kext v2.6 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.

Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 0
logCStates...............................: 1
logIPGStyle..............................: 1
InitialTSC...............................: 0xcd29638cf2 (20 MHz)
MWAIT C-States...........................: 1319200

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

Processor Signature..................... : 0x906E9
------------------------------------------
- Family............................... : 6
- Stepping............................. : 9
- Model................................ : 0x9E (158)

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

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

MSR_PLATFORM_INFO................(0xCE)  : 0x80838F1012A00
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x2A (4200 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)  : 0x7E000008
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 0 (MSR not locked)
- C3 State Auto Demotion............... : 1 (enabled)
- C1 State Auto Demotion............... : 1 (enabled)
- C3 State Undemotion.................. : 1 (enabled)
- C1 State Undemotion.................. : 1 (enabled)
- Package C-State Auto Demotion........ : 1 (enabled)
- Package C-State Undemotion........... : 1 (enabled)

MSR_PMG_IO_CAPTURE_BASE..........(0xE4)  : 0x31814
------------------------------------------
- LVL_2 Base Address................... : 0x1814
- C-state Range........................ : 3 (C-States not included, I/O MWAIT redirection not enabled)

IA32_MPERF.......................(0xE7)  : 0x18D63E7856
IA32_APERF.......................(0xE8)  : 0x1A19F15052

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

MSR_IA32_PERF_STATUS.............(0x198) : 0x26DF00002D00
------------------------------------------
- Current Performance State Value...... : 0x2D00 (4500 MHz)

MSR_IA32_PERF_CONTROL............(0x199) : 0x2D00
------------------------------------------
- Target performance State Value....... : 0x2D00 (4500 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) : 0x88310800
------------------------------------------
- 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................. : 1
- Current Limit Status................. : 0
- Current Limit log.................... : 0
- Cross Domain Limit Status............ : 0
- Cross Domain Limit log............... : 0
- Digital Readout...................... : 49
- 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) : 0x2D2D2D2D
------------------------------------------
- Maximum Ratio Limit for C01.......... : 2D (4500 MHz)
- Maximum Ratio Limit for C02.......... : 2D (4500 MHz)
- Maximum Ratio Limit for C03.......... : 2D (4500 MHz)
- Maximum Ratio Limit for C04.......... : 2D (4500 MHz)

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

MSR_POWER_CTL....................(0x1FC) : 0x3C005F
------------------------------------------
- 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) : 0x2B84692
------------------------------------------
- Total Energy Consumed................ : 2785 Joules (Watt = Joules / seconds)

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

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

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

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

MSR_CONFIG_TDP_NOMINAL...........(0x648) : 0x2A
MSR_CONFIG_TDP_LEVEL1............(0x649) : 0x0
MSR_CONFIG_TDP_LEVEL2............(0x64a) : 0x0
MSR_CONFIG_TDP_CONTROL...........(0x64b) : 0x80000000
MSR_TURBO_ACTIVATION_RATIO.......(0x64c) : 0x0
MSR_PKGC3_IRTL...................(0x60a) : 0x884E
MSR_PKGC6_IRTL...................(0x60b) : 0x8876
MSR_PKGC7_IRTL...................(0x60c) : 0x8894
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x143F14FEB4
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x64326F2A7E
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x143F14FEB4
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x64326F2A7E
MSR_PKG_C6_RESIDENCY.............(0x3f9) : 0x0
MSR_PKG_C7_RESIDENCY.............(0x3fa) : 0x0
MSR_PKG_C8_RESIDENCY............(0x630) : 0x0
MSR_PKG_C9_RESIDENCY............(0x631) : 0x0
MSR_PKG_C10_RESIDENCY...........(0x632) : 0x0
MSR_PKG_C8_LATENCY..............(0x633) : 0x0
MSR_PKG_C9_LATENCY..............(0x634) : 0x0
MSR_PKG_C10_LATENCY.............(0x635) : 0x0

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

MSR_PPERF........................(0x64E) : 0x1866AE3B2F
------------------------------------------
- Hardware workload scalability........ : 104801909551

MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x4000000
------------------------------------------
- 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 : 1 (status bit has asserted)
- Package/Platform-Level #2 Power Limit : 0
- Max Turbo Limit Log.................. : 0
- Turbo Transition Attenuation Log..... : 0
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) : 0xCD2E7CD6D4
MSR_PPERF........................(0x63E) : 0x1 (39)

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

IA32_HWP_CAPABILITIES............(0x771) : 0x10F2A2D
-----------------------------------------
- Highest Performance.................. : 45
- Guaranteed Performance............... : 42
- Most Efficient Performance........... : 15
- 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) : 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........: 42 (4200 MHz)
Maximum Turbo Ratio/Frequency............: 45 (4500 MHz)
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ 44 (45) ]
CPU C3-Cores [ 0 2 4 5 7 ]
CPU C6-Cores [ 1 3 4 5 7 ]
CPU P-States [ 42 44 (45) ]
CPU C3-Cores [ 0 1 2 4 5 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 7 ]
CPU C3-Cores [ 0 1 2 4 5 6 7 ]
CPU C6-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ 42 44 (45) ]
CPU C3-Cores [ 0 1 2 3 4 5 6 7 ]
CPU P-States [ (8) 42 44 45 ]


IORegistryExplorer:

View attachment 267745
Hi,

My matchbook pro works great using this method.

Had a look at your config.plist. You can try to set a value for HWPValue. Yours is currently empty.
HWPValue should be part of CPU configuration in your config.plist

Look at this link on how to set HWPValue: https://www.tonymacx86.com/threads/skylake-hwp-enable.214915/
You need to determine that.

Try that, hope it works.
 
Thank you so much, my system is now snappier with dual sm961 in raid 0 :D
my config is 0x00002222, thanks to speedstep my idle TDP is 4w at 3.4ghz.
 
help me to create custom freq for intel i5 6200u, i was try but still got 1,3Ghz, i want make it lower like 500Mhz,,
 
Last edited:
using iMac18,3 SMBIOS with PluginType=1 to enable X86PlatformPlugin?

Try Lilu.kext + CPUFriend.kext + CPUFriendDataProvider.kext (or ssd-cf.aml), similar to X86PlatformPluginInjector method but use dynamic injection method, no smbios limit.

Need disable HWPEnable from config.plist.
Remove X86PlatformPluginInjector.kext if installed.
Need create customer CPUFriendDataProvider.kext or ssdt-cf.aml from smbiosxxx.plist.
If using CPUFriendDataProvider.kext, tiny ssdt with PluginType=1 is required.

See below links for details.
https://github.com/vit9696/Lilu/releases
https://github.com/PMheart/CPUFriend/releases

Frequency Vectors table contents.
The first 932 bytes are frequency vector settings.
The last 576 bytes are XCPM and HWP settings.

Attached CPUFriendDataProvider.kext sample, should be helpful but did not optimized for i7, it suitable for smbiosxxx.plist with ErPDelay setting = 28,800, should compatible with Haswell (although no HWP, 0x770 and 0x774 not work, but additional XCPM settings and frequencyVector table work, as smooth as HWP) and up to Kabylake (HWP enabled). Copy to the same kext folder with lilu.kext and CPUFriend.kext.
 

Attachments

  • CPUFriendDataProvider.kext.zip
    3.5 KB · Views: 171
Try Lilu.kext + CPUFriend.kext + CPUFriendDataProvider.kext (or ssd-cf.aml), similar to X86PlatformPluginInjector method but use dynamic injection method, no smbios limit.

Need disable HWPEnable from config.plist.
Remove X86PlatformPluginInjector.kext if installed.
Need create customer CPUFriendDataProvider.kext or ssdt-cf.aml from smbiosxxx.plist.
If using CPUFriendDataProvider.kext, tiny ssdt with PluginType=1 is required.

See below links for details.
https://github.com/vit9696/Lilu/releases
https://github.com/PMheart/CPUFriend/releases

Frequency Vectors table contents.
The first 932 bytes are frequency vector settings.
The last 576 bytes are XCPM and HWP settings.

Attached CPUFriendDataProvider.kext sample, should be helpful but did not optimized for i7, it suitable for smbiosxxx.plist with ErPDelay setting = 28,800, should compatible with Haswell (although no HWP, 0x770 and 0x774 not work, but additional XCPM settings and frequencyVector table work, as smooth as HWP) and up to Kabylake (HWP enabled). Copy to the same kext folder with lilu.kext and CPUFriend.kext.

i got instant reboot while using cpufriend + ssdt_cf from smbios macbook 9.1, how to solved that bro ?
my system is : intel i5 - 6200U - IHD520 with Highsierra 10.13.1
 
i got instant reboot while using cpufriend + ssdt_cf from smbios macbook 9.1, how to solved that bro ?
my system is : intel i5 - 6200U - IHD520 with Highsierra 10.13.1

Did you use customer ssdt generated by Piker script, if so, need merge PM ssdt.aml + ssdt-cf.aml, can you upload your modified macbook 9,1 plist, need verify frequency vector, XCPM and HWP settings.

Use boot arg -cpufoff to disable CPUFriend, re-create ssdt_cf.aml (only use one set of frequency vector table) test again.

Or, try previous attached CPUFriendDataProvider.kext (also work with 17C60C), need ssdt-tiny.aml, I remember the idle settings is 500 MHz, should work with your configuration.

Edit: or re-create ssdt_cf.aml with attached edited mb91.plist, only change low idle from 1300 to 500 MHz and use 3100 frequency vector table.
 

Attachments

  • SSDT-tiny.aml
    98 bytes · Views: 443
  • edited mb91.plist
    16.6 KB · Views: 296
Last edited:
Status
Not open for further replies.
Back
Top