Fixed "algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN" patch for Big Sur 11.3

In Big Sur 11.3 the macOS kernel was updated, and the algrey patch to force the Penryn CPUID no longer applies properly, causing a panic during boot for CPUs that don't support AVX2 (and probably AMD CPUs that were relying on this patch to look like Intel CPUs).

I've now updated that patch to support Big Sur 11.3, here's the new one:

<dict> <key>Arch</key> <string>Any</string> <key>Base</key> <string></string> <key>Comment</key> <string>algrey - thenickdude - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN (Big Sur 11.3 and newer)</string> <key>Count</key> <integer>1</integer> <key>Enabled</key> <true/> <key>Find</key> <data> MdKzAYA9AAAAAAZ1 </data> <key>Identifier</key> <string>kernel</string> <key>Limit</key> <integer>0</integer> <key>Mask</key> <data> ////////AAAAAP// </data> <key>MaxKernel</key> <string>20.99.99</string> <key>MinKernel</key> <string>20.4.0</string> <key>Replace</key> <data> urxP6nizAJCQkJDr </data> <key>ReplaceMask</key> <data> </data> <key>Skip</key> <integer>0</integer> </dict> 

You can put that in config.plist alongside this previous version, which has the "MaxKernel" set appropriately to allow you to boot both old and new kernels with the same config:

<dict> <key>Arch</key> <string>Any</string> <key>Base</key> <string></string> <key>Comment</key> <string>algrey - cpuid_set_cpufamily - force CPUFAMILY_INTEL_PENRYN</string> <key>Count</key> <integer>1</integer> <key>Enabled</key> <true/> <key>Find</key> <data> MduAPQAAAAAGdQA= </data> <key>Identifier</key> <string>kernel</string> <key>Limit</key> <integer>0</integer> <key>Mask</key> <data> /////wAAAP///wA= </data> <key>MaxKernel</key> <string>20.3.99</string> <key>MinKernel</key> <string>17.0.0</string> <key>Replace</key> <data> u7xP6njpXQAAAJA= </data> <key>ReplaceMask</key> <data> </data> <key>Skip</key> <integer>0</integer> </dict> 

If you're using my KVM-Opencore image for Proxmox, I've released this fix in my new v12 release here:

https://github.com/thenickdude/KVM-Opencore/releases/tag/v12

submitted by /u/thenickdude
[link] [comments]