提交 40c42c23 编写于 作者: V vit9696

OpenCoreKernel: Use new ThirdPartyDrives quirk instead of ThirdPartyTrim

上级 c2e92615
......@@ -10,6 +10,8 @@ OpenCore Changelog
- Added new crypto stack resulting in vault key format changes
- Added `UnblockFsConnect` UEFI quirk to fix missing filesystems on some laptops
- Added `RequestBootVarFallback` UEFI quirk to circumvent firmware boot option issues
- Added `ThirdPartyDrives` kernel quirk fixing SSD trim and 10.15 SATA hibernation (thx @lvs1974)
- Removed `ThirdPartyTrim` kernel quirk in favour of `ThirdPartyDrives`
#### v0.5.2
- Fixed `MinKernel` and `MaxKernel` logic (thx @dhinakg, @reitermarkus)
......
......@@ -1841,13 +1841,14 @@ blocking.
should be used, which is otherwise equivalent to this quirk.
\item
\texttt{ThirdPartyTrim}\\
\texttt{ThirdPartyDrives}\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Patch IOAHCIBlockStorage.kext to force TRIM command support
on AHCI SSDs.
\textbf{Description}: Apply vendor patches to IOAHCIBlockStorage.kext to enable
native features for third-party drives, such as TRIM on SSDs or hibernation
support on 10.15 and newer.
\emph{Note}: This option should avoided whenever possible. NVMe SSDs are
\emph{Note}: This option may be avoided on user preference. NVMe SSDs are
compatible without the change. For AHCI SSDs on modern macOS version there
is a dedicated built-in utility called \texttt{trimforce}. Starting from 10.15
this utility creates \texttt{EnableTRIM} variable in \texttt{APPLE\_BOOT\_VARIABLE\_GUID}
......@@ -1860,7 +1861,7 @@ blocking.
\textbf{Description}: Patch various kexts (AppleUSBXHCI.kext, AppleUSBXHCIPCI.kext,
IOUSBHostFamily.kext) to remove USB port count limit of 15 ports.
\emph{Note}: This option should avoided whenever possible. USB port limit
\emph{Note}: This option should be avoided whenever possible. USB port limit
is imposed by the amount of used bits in locationID format and there is no
possible way to workaround this without heavy OS modification. The only
valid solution is to limit the amount of used ports to 15 (discarding some).
......
\documentclass[]{article}
%DIF LATEXDIFF DIFFERENCE FILE
%DIF DEL PreviousConfiguration.tex Sun Nov 3 16:31:21 2019
%DIF ADD ../Configuration.tex Tue Nov 19 13:06:47 2019
%DIF ADD ../Configuration.tex Wed Nov 27 01:41:16 2019
\usepackage{lmodern}
\usepackage{amssymb,amsmath}
......@@ -1913,13 +1913,15 @@ blocking.
should be used, which is otherwise equivalent to this quirk.
\item
\texttt{ThirdPartyTrim}\\
\texttt{\DIFdelbegin \DIFdel{ThirdPartyTrim}\DIFdelend \DIFaddbegin \DIFadd{ThirdPartyDrives}\DIFaddend }\\
\textbf{Type}: \texttt{plist\ boolean}\\
\textbf{Failsafe}: \texttt{false}\\
\textbf{Description}: Patch IOAHCIBlockStorage.kext to force TRIM command support
on AHCI SSDs.
\textbf{Description}: \DIFdelbegin \DIFdel{Patch }\DIFdelend \DIFaddbegin \DIFadd{Apply vendor patches to }\DIFaddend IOAHCIBlockStorage.kext to \DIFdelbegin \DIFdel{force TRIM command support
on AHCI SSDs }\DIFdelend \DIFaddbegin \DIFadd{enable
native features for third-party drives, such as TRIM on SSDs or hibernation
support on 10.15 and newer}\DIFaddend .
\emph{Note}: This option should avoided whenever possible. NVMe SSDs are
\emph{Note}: This option \DIFdelbegin \DIFdel{should avoided whenever possible}\DIFdelend \DIFaddbegin \DIFadd{may be avoided on user preference}\DIFaddend . NVMe SSDs are
compatible without the change. For AHCI SSDs on modern macOS version there
is a dedicated built-in utility called \texttt{trimforce}. Starting from 10.15
this utility creates \texttt{EnableTRIM} variable in \texttt{APPLE\_BOOT\_VARIABLE\_GUID}
......@@ -1932,7 +1934,7 @@ blocking.
\textbf{Description}: Patch various kexts (AppleUSBXHCI.kext, AppleUSBXHCIPCI.kext,
IOUSBHostFamily.kext) to remove USB port count limit of 15 ports.
\emph{Note}: This option should avoided whenever possible. USB port limit
\emph{Note}: This option should \DIFaddbegin \DIFadd{be }\DIFaddend avoided whenever possible. USB port limit
is imposed by the amount of used bits in locationID format and there is no
possible way to workaround this without heavy OS modification. The only
valid solution is to limit the amount of used ports to 15 (discarding some).
......
......@@ -527,7 +527,7 @@
<false/>
<key>PowerTimeoutKernelPanic</key>
<false/>
<key>ThirdPartyTrim</key>
<key>ThirdPartyDrives</key>
<false/>
<key>XhciPortLimit</key>
<false/>
......
......@@ -527,7 +527,7 @@
<false/>
<key>PowerTimeoutKernelPanic</key>
<false/>
<key>ThirdPartyTrim</key>
<key>ThirdPartyDrives</key>
<false/>
<key>XhciPortLimit</key>
<false/>
......
......@@ -418,8 +418,8 @@ OcKernelApplyPatches (
PatchForceInternalDiskIcons (Context);
}
if (Config->Kernel.Quirks.ThirdPartyTrim) {
PatchThirdPartySsdTrim (Context);
if (Config->Kernel.Quirks.ThirdPartyDrives) {
PatchThirdPartyDriveSupport (Context);
}
if (Config->Kernel.Quirks.XhciPortLimit) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册