Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2024 09:47:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 281722] PCIe is broken on Quartz64 Model A (RK3566)
Message-ID:  <bug-281722-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281722

            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 PC=
Ie
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=3D25000000
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=3D0, physical bus=3D0
found-> vendor=3D0x1d87, dev=3D0x3566, revid=3D0x01
        domain=3D0, bus=3D0, slot=3D0, func=3D0
        class=3D06-04-00, hdrtype=3D0x01, mfdev=3D0
        cmdreg=3D0x0000, statreg=3D0x0010, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
        intpin=3Da, irq=3D255
        powerspec 3  supports D0 D1 D2 D3  current D0
        MSI supports 32 messages, 64 bit
        MSI-X supports 1 message in map 0x10
        secbus=3D0, subbus=3D0
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=3D0, physical bus=3D1
found-> vendor=3D0x197b, dev=3D0x0585, revid=3D0x00
        domain=3D0, bus=3D1, slot=3D0, func=3D0
        class=3D01-06-01, hdrtype=3D0x00, mfdev=3D0
        cmdreg=3D0x0000, statreg=3D0x0010, cachelnsz=3D0 (dwords)
        lattimer=3D0x00 (0 ns), mingnt=3D0x00 (0 ns), maxlat=3D0x00 (0 ns)
        intpin=3Da, irq=3D255
        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=3D0x060400 rev=3D0x01 hdr=3D0x01 vendor=3D0x1=
d87
device=3D0x3566 subvendor=3D0x0000 subdevice=3D0x0000
    vendor     =3D 'Rockchip Electronics Co., Ltd'
    device     =3D 'RK3568 Remote Signal Processor'
    class      =3D bridge
    subclass   =3D PCI-PCI
none0@pci0:1:0:0:       class=3D0x010601 rev=3D0x00 hdr=3D0x00 vendor=3D0x1=
97b
device=3D0x0585 subvendor=3D0x197b subdevice=3D0x0000
    vendor     =3D 'JMicron Technology Corp.'
    device     =3D 'JMB58x AHCI SATA controller'
    class      =3D mass storage
    subclass   =3D SATA

I haven't investigated further at present.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281722-7>