From patchwork Tue Apr 18 20:52:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 6797 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Q1GML5t6Cz3x6v for ; Tue, 18 Apr 2023 20:52:30 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Q1GMK6HS7zjg; Tue, 18 Apr 2023 20:52:29 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Q1GMK5dsZz2ydt; Tue, 18 Apr 2023 20:52:29 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Q1GMJ2ry7z2xNR for ; Tue, 18 Apr 2023 20:52:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Q1GMG6cMbzJg for ; Tue, 18 Apr 2023 20:52:25 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1681851147; 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=0BWSUqilh6nfyq1GqbHhbYS4o+4BmJJ5YEtKIPHCyZk=; b=Oii8wrJk1z9tt8h29c1+BISnOdkwmPY3IvO2BDP2tfbZHNoEecom2CGZbBP0q7KOFqCwR6 pwGU7jJTjwejx6Dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1681851147; 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=0BWSUqilh6nfyq1GqbHhbYS4o+4BmJJ5YEtKIPHCyZk=; b=Ai11w+aebXlE7Rl2euJlbHc6wMZeict7I5GB/8KQ51ARoPce8EmnC4WB1cEBRJENz3lBiC JI543b+0QuqjrFTGH1Eapn0hylo/QwjnYPP5aZ3XOikQRJWkjgCB1XsRX4DG8qVD3vVlhE EsXvc67Jwv68L5lwsz1Y7ThmvteMidwikRhnY9r8UcVAjz/tALhpYhRIfeAfLk1EMNDJAK VnuSrR/vV67rdTcvcIHTFjMN8lDGssOylvqehhULGqpmtx1uw+k8hm75WFnmQi6Q+6Wdm9 Zp1p19Mr4LG8rhgSUrtLAj6+1J6tB1901Z8e9rLVl7VrX2cREkGJwW9542T4hw== Message-ID: <4d8360ae-829c-5fcc-9ed7-8e3d5875ea0b@ipfire.org> Date: Tue, 18 Apr 2023 20:52:00 +0000 MIME-Version: 1.0 Subject: [PATCH 2/2] linux: Compile "Intel XHCI USB Role Switch" as a module on x86_64 To: development@lists.ipfire.org References: From: =?utf-8?q?Peter_M=C3=BCller?= In-Reply-To: X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" From the kernel documentation: > Driver for the internal USB role switch for switching the USB data > lines between the xHCI host controller and the dwc3 gadget controller > found on various Intel SoCs. [...] This may unblock USB-LAN-adaptor usage on certain boards, as reported once in #12750. Overall affected devices seem to be scanty; nevertheless, enabling this as a module only is highly unlikely to cause any harm, so let's give it a try. Signed-off-by: Peter Müller --- config/kernel/kernel.config.x86_64-ipfire | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/kernel/kernel.config.x86_64-ipfire b/config/kernel/kernel.config.x86_64-ipfire index 867e99e9f..948179b04 100644 --- a/config/kernel/kernel.config.x86_64-ipfire +++ b/config/kernel/kernel.config.x86_64-ipfire @@ -6061,7 +6061,7 @@ CONFIG_UCSI_ACPI=m # end of USB Type-C Alternate Mode drivers CONFIG_USB_ROLE_SWITCH=m -# CONFIG_USB_ROLES_INTEL_XHCI is not set +CONFIG_USB_ROLES_INTEL_XHCI=m CONFIG_MMC=m CONFIG_MMC_BLOCK=m CONFIG_MMC_BLOCK_MINORS=8