- Joined
- Mar 29, 2019
- Messages
- 226
- Motherboard
- Zbook G4 17
- CPU
- i7-7820HQ
- Graphics
- HD630+WX4150
- Mac
- Classic Mac
- Mobile Phone
=RAM OF TBT at windows
F0400000
-to
F0401000
UPD2.
=RAM OF TBT at MacOs
F7800000
TB2P is at F0400548
P2TB is at F040054C
Okay, the method of detection that Thunderbolt is initialized is pretty simple. If thunderbolt not working, then reserved ram address will be filled with FFFFFF... etc. So that's a pretty simple algorithm. So to solve the WAKE issue, we need to create a timer to wait a second or two while thunderbolt will complete Initialization.
Will create some ssdt to dump some ram on wake to confirm that Thunderbolt isn't initialized on wake when PSU is connected. I am sure that MacOs wakes faster then thunderbolt pci.
UPD1. //////////////
That is weird and it seems like MMTB ram space that is pre-allocated for thunderbolt is empty at MacOS
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "TWAK CALLED"
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YEDI="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YSRE="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YBUS="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000000000FF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YB2P="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "Y2TB="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
"Y" mean that first symbol of Name was replaced to remove a possible conflict of same name.
To do this i have to create a field in ram and dump it to debug.
UPD2. \\\\\\\\\\\\\\
Maybe bug is from wrong address. MMTB address at windows and mac are different
UPD3. Debug SSDT added
SSDT-TBDEVB_vRAM.aml
UPD4. I think that finally problem solved. The problem was in wrong Thunderbolt device address. Currently Has no problem with force injected Thunderbolt device address. For some reason MMTB is calculating wrong address at ram. I have force injected 0xF0400000 to MMTB Local0 at the end of method and now seems everything is working.
UPD5. The problem is in SBUS data it should be 4, not 78
UPD6. Something interesting is happening here:
On MMTB execution the SBUS is wrong and is 78, not 4
UPD7. Some SOHP and SBUS
F0400000
-to
F0401000
UPD2.
=RAM OF TBT at MacOs
F7800000
TB2P is at F0400548
P2TB is at F040054C
Okay, the method of detection that Thunderbolt is initialized is pretty simple. If thunderbolt not working, then reserved ram address will be filled with FFFFFF... etc. So that's a pretty simple algorithm. So to solve the WAKE issue, we need to create a timer to wait a second or two while thunderbolt will complete Initialization.
Will create some ssdt to dump some ram on wake to confirm that Thunderbolt isn't initialized on wake when PSU is connected. I am sure that MacOs wakes faster then thunderbolt pci.
UPD1. //////////////
That is weird and it seems like MMTB ram space that is pre-allocated for thunderbolt is empty at MacOS
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "TWAK CALLED"
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YEDI="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YSRE="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YBUS="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000000000FF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "YB2P="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) "Y2TB="
2022-06-23 15:29:03.730 Df kernel[0:74] (AppleACPIPlatform) 0x00000000FFFFFFFF
"Y" mean that first symbol of Name was replaced to remove a possible conflict of same name.
To do this i have to create a field in ram and dump it to debug.
UPD2. \\\\\\\\\\\\\\
Maybe bug is from wrong address. MMTB address at windows and mac are different
log show --last boot --predicate 'process == "kernel" AND senderImagePath CONTAINS "AppleACPIPlatform"' --style compact | awk '/ACPI Debug/{getline; getline; print}'
log: warning: The log archive contains partial or missing metadata
2022-06-23 16:03:27.528 Df kernel[0:71] (AppleACPIPlatform) "[____TBT_ENABLED___]"
2022-06-23 16:03:27.554 Df kernel[0:71] (AppleACPIPlatform) "YEDI="
2022-06-23 16:03:27.579 Df kernel[0:71] (AppleACPIPlatform) 0x0000000015788086
2022-06-23 16:03:27.603 Df kernel[0:71] (AppleACPIPlatform) "YSRE="
2022-06-23 16:03:27.626 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000100007
2022-06-23 16:03:27.648 Df kernel[0:71] (AppleACPIPlatform) "YBUS="
2022-06-23 16:03:27.669 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000005
2022-06-23 16:03:27.689 Df kernel[0:71] (AppleACPIPlatform) "YB2P="
2022-06-23 16:03:27.710 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 16:03:27.729 Df kernel[0:71] (AppleACPIPlatform) "Y2TB="
2022-06-23 16:03:27.748 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 16:03:27.807 Df kernel[0:71] (AppleACPIPlatform) "PCI0-INI-CALL YMXX"
2022-06-23 16:03:27.824 Df kernel[0:71] (AppleACPIPlatform) "YEDI="
2022-06-23 16:03:27.840 Df kernel[0:71] (AppleACPIPlatform) 0x0000000015788086
2022-06-23 16:03:27.855 Df kernel[0:71] (AppleACPIPlatform) "YSRE="
2022-06-23 16:03:27.870 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000100007
2022-06-23 16:03:27.885 Df kernel[0:71] (AppleACPIPlatform) "YBUS="
2022-06-23 16:03:27.900 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000005
2022-06-23 16:03:27.914 Df kernel[0:71] (AppleACPIPlatform) "YB2P="
2022-06-23 16:03:27.929 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 16:03:27.943 Df kernel[0:71] (AppleACPIPlatform) "Y2TB="
2022-06-23 16:03:27.958 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 16:03:27.978 Df kernel[0:71] (AppleACPIPlatform) "TINI"
2022-06-23 16:03:27.992 Df kernel[0:71] (AppleACPIPlatform) "TBTD"
2022-06-23 16:03:28.007 Df kernel[0:71] (AppleACPIPlatform) "Device no"
2022-06-23 16:03:28.022 Df kernel[0:71] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 16:03:28.036 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-23 16:03:28.051 Df kernel[0:71] (AppleACPIPlatform) "Function no"
2022-06-23 16:03:28.065 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 16:03:28.080 Df kernel[0:71] (AppleACPIPlatform) "MMTB"
2022-06-23 16:03:28.094 Df kernel[0:71] (AppleACPIPlatform) "TBTD"
2022-06-23 16:03:28.108 Df kernel[0:71] (AppleACPIPlatform) "Device no"
2022-06-23 16:03:28.122 Df kernel[0:71] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 16:03:28.136 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-23 16:03:28.149 Df kernel[0:71] (AppleACPIPlatform) "Function no"
2022-06-23 16:03:28.163 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 16:03:28.177 Df kernel[0:71] (AppleACPIPlatform) "TBT-US-ADR"
2022-06-23 16:03:28.191 Df kernel[0:71] (AppleACPIPlatform) 0x00000000F7800000
2022-06-23 16:03:28.205 Df kernel[0:71] (AppleACPIPlatform) "OSUP"
2022-06-23 16:03:28.271 Df kernel[0:71] (AppleACPIPlatform) "Cmd acknowledged"
2022-06-23 16:03:28.285 Df kernel[0:71] (AppleACPIPlatform) "End-of-OSUP"
2022-06-23 16:03:28.299 Df kernel[0:71] (AppleACPIPlatform) "End-of-TINI"
2022-06-23 16:03:28.313 Df kernel[0:71] (AppleACPIPlatform) "GFX DockEvent Enter"
2022-06-23 16:03:28.327 Df kernel[0:71] (AppleACPIPlatform) "Dock Status"
2022-06-23 16:03:28.340 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 16:03:28.353 Df kernel[0:71] (AppleACPIPlatform) "GFX DockEvent Exit"
2022-06-23 16:03:28.368 Df kernel[0:71] (AppleACPIPlatform) "EC-INI-CALL YMXX"
2022-06-23 16:03:28.381 Df kernel[0:71] (AppleACPIPlatform) "YEDI="
2022-06-23 16:03:28.394 Df kernel[0:71] (AppleACPIPlatform) 0x0000000015788086
2022-06-23 16:03:28.407 Df kernel[0:71] (AppleACPIPlatform) "YSRE="
2022-06-23 16:03:28.420 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000100007
2022-06-23 16:03:28.433 Df kernel[0:71] (AppleACPIPlatform) "YBUS="
2022-06-23 16:03:28.446 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000005
2022-06-23 16:03:28.460 Df kernel[0:71] (AppleACPIPlatform) "YB2P="
2022-06-23 16:03:28.473 Df kernel[0:71] (AppleACPIPlatform) 0x000000000000000C
2022-06-23 16:03:28.486 Df kernel[0:71] (AppleACPIPlatform) "Y2TB="
2022-06-23 16:03:28.499 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 16:03:28.512 Df kernel[0:71] (AppleACPIPlatform) "XHC-INI-CALL YMXX"
2022-06-23 16:03:28.526 Df kernel[0:71] (AppleACPIPlatform) "YEDI="
2022-06-23 16:03:29.662 Df kernel[0:ae] (AppleACPIEC) ACPI: no ECDT
UPD3. Debug SSDT added
SSDT-TBDEVB_vRAM.aml
Method (MMTB, 0, Serialized)
{
Store ("MMTB-START", Debug)
Store (\_SB.PCI0.GPCB (), Local0)
Store ("MMTB-GPCB=Local0=(0xF0000000)=", Debug)
Store (Local0, Debug)
Add (Local0, ShiftLeft (TBTD (TBSE), 0x0F), Local0)
Store ("MMTB-Local0Shift1=(0xF00E0000)=", Debug)
Store (Local0, Debug)
Add (Local0, ShiftLeft (TBTF (TBSE), 0x0C), Local0)
Store ("MMTB-Local0Shift2=(0xF00E4000)=", Debug)
Store (Local0, Debug)
OperationRegion (MMMM, SystemMemory, Local0, 0x1A)
Field (MMMM, AnyAcc, NoLock, Preserve)
{
Offset (0x19),
SBUS, 8
}
Store (SBUS, Local2)
Store ("MMTB-SBUS is Local2=(0x78)=", Debug)
Store (Local2, Debug)
Store (\_SB.PCI0.GPCB (), Local0)
Store ("MMTB-GPCB=Local0=(0xF0000000)=", Debug)
Store (Local0, Debug)
Multiply (Local2, 0x00100000, Local2)
Store ("MMTB-Local0MultiplyLocal0=(0xF0000000)=", Debug)
Store (Local0, Debug)
Add (Local2, Local0, Local0)
Store ("TBT-US-ADR", Debug)
Store (Local0, Debug)
Return (Local0)
Store ("MMTB-END", Debug)
}
UPD4. I think that finally problem solved. The problem was in wrong Thunderbolt device address. Currently Has no problem with force injected Thunderbolt device address. For some reason MMTB is calculating wrong address at ram. I have force injected 0xF0400000 to MMTB Local0 at the end of method and now seems everything is working.
UPD5. The problem is in SBUS data it should be 4, not 78
But after wake, system generates correct AddressStore ("MMTB-START", Debug)
Store (\_SB.PCI0.GPCB (), Local0)
Store ("MMTB-GPCB=Local0=(0xF0000000)=", Debug)
Store (Local0, Debug)
Add (Local0, ShiftLeft (TBTD (TBSE), 0x0F), Local0)
Store ("TBTD=0x1C", Debug)
Store ("MMTB-Local0Shift1=(0xF00E0000)=", Debug)
Store (Local0, Debug)
Add (Local0, ShiftLeft (TBTF (TBSE), 0x0C), Local0)
Store ("TBTF=0x04", Debug)
Store ("MMTB-Local0Shift2=(0xF00E4000)=", Debug)
Store (Local0, Debug)
OperationRegion (MMMM, SystemMemory, Local0, 0x1A)
Field (MMMM, AnyAcc, NoLock, Preserve)
{
Offset (0x19),
SBUS, 8
}
Store (SBUS, Local2)
Store ("MMTB-SBUS is Local2=(0x78)=", Debug)
Store (Local2, Debug)
Store (\_SB.PCI0.GPCB (), Local0)
Store ("MMTB-GPCB=Local0=(0xF0000000)=", Debug)
Store (Local0, Debug)
Multiply (Local2, 0x00100000, Local2)
Store ("MMTB-Local2MultiplyLocal2=(0x07800000)=", Debug)
Store (Local2, Debug)
Add (Local2, Local0, Local0)
Store (0xF0400000, Local0)
Store ("ForceInject_TBT-US-ADR", Debug)
Store (Local0, Debug)
Return (Local0)
Store ("MMTB-END", Debug)
2022-06-23 19:21:52.736 Df kernel[0:74] (AppleACPIPlatform) "_PTS START"
2022-06-23 19:21:52.736 Df kernel[0:74] (AppleACPIPlatform) "_PTS=0000000000000003"
2022-06-23 19:21:52.737 Df kernel[0:74] (AppleACPIPlatform) "_PTS END"
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "_WAK START"
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "TWAK CALLED"
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YEDI="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000015788086
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YSRE="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000100000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YBUS="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YB2P="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "Y2TB="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "[____TBT_ENABLED___]"
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YEDI="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000015788086
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YSRE="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000100000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YBUS="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "YB2P="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "Y2TB="
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 19:21:52.744 Df kernel[0:74] (AppleACPIPlatform) "_WAK"
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) "TINI"
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) "TBTD"
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) "Device no"
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) "TBTF"
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) "Function no"
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 19:21:52.752 Df kernel[0:74] (AppleACPIPlatform) "MMTB-START"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "MMTB-GPCB=Local0=(0xF0000000)="
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x00000000F0000000
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "TBTD"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "Device no"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "TBTD=0x1C"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "MMTB-Local0Shift1=(0xF00E0000)="
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x00000000F00E0000
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "TBTF"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "Function no"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "TBTF=0x04"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "MMTB-Local0Shift2=(0xF00E4000)="
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x00000000F00E4000
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "MMTB-SBUS is Local2=(0x78)="
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x0000000000000078
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "MMTB-GPCB=Local0=(0xF0000000)="
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x00000000F0000000
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "MMTB-Local2MultiplyLocal2=(???????)="
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x0000000007800000
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "ForceInject_TBT-US-ADR"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) 0x00000000F0400000
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "OSUP"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "Dev gone"
2022-06-23 19:21:52.753 Df kernel[0:74] (AppleACPIPlatform) "End-of-TINI"
2022-06-23 19:21:52.757 Df kernel[0:74] (AppleACPIPlatform) "_WAK=00000000B48F1927"
2022-06-23 19:21:57.298 Df kernel[0:1fff] (AppleACPIPlatform) "_E4C"
2022-06-23 19:21:57.298 Df kernel[0:1fff] (AppleACPIPlatform) "WWAK"
2022-06-23 19:21:57.298 Df kernel[0:1fff] (AppleACPIPlatform) "WSUB"
2022-06-23 19:21:57.298 Df kernel[0:1fff] (AppleACPIPlatform) "TSUB"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "TBTD"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "Device no"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "TBTF"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "Function no"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "ADR"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) 0x00000000F00E4000
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "Sec Bus"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "WSUB-Finished"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "GNIS"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "GNIS_Dis=0"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "TBT-HP-Handler"
2022-06-23 19:21:57.299 Df kernel[0:1fff] (AppleACPIPlatform) "PEG WorkAround"
2022-06-23 19:21:57.500 Df kernel[0:1fff] (AppleACPIPlatform) "TBFF"
2022-06-23 19:21:57.500 Df kernel[0:1fff] (AppleACPIPlatform) "MMTB-START"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "MMTB-GPCB=Local0=(0xF0000000)="
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x00000000F0000000
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "TBTD"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "Device no"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "TBTD=0x1C"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "MMTB-Local0Shift1=(0xF00E0000)="
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x00000000F00E0000
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "TBTF"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "Function no"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "TBTF=0x04"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "MMTB-Local0Shift2=(0xF00E4000)="
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x00000000F00E4000
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "MMTB-SBUS is Local2=(0x78)="
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "MMTB-GPCB=Local0=(0xF0000000)="
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x00000000F0000000
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "MMTB-Local2MultiplyLocal2=(0x07800000)="
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x0000000000400000
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "ForceInject_TBT-US-ADR"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) 0x00000000F0400000
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "Dev Present"
2022-06-23 19:21:57.501 Df kernel[0:1fff] (AppleACPIPlatform) "TBT SW SMI"
2022-06-23 19:21:57.502 Df kernel[0:1fff] (AppleACPIPlatform) "NTFY"
2022-06-23 19:21:57.502 Df kernel[0:1fff] (AppleACPIPlatform) "Notify RP05"
2022-06-23 19:21:57.519 Df kernel[0:1fff] (AppleACPIPlatform) "End-of-_E4C"
UPD6. Something interesting is happening here:
2022-06-23 20:49:40.900 Df kernel[0:71] (AppleACPIPlatform) "[____TBT_ENABLED___]"
2022-06-23 20:49:40.923 Df kernel[0:71] (AppleACPIPlatform) "YEDI(VEDI)="
2022-06-23 20:49:40.945 Df kernel[0:71] (AppleACPIPlatform) 0x0000000015788086
2022-06-23 20:49:40.966 Df kernel[0:71] (AppleACPIPlatform) "YSRE(CSRE)="
2022-06-23 20:49:40.986 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000100007
2022-06-23 20:49:41.005 Df kernel[0:71] (AppleACPIPlatform) "YBUS(SBUS)="
2022-06-23 20:49:41.023 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000005
2022-06-23 20:49:41.041 Df kernel[0:71] (AppleACPIPlatform) "YB2P(TB2P)="
2022-06-23 20:49:41.059 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 20:49:41.076 Df kernel[0:71] (AppleACPIPlatform) "Y2TB(P2TB)="
2022-06-23 20:49:41.093 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000000
2022-06-23 20:49:41.108 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-23 20:49:41.123 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 20:49:41.176 Df kernel[0:71] (AppleACPIPlatform) "TINI"
2022-06-23 20:49:41.189 Df kernel[0:71] (AppleACPIPlatform) "TBTD"
2022-06-23 20:49:41.202 Df kernel[0:71] (AppleACPIPlatform) "Device no"
2022-06-23 20:49:41.215 Df kernel[0:71] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 20:49:41.228 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-23 20:49:41.241 Df kernel[0:71] (AppleACPIPlatform) "Function no"
2022-06-23 20:49:41.253 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 20:49:41.266 Df kernel[0:71] (AppleACPIPlatform) "MMTB-START"
2022-06-23 20:49:41.279 Df kernel[0:71] (AppleACPIPlatform) "MMTB-GPCB=Local0=(0xF0000000)="
2022-06-23 20:49:41.293 Df kernel[0:71] (AppleACPIPlatform) 0x00000000F0000000
2022-06-23 20:49:41.306 Df kernel[0:71] (AppleACPIPlatform) "TBTD"
2022-06-23 20:49:41.319 Df kernel[0:71] (AppleACPIPlatform) "Device no"
2022-06-23 20:49:41.332 Df kernel[0:71] (AppleACPIPlatform) 0x000000000000001C
2022-06-23 20:49:41.345 Df kernel[0:71] (AppleACPIPlatform) "TBTD=0x1C"
2022-06-23 20:49:41.359 Df kernel[0:71] (AppleACPIPlatform) "MMTB-Local0Shift1=(0xF00E0000)="
2022-06-23 20:49:41.372 Df kernel[0:71] (AppleACPIPlatform) 0x00000000F00E0000
2022-06-23 20:49:41.385 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-23 20:49:41.398 Df kernel[0:71] (AppleACPIPlatform) "Function no"
2022-06-23 20:49:41.411 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-23 20:49:41.424 Df kernel[0:71] (AppleACPIPlatform) "TBTF=0x04"
2022-06-23 20:49:41.437 Df kernel[0:71] (AppleACPIPlatform) "MMTB-Local0Shift2=(0xF00E4000)="
2022-06-23 20:49:41.450 Df kernel[0:71] (AppleACPIPlatform) 0x00000000F00E4000
2022-06-23 20:49:41.463 Df kernel[0:71] (AppleACPIPlatform) "MMTB-SBUS is Local2=(0x78)="
2022-06-23 20:49:41.477 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000078
2022-06-23 20:49:41.490 Df kernel[0:71] (AppleACPIPlatform) "MMTB-GPCB=Local0=(0xF0000000)="
2022-06-23 20:49:41.504 Df kernel[0:71] (AppleACPIPlatform) 0x00000000F0000000
2022-06-23 20:49:41.518 Df kernel[0:71] (AppleACPIPlatform) "MMTB-Local2MultiplyLocal2=(0x07800000)="
2022-06-23 20:49:41.532 Df kernel[0:71] (AppleACPIPlatform) 0x0000000007800000
2022-06-23 20:49:41.545 Df kernel[0:71] (AppleACPIPlatform) "ForceInject_TBT-US-ADR"
2022-06-23 20:49:41.559 Df kernel[0:71] (AppleACPIPlatform) 0x00000000F0400000
2022-06-23 20:49:41.572 Df kernel[0:71] (AppleACPIPlatform) "OSUP"
2022-06-23 20:49:41.585 Df kernel[0:71] (AppleACPIPlatform) "Dev gone"
2022-06-23 20:49:41.597 Df kernel[0:71] (AppleACPIPlatform) "YEDI(VEDI)="
2022-06-23 20:49:41.610 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:49:41.623 Df kernel[0:71] (AppleACPIPlatform) "YSRE(CSRE)="
2022-06-23 20:49:41.636 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:49:41.649 Df kernel[0:71] (AppleACPIPlatform) "YBUS(SBUS)="
2022-06-23 20:49:41.661 Df kernel[0:71] (AppleACPIPlatform) 0x00000000000000FF
2022-06-23 20:49:41.674 Df kernel[0:71] (AppleACPIPlatform) "YB2P(TB2P)="
2022-06-23 20:49:41.687 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:49:41.700 Df kernel[0:71] (AppleACPIPlatform) "Y2TB(P2TB)="
2022-06-23 20:49:41.713 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:49:41.726 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-23 20:49:41.739 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000078
2022-06-23 20:49:43.452 Df kernel[0:ae] (AppleACPIEC) ACPI: no ECDT
2022-06-23 20:56:47.539 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-23 20:56:47.551 Df kernel[0:71] (AppleACPIPlatform) "YEDI(VEDI)="
2022-06-23 20:56:47.564 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:56:47.577 Df kernel[0:71] (AppleACPIPlatform) "YSRE(CSRE)="
2022-06-23 20:56:47.589 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:56:47.601 Df kernel[0:71] (AppleACPIPlatform) "YBUS(SBUS)="
2022-06-23 20:56:47.614 Df kernel[0:71] (AppleACPIPlatform) 0x00000000000000FF
2022-06-23 20:56:47.626 Df kernel[0:71] (AppleACPIPlatform) "YB2P(TB2P)="
2022-06-23 20:56:47.638 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:56:47.651 Df kernel[0:71] (AppleACPIPlatform) "Y2TB(P2TB)="
2022-06-23 20:56:47.663 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 20:56:47.676 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-23 20:56:47.688 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000078
2022-06-23 21:00:37.548 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-23 21:00:37.561 Df kernel[0:71] (AppleACPIPlatform) "YEDI(VEDI)="
2022-06-23 21:00:37.573 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 21:00:37.586 Df kernel[0:71] (AppleACPIPlatform) "YSRE(CSRE)="
2022-06-23 21:00:37.599 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 21:00:37.611 Df kernel[0:71] (AppleACPIPlatform) "YBUS(SBUS)="
2022-06-23 21:00:37.623 Df kernel[0:71] (AppleACPIPlatform) 0x00000000000000FF
2022-06-23 21:00:37.636 Df kernel[0:71] (AppleACPIPlatform) "YB2P(TB2P)="
2022-06-23 21:00:37.649 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 21:00:37.661 Df kernel[0:71] (AppleACPIPlatform) "Y2TB(P2TB)="
2022-06-23 21:00:37.674 Df kernel[0:71] (AppleACPIPlatform) 0x00000000FFFFFFFF
2022-06-23 21:00:37.686 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-23 21:00:37.699 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000078
On MMTB execution the SBUS is wrong and is 78, not 4
UPD7. Some SOHP and SBUS
2022-06-24 12:53:39.901 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:39.924 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:39.946 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:39.967 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.031 Df kernel[0:71] (AppleACPIPlatform) "Pci0Ini"
2022-06-24 12:53:40.050 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.069 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.087 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.105 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.122 Df kernel[0:71] (AppleACPIPlatform) "TINI+SBUS"
2022-06-24 12:53:40.138 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.153 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.168 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.181 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.195 Df kernel[0:71] (AppleACPIPlatform) "MMRP+BUS"
2022-06-24 12:53:40.208 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.221 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.234 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.246 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.259 Df kernel[0:71] (AppleACPIPlatform) "TBTD"
2022-06-24 12:53:40.271 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.284 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.297 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.310 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.323 Df kernel[0:71] (AppleACPIPlatform) "Device no"
2022-06-24 12:53:40.336 Df kernel[0:71] (AppleACPIPlatform) 0x000000000000001C
2022-06-24 12:53:40.349 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-24 12:53:40.362 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.375 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.388 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.400 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.413 Df kernel[0:71] (AppleACPIPlatform) "Function no"
2022-06-24 12:53:40.425 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.438 Df kernel[0:71] (AppleACPIPlatform) "MMTB+SBUS"
2022-06-24 12:53:40.450 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.463 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000078
2022-06-24 12:53:40.475 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.487 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.498 Df kernel[0:71] (AppleACPIPlatform) "TBTD"
2022-06-24 12:53:40.510 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.522 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000078
2022-06-24 12:53:40.534 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.546 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.557 Df kernel[0:71] (AppleACPIPlatform) "Device no"
2022-06-24 12:53:40.569 Df kernel[0:71] (AppleACPIPlatform) 0x000000000000001C
2022-06-24 12:53:40.581 Df kernel[0:71] (AppleACPIPlatform) "TBTF"
2022-06-24 12:53:40.593 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.605 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000078
2022-06-24 12:53:40.616 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.628 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
2022-06-24 12:53:40.640 Df kernel[0:71] (AppleACPIPlatform) "Function no"
2022-06-24 12:53:40.652 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.664 Df kernel[0:71] (AppleACPIPlatform) "TBT-US-ADR"
2022-06-24 12:53:40.676 Df kernel[0:71] (AppleACPIPlatform) 0x00000000F0400000
2022-06-24 12:53:40.688 Df kernel[0:71] (AppleACPIPlatform) "OSUP+BUS"
2022-06-24 12:53:40.700 Df kernel[0:71] (AppleACPIPlatform) "UBUS(SBUS)="
2022-06-24 12:53:40.712 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000004
2022-06-24 12:53:40.724 Df kernel[0:71] (AppleACPIPlatform) "SOHP==="
2022-06-24 12:53:40.736 Df kernel[0:71] (AppleACPIPlatform) 0x0000000000000001
Attachments
Last edited: