From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fout-b4-smtp.messagingengine.com (fout-b4-smtp.messagingengine.com [202.12.124.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CF0213FEE; Fri, 3 Apr 2026 08:40:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.147 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775205604; cv=none; b=DQha2GIznq09+Yr23aiCRalU5uvUZjNesflniO1UQQylxGWdeRmubWhMhBxlcHLsriZmW6yejjGEO/yXtZRqCUYjTgpeNFwTvrOFsmRO9/vafv1J7w8ZeTZTPt/sOKnxRBuROGBF1m99Pog4Lmslv8TJfx4mGzPmYV8b/HCEJr4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775205604; c=relaxed/simple; bh=VvS4Ga5AGlKbc8AxWbR2Qk7edNHfxfasQ9Ia2rCs2Jw=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=KBs1txTzuCTfuKbKPlOpoAyeW1Di6yTWggmm/jFiuBD6wVW0/MtfYBlkNxXDDnxHgM1pXGrIsrX9DIP14P/ArsgdtJOEW7dLfKvhRVGraV9p6cJ1LpEBWOzJAAiPsTKAfQdhzeoTHHv+4Ut/VtSbpbyNrsqj0q5s3PfhtbQIsZE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=nM7piwle; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=RhKHY6vg; arc=none smtp.client-ip=202.12.124.147 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="nM7piwle"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="RhKHY6vg" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id D52901D00247; Fri, 3 Apr 2026 04:40:00 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-04.internal (MEProxy); Fri, 03 Apr 2026 04:40:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1775205600; x=1775292000; bh=EOUlWMeWPcAEx+2IfcZaDDe62i4cKOSlitFvl20zWVg=; b= nM7piwle0S68AQKx5CuZwi213PZE4zr2HXDtCBcXFnSyO9zxOwUg5HeskSiBY399 MQ46JeRagKTBhLwCbENbhhNvoZ9Ea0PQko84fjOBBWGiV/w5WC06iwJFtXtla6fO AiELmFMKhoExOHWPfSGfIaBMm/8ZT4FDlbuXrH+zBgKQeTm9yoYa1VOZMR3wa043 1xdehSpF+9S0TCFxbyZ/u/hHzpwbeIUCTwYwL1br15vsqas1K37GH7/JHN5tiVqY DTmigtqYOwwOAQ8nCRjlUaKRPRXbe/sOMEJi0xKt3TF4BETP9w2LZsaqPAIPXfXU P6NF1C5ahXL1y6qJQ4hMdA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1775205600; x= 1775292000; bh=EOUlWMeWPcAEx+2IfcZaDDe62i4cKOSlitFvl20zWVg=; b=R hKHY6vgXCnSaP26IzAttkjZL2isbwscZk4TohxThP87ZVCJpvAAwb8hIKylcAg9G SfQiSur06M/qe4YEKHxbla/U+LD/00310r8MfbN4GZfP/Wav1s4I4tVEPsT88FQw KlqLACQTxq9A1KCJf9l4cKg2fJAujQQnOGJfqAIFs0qXWt8myizJwzWMERBRnFRW Irm1uIeyn8gtAaoF1ibZWo0tO/7YKrOB5k8MFwbWoX1L+kmIj7YdeMchOGP63XMm BofW9EmxU4cX/SndnWok/NxW91twT2kfzn7yU8zkVhW54sfvXVaXHOw+s3zRkz7n YynQGtI6LeEkZj/1jNbBg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdekgeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epofggfffhvfevkfgjfhfutgfgsehtqhertdertdejnecuhfhrohhmpedftehrnhguuceu vghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrthhtvghrnh epvdfhvdekueduveffffetgfdvveefvdelhedvvdegjedvfeehtdeggeevheefleejnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnhguse grrhhnuggsrdguvgdpnhgspghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepphgrfigvlhhlsegtrgguvghntggvrdgtohhmpdhrtghpthhtoheprghrnh gusehkvghrnhgvlhdrohhrghdprhgtphhtthhopehpvghtvghrrdgthhgvnheskhgvrhhn vghlrdhorhhgpdhrtghpthhtoheprhhoghgvrhhqsehkvghrnhgvlhdrohhrghdprhgtph htthhopehgrhgvghhkhheslhhinhhugihfohhunhgurghtihhonhdrohhrghdprhgtphht thhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtph htthhopehlihhnuhigqdhushgssehvghgvrhdrkhgvrhhnvghlrdhorhhg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id BD2E3700065; Fri, 3 Apr 2026 04:39:59 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AlVvYKQckCPF Date: Fri, 03 Apr 2026 10:39:18 +0200 From: "Arnd Bergmann" To: "Peter Chen" , "Arnd Bergmann" , "Greg Kroah-Hartman" Cc: "Pawel Laszczak" , "Roger Quadros" , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Message-Id: <26779a33-135a-4881-8614-9987c5e90380@app.fastmail.com> In-Reply-To: References: <20260402141008.2691819-1-arnd@kernel.org> Subject: Re: [PATCH] usb: cdns3: attempt to fix Kconfig dependencies Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Apr 3, 2026, at 09:50, Peter Chen (CIX) wrote: > On 26-04-02 16:09:55, Arnd Bergmann wrote: >> --- >> TBH, I would be more comfortable with reverting 6076388ca1ed altogeth= er >> and asking for a new version with the proper fixups included along >> with more testing for the next merge window. > > It depends on Greg, I am okay for both ways. If Greg reverts the patch, > I will do below improvements and adapts for most of your changes for v3 > patch. > > cdns-usb-common.ko is a libary, and no USB/GADGET dependency, could bu= ilds in. > =E2=94=9C=E2=94=80=E2=94=80 core.o =20 > =E2=94=94=E2=94=80=E2=94=80 drd.o > > cdns3-host.ko -> depends on USB/XHCI=EF=BC=88it is m when USB =3D m > cdns3.ko (gadget) -> depends on USB_GADGET > cdnsp.ko (gadget) -> depends on USB_GADGET > cdns3-plat.ko -> assign host_init/gadget_init function pointer This all sounds good. Ideally cdns3-plat.ko would also lose the dependency on cdns3.ko/cdnsp.ko >> @@ -10,12 +11,24 @@ config USB_CDNS_SUPPORT >> =20 >> config USB_CDNS_HOST >> bool >> + depends on USB=3Dy || USB=3DUSB_CDNS_SUPPORT >> + >> +config CONFIG_USB_CDNS_PLATFORM > > %s/CONFIG_USB_CDNS_PLATFORM/USB_CDNS_PLATFORM Oh, this means my patch did not actually work at all, and my testing was pointless. I've fixed that now in my randconfig tree to see if anything else comes up. Arnd