From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6950DC4167B for ; Mon, 27 Nov 2023 10:57:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dC/qMvfbUtiQfwwhHj5jNZozKPYtoymriQqh2C4Dq/Y=; b=uFGqCNRhbqUT89 fgMHmYq3DRGfJe8dBUjLCb+mcqQHT089TywUMWU+L7DVagl0Ra1eohk8mHxuwVjtPhE0UIqpzjPyU tgXqKgCnOOd42I/rFNFZhPu3W4MXB0sgtlkVT9GqZVP5+Gj/Jb5+9OIuNQM45WE9s5snbbpo/Z4zv nRle0oov+I3a7dUJg9z3dyDtzccWhDb0j9YFobj9UVQYX63se+KPntqGUKJClPoVEYJWbOBdqMmzz A4iWkgStHFbJ3uHvp5n/NqbT4wjSJwG9S89I/XNbdVPZ/ij4K8hUidMW6zejRgui4H//OVYH0IxR9 rbx/1SyvXENMOgQqdvyw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r7ZIp-0029Qe-10; Mon, 27 Nov 2023 10:57:23 +0000 Received: from mout.gmx.net ([212.227.17.20]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r7ZIl-0029PR-2B for linux-arm-kernel@lists.infradead.org; Mon, 27 Nov 2023 10:57:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1701082627; x=1701687427; i=wahrenst@gmx.net; bh=wuAXr7a3zbDnbtVJU7CNeO6mV9KsemSbkPnViW/x+N8=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From: In-Reply-To; b=DEnGZ8mG6EOaZOBsRJrpHLWDcYOIsDOFzdBdPL3NJGafNmlIzCadaoIFr1pNGkOH Js0D1+16IEuSTB6AxN5Ay2FAtoF0WoTQj4y9PRAo/UPYuAXnF7rBS65oiMVuJM3Dz uxny4padUrkduA4s9XsaQuk2tFeY41bZcY5ikxJ+U/PV4QGDe8JCM9B93w+PL4AZf v3Y4OIyXGGhVwC6fDLZpawSRCAEae7Jyx2NvaBs9PUX1HtuIhjXKXJM+Xx6kbjQ9h bt4jXVQ8X+92MR7H4dADfC036BiOO0B8XvRSpQl6MInF8GvrnGssCeWUisYrY99HN 9T5+9dgFYqSDb1Mdbg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.129] ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MMGNC-1qpLQT1458-00JHjr; Mon, 27 Nov 2023 11:57:07 +0100 Message-ID: Date: Mon, 27 Nov 2023 11:57:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] ARM: dts: bcm2711-rpi-cm4-io: Enable xHCI host To: Cyril Brulebois Cc: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , Mathias Nyman , bcm-kernel-feedback-list@broadcom.com, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20231126025612.12522-1-wahrenst@gmx.net> <20231127003432.7aztwjxper2a3o33@mraw.org> Content-Language: en-US From: Stefan Wahren In-Reply-To: <20231127003432.7aztwjxper2a3o33@mraw.org> X-Provags-ID: V03:K1:Pqpo7ZuF10VhdzjMtTTqHOJho1s81dHreoX1FQSyLixwL39Wkig dXTqpVokUOAlwpSJz9QvEllkvU2AG4Fiop5KdUjfCZX77hd34bxG0oEBJY7CiUxiydiDHY/ S6OABtKkS1+qCp9v4/UlNsuX5rD3t53EcFFl9udNmzrBJeVHQT0HFBJXgKnzK0w96/pRTOD mrEUloCrZqD5lV2/hE+oQ== UI-OutboundReport: notjunk:1;M01:P0:M0Gnxm6/rVM=;dM5isbqdCnPfzcgJ71lKO32FqYL VrVKTR89qdVFaecEN/0Ix1RYK6tR/93IdhpKIufSkr8LawgxDFsxBRUnkp7MTT0RK7D3otNqs gsXPX19THSDYkcOMU+L6RXnQbY4Z0E8YqoPuAzULvf80NxuGR/0AvjxDEmzx513hM08kwxwG0 aIQs2++VPr6TNJ2OJ+KKCfiPatXfSjeKdcEvXatZ4rmc0gfBfnyJVTsOTW1kLM7nCg5lsxJzR 17UFB+Ob1f7vPHLG56OgLGFDLrZlCRO6UuknZ4TJH+KJUhtqcI08RYKzs3Bi4XAyLqEAzZuSp HBqX2IXt7h9Mfw655nUX6WJ7bU7oOllhCZFtr9CLl/3uIoNkO+wyv+p4VDWnYlqWLP4J2OSBs wlWaIdVG6FRUqIYH+nRoCNM9/LsPf60GQekqK+haDOlRREkkM1ahh6Po2/ZYUfCN0Dwt31KQx +fv6+0CoFOSyrh/c6biL/TReel5CE7xxJj8k1vn54eWnvdmSRbBLX7h2VrJfJY5Ia5HhHfrid hNCFqQlr9ZXuMqfBLKwPbt4LE4ioirpPZoMSCkMPr9q8R42vDJrf0luhQaL8R+oH4boI7SQDv mxHVnjROgyX2LtCDLmJ7qVXK8SRkWoiHhDhGqxn7e5edmGaRcCQaE54TnxSSfiQxPPzANimcS bY8wjZsbyQxPTAF+ITUKHWUhOwZdkHTNRMVJvW+Y0dugDOcJppOKWD2HEyq4TuEkiMB4uukna eBTPZqRLSIL+LB7fmuMXu3MQeY9u9vWlL9ok5XJRG3Mb0ZdGJqZarO20dbMEikT3YbVUiiqVI zxNCNlVqzJn9nUY/2V/kPc6IjCadaZoF1C4A/wlrTQ3ERHancB3/iGgK+gbNCrKefAE4X4IYW /yHhyRlseTdblfbrx5QRrALepl6I1fUiQ4uI/3mmFmiwmN6PAE4hHynSD0Nw9Qpz3Kj1Hnmxg QuLgvnOXm+GgbicER80N8IoH52s= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231127_025720_181225_BCBB183A X-CRM114-Status: GOOD ( 24.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Cyril, Am 27.11.23 um 01:34 schrieb Cyril Brulebois: > Hi Stefan, > > Stefan Wahren (2023-11-26): >> In contrast to the Raspberry Pi 4, the Compute Module 4 or the IO board >> does not have a VL805 USB 3.0 host controller, which is connected via >> PCIe. Instead, the BCM2711 on the Compute Module provides the built-in >> xHCI. >> >> Stefan Wahren (3): >> dt-bindings: usb: xhci: Add optional power-domains >> ARM: dts: bcm2711: Add generic xHCI >> ARM: dts: bcm2711-rpi-cm4-io: Enable xHCI host >> >> Documentation/devicetree/bindings/usb/generic-xhci.yaml | 3 +++ >> arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 9 ++++++++- >> arch/arm/boot/dts/broadcom/bcm2711-rpi.dtsi | 5 +++++ >> arch/arm/boot/dts/broadcom/bcm2711.dtsi | 9 +++++++++ >> 4 files changed, 25 insertions(+), 1 deletion(-) > I've tried applying this series on top of v6.6-15365-g305230142ae0 (the > base commit for Jim's v8 patch series regarding PCIe/clkreq[1]), since I > know the unpatched kernel is working fine with a CM4 Lite if there's no > PCIe hardware plugged in. > > 1. https://lore.kernel.org/all/20231113185607.1756-1-james.quinlan@broadcom.com/ > > With those patches applied, on the following hardware setup: > - CM4 Lite (and SD card) > - CM4 IO Board > - Ethernet > - HDMI > - Serial console > > (But neither USB storage or USB keyboard.) > > I'm seeing various failure modes, but basically the system no longer > boots. I'm a little short on time right now, but if the following > excerpts aren't sufficient I can adjust logging to capture a full > trace for one or more of those. > > This seems like a showstopper on its own, but if you'd like me to try > with an eMMC-equipped CM4, I can do that as well. ... > > [ 3.118407] xhci-hcd fe9c0000.usb: xHCI Host Controller > [ 3.123745] xhci-hcd fe9c0000.usb: new USB bus registered, assigned bus number 1 > [ 4.172083] ------------[ cut here ]------------ > [ 4.176768] Firmware transaction timeout > [ 4.176825] WARNING: CPU: 2 PID: 143 at drivers/firmware/raspberrypi.c:64 rpi_firmware_property_list+0x250/0x270 > [ 4.191121] Modules linked in: xhci_plat_hcd(+) xhci_hcd genet(+) mdio_bcm_unimac crct10dif_ce reset_raspberrypi crct10dif_common of_mdio usbcore i2c_bcm2835 sdhci_iproc fixed_phy fwnode_mdio usb_common sdhci_pltfm libphy fixed gpio_regulator sdhci phy_generic > [ 4.214527] CPU: 2 PID: 143 Comm: kworker/2:2 Not tainted 6.6.0+ #1 > [ 4.220880] Hardware name: Raspberry Pi Compute Module 4 Rev 1.0 (DT) thanks for testing. Are you absolutely sure that you are using bcm2711-rpi-cm4-io.dtb from the mainline tree? I would expect the following hardware name: Raspberry Pi Compute Module 4 IO Board Be aware the arm files has been moved into a broadcom subdirectory. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel