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 X-Spam-Level: X-Spam-Status: No, score=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 266DEC433EF for ; Wed, 15 Sep 2021 08:56:40 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id DB80060F6C for ; Wed, 15 Sep 2021 08:56:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org DB80060F6C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Date:Cc:To:From:Subject:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iGwqZwYBqhesgbJkRoN/E+OFQZRXeg50Rtftym4AsLo=; b=BfW2SLL84+XXnX hAiiVH9rNB9e9TmK9ghbt6ZHcbmdGkGvQhHuHc3BheFHnI46C0T4YONpRcKG/ZHOYaDqUZ8H8awzJ a3IsRDIgyHwjx77mgswCE/fyiIrqSXox8vEIyqQFxr5jJ83MkgLASovlOCELYu/Rb0yRqmG2TedM2 yPbSwbTArlB2e0TIP4hnCUdByRd8ZHr4mQxjYpzWjY72kbEz1J5RWy+qKdmxe4jZDzcF7HYBsL77x q4FqQjZnUiJvFmU0FbnNxdzU2fqn7Ep308Y2d4+7v6QFbi6mYL2gszQtdshl80Kc7xQaP5gY3r6u+ XVwp9pUakQau9TNCqcaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQQgr-008Wfq-HD; Wed, 15 Sep 2021 08:54:49 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQQgn-008Wf9-Bu for linux-arm-kernel@lists.infradead.org; Wed, 15 Sep 2021 08:54:46 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id E76D360527; Wed, 15 Sep 2021 08:54:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631696085; bh=fCB0a6DuVNoc4XbPi+KgNAgHG3suZxWO6COTh9BrtKU=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=KopUxJZX6jMlTyVwWbmdMQwqOMUcvUlONqu8TltXv6YN7/X/4h0OtsVjuYJUgr/EA TSbSaavpPrtTrajpGTfMfeakpdZuqDXRct5ehOR+njSJmim8Sd879fYzOKUjykASth lQ7NmLpSUPCjx+id+t8pp5ROIkoewjgv9sbKzgV+oq7QH4Gyz/VvXh49mY0HyvzwPy /IRqC7Hcw9XlKDVxutSitmp+VjIA12YkcnhiqE2Nk+XE2XnhKx1sv7Eb+uctOf5Nyu Jw9HipVZDwZiMrAzaUGS3oTZVFQS/Kp6wGoTFWhckiNgk+ZrUzTL9xQnw4AaiHhH/I K3yg0VcmMA8pg== Message-ID: <4a8bea181bd287f8fa394d19f9a68fcd9a955e15.camel@kernel.org> Subject: Re: Commit 8ae030c34 breaks USB on the Raspberry Pi 4 From: nicolas saenz julienne To: Michael Stapelberg Cc: Florian Fainelli , linux-arm-kernel@lists.infradead.org, Vinod Koul , Bjorn Andersson , Stefan Wahren Date: Wed, 15 Sep 2021 10:54:41 +0200 In-Reply-To: References: <03a8235aff7965d7b451d1d5792620567a9c6155.camel@kernel.org> User-Agent: Evolution 3.40.4 (3.40.4-1.fc34) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210915_015445_472987_1A192027 X-CRM114-Status: GOOD ( 22.71 ) 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, 2021-09-15 at 09:55 +0200, Michael Stapelberg wrote: > Hey Nicolas > > On Wed, 15 Sept 2021 at 09:42, nicolas saenz julienne wrote: > > > > Hi Michael, > > > > On Wed, 2021-09-15 at 08:33 +0200, Michael Stapelberg wrote: > > > Thanks for your mail. > > > > > > My system does not use any Linux kernel modules (=m), all required > > > code is compiled into the kernel itself (=y). > > > The root file system does not contain any .ko files. > > > > Are you building your own kernels? Then I suggest to configure the > > raspberrypi-reset driver as builtin (=y) so it's available in your kernel > > image. > > Yes, I have already done that. I was more interested in fixing this > problem for others, and/or avoiding similar problems in the future. > > > > > Could you provide more information on how your system/rootfs is built and > > setup? > > Please see https://gokrazy.org/, specifically https://gokrazy.org/quickstart/. > The source for the gokr-packer tool is at > https://github.com/gokrazy/tools/tree/master/cmd/gokr-packer > > In summary, my tool builds a read-only SquashFS root file system that > directly starts processes written in Go. > The boot partition (FAT32 for the Raspberry Pi) contains only the > Linux kernel and Raspberry Pi firmware files. Thanks for the info. IMO the solution is to maintain your own configuration. The decision not to use kernel modules, even if reasonable given the scope of gokrazy, is a big deviation from how the kernel is regularly consumed. The majority of the arm64 defconfig users need the kernel image to be as small as possible to avoid bloating the boot partition, and allowing for reasonable boot speeds (imagine having to load a 1GB kernel image from the SD card). Regards, Nicolas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel