From nobody Thu Sep 26 09:47:11 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XDpfR5VSFz5Wp2K for ; Thu, 26 Sep 2024 09:47:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XDpfR3BXlz46BC for ; Thu, 26 Sep 2024 09:47:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727344031; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=pm1pbiQPD3Rm8bjVtkERwz0iZy0xtJ9l09XwLQsq7c8=; b=pwUtphfWXgiXroKKRB4SVm7juhGEanuiEPIb4ytQvIAmpO4peTDfgKdho6gQlzDwS89LTZ 4hTYHIcDxyo3/+h8bhPfamIknKqYGl4wQ+IUbEwp4R4xKSePDbh4X3e12Mg1jdZ0a3MbIK btoL2WxeIxoLVNGqywk0D2pby5zN5UkuZw0WUCyQg28Y39oEzXYxOXZciHqXFgn0Jbvujr y241LYIBKjBWSh5hz+LnXMAviA/bvOxxxcjvOS0fETZc0zqnArZMhTyLDOv+kewU86Xwfe y3KIChdK1LmYbY8CAzWyl3V6Mo1iiI2Z/0MIgMBrsuyy76r7q0thb5a+h0hhmg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727344031; a=rsa-sha256; cv=none; b=vEKFoOB/d2nU+Szz4jlgWXhKBPN3eYkQYXVQhdP6Kz+Us4yyU1Uk37szU/SayOJSUkvf39 Cniuja8YIijBqIDdY7aqd4Wk/mSgqdi7p0eNtqOsnKdGW6can08HDBkCFmx2yjZ/ZIO+rw G+2o3QQCaNtLGjIRs+zC42Mb8JdxDhJ6FNSBjkLeHvWVYif7dOrE1tMvMmr8GKrH9pa5IV v0Qmj5t4L5BvjEIPzjkgVA+RbgwiciFeKVClaT9Kr1CemyHPO2gpx5XMnpRiuoMVupdiVl rBv85D3pEm/n7pf63Qme+/UOEYX6xEzhIBNpxEItPyssj9+xpw2uprAmdtYqtA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XDpfR1DmSzrgh for ; Thu, 26 Sep 2024 09:47:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48Q9lBNO002942 for ; Thu, 26 Sep 2024 09:47:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48Q9lBHr002941 for freebsd-arm@FreeBSD.org; Thu, 26 Sep 2024 09:47:11 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 281722] PCIe is broken on Quartz64 Model A (RK3566) Date: Thu, 26 Sep 2024 09:47:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: peterj@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 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: 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: 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: 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: 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: 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.=