Andy Vandijck Posted January 17, 2021 Share Posted January 17, 2021 (edited) I updated DirectHW and pciutils-3.7.0 for macOS Big Sur. It has 4 PCI accessor methods: - default: darwin accessor, requires boot arg debug=0x144 & run as root. - intel-conf1: DirectHW accessor 1, requires root - intel-conf2: DirectHW accessor 2, requires root - dump: read from dump file * You can set these with the -A flag. DirectHW for macOS Big Sur repo: https://github.com/vampirecat35/DirectHW-BigSur pciutis-3.7.0 for macOS Big Sur repo: https://github.com/vampirecat35/pciutils-osx Flashrom-1.2 for macOS Big Sur repo: https://github.com/vampirecat35/flashrom-osx iwleeprom for macOS Big Sur repo: https://github.com/vampirecat35/iwleeprom-osx ectool, msrtool, inteltool, ifdtool, superiotool, mptable, osxpmem and nvramtool repo: https://github.com/vampirecat35/hwtools-osx ECTool for macOS: Tool to read embedded controller info. nvramtool for macOS: Tool for nvram info. inteltool for macOS: Intel CPU/chipset info. msrtool for macOS: Model Specific Register info. iwleeprom for macOS: Flashing and reading Intel ROM and Atheros ROM to WiFi card. EDIT: Built a version for Mac OS X 10.9 and above. It targets Xcode's minimum deployment target (10.9) It's bundled inside the hwtools zip file. DirectHW for older targets also attached now (DirectHW-macOS). Also replaced hwtools zip file (fix kext). EDIT2: Fixed nvramtool for macOS. Changed /dev/mem to /dev/pmem for Apple. Needs MacPmem.kext (included in hwtools zip file). EDIT3: Added new AMD+Intel CPU models to msrtool. Added AMD family 16 and 17. Added Intel *lake cpu models. Added sandy bridge cpu models. EDIT4: Fixed nvramtool. EDIT5: Added superior-tool and ifdtool. EDIT6: iwleeprom fixes. EDIT7: New approach to iwleeprom. pciutils-3.7.0-osx.zip DirectHW-BigSur.zip flashrom-v1.2-osx.zip ectool-osx.zip inteltool-osx.zip DirectHW-macOS.zip msrtool-osx.zip nvramtool-osx.zip OSXPMem.zip mptable-osx.zip superiotool-osx.zip ifdtool-osx.zip iwleeprom-osx.zip hwtools-osx-10.9-and-above.zip Edited February 11, 2021 by Andy Vandijck 13 4 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 18, 2021 Author Share Posted January 18, 2021 PCI Utilities output with debug argument 0x144 set and darwin accessor output: 00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09) Subsystem: Apple Inc. Device 011b Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- Latency: 0 Capabilities: [e0] Vendor Specific Information: Len=0c <?> 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 6000 (rev 09) (prog-if 00 [VGA controller]) Subsystem: Apple Inc. Device 011b Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 0: Memory at 7fa0000000 (64-bit, non-prefetchable) Region 2: Memory at 7f90000000 (64-bit, prefetchable) Region 4: I/O ports at 3000 Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee00e58 Data: 0000 Capabilities: [d0] Power Management version 2 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [a4] PCI Advanced Features AFCap: TP+ FLR+ AFCtrl: FLR- AFStatus: TP- 00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09) Subsystem: Apple Inc. Device 011b Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin A routed to IRQ 16 Region 0: Memory at 7fa1014000 (64-bit, non-prefetchable) Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME- Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit- Address: fee00e78 Data: 0000 Capabilities: [70] Express (v1) Root Complex Integrated Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE- FLReset+ DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr- TransPend- 00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03) (prog-if 30 [XHCI]) Subsystem: Intel Corporation Device 7270 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 0: Memory at 7fa1000000 (64-bit, non-prefetchable) Capabilities: [70] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0-,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+ Address: 00000000fee00e98 Data: 0000 00:15.0 DMA controller: Intel Corporation Wildcat Point-LP Serial IO DMA Controller (rev 03) (prog-if 02 [EISA DMA]) Subsystem: Intel Corporation Wildcat Point-LP Serial IO DMA Controller Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin B routed to IRQ 20 Region 0: Memory at c161a000 (32-bit, non-prefetchable) Capabilities: [80] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- 00:15.4 Serial bus controller [0c80]: Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1 (rev 03) Subsystem: Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1 Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin C routed to IRQ 21 Region 0: Memory at c1619000 (32-bit, non-prefetchable) Capabilities: [80] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- 00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03) Subsystem: Intel Corporation Device 7270 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 16 Region 0: Memory at 7fa1019100 (64-bit, non-prefetchable) Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00eb8 Data: 0000 00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03) Subsystem: Intel Corporation Device 7270 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 64, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 22 Region 0: Memory at 7fa1010000 (64-bit, non-prefetchable) Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00ed8 Data: 0000 00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 16 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 0000f000-00000fff [disabled] Memory behind bridge: fff00000-000fffff [disabled] Prefetchable memory behind bridge: fffffffffff00000-00000000000fffff [disabled] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [40] Express (v2) Root Port (Slot-), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <4us ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (downgraded), Width x0 (downgraded) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- RootCap: CRSVisible- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Via WAKE#, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd- AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd- AtomicOpsCtl: ReqEn- EgressBlck- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Intel Corporation Device 7270 Capabilities: [a0] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D3 NoSoftRst+ PME-Enable+ DSel=0 DScale=0 PME- ## 00:1c.0 is a bridge from 00 to 01-01 00:1c.1 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #2 (rev e3) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin B routed to IRQ 17 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 0000f000-00000fff [disabled] Memory behind bridge: c1400000-c15fffff [size=2M] Prefetchable memory behind bridge: 0000007f80000000-0000007f8fffffff [size=256M] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: CorrErr- NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #2, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (ok), Width x1 (ok) TrErr- Train- SlotClk+ DLActive+ BWMgmt- ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise- Slot #1, PowerLimit 10.000W; Interlock- NoCompl+ SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet+ LinkState+ RootCap: CRSVisible- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd- AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd- AtomicOpsCtl: ReqEn- EgressBlck- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Intel Corporation Device 7270 Capabilities: [a0] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v0] Null Capabilities: [200 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=40us PortTPowerOnTime=10us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us ## 00:1c.1 is a bridge from 00 to 02-02 00:1c.2 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 (rev e3) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin C routed to IRQ 18 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 0000f000-00000fff [disabled] Memory behind bridge: c1000000-c12fffff [size=3M] Prefetchable memory behind bridge: fffffffffff00000-00000000000fffff [disabled] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: CorrErr- NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #3, Speed 5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp- LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (downgraded), Width x1 (ok) TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise- Slot #2, PowerLimit 10.000W; Interlock- NoCompl+ SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet- LinkState- RootCap: CRSVisible- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd- AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd- AtomicOpsCtl: ReqEn- EgressBlck- LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Intel Corporation Device 7270 Capabilities: [a0] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v0] Null Capabilities: [200 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=40us PortTPowerOnTime=10us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us ## 00:1c.2 is a bridge from 00 to 03-03 00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 16 Bus: primary=00, secondary=05, subordinate=ff, sec-latency=0 I/O behind bridge: 00004000-0000dfff [size=40K] Memory behind bridge: c1700000-dfffffff [size=489M] Prefetchable memory behind bridge: 0000007fa1100000-0000007fffffffff [size=1519M] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: CorrErr- NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #5, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp- LnkCtl: ASPM Disabled; RCB 64 bytes, Disabled+ CommClk- ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (ok), Width x4 (ok) TrErr- Train- SlotClk+ DLActive- BWMgmt+ ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise- Slot #4, PowerLimit 25.000W; Interlock- NoCompl+ SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet- LinkState+ RootCap: CRSVisible- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd- AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR- OBFF Disabled, ARIFwd- AtomicOpsCtl: ReqEn- EgressBlck- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Intel Corporation Device 7270 Capabilities: [a0] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D3 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v0] Null Capabilities: [200 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=40us PortTPowerOnTime=10us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=0us ## 00:1c.4 is a bridge from 00 to 05-ff 00:1c.5 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #6 (rev e3) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin B routed to IRQ 17 Bus: primary=00, secondary=04, subordinate=04, sec-latency=0 I/O behind bridge: 0000f000-00000fff [disabled] Memory behind bridge: c1300000-c13fffff [size=1M] Prefetchable memory behind bridge: fffffffffff00000-00000000000fffff [disabled] Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR- BridgeCtl: Parity- SERR+ NoISA- VGA- VGA16- MAbort- >Reset- FastB2B- PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn- Capabilities: [40] Express (v2) Root Port (Slot+), MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0 ExtTag- RBE+ DevCtl: CorrErr- NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- MaxPayload 128 bytes, MaxReadReq 128 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #6, Speed 5GT/s, Width x4, ASPM L0s L1, Exit Latency L0s <512ns, L1 <16us ClockPM- Surprise- LLActRep+ BwNot+ ASPMOptComp- LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (ok), Width x4 (ok) TrErr- Train- SlotClk+ DLActive+ BWMgmt+ ABWMgmt- SltCap: AttnBtn- PwrCtrl- MRL- AttnInd- PwrInd- HotPlug- Surprise- Slot #5, PowerLimit 25.000W; Interlock- NoCompl+ SltCtl: Enable: AttnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- LinkChg- Control: AttnInd Unknown, PwrInd Unknown, Power- Interlock- SltSta: Status: AttnBtn- PowerFlt- MRL- CmdCplt- PresDet+ Interlock- Changed: MRL- PresDet- LinkState- RootCap: CRSVisible- RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible- RootSta: PME ReqID 0000, PMEStatus- PMEPending- DevCap2: Completion Timeout: Range ABC, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- LN System CLS Not Supported, TPHComp- ExtTPHComp- ARIFwd- AtomicOpsCap: Routing- 32bit- 64bit- 128bitCAS- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, ARIFwd- AtomicOpsCtl: ReqEn- EgressBlck- LnkCtl2: Target Link Speed: 5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- Address: 00000000 Data: 0000 Capabilities: [90] Subsystem: Intel Corporation Device 7270 Capabilities: [a0] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [100 v0] Null Capabilities: [200 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=40us PortTPowerOnTime=10us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us ## 00:1c.5 is a bridge from 00 to 04-04 00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03) Subsystem: Intel Corporation Device 7270 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Capabilities: [e0] Vendor Specific Information: Len=0c <?> 00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03) Subsystem: Intel Corporation Device 7270 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Interrupt: pin C routed to IRQ 18 Region 0: Memory at 7fa1019000 (64-bit, non-prefetchable) Region 4: I/O ports at efa0 00:1f.6 Signal processing controller: Intel Corporation Wildcat Point-LP Thermal Management Controller (rev 03) Subsystem: Intel Corporation Device 7270 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin C routed to IRQ 18 Region 0: Memory at 7fa1018000 (64-bit, non-prefetchable) Capabilities: [50] Power Management version 3 Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit- Address: fee00fd8 Data: 0000 03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03) Subsystem: Apple Inc. Device 0117 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 18 Region 0: Memory at c1200000 (64-bit, non-prefetchable) Region 2: Memory at c1000000 (64-bit, non-prefetchable) Capabilities: [48] Power Management version 3 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 NoSoftRst+ PME-Enable+ DSel=0 DScale=2 PME- Capabilities: [58] MSI: Enable+ Count=1/1 Maskable- 64bit+ Address: 00000000fee00ef8 Data: 0000 Capabilities: [68] Vendor Specific Information: Len=44 <?> Capabilities: [ac] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset- SlotPowerLimit 10.000W DevCtl: CorrErr+ NonFatalErr+ FatalErr+ UnsupReq+ RlxdOrd+ ExtTag- PhantFunc- AuxPwr+ NoSnoop+ MaxPayload 128 bytes, MaxReadReq 1024 bytes DevSta: CorrErr- NonFatalErr- FatalErr- UnsupReq- AuxPwr+ TransPend- LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <2us, L1 <32us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM L0s L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 2.5GT/s (ok), Width x1 (ok) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Range ABCD, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Via WAKE#, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, AtomicOpsCtl: ReqEn- LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v1] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr- CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [13c v1] Device Serial Number 14-c2-00-ff-ff-00-00-01 Capabilities: [150 v1] Power Budgeting <?> Capabilities: [160 v1] Virtual Channel Caps: LPEVC=0 RefClk=100ns PATEntryBits=1 Arb: Fixed- WRR32- WRR64- WRR128- Ctrl: ArbSelect=Fixed Status: InProgress- VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans- Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256- Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff Status: NegoPending- InProgress- Capabilities: [1b0 v1] Latency Tolerance Reporting Max snoop latency: 3145728ns Max no snoop latency: 3145728ns Capabilities: [220 v1] Physical Resizable BAR BAR 2: current size: 2MB, supported: 1MB 2MB 04:00.0 SATA controller: Samsung Electronics Co Ltd Device a801 (rev 01) (prog-if 01 [AHCI 1.0]) Subsystem: Samsung Electronics Co Ltd Device a801 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort+ <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 16 Region 5: Memory at c1300000 (32-bit, non-prefetchable) Capabilities: [40] Power Management version 3 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- Capabilities: [50] MSI: Enable+ Count=1/8 Maskable- 64bit+ Address: 00000000fee01078 Data: 0000 Capabilities: [70] Express (v2) Endpoint, MSI 00 DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s unlimited, L1 unlimited ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset+ SlotPowerLimit 25.000W DevCtl: CorrErr- NonFatalErr- FatalErr- UnsupReq- RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ FLReset- MaxPayload 128 bytes, MaxReadReq 512 bytes DevSta: CorrErr+ NonFatalErr- FatalErr- UnsupReq+ AuxPwr+ TransPend- LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us ClockPM+ Surprise- LLActRep- BwNot- ASPMOptComp+ LnkCtl: ASPM L1 Enabled; RCB 64 bytes, Disabled- CommClk+ ExtSynch- ClockPM+ AutWidDis- BWInt- AutBWInt- LnkSta: Speed 5GT/s (downgraded), Width x4 (ok) TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- DevCap2: Completion Timeout: Not Supported, TimeoutDis+ NROPrPrP- LTR+ 10BitTagComp- 10BitTagReq- OBFF Not Supported, ExtFmt- EETLPPrefix- EmergencyPowerReduction Not Supported, EmergencyPowerReductionInit- FRS- TPHComp- ExtTPHComp- DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis- LTR+ OBFF Disabled, AtomicOpsCtl: ReqEn- LnkCap2: Supported Link Speeds: 2.5-8GT/s, Crosslink- Retimer- 2Retimers- DRS- LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis- Transmit Margin: Normal Operating Range, EnterModifiedCompliance- ComplianceSOS- Compliance De-emphasis: -6dB LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete- EqualizationPhase1- EqualizationPhase2- EqualizationPhase3- LinkEqualizationRequest- Retimer- 2Retimers- CrosslinkRes: unsupported Capabilities: [100 v2] Advanced Error Reporting UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol- UESvrt: DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol- CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- AdvNonFatalErr+ AERCap: First Error Pointer: 00, ECRCGenCap+ ECRCGenEn- ECRCChkCap+ ECRCChkEn- MultHdrRecCap- MultHdrRecEn- TLPPfxPres- HdrLogCap- HeaderLog: 00000000 00000000 00000000 00000000 Capabilities: [148 v1] Device Serial Number 00-00-00-00-00-00-00-00 Capabilities: [158 v1] Power Budgeting <?> Capabilities: [168 v1] Secondary PCI Express LnkCtl3: LnkEquIntrruptEn- PerformEqu- LaneErrStat: 0 Capabilities: [188 v1] Latency Tolerance Reporting Max snoop latency: 3145728ns Max no snoop latency: 3145728ns Capabilities: [190 v1] L1 PM Substates L1SubCap: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+ L1_PM_Substates+ PortCommonModeRestoreTime=10us PortTPowerOnTime=50us L1SubCtl1: PCI-PM_L1.2- PCI-PM_L1.1- ASPM_L1.2- ASPM_L1.1- T_CommonMode=0us LTR1.2_Threshold=0ns L1SubCtl2: T_PwrOn=10us Summary of buses: 00: Primary host bus 1c.5 Bridge to 04-04 1c.4 Bridge to 05-ff 1c.2 Bridge to 03-03 1c.1 Bridge to 02-02 1c.0 Bridge to 01-01 03: Entered via 00:1c.2 04: Entered via 00:1c.5 Attached are 2 dumps: - MacBookAir7,2 PCI dump using intel-conf1 - MacBookAir7,2 PCI dump using darwin default accessor and debug=0x144 MacBookAir7,2-pci-darwin.txt MacBookAir7,2-pci-intelconf1.txt 1 Link to comment Share on other sites More sharing options...
LockDown Posted January 19, 2021 Share Posted January 19, 2021 Error using Xcode 10.1 on High Sierra 10.13.6 Last login: Tue Jan 19 14:42:27 on ttys001 ellas-iMac:~ ella$ cd /Users/ella/Desktop/pciutils-osx-master ellas-iMac:pciutils-osx-master ella$ make cd lib && ./configure Configuring libpci for your system... x86_64--darwin 17.7.0 x86_64 darwin Looking for access methods... i386-ports dump Checking for zlib support... yes (auto-detected) Checking for DNS support... yes (auto-detected) Checking whether to build a shared library... no (set manually) /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o init.o init.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o access.o access.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o generic.o generic.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o dump.o dump.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names.o names.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o filter.o filter.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-hash.o names-hash.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-parse.o names-parse.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-net.o names-net.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-cache.o names-cache.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-hwdb.o names-hwdb.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o params.o params.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o caps.o caps.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o i386-ports.o i386-ports.c In file included from i386-ports.c:18: ./i386-io-darwin.h:19:10: fatal error: 'DirectHW/DirectHW.h' file not found #include <DirectHW/DirectHW.h> ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[1]: *** [i386-ports.o] Error 1 make: *** [lib/libpci.a] Error 2 ellas-iMac:pciutils-osx-master ella$ 1 Link to comment Share on other sites More sharing options...
blackosx Posted January 19, 2021 Share Posted January 19, 2021 On 1/17/2021 at 7:36 PM, Andy Vandijck said: I updated DirectHW and pciutils-3.7.0 for macOS Big Sur. Great job Andy! I'll take a look when I can. 2 Link to comment Share on other sites More sharing options...
protocold Posted January 22, 2021 Share Posted January 22, 2021 would this work also on Catalina? Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 23, 2021 Author Share Posted January 23, 2021 I've made some more utilities. - ectool - inteltool - nvramtool - msrtool Enjoy Greetz, Vandijck Andy 3 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 24, 2021 Author Share Posted January 24, 2021 (edited) I've made iwleeprom for macOS. It needs DirectHW.kext installed Also requires boot-args set to "debug=0x144" and root rights. For debugging you can add -D 1 to the app. Output of sudo ./iwleeprom -D 1: debug level: 1 PCI devices: Intel Corporation Wildcat Point-LP Thermal Management Controller: class 0006 id 8086:9ca4 subid 8086:7270 Intel Corporation Wildcat Point-LP SMBus Controller: class 0003 id 8086:9ca2 subid 8086:7270 Intel Corporation Wildcat Point-LP LPC Controller: class 0007 id 8086:9cc3 subid 8086:7270 Samsung Electronics Co Ltd Device a801: class 0406 id 144d:a801 subid 144d:a801 Intel Corporation Wildcat Point-LP PCI Express Root Port #6: class 0007 id 8086:9c9a subid 0000:0000 Intel Corporation Wildcat Point-LP PCI Express Root Port #5: class 0007 id 8086:9c98 subid 007f:0000 Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter: class 0406 id 14e4:43a0 subid 106b:0117 Intel Corporation Wildcat Point-LP PCI Express Root Port #3: class 0007 id 8086:9c94 subid 0000:0000 Intel Corporation Wildcat Point-LP PCI Express Root Port #2: class 0007 id 8086:9c92 subid 007f:0000 Intel Corporation Wildcat Point-LP PCI Express Root Port #1: class 0007 id 8086:9c90 subid 0000:0000 Intel Corporation Wildcat Point-LP High Definition Audio Controller: class 0406 id 8086:9ca0 subid 8086:7270 Intel Corporation Wildcat Point-LP MEI Controller #1: class 0406 id 8086:9cba subid 8086:7270 Intel Corporation Wildcat Point-LP Serial IO GSPI Controller #1: class 0002 id 8086:9ce6 subid 8086:9ce6 Intel Corporation Wildcat Point-LP Serial IO DMA Controller: class 0406 id 8086:9ce0 subid 8086:9ce0 Intel Corporation Wildcat Point-LP USB xHCI Controller: class 0406 id 8086:9cb1 subid 8086:7270 Intel Corporation Broadwell-U Audio Controller: class 0402 id 8086:160c subid 106b:011b Intel Corporation HD Graphics 6000: class 0407 id 8086:1626 subid 106b:011b Intel Corporation Broadwell-U Host Bridge -OPI: class 0006 id 8086:1604 subid 106b:011b Supported devices detected: NONE Unfortunately I don't have an Atheros or Intel WiFi card so I can't test reading and writing but it should work. If somebody could test and give me a report. It is precompiled for macOS Big Sur. For building it under older OS versions you need pciutils-3.7.0 libpci.a and headers under /usr/local/include/pci/ Also needed is DirectHW headers and library (libDirectHW.a and headers under /usr/local/include/DirectHW/DirectHW.h) The tool is also extensible. So if anybody has the routines for writing Broadcom cards I could expand the tool (let me know). EDIT: Did minor bug fix, should work correct now. Edited January 24, 2021 by Andy Vandijck 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 24, 2021 Author Share Posted January 24, 2021 (edited) On 1/19/2021 at 7:45 AM, ellaosx said: Error using Xcode 10.1 on High Sierra 10.13.6 Last login: Tue Jan 19 14:42:27 on ttys001 ellas-iMac:~ ella$ cd /Users/ella/Desktop/pciutils-osx-master ellas-iMac:pciutils-osx-master ella$ make cd lib && ./configure Configuring libpci for your system... x86_64--darwin 17.7.0 x86_64 darwin Looking for access methods... i386-ports dump Checking for zlib support... yes (auto-detected) Checking for DNS support... yes (auto-detected) Checking whether to build a shared library... no (set manually) /Applications/Xcode.app/Contents/Developer/usr/bin/make -C lib all gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o init.o init.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o access.o access.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o generic.o generic.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o dump.o dump.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names.o names.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o filter.o filter.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-hash.o names-hash.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-parse.o names-parse.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-net.o names-net.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-cache.o names-cache.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-hwdb.o names-hwdb.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o params.o params.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o caps.o caps.c gcc -O2 -F/Library/Frameworks -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o i386-ports.o i386-ports.c In file included from i386-ports.c:18: ./i386-io-darwin.h:19:10: fatal error: 'DirectHW/DirectHW.h' file not found #include <DirectHW/DirectHW.h> ^~~~~~~~~~~~~~~~~~~~~ 1 error generated. make[1]: *** [i386-ports.o] Error 1 make: *** [lib/libpci.a] Error 2 ellas-iMac:pciutils-osx-master ella$ You need to build DirectHW using the Xcode project. You need DirectHW.h in /usr/local/include/DirectHW/DirectHW.h You also need libDirectHW.a in /usr/local/lib/libDirectHW.a patch Makefile to do -lDirectHW instead of -framework DirectHW Then it will build fine. If you plan to build the other tools: Copy libpci.a to /usr/local/lib Under /usr/local/include/pci copy everything from lib/*.h to /usr/local/include/pci/ #!/bin/sh # # DirectHW sudo mkdir /usr/local/include/DirectHW/ sudo cp -Rf "${HOME}/Downloads/DirectHW-BigSur/DirectHW/DirectHW.h" /usr/local/include/DirectHW/ sudo cp -Rf "${HOME}/Downloads/DirectHW-BigSur/DirectHW/build/Release/libDirectHW.a" /usr/local/lib/ # # Libpci sudo mkdir /usr/local/include/pci/ sudo cp -Rf "${HOME}/Downloads/pciutils-osx/lib/*.h" /usr/local/include/pci/ sudo cp -Rf "${HOME}/Downloads/pciutils-osx/lib/libpci.a" /usr/local/lib/ Edited January 24, 2021 by Andy Vandijck 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 25, 2021 Author Share Posted January 25, 2021 On 1/22/2021 at 1:47 AM, protocold said: would this work also on Catalina? If you recompile the projects: yes. Watch post above for info on needed libraries Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 25, 2021 Author Share Posted January 25, 2021 Added versions for Mac OS X 10.9 (Mavericks) and above. They are bundled inside the hwtools zip file. 1 1 Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 25, 2021 Author Share Posted January 25, 2021 (edited) Built kext using older SDK (MacOSX10.9.sdk). It should now work on Mavericks and above. It still has compatibility with Big Sur too. I used new Xcode with old SDK for the kext. Edited January 25, 2021 by Andy Vandijck 1 Link to comment Share on other sites More sharing options...
blackosx Posted January 25, 2021 Share Posted January 25, 2021 (edited) I loaded your DirectHW.kext and tested ectool, flashrom, inteltool, iwleeprom, lspci, msrtool, nvramtool on 10.13. All mostly working! (as discussed in PM). I'll try on BigSur when I can.... EDIT: Tested ectool, flashrom, ifdtool, inteltool, iwleeprom, lspci, mptable, msrtool, nvramtool, osxpmem superiotool on BigSur and all working except: inteltool shows segmentation fault after RCBA ============= RCBA ============== Error(IOConnectMapMemory): system 0x38 subsystem 0x0 code 0x2c2 physical 0x 0[0x4000] Invalid argument. RCBA = 0x00000000 (MEM) zsh: segmentation fault sudo ./inteltool -a nvramtool gave me similar output to what I saw on High Sierra where only -x option worked, otherwise % sudo ./nvramtool -d nvramtool: coreboot table not found. coreboot does not appear to be installed on this system. Scanning for the table produced the following results: 0 valid signatures were found with bad header checksums. 0 valid headers were found with bad table checksums. All working except I couldn't get anything from osxpmem % kmutil showloaded | grep rekall No variant specified, falling back to release 177 0 0xffffff7fa240e000 0x2000 0x2000 com.rekall.driver (1) D19ED361-50D5-340D-AF77-985BA5DE1A74 <8 6 5 3 1> % ls /dev/pmem /dev/pmem sudo ./osxpmem -d Cannot load kext ./pmem.kext display_mmap(789): Failed to load kext (No such file or directory) I have results saved to discuss maybe tomorrow. Edited January 25, 2021 by blackosx Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 26, 2021 Author Share Posted January 26, 2021 Did anybody test iwleeprom (reading/writing) with an Atheros card? Please, give a report and output and dump. Thanks! Link to comment Share on other sites More sharing options...
blackosx Posted January 30, 2021 Share Posted January 30, 2021 (edited) Hi Andy On an iMac11,3 running 10.13.6 I see en1: Card Type: AirPort Extreme (0x168C, 0x8F) Firmware Version: Atheros 9280: 4.0.74.0-P2P $ uname -a Darwin iMac.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64 $ sudo ./iwleeprom -D 1 debug level: 1 PCI devices: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem: class 0000 id 8086:3b32 subid 8086:0000 Intel Corporation 5 Series/3400 Series Chipset SMBus Controller: class 0001 id 8086:3b30 subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller: class 0007 id 8086:3b22 subid 8086:7270 Intel Corporation P55 Chipset LPC Interface Controller: class 0007 id 8086:3b02 subid 8086:7270 Intel Corporation 82801 PCI Bridge: class 0007 id 8086:244e subid 0000:0000 Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006 id 8086:3b34 subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000 id 8086:3b36 subid 8086:7270 Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express]: class 0006 id 104c:823f subid 0000:0000 Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express]: class 0017 id 104c:823e subid 0000:0000 Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3: class 0007 id 8086:3b46 subid 0000:0000 Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express): class 0147 id 168c:002a subid 106b:008f [RW, ath9k] AR928X Wireless Adapter (PCI-E) Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2: class 0007 id 8086:3b44 subid 0000:0000 Broadcom Inc. and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe: class 0406 id 14e4:1684 subid 14e4:1684 Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1: class 0007 id 8086:3b42 subid 0000:0000 Intel Corporation 5 Series/3400 Series Chipset High Definition Audio: class 0406 id 8086:3b56 subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006 id 8086:3b3c subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000 id 8086:3b3b subid 8086:7270 Intel Corporation Core Processor QPI Routing and Protocol Registers: class 0000 id 8086:d151 subid 0000:0000 Intel Corporation Core Processor QPI Link: class 0000 id 8086:d150 subid 0000:0000 Intel Corporation Core Processor Miscellaneous Registers: class 0000 id 8086:d158 subid 0000:0000 Intel Corporation Core Processor System Control and Status Registers: class 0000 id 8086:d157 subid 0000:0000 Intel Corporation Core Processor Semaphore and Scratchpad Registers: class 0000 id 8086:d156 subid 0000:0000 Intel Corporation Core Processor System Management Registers: class 0000 id 8086:d155 subid 0000:0000 Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]: class 0406 id 1002:aa58 subid 106b:aa58 Advanced Micro Devices, Inc. [AMD/ATI] Broadway PRO [Mobility Radeon HD 5850]: class 0407 id 1002:68a1 subid 106b:00cc Intel Corporation Core Processor PCI Express Root Port 1: class 0147 id 8086:d138 subid 000f:0000 Intel Corporation Core Processor DMI: class 0000 id 8086:d131 subid 8086:0000 Supported devices detected: Segmentation fault: 11 $ sudo ./iwleeprom -o dump Password: Supported devices detected: Segmentation fault: 11 EDIT: This is using the files from your hwtools-osx-10.9-and-above.zip I also see the same using the binary in iwleeprom-osx.zip Edited January 30, 2021 by blackosx Link to comment Share on other sites More sharing options...
Andy Vandijck Posted January 31, 2021 Author Share Posted January 31, 2021 On 1/30/2021 at 2:16 PM, blackosx said: Hi Andy On an iMac11,3 running 10.13.6 I see en1: Card Type: AirPort Extreme (0x168C, 0x8F) Firmware Version: Atheros 9280: 4.0.74.0-P2P $ uname -a Darwin iMac.local 17.7.0 Darwin Kernel Version 17.7.0: Fri Oct 30 13:34:27 PDT 2020; root:xnu-4570.71.82.8~1/RELEASE_X86_64 x86_64 $ sudo ./iwleeprom -D 1 debug level: 1 PCI devices: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem: class 0000 id 8086:3b32 subid 8086:0000 Intel Corporation 5 Series/3400 Series Chipset SMBus Controller: class 0001 id 8086:3b30 subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller: class 0007 id 8086:3b22 subid 8086:7270 Intel Corporation P55 Chipset LPC Interface Controller: class 0007 id 8086:3b02 subid 8086:7270 Intel Corporation 82801 PCI Bridge: class 0007 id 8086:244e subid 0000:0000 Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006 id 8086:3b34 subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000 id 8086:3b36 subid 8086:7270 Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express]: class 0006 id 104c:823f subid 0000:0000 Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express]: class 0017 id 104c:823e subid 0000:0000 Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3: class 0007 id 8086:3b46 subid 0000:0000 Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express): class 0147 id 168c:002a subid 106b:008f [RW, ath9k] AR928X Wireless Adapter (PCI-E) Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2: class 0007 id 8086:3b44 subid 0000:0000 Broadcom Inc. and subsidiaries NetXtreme BCM5764M Gigabit Ethernet PCIe: class 0406 id 14e4:1684 subid 14e4:1684 Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1: class 0007 id 8086:3b42 subid 0000:0000 Intel Corporation 5 Series/3400 Series Chipset High Definition Audio: class 0406 id 8086:3b56 subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller: class 0006 id 8086:3b3c subid 8086:7270 Intel Corporation 5 Series/3400 Series Chipset USB Universal Host Controller: class 0000 id 8086:3b3b subid 8086:7270 Intel Corporation Core Processor QPI Routing and Protocol Registers: class 0000 id 8086:d151 subid 0000:0000 Intel Corporation Core Processor QPI Link: class 0000 id 8086:d150 subid 0000:0000 Intel Corporation Core Processor Miscellaneous Registers: class 0000 id 8086:d158 subid 0000:0000 Intel Corporation Core Processor System Control and Status Registers: class 0000 id 8086:d157 subid 0000:0000 Intel Corporation Core Processor Semaphore and Scratchpad Registers: class 0000 id 8086:d156 subid 0000:0000 Intel Corporation Core Processor System Management Registers: class 0000 id 8086:d155 subid 0000:0000 Advanced Micro Devices, Inc. [AMD/ATI] Juniper HDMI Audio [Radeon HD 5700 Series]: class 0406 id 1002:aa58 subid 106b:aa58 Advanced Micro Devices, Inc. [AMD/ATI] Broadway PRO [Mobility Radeon HD 5850]: class 0407 id 1002:68a1 subid 106b:00cc Intel Corporation Core Processor PCI Express Root Port 1: class 0147 id 8086:d138 subid 000f:0000 Intel Corporation Core Processor DMI: class 0000 id 8086:d131 subid 8086:0000 Supported devices detected: Segmentation fault: 11 $ sudo ./iwleeprom -o dump Password: Supported devices detected: Segmentation fault: 11 EDIT: This is using the files from your hwtools-osx-10.9-and-above.zip I also see the same using the binary in iwleeprom-osx.zip I need crash reporter output to locate the problem. Would you please attach this? Link to comment Share on other sites More sharing options...
blackosx Posted January 31, 2021 Share Posted January 31, 2021 (edited) Okay. Next time I get access to that machine I'll get it for you. EDIT: Sent in PM Edited February 1, 2021 by blackosx Link to comment Share on other sites More sharing options...
Andy Vandijck Posted February 2, 2021 Author Share Posted February 2, 2021 On 1/31/2021 at 5:31 PM, blackosx said: Okay. Next time I get access to that machine I'll get it for you. EDIT: Sent in PM I fixed iwleeprom. It should work now. If you would be so kind to also attach the ROM dump and program output. 1 Link to comment Share on other sites More sharing options...
Slice Posted February 2, 2021 Share Posted February 2, 2021 Andy, did you see this project? https://github.com/CloverHackyColor/directhw.git Link to comment Share on other sites More sharing options...
Andy Vandijck Posted February 8, 2021 Author Share Posted February 8, 2021 I changed the iwleeprom approach. New version available. Link to comment Share on other sites More sharing options...
Inspector42 Posted June 22, 2021 Share Posted June 22, 2021 (edited) I have been recently attempting to use setpci to force PCIe 2.0 speeds for an NVMe installed in slot 2 of my MacPro3,1 with Catalina and OpenCore. It only seems to work with SIP disabled. With SIP enables ApplePlatformExpert cannot be opened despite “debug=0x144. Since SIP is not mentioned here or in threads at macrumors.com I am starting to wonder, if I have some other issues with the system or OpenCore. Any suggestions where to start looking ? Update: ALLOW_KERNEL_DEBUGGER in SIP fixes it. csr-active-config needs to be set to <08000000> Edited July 1, 2021 by Inspector42 1 Link to comment Share on other sites More sharing options...
deeveedee Posted May 3, 2022 Share Posted May 3, 2022 (edited) EDIT: I'm leaving my observations below after determining that msrtool does not appear to have the definition of MSR address 0x610 for my rig. Using the addr argument to msrtool, I am able to read MSR at address 0x610 and find that this value is consistent with the value reported by Hackintool. Now I just need to figure out how to modify the MSR value... ===================================== Andy - thank you for your hard work! I have successfully built msrtool on my Coffee Lake rig running Big Sur 11.6.5 (full system details below). Should msrtool be expected to work on Coffee Lake platforms? More details below. Thank you. EDIT: Here is the output when I run "msrtool -k". I thought you added *lake architectures, but I don't see any listed here. Spoiler Known systems: linux: Linux with /dev/cpu/*/msr darwin: Mac OS X with DirectHW freebsd: FreeBSD with /dev/cpuctl* Known targets: geodegx2: AMD Geode(tm) GX2 geodelx: AMD Geode(tm) LX cs5536: AMD Geode(tm) CS5536 K8: AMD K8 Family via_c7: VIA Esther processor, C7 intel_pentium3_early: Intel Pentium III family intel_pentium3: Intel Pentium III Xeon Processor, Intel Pentium III Processor intel_core1: Intel Core Duo, Intel Core Solo processors intel_core2_early: Intel Xeon Processor 3000, 3200, 5100, 5300, 7300 series, Intel Core 2 Quad processor 6000 series, Intel Core 2 Extreme 6000 series, Intel Core 2 Duo 4000, 5000, 6000, 7000 series processors, Intel Pentium dual-core processors intel_core2_later: Intel Xeon Processor 5200, 5400 series, Intel Core 2 Quad processors 8000, 9000 series intel_pentium4_early: Intel Xeon Processor, Intel Xeon Processor MP, Intel Pentium 4 processors intel_pentium4_later: Intel Xeon Processor, Intel Xeon Processor MP, Intel Pentium 4, Pentium D processors intel_pentium_d: Intel Pentium D processors intel_nehalem: Intel Core i5, i7 Processors, Intel Xeon Processor 3400, 3500, 5500, based on Nehalem architecture intel_atom: Intel Atom Processors, N450 More details... I was hoping to use msrtool to modify package power limits which I can see with Hackintool / AppleIntelInfo.kext as follows: I ran msrtool with argument "-l" and do not see package power limits listed in the known MSR fields. I also noticed that the detected target is intel_nehalem even though my rig is Coffee Lake. If I don't see the desired MSR fields in msrtool's -l listing, is there a way to view / modify package power limits with msrtool? If I'm interpreting the Hackintool output correctly , the MSR address is 0x610. The last MSR address listed by "msrtool -kl" appears to be 0x600: Thank you. System details: HP EliteDesk 800 G4 Mini 65W, Q370 Chipset, i5-8600 CPU / UHD630 Open Core 0.8.0 Big Sur 11.6.5 I am using the following from your first post to build msrtool: pciutils-3.7.0-osx.zip msrtool-osx.zip hwtools-osx10.9-and-above.zip Edited May 3, 2022 by deeveedee Link to comment Share on other sites More sharing options...
startergo Posted January 2, 2023 Share Posted January 2, 2023 On 1/17/2021 at 2:36 PM, Andy Vandijck said: I updated DirectHW and pciutils-3.7.0 for macOS Big Sur. It has 4 PCI accessor methods: - default: darwin accessor, requires boot arg debug=0x144 & run as root. - intel-conf1: DirectHW accessor 1, requires root - intel-conf2: DirectHW accessor 2, requires root - dump: read from dump file * You can set these with the -A flag. DirectHW for macOS Big Sur repo: https://github.com/vampirecat35/DirectHW-BigSur pciutis-3.7.0 for macOS Big Sur repo: https://github.com/vampirecat35/pciutils-osx Flashrom-1.2 for macOS Big Sur repo: https://github.com/vampirecat35/flashrom-osx iwleeprom for macOS Big Sur repo: https://github.com/vampirecat35/iwleeprom-osx ectool, msrtool, inteltool, ifdtool, superiotool, mptable, osxpmem and nvramtool repo: https://github.com/vampirecat35/hwtools-osx ECTool for macOS: Tool to read embedded controller info. nvramtool for macOS: Tool for nvram info. inteltool for macOS: Intel CPU/chipset info. msrtool for macOS: Model Specific Register info. iwleeprom for macOS: Flashing and reading Intel ROM and Atheros ROM to WiFi card. EDIT: Built a version for Mac OS X 10.9 and above. It targets Xcode's minimum deployment target (10.9) It's bundled inside the hwtools zip file. DirectHW for older targets also attached now (DirectHW-macOS). Also replaced hwtools zip file (fix kext). EDIT2: Fixed nvramtool for macOS. Changed /dev/mem to /dev/pmem for Apple. Needs MacPmem.kext (included in hwtools zip file). EDIT3: Added new AMD+Intel CPU models to msrtool. Added AMD family 16 and 17. Added Intel *lake cpu models. Added sandy bridge cpu models. EDIT4: Fixed nvramtool. EDIT5: Added superior-tool and ifdtool. EDIT6: iwleeprom fixes. EDIT7: New approach to iwleeprom. pciutils-3.7.0-osx.zip 1.77 MB · 69 downloads DirectHW-BigSur.zip 919.22 kB · 74 downloads flashrom-v1.2-osx.zip 5.49 MB · 37 downloads ectool-osx.zip 15.63 kB · 38 downloads inteltool-osx.zip 319.34 kB · 34 downloads DirectHW-macOS.zip 964.14 kB · 31 downloads msrtool-osx.zip 384.76 kB · 27 downloads nvramtool-osx.zip 220.13 kB · 22 downloads OSXPMem.zip 172.41 kB · 17 downloads mptable-osx.zip 32.45 kB · 17 downloads superiotool-osx.zip 173.38 kB · 15 downloads ifdtool-osx.zip 48.21 kB · 20 downloads iwleeprom-osx.zip 1.22 MB · 18 downloads hwtools-osx-10.9-and-above.zip 1.49 MB · 49 downloads Hi Andy, I am getting error in Monterey: sudo lspci -A darwin lspci: darwin_read: kACPIMethodAddressSpaceRead failed: (ipc/send) invalid destination port Link to comment Share on other sites More sharing options...
LockDown Posted January 3, 2023 Share Posted January 3, 2023 8 hours ago, startergo said: Hi Andy, I am getting error in Monterey what are you trying to do? sudo lspci -nn is enough to list your PCI Link to comment Share on other sites More sharing options...
startergo Posted January 4, 2023 Share Posted January 4, 2023 (edited) On 1/2/2023 at 8:16 PM, LockDown said: what are you trying to do? sudo lspci -nn is enough to list your PCI That is the problem that it does not work anymore under Monterey and Ventura. It is a problem for the pciutils. I have compared the results in Mac and in Linux. It is not listing everything in Mac. @joevt already fixed the pciutils: https://github.com/joevt/pciutils sudo lspci -A darwin Password: 00:00.0 Host bridge: Intel Corporation Sky Lake-E DMI3 Registers (rev 07) 00:04.0 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.1 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.2 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.3 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.4 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.5 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.6 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.7 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:05.0 System peripheral: Intel Corporation Sky Lake-E MM/Vt-d Configuration Registers (rev 07) 00:05.2 System peripheral: Intel Corporation Sky Lake-E RAS (rev 07) 00:05.4 PIC: Intel Corporation Sky Lake-E IOAPIC (rev 07) 00:08.0 System peripheral: Intel Corporation Sky Lake-E Ubox Registers (rev 07) 00:08.1 Performance counters: Intel Corporation Sky Lake-E Ubox Registers (rev 07) 00:08.2 System peripheral: Intel Corporation Sky Lake-E Ubox Registers (rev 07) 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller 00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem 00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1 00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode] 00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #17 (rev f0) 00:1b.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #21 (rev f0) 00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0) 00:1c.2 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #3 (rev f0) 00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0) 00:1d.2 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #11 (rev f0) 00:1f.0 ISA bridge: Intel Corporation X299 Chipset LPC/eSPI Controller 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller 00:1f.5 Non-VGA unclassified device: Illegal Vendor ID Device ffff 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM 02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) 05:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 06:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 16:00.0 PCI bridge: Intel Corporation Sky Lake-E PCI Express Root Port A (rev 07) 16:05.0 System peripheral: Intel Corporation Sky Lake-E VT-d (rev 07) 16:05.2 System peripheral: Intel Corporation Sky Lake-E RAS Configuration Registers (rev 07) 16:05.4 PIC: Intel Corporation Sky Lake-E IOxAPIC Configuration Registers (rev 07) 16:08.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0a.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0a.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:10.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:10.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1e.0 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.1 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.2 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.3 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.4 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.5 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.6 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 17:00.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 18:08.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 18:10.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 18:11.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 19:00.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:04.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:08.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:10.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:14.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:15.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev c7) 1b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 1c:00.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:01.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:02.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:03.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:04.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1f:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 21:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 22:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c0) 23:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch 24:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c0) 24:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller 24:00.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 73a6 24:00.3 Serial bus controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 USB 27:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC (rev 01) 28:00.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:00.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:04.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:08.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:0c.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 2a:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 2b:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 2c:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 2d:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 64:00.0 PCI bridge: Intel Corporation Sky Lake-E PCI Express Root Port A (rev 07) 64:05.0 System peripheral: Intel Corporation Sky Lake-E VT-d (rev 07) 64:05.2 System peripheral: Intel Corporation Sky Lake-E RAS Configuration Registers (rev 07) 64:05.4 PIC: Intel Corporation Sky Lake-E IOxAPIC Configuration Registers (rev 07) 64:08.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:09.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.1 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.2 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.3 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.4 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.5 System peripheral: Intel Corporation Sky Lake-E LM Channel 1 (rev 07) 64:0a.6 System peripheral: Intel Corporation Sky Lake-E LMS Channel 1 (rev 07) 64:0a.7 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 1 (rev 07) 64:0b.0 System peripheral: Intel Corporation Sky Lake-E DECS Channel 2 (rev 07) 64:0b.1 System peripheral: Intel Corporation Sky Lake-E LM Channel 2 (rev 07) 64:0b.2 System peripheral: Intel Corporation Sky Lake-E LMS Channel 2 (rev 07) 64:0b.3 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 2 (rev 07) 64:0c.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.1 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.2 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.3 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.4 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.5 System peripheral: Intel Corporation Sky Lake-E LM Channel 1 (rev 07) 64:0c.6 System peripheral: Intel Corporation Sky Lake-E LMS Channel 1 (rev 07) 64:0c.7 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 1 (rev 07) 64:0d.0 System peripheral: Intel Corporation Sky Lake-E DECS Channel 2 (rev 07) 64:0d.1 System peripheral: Intel Corporation Sky Lake-E LM Channel 2 (rev 07) 64:0d.2 System peripheral: Intel Corporation Sky Lake-E LMS Channel 2 (rev 07) 64:0d.3 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 2 (rev 07) 65:00.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 66:08.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 66:10.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 67:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch 68:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch 69:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 WKS-XL [Radeon PRO W6600] 69:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller 6a:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch 6b:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch 6c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 GL-XL [Radeon PRO W6800] 6c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller b2:05.0 System peripheral: Intel Corporation Sky Lake-E VT-d (rev 07) b2:05.2 System peripheral: Intel Corporation Sky Lake-E RAS Configuration Registers (rev 07) b2:05.4 PIC: Intel Corporation Sky Lake-E IOxAPIC Configuration Registers (rev 07) b2:12.0 Performance counters: Intel Corporation Sky Lake-E M3KTI Registers (rev 07) b2:12.1 Performance counters: Intel Corporation Sky Lake-E M3KTI Registers (rev 07) b2:12.2 System peripheral: Intel Corporation Sky Lake-E M3KTI Registers (rev 07) b2:15.0 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:15.1 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) b2:16.0 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:16.1 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) b2:16.4 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:16.5 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) b2:17.0 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:17.1 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) Edited January 4, 2023 by startergo Link to comment Share on other sites More sharing options...
Slice Posted January 4, 2023 Share Posted January 4, 2023 7 hours ago, startergo said: That is the problem that it does not work anymore under Monterey and Ventura. It is a problem for the pciutils. I have compared the results in Mac and in Linux. It is not listing everything in Mac. @joevt already fixed the pciutils: https://github.com/joevt/pciutils sudo lspci -A darwin Password: 00:00.0 Host bridge: Intel Corporation Sky Lake-E DMI3 Registers (rev 07) 00:04.0 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.1 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.2 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.3 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.4 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.5 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.6 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:04.7 System peripheral: Intel Corporation Sky Lake-E CBDMA Registers (rev 07) 00:05.0 System peripheral: Intel Corporation Sky Lake-E MM/Vt-d Configuration Registers (rev 07) 00:05.2 System peripheral: Intel Corporation Sky Lake-E RAS (rev 07) 00:05.4 PIC: Intel Corporation Sky Lake-E IOAPIC (rev 07) 00:08.0 System peripheral: Intel Corporation Sky Lake-E Ubox Registers (rev 07) 00:08.1 Performance counters: Intel Corporation Sky Lake-E Ubox Registers (rev 07) 00:08.2 System peripheral: Intel Corporation Sky Lake-E Ubox Registers (rev 07) 00:14.0 USB controller: Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller 00:14.2 Signal processing controller: Intel Corporation 200 Series PCH Thermal Subsystem 00:16.0 Communication controller: Intel Corporation 200 Series PCH CSME HECI #1 00:17.0 SATA controller: Intel Corporation 200 Series PCH SATA controller [AHCI mode] 00:1b.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #17 (rev f0) 00:1b.4 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #21 (rev f0) 00:1c.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #1 (rev f0) 00:1c.2 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #3 (rev f0) 00:1d.0 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #9 (rev f0) 00:1d.2 PCI bridge: Intel Corporation 200 Series PCH PCI Express Root Port #11 (rev f0) 00:1f.0 ISA bridge: Intel Corporation X299 Chipset LPC/eSPI Controller 00:1f.2 Memory controller: Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller 00:1f.3 Audio device: Intel Corporation 200 Series PCH HD Audio 00:1f.4 SMBus: Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller 00:1f.5 Non-VGA unclassified device: Illegal Vendor ID Device ffff 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-LM 02:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983 04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03) 05:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 06:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 16:00.0 PCI bridge: Intel Corporation Sky Lake-E PCI Express Root Port A (rev 07) 16:05.0 System peripheral: Intel Corporation Sky Lake-E VT-d (rev 07) 16:05.2 System peripheral: Intel Corporation Sky Lake-E RAS Configuration Registers (rev 07) 16:05.4 PIC: Intel Corporation Sky Lake-E IOxAPIC Configuration Registers (rev 07) 16:08.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:08.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:09.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0a.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0a.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0e.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.4 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.5 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.6 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:0f.7 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:10.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:10.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.0 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.1 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.2 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1d.3 System peripheral: Intel Corporation Sky Lake-E CHA Registers (rev 07) 16:1e.0 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.1 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.2 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.3 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.4 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.5 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 16:1e.6 System peripheral: Intel Corporation Sky Lake-E PCU Registers (rev 07) 17:00.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 18:08.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 18:10.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 18:11.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 19:00.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:04.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:08.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:10.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:14.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1a:15.0 PCI bridge: PLX Technology, Inc. PEX 8680 80-lane, 20-Port PCI Express Gen 2 (5.0 GT/s) Multi-Root Switch (rev aa) 1b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev c7) 1b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 1c:00.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:01.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:02.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:03.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1d:04.0 PCI bridge: PLX Technology, Inc. Device 8714 (rev ab) 1f:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 21:00.0 USB controller: ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller 22:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c0) 23:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch 24:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c0) 24:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller 24:00.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 73a6 24:00.3 Serial bus controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 USB 27:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43602 802.11ac Wireless LAN SoC (rev 01) 28:00.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:00.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:04.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:08.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 29:0c.0 PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch (rev 01) 2a:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 2b:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 2c:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 2d:00.0 Non-Volatile memory controller: Phison Electronics Corporation E12 NVMe Controller (rev 01) 64:00.0 PCI bridge: Intel Corporation Sky Lake-E PCI Express Root Port A (rev 07) 64:05.0 System peripheral: Intel Corporation Sky Lake-E VT-d (rev 07) 64:05.2 System peripheral: Intel Corporation Sky Lake-E RAS Configuration Registers (rev 07) 64:05.4 PIC: Intel Corporation Sky Lake-E IOxAPIC Configuration Registers (rev 07) 64:08.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:09.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.1 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.2 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.3 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.4 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0a.5 System peripheral: Intel Corporation Sky Lake-E LM Channel 1 (rev 07) 64:0a.6 System peripheral: Intel Corporation Sky Lake-E LMS Channel 1 (rev 07) 64:0a.7 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 1 (rev 07) 64:0b.0 System peripheral: Intel Corporation Sky Lake-E DECS Channel 2 (rev 07) 64:0b.1 System peripheral: Intel Corporation Sky Lake-E LM Channel 2 (rev 07) 64:0b.2 System peripheral: Intel Corporation Sky Lake-E LMS Channel 2 (rev 07) 64:0b.3 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 2 (rev 07) 64:0c.0 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.1 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.2 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.3 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.4 System peripheral: Intel Corporation Sky Lake-E Integrated Memory Controller (rev 07) 64:0c.5 System peripheral: Intel Corporation Sky Lake-E LM Channel 1 (rev 07) 64:0c.6 System peripheral: Intel Corporation Sky Lake-E LMS Channel 1 (rev 07) 64:0c.7 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 1 (rev 07) 64:0d.0 System peripheral: Intel Corporation Sky Lake-E DECS Channel 2 (rev 07) 64:0d.1 System peripheral: Intel Corporation Sky Lake-E LM Channel 2 (rev 07) 64:0d.2 System peripheral: Intel Corporation Sky Lake-E LMS Channel 2 (rev 07) 64:0d.3 System peripheral: Intel Corporation Sky Lake-E LMDP Channel 2 (rev 07) 65:00.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 66:08.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 66:10.0 PCI bridge: PLX Technology, Inc. PEX 8747 48-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev ca) 67:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch 68:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch 69:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 WKS-XL [Radeon PRO W6600] 69:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller 6a:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch 6b:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch 6c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 GL-XL [Radeon PRO W6800] 6c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller b2:05.0 System peripheral: Intel Corporation Sky Lake-E VT-d (rev 07) b2:05.2 System peripheral: Intel Corporation Sky Lake-E RAS Configuration Registers (rev 07) b2:05.4 PIC: Intel Corporation Sky Lake-E IOxAPIC Configuration Registers (rev 07) b2:12.0 Performance counters: Intel Corporation Sky Lake-E M3KTI Registers (rev 07) b2:12.1 Performance counters: Intel Corporation Sky Lake-E M3KTI Registers (rev 07) b2:12.2 System peripheral: Intel Corporation Sky Lake-E M3KTI Registers (rev 07) b2:15.0 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:15.1 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) b2:16.0 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:16.1 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) b2:16.4 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:16.5 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) b2:17.0 System peripheral: Intel Corporation Sky Lake-E M2PCI Registers (rev 07) b2:17.1 Performance counters: Intel Corporation Sky Lake-E DDRIO Registers (rev 07) Sorry for the stupid question, I didn't understand you. The problem still exists or it is fixed? Link to comment Share on other sites More sharing options...
Recommended Posts