From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 571AE606A31C for ; Sun, 29 Nov 2026 00:20:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=M1hbKk19; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=FfplhvAv Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 2FBE140624; Sun, 29 Nov 2026 00:20:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 3GD89W6PCqlC; Sun, 29 Nov 2026 00:20:35 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp4.osuosl.org 5D5CA40603 Authentication-Results: smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1795911635; b=qygKdz80UColLF24fi3y6bBYXv4W7sAwBW1OJX+pkjQiNEEp2rhNtT/FBEEhUWnMFqVa 2w98F9oqoIPdi31c7peWj9kQw7HTgx/xY1Vbmts/uDWEOL6Wljiy4zPOb/sqe2Bk/K4yQ loCVAVrHxRNzT1R3lukutbnW8Na0/GBuNBcewopBsWJC0gAlHMdYXWrJr4WGdOF/ivA4Y +LQz+lHtbrMVUDYLvQOeT6VrS/hozm36JhDn9tfdkYOyLVi9O1Hp7lf9xGij/7oMV87av W10p1UMtf3Gh8J7kNe/xc8GjGdUJUEmBooU3dM53Bg0ssnPKJS5Q6D+Sj1Q7WdatUMg== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1795911635; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent:Subject:To: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-MBO-RS-ID:X-MBO-RS-META:X-BeenThere: X-Mailman-Version:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Errors-To; bh=+ALu/B1DCsmcjVG9V6ERseBjEn1oh5v6cPCYQT0S58s=; b=GkWVNMrubIQYXR2fvbGhy4BkKeHB95vbLHgYeOcvVGwu9qkHlBA2QGm6MDnAKYNWVYiF tMdaAQt1wzf6o0f2A/IIMHwd9xFPxrgu/HcI+9GA1/e4u14Q9BUAdvv+M60RcHahD6R1K NIsGL/fXs8rKpc6dJrFMd2e3XBtaFM0Ww329Ck86vhveZxG5xq+6Mei7UENvt87mYFHu3 sv/wkyA4op1SxhESC0PVu/bKzB43JhHk3hTPDIACDNaU6+qNk+W2+PTKpNTtUHdBZKP2w EXUoZQqHv/AmfEe4pwJ/YiBWE6pqQ7T4Kv38mFlMWkSbv+gNu9rGvdAFQRKk935AauQ== ARC-Authentication-Results: i=1; smtp4.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1795911635; bh=+ALu/B1DCsmcjVG9V6ERseBjEn1oh5v6cPCYQT0S58s=; h=Date:Subject:To:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=M1hbKk19742RMrxKoyjwmqewRky/rFLeIMwJ76F5xUkBTLTeeLAkyylUB93BGTPZ0 2NDsYEfqHYWg8ZLYmelcwFtp0vZZa1RWNCLUJR8d59yTa2bIMgNg+GvC25BqhbGTZz SOcaCyixbXvgN4hdiH+wTkVjbsR1kL8lCkzY/IIPUo2vLCjLGHkj8cYqX3b79oKegW EwVmULreb98VkxUYRC1vMdOgSaM0Fip8EPQ1hXvar94VFhedPweeFbmzaXcDnR1QC2 OsXAPcPv4uTuNZLN2jtxOAeQQZduwqmshQ04xR8WAyGBRWANjaFmkA+l8OXn/xb+8P 9O+OFuR5HhEfQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id 5D5CA40603; Sun, 29 Nov 2026 00:20:35 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists1.osuosl.org (Postfix) with ESMTP id BCD2B472 for ; Sun, 29 Nov 2026 00:20:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id A2AF94007A for ; Sun, 29 Nov 2026 00:20:33 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id tcSq-FxlopO2 for ; Sun, 29 Nov 2026 00:20:33 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp2.osuosl.org F31904005B Authentication-Results: smtp2.osuosl.org; arc=none smtp.remote-ip="2001:67c:2050:0:465::101" Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:67c:2050:0:465::101; helo=mout-p-101.mailbox.org; envelope-from=marek.vasut@mailbox.org; receiver= Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=reject dis=none) header.from=mailbox.org Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256 header.s=mail20150812 header.b=FfplhvAv Received: from mout-p-101.mailbox.org (mout-p-101.mailbox.org [IPv6:2001:67c:2050:0:465::101]) by smtp2.osuosl.org (Postfix) with ESMTPS id F31904005B for ; Sun, 29 Nov 2026 00:20:32 +0000 (UTC) Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519MLKEM768 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4jcSV44XKZz8vSH; Sun, 29 Nov 2026 01:20:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1795911628; 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: in-reply-to:in-reply-to:references:references; bh=+ALu/B1DCsmcjVG9V6ERseBjEn1oh5v6cPCYQT0S58s=; b=FfplhvAvw5KmAPV5E6TUHBVMcUsy88EIWrR9wldWT1+k8g9xhc6rNf9nuww9X6MbpFfSvs 8iy8uzWC9+8uqmb9pIrzvo35mysa2nCddgwspPbLrBe5E9/goGuDqoY62KZr2hye3M6XKB 8nv8YClQYkQ07qBQVZ0Pxh4khXE/PVSapBjCZQcFz8YRem8wsvHaII2erd9dlNMIaI2PiN LDG8Fr2FEBB6QxWYM5wU5Y5/DAqoBJNn+/PabXC6oWSc9IuSH6ro3iR20kIs2ENLm53Vvd GJKd8VfIjbCoro3noM+wJmY40sNOC+JoDI6BqWJt+iyurwXS0XMFi6bU7ficxQ== Message-ID: <4afe2880-1663-49e1-ba2e-446e7cfdb8ce@mailbox.org> Date: Sun, 29 Nov 2026 01:14:40 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1] usb: host: load Renesas xHCI firmware from a build-time supplied file To: Aswin Murugan , trini@konsulko.com, bmeng.cn@gmail.com, iwamatsu@nigauri.org, neil.armstrong@linaro.org, jbx6244@gmail.com, senthilkumar.l@oss.qualcomm.com, u-boot@lists.u-boot-project.org References: <20261126062031.3858066-1-aswin.murugan@oss.qualcomm.com> Content-Language: en-US From: Marek Vasut In-Reply-To: <20261126062031.3858066-1-aswin.murugan@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-RS-ID: c2d41596c65a9ae6765 X-MBO-RS-META: 9c5316kdnuirw6557eg3t9jsm6wdow3b X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On 11/26/26 7:20 AM, Aswin Murugan wrote: > From: Senthilkumar > > The Renesas uPD720201/uPD720202 PCIe-to-USB3 host controller requires > firmware to be downloaded over PCI configuration space before it can > operate as an xHCI host controller. > > Add support for supplying the firmware at build time through the > USB_XHCI_PCI_RENESAS_FW_FILE Kconfig option. The firmware image is > linked into the U-Boot binary using .incbin and exposed through linker > symbols for consumption by the xHCI driver. > > This ensures the firmware is available before PCI/USB initialization, > without requiring runtime access to network or storage. On platforms > such as QCM6490, where the onboard Ethernet interface is connected > through this controller, the firmware must be available before network > initialization, enabling network boot use cases. Can you try to use request_firmware_into_buf_via_script() and load the firmware from storage instead ? This way the firmware can be kept outside of the U-Boot binary, which is preferable. Is the firmware loading code imported from Linux or written from scratch? > Signed-off-by: Senthilkumar Please use full name for DCO. [...]