Thank you, I can now boot with the SSDT from ssdtPRGen.sh!
It seems PM is working, as I can see X86PlatformPlugin in my IOReg under CPU0.
Now though, I can only reach a minimum of 1.3Ghz, as I can see in Intel Power Gadget or AppleIntelInfo.kext
I didn't change my config.plist besides adding the XCPM idle patch.
Should I set HWPEnable to true? What about the HWPValue?
I also found Pike R. Alpha's freqVectorsEdit.sh, should I use it to get a full range of frequencies appropriate to my CPU?
you don't understand all the details of HWP implementation, you should use an SMBIOS that DOES NOT enable HWP...
I am sorry , but the documentation and threads about HWP are very limited.
The internet does help of course, but not so much.
Code:
AppleIntelInfo.kext v2.5 Copyright © 2012-2017 Pike R. Alpha. All rights reserved.
Settings:
------------------------------------------
logMSRs..................................: 1
logIGPU..................................: 1
logCStates...............................: 1
logIPGStyle..............................: 1
Warning: Clover hw.busfrequency error detected : 17d78400
InitialTSC...............................: 0x15374f9e774 (60 MHz)
MWAIT C-States...........................: 286531872
Processor Brandstring....................: Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
Processor Signature..................... : 0x406E3
------------------------------------------
- Family............................... : 6
- Stepping............................. : 3
- Model................................ : 0x4E (78)
Model Specific Registers (MSRs)
------------------------------------------
MSR_CORE_THREAD_COUNT............(0x35) : 0xFFFFFF8029C21600
------------------------------------------
- Core Count........................... : 2
- Thread Count......................... : 4
MSR_PLATFORM_INFO................(0xCE) : 0x4043DF1011800
------------------------------------------
- Maximum Non-Turbo Ratio.............. : 0x18 (2400 MHz)
- Ratio Limit for Turbo Mode........... : 1 (programmable)
- TDP Limit for Turbo Mode............. : 1 (programmable)
- Low Power Mode Support............... : 1 (LPM supported)
- Number of ConfigTDP Levels........... : 2 (additional TDP level(s) available)
- Maximum Efficiency Ratio............. : 4
- Minimum Operating Ratio.............. : 4
MSR_PMG_CST_CONFIG_CONTROL.......(0xE2) : 0x1E008006
------------------------------------------
- I/O MWAIT Redirection Enable......... : 0 (not enabled)
- CFG Lock............................. : 1 (MSR locked until next reset)
- 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........ : 0 (disabled/unsupported)
- Package C-State Undemotion........... : 0 (disabled/unsupported)
MSR_PMG_IO_CAPTURE_BASE..........(0xE4) : 0x51814
------------------------------------------
- LVL_2 Base Address................... : 0x1814
- C-state Range........................ : 5 (C-States not included, I/O MWAIT redirection not enabled)
IA32_MPERF.......................(0xE7) : 0x9686EF3F15
IA32_APERF.......................(0xE8) : 0x2CA9E61B89
MSR_FLEX_RATIO...................(0x194) : 0x0
------------------------------------------
MSR_IA32_PERF_STATUS.............(0x198) : 0x1DE000001B00
------------------------------------------
- Current Performance State Value...... : 0x1B00 (2700 MHz)
MSR_IA32_PERF_CONTROL............(0x199) : 0xA00
------------------------------------------
- Target performance State Value....... : 0xA00 (1000 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) : 0x883C0800
------------------------------------------
- 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...................... : 60
- 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) : 0x5640000
------------------------------------------
- Turbo Attenuation Units.............. : 0
- Temperature Target................... : 100
- TCC Activation Offset................ : 5
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) : 0x1B1B1B1C
------------------------------------------
- Maximum Ratio Limit for C01.......... : 1C (2800 MHz)
- Maximum Ratio Limit for C02.......... : 1B (2700 MHz)
IA32_ENERGY_PERF_BIAS............(0x1B0) : 0x5
------------------------------------------
- Power Policy Preference...............: 5 (balanced performance and energy saving)
MSR_POWER_CTL....................(0x1FC) : 0x24005F
------------------------------------------
- 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) : 0x4280C800DD80C8
------------------------------------------
- Package Power Limit #1............... : 25 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....... : 110 (163840 milli-Seconds)
- Package Power Limit #2............... : 25 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) : 0x3225CC2
------------------------------------------
- Total Energy Consumed................ : 3209 Joules (Watt = Joules / seconds)
MSR_PP1_POWER_LIMIT..............(0x640) : 0x0
MSR_PP1_ENERGY_STATUS............(0x641) : 0xB4E72
------------------------------------------
- Total Energy Consumed................ : 45 Joules (Watt = Joules / seconds)
MSR_PP1_POLICY...................(0x642) : 0x18
------------------------------------------
- Priority Level....................... : 24
MSR_CONFIG_TDP_NOMINAL...........(0x648) : 0x17
MSR_CONFIG_TDP_LEVEL1............(0x649) : 0x8003C
MSR_CONFIG_TDP_LEVEL2............(0x64a) : 0x1800C8
MSR_CONFIG_TDP_CONTROL...........(0x64b) : 0x0
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) : 0x30847B5FB8
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x4A7C732EA0
MSR_PKG_C2_RESIDENCY.............(0x60d) : 0x30847B5FB8
MSR_PKG_C3_RESIDENCY.............(0x3f8) : 0x4A7C732EA0
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) : 0x12B9D32
------------------------------------------
MSR_PPERF........................(0x64E) : 0x852E40C179
------------------------------------------
- Hardware workload scalability........ : 572006646137
MSR_CORE_PERF_LIMIT_REASONS......(0x64F) : 0x1C001000
------------------------------------------
- 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............... : 1 (frequency reduced below OS request due to multi-core turbo limits)
- 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 : 1 (status bit has asserted)
- Max Turbo Limit Log.................. : 1 (status bit has asserted)
- 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) : 0x1537DFCCF27
MSR_PPERF........................(0x63E) : 0x1 (20)
IA32_PM_ENABLE...................(0x770) : 0x1 (HWP Supported and Enabled)
IA32_HWP_CAPABILITIES............(0x771) : 0x105171C
-----------------------------------------
- Highest Performance.................. : 28
- Guaranteed Performance............... : 23
- Most Efficient Performance........... : 5
- 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) : 0x201C1C04
-----------------------------------------
- Minimum Performance................. : 4
- Maximum Performance................. : 28
- Desired Performance................. : 28
- 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.......: 4 ( 400 MHz)
Maximum non-Turbo Ratio/Frequency........: 24 (2400 MHz)
Maximum Turbo Ratio/Frequency............: 28 (2800 MHz)
IGPU Info:
------------------------------------------
IGPU Current Frequency...................: 0 MHz
IGPU Minimum Frequency...................: 300 MHz
IGPU Maximum Non-Turbo Frequency.........: 300 MHz
IGPU Maximum Turbo Frequency.............: 1000 MHz
IGPU Maximum limit.......................: No Limit
P-State ratio * 100 = Frequency in MHz
------------------------------------------
CPU P-States [ (13) 23 27 ] iGPU P-States [ ]
CPU C3-Cores [ 1 3 ]
CPU C7-Cores [ 0 1 2 3 ]
CPU P-States [ (13) 20 23 27 ] iGPU P-States [ (6) ]
CPU C3-Cores [ 0 1 3 ]
CPU P-States [ 13 (20) 23 27 ] iGPU P-States [ (6) ]
CPU C3-Cores [ 0 1 2 3 ]
CPU P-States [ 13 20 23 (26) 27 ] iGPU P-States [ 6 ]
CPU P-States [ 13 20 22 23 26 (27) ] iGPU P-States [ (6) ]
CPU P-States [ 13 20 22 23 (25) 26 27 ] iGPU P-States [ 6 ]
CPU P-States [ 13 20 22 23 25 26 27 (28) ] iGPU P-States [ 6 ]
CPU P-States [ 13 20 22 23 (24) 25 26 27 28 ] iGPU P-States [ 6 ]
CPU P-States [ 13 (20) 22 23 24 25 26 27 28 ] iGPU P-States [ 6 ]
CPU P-States [ (4) 13 20 22 23 24 25 26 27 28 ] iGPU P-States [ 6 ]
CPU P-States [ 4 13 (19) 20 22 23 24 25 26 27 28 ] iGPU P-States [ 6 ]
CPU P-States [ 4 13 19 20 (21) 22 23 24 25 26 27 28 ] iGPU P-States [ 6 ]
CPU P-States [ 4 (13) 19 20 21 22 23 24 25 26 27 28 ] iGPU P-States [ (2) 6 ]
CPU P-States [ 4 13 19 (20) 21 22 23 24 25 26 27 28 ] iGPU P-States [ 2 6 ]
CPU P-States [ 4 13 19 (20) 21 22 23 24 25 26 27 28 ] iGPU P-States [ 2 6 (7) ]
CPU P-States [ 4 13 19 20 21 (22) 23 24 25 26 27 28 ] iGPU P-States [ 2 6 7 (8) ]
CPU P-States [ 4 13 19 20 (21) 22 23 24 25 26 27 28 ] iGPU P-States [ 2 6 7 8 (10) ]
If you're using Clover hotpatch for AppleHDA...
See pre-patch_hda.sh in my Probook or NUC guide/repo...
I'm not using Clover hot patch, I am using a patched Apple HDA from Mirone's AppleHDA Patcher.
I suspect it only occurs on a warm reboot from Windows.
Here are my problem reporting files:
Code:
Alons-MacBook-Pro:~ alonstarikov4$ kextstat|grep -y acpiplat
13 2 0xffffff7f82e32000 0x66000 0x66000 com.apple.driver.AppleACPIPlatform (5.0) 867C81BE-EA01-3A65-89F4-06D78E6514CA <12 11 7 6 5 4 3 1>
Code:
Alons-MacBook-Pro:~ alonstarikov4$ kextstat|grep -y appleintelcpu
Alons-MacBook-Pro:~ alonstarikov4$
Code:
Alons-MacBook-Pro:~ alonstarikov4$ kextstat|grep -y applelpc
85 0 0xffffff7f8266d000 0x3000 0x3000 com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <81 12 5 4 3>
Code:
Alons-MacBook-Pro:~ alonstarikov4$ kextstat|grep -y applehda
95 1 0xffffff7f82af3000 0x1d000 0x1d000 com.apple.driver.AppleHDAController (276.26) D0953002-6091-376F-8E0F-33B65F42CEF9 <94 93 72 12 7 6 5 4 3 1>
116 0 0xffffff7f82c75000 0xb4000 0xb4000 com.apple.driver.AppleHDA (276.26) 7611D43E-12FE-3228-A6D3-9C99A5D030CC <115 95 94 93 76 72 6 5 4 3 1>
118 0 0xffffff7f82aef000 0x2000 0x2000 com.apple.driver.AppleHDAHardwareConfigDriver (276.26) D58BD3DA-EEDA-3845-9094-D33CB6E20BCE <4 3>
Code:
Alons-MacBook-Pro:~ alonstarikov4$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Trackpad.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Mouse.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Keyboard.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooPS2Controller.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext VoodooI2C.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext SATA-100-series-unsupported.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext
kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleHDAHardwareConfigDriver.kext
kext-dev-mode allowing invalid signature -67061 0xFFFFFFFFFFFEFA0B for kext AppleHDA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBatteryManager.kext
KernelCache ID: 7226B945089283FB445D80D6CCE48866
symlink("/System/Library/PrelinkedKernels/prelinkedkernel", "/System/Library/Caches/com.apple.kext.caches/Startup/kernelcache") failed 17 (File exists) <createPrelinkedKernel 2795>