[coreboot] Hudson-D4 (A88X): IRQ routing of XHCI seems incomplete?

2015-07-08 Thread Idwer Vollering
Board: asus/f2a85-m

In AMD Bolton FCH Register Reference Guide (51192), page 2-154, this
register Interrupt Line – RW – 32 bits - [PCI_Reg:3Ch] is 0x12/0x11
while having booted the vendor binary and 0xff/0xff when having booted
coreboot.

Could the erratic value cause SeaBIOS boot issues? See
http://www.coreboot.org/pipermail/seabios/2014-June/008148.html and
http://www.coreboot.org/pipermail/seabios/2014-June/008150.html

lspci -s 10.{0,1} -nnvvvxx output follows.

vendor binary:
00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
USB XHCI Controller [1022:7812] (rev 03) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8527]
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: 64 bytes
Interrupt: pin A routed to IRQ 18
Region 0: Memory at fef4a000 (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: [70] MSI: Enable+ Count=1/8 Maskable- 64bit+
Address: fee13000  Data: 0031
Capabilities: [90] MSI-X: Enable- Count=8 Masked-
Vector table: BAR=0 offset=1000
PBA: BAR=0 offset=1080
Capabilities: [a0] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap:MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl:Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta:CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR+,
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-,
OBFF Disabled
00: 22 10 12 78 06 04 10 00 03 30 03 0c 10 00 80 00
10: 04 a0 f4 fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 27 85
30: 00 00 00 00 50 00 00 00 00 00 00 00 12 01 00 00
40: 00 00 00 00 00 00 00 00 88 00 00 00 08 77 76 76
50: 01 70 03 c8 08 00 00 00 00 00 00 00 00 00 00 00
60: 30 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 05 90 87 00 00 30 e1 fe 00 00 00 00 31 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 11 a0 07 00 00 10 00 00 80 10 00 00 00 00 00 00
a0: 10 00 92 00 c0 8f 00 00 00 28 10 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 10 08 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: fc 1f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 08 17 80 00 00 00 00 00 00 00 00 00 00 00 00 00

00:10.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
USB XHCI Controller [1022:7812] (rev 03) (prog-if 30 [XHCI])
Subsystem: ASUSTeK Computer Inc. Device [1043:8527]
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: 64 bytes
Interrupt: pin B routed to IRQ 17
Region 0: Memory at fef48000 (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: [70] MSI: Enable+ Count=1/8 Maskable- 64bit+
Address: fee1  Data: 0034
Capabilities: [90] MSI-X: Enable- Count=8 Masked-
Vector table: BAR=0 offset=1000
PBA: BAR=0 offset=1080
Capabilities: [a0] Express (v2) Root Complex Integrated Endpoint, MSI 00
DevCap:MaxPayload 128 bytes, PhantFunc 0
ExtTag- RBE+
DevCtl:Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta:CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR+,
OBFF Not Supported
DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-,
OBFF Disabled
00: 22 10 12 78 06 04 10 00 03 30 03 0c 10 00 00 00
10: 04 80 f4 fe 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 27 85
30: 00 00 00 00 50 00 00 00 00 00 00 00 11 02 00 00
40: 00 00 00 00 00 00 00 00 04 00 00 00 11 01 66 00
50: 01 70 03 c8 08 00 00 00 00 00 00 00 00 00 00 00
60: 30 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 05 90 87 00 00 00 e1 fe 00 00 00 00 34 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 11 a0 07 00 00 10 00 00 80 10 00 00 00 00 00 00
a0: 10 00 92 00 c0 

Re: [coreboot] Hudson-D4 (A88X): IRQ routing of XHCI seems incomplete?

2015-07-08 Thread Idwer Vollering
Subject should read Re: Hudson-D4 (A85X): IRQ routing of XHCI seems
incomplete?

2015-07-08 15:59 GMT+02:00 Idwer Vollering vid...@gmail.com:
 Board: asus/f2a85-m

 In AMD Bolton FCH Register Reference Guide (51192), page 2-154, this
 register Interrupt Line – RW – 32 bits - [PCI_Reg:3Ch] is 0x12/0x11
 while having booted the vendor binary and 0xff/0xff when having booted
 coreboot.

This is about hudson, not bolton..
Unfortunately its RRG/RPR/databook is not public :(
http://support.amd.com/en-us/search/tech-docs#k=a85x


 Could the erratic value cause SeaBIOS boot issues? See
 http://www.coreboot.org/pipermail/seabios/2014-June/008148.html and
 http://www.coreboot.org/pipermail/seabios/2014-June/008150.html

 lspci -s 10.{0,1} -nnvvvxx output follows.

 vendor binary:
 00:10.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
 USB XHCI Controller [1022:7812] (rev 03) (prog-if 30 [XHCI])
 Subsystem: ASUSTeK Computer Inc. Device [1043:8527]
 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: 64 bytes
 Interrupt: pin A routed to IRQ 18
 Region 0: Memory at fef4a000 (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: [70] MSI: Enable+ Count=1/8 Maskable- 64bit+
 Address: fee13000  Data: 0031
 Capabilities: [90] MSI-X: Enable- Count=8 Masked-
 Vector table: BAR=0 offset=1000
 PBA: BAR=0 offset=1080
 Capabilities: [a0] Express (v2) Root Complex Integrated Endpoint, MSI 00
 DevCap:MaxPayload 128 bytes, PhantFunc 0
 ExtTag- RBE+
 DevCtl:Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
 RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
 MaxPayload 128 bytes, MaxReadReq 512 bytes
 DevSta:CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
 DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR+,
 OBFF Not Supported
 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-,
 OBFF Disabled
 00: 22 10 12 78 06 04 10 00 03 30 03 0c 10 00 80 00
 10: 04 a0 f4 fe 00 00 00 00 00 00 00 00 00 00 00 00
 20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 27 85
 30: 00 00 00 00 50 00 00 00 00 00 00 00 12 01 00 00
 40: 00 00 00 00 00 00 00 00 88 00 00 00 08 77 76 76
 50: 01 70 03 c8 08 00 00 00 00 00 00 00 00 00 00 00
 60: 30 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 70: 05 90 87 00 00 30 e1 fe 00 00 00 00 31 00 00 00
 80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 90: 11 a0 07 00 00 10 00 00 80 10 00 00 00 00 00 00
 a0: 10 00 92 00 c0 8f 00 00 00 28 10 00 00 00 00 00
 b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 c0: 00 00 00 00 10 08 00 00 00 00 00 00 00 00 00 00
 d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 e0: fc 1f 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 f0: 08 17 80 00 00 00 00 00 00 00 00 00 00 00 00 00

 00:10.1 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] FCH
 USB XHCI Controller [1022:7812] (rev 03) (prog-if 30 [XHCI])
 Subsystem: ASUSTeK Computer Inc. Device [1043:8527]
 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: 64 bytes
 Interrupt: pin B routed to IRQ 17
 Region 0: Memory at fef48000 (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: [70] MSI: Enable+ Count=1/8 Maskable- 64bit+
 Address: fee1  Data: 0034
 Capabilities: [90] MSI-X: Enable- Count=8 Masked-
 Vector table: BAR=0 offset=1000
 PBA: BAR=0 offset=1080
 Capabilities: [a0] Express (v2) Root Complex Integrated Endpoint, MSI 00
 DevCap:MaxPayload 128 bytes, PhantFunc 0
 ExtTag- RBE+
 DevCtl:Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
 RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
 MaxPayload 128 bytes, MaxReadReq 512 bytes
 DevSta:CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr+ TransPend-
 DevCap2: Completion Timeout: Not Supported, TimeoutDis+, LTR+,
 OBFF Not Supported
 DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-,
 OBFF Disabled
 00: 22 10 12 78 06 04 10 00 03 30 03 0c 10 00 00 00
 10: 04 80 f4 fe 00 00 00 00 00 00 00 00 00 00 00 00
 20: 00 00 00 00 00 00 00 00 00 00 00 00 43 10 27 85
 30: 00 00 

Re: [coreboot] Hudson-D4 (A88X): IRQ routing of XHCI seems incomplete?

2015-07-08 Thread Rudolf Marek
Hi


 In AMD Bolton FCH Register Reference Guide (51192), page 2-154, this
 register Interrupt Line – RW – 32 bits - [PCI_Reg:3Ch] is 0x12/0x11
 while having booted the vendor binary and 0xff/0xff when having booted
 coreboot.

Well this register is used only by OS when MPTABLE/ACPI PCI routing fails. The
register is only a storage, it does not drive any logic.Btw 12/11 is wrong as
PCI specs says it can be 0-15 range.

So the issues must be something else.

Thanks
Rudolf


-- 
coreboot mailing list: coreboot@coreboot.org
http://www.coreboot.org/mailman/listinfo/coreboot