[Bug 281722] PCIe is broken on Quartz64 Model A (RK3566)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Sep 2024 09:47:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281722 Bug ID: 281722 Summary: PCIe is broken on Quartz64 Model A (RK3566) Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: arm Assignee: freebsd-arm@FreeBSD.org Reporter: peterj@FreeBSD.org Running -current at g6e414739fc95, verbose boot, with a SATA card in the PCIe slot, reports: pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0000000-0x3c03fffff,0xfe260000-0xfe26ffff,0xf4000000-0xf40fffff irq 36,37,38,39 ,40 on ofwbus0 rk3568_combphy1: configuring for PCIe ref_clk=25000000 pcib0: Bus is not cache-coherent pcib0: Using iATU unroll mode pcib0: Detected outbound iATU regions: 8 pci0: <OFW PCI bus> on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x1d87, dev=0x3566, revid=0x01 domain=0, bus=0, slot=0, func=0 class=06-04-00, hdrtype=0x01, mfdev=0 cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 3 supports D0 D1 D2 D3 current D0 MSI supports 32 messages, 64 bit MSI-X supports 1 message in map 0x10 secbus=0, subbus=0 pcib1: <PCI-PCI bridge> at device 0.0 on pci0 pcib1: Lazy allocation of 1 bus at 1 pcib1: failed to allocate initial I/O port window: 0-0xfff pcib1: failed to allocate initial memory window: 0-0xfffff pcib1: failed to allocate initial prefetch window: 0-0xfffff pcib1: domain 0 pcib1: secondary bus 1 pcib1: subordinate bus 1 pci1: <PCI bus> on pcib1 pcib1: allocated bus range (1-1) for rid 0 of pci1 pci1: domain=0, physical bus=1 found-> vendor=0x197b, dev=0x0585, revid=0x00 domain=0, bus=1, slot=0, func=0 class=01-06-01, hdrtype=0x00, mfdev=0 cmdreg=0x0000, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 powerspec 3 supports D0 D3 current D0 MSI supports 8 messages, 64 bit map[10]: type I/O Port, range 32, base 0, size 7, port disabled map[14]: type I/O Port, range 32, base 0, size 7, port disabled map[18]: type I/O Port, range 32, base 0, size 7, port disabled map[1c]: type I/O Port, range 32, base 0, size 7, port disabled map[20]: type I/O Port, range 32, base 0, size 7, port disabled map[24]: type Memory, range 32, base 0, size 13, memory disabled ahci0: <JMicron JMB58x AHCI SATA controller> at device 0.0 on pci1 pcib1: allocated initial memory window of 0x40000000-0x400fffff pcib1: allocated memory range (0x40000000-0x40001fff) for rid 24 of ahci0 ahci0: Lazy allocation of 0x2000 bytes rid 0x24 type 3 at 0x40000000 ofw_pci mapdev: start 300000000, len 8192 ahci0: AHCI controller reset failure device_attach: ahci0 attach returned 6 The card is visible via pciconf: pcib1@pci0:0:0:0: class=0x060400 rev=0x01 hdr=0x01 vendor=0x1d87 device=0x3566 subvendor=0x0000 subdevice=0x0000 vendor = 'Rockchip Electronics Co., Ltd' device = 'RK3568 Remote Signal Processor' class = bridge subclass = PCI-PCI none0@pci0:1:0:0: class=0x010601 rev=0x00 hdr=0x00 vendor=0x197b device=0x0585 subvendor=0x197b subdevice=0x0000 vendor = 'JMicron Technology Corp.' device = 'JMB58x AHCI SATA controller' class = mass storage subclass = SATA I haven't investigated further at present. -- You are receiving this mail because: You are the assignee for the bug.