From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A062419D087 for ; Wed, 12 Mar 2025 15:29:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741793344; cv=none; b=ohYbJtryhuFJ/kPHwx0Ut4MRcjG8FitXmcWebRiwm/UgwDhTCzmE0BYun6zGOU++AW5R0TwUh6NN4vLJzDfcWm8s8UP1VYXzsB3DzA4F6V9ZBxY9wLeP8ovJhwOZmr5LmM3c41/ZhhGcJdklKwkb5iWn3PiZpgaUxxAU2HL/aWA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741793344; c=relaxed/simple; bh=GoJGCdF3oDbA7eULlsGOHzFmKcP6ZxsGi3iStEDY0S0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=HhiM+72gFksLOz6bq0jsihSGNV+JAibYZKBpFWIf4h7HLIAJYHorvIo3BNuCxRbQsUiPeUAMa6v6Tjj4o4hisq0iKNFtf5teZ39qvojYGqqmIIBkMA1O0Q0IAR/bHw6sWwzDH0nOamNA1+zv2HlThMP78qpnnvvuqBn1wJdfudo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=n/StN/63; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="n/StN/63" Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3913fdd003bso576f8f.1 for ; Wed, 12 Mar 2025 08:29:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741793341; x=1742398141; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GoJGCdF3oDbA7eULlsGOHzFmKcP6ZxsGi3iStEDY0S0=; b=n/StN/63iRmLBmt9TbIsWaswPCegG/w0wJsN0EH50oUQRfa5L12cs5lqX5Ti+Y/4d2 elnTSIKV/RJQztLF4Bb+sv+Jlwyvi3EU9GDPdjqIzPqL2GFRZi/y8xb8UZmjpXSrZjtC d5tcZSKnqsCmHanudsGD3Pv4YJF36H58lW12rpdGTIICPWWH5u6/f5YZuPhtvR3XWnLE tvu/o4SpCm9zYZru4lbdNLwotI6CxLLUYuxAnEu6IcUy5GDazlpNvMW4x8UCnRrawE76 oR1lq5DzDwvKNLAwQ+vaxRDNB2O2JR6TFz4xk2WPpbG/NM479WREe8VTCJ7GE6wrG3Eu OUjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741793341; x=1742398141; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GoJGCdF3oDbA7eULlsGOHzFmKcP6ZxsGi3iStEDY0S0=; b=ZIi0LeauvG/M1peIf0xFLSClrOqVkET7DD/9m2wWXvTjMLgb75L0eya5mnglSeZcIP x5kAcSGUNxQZUVBzke8jQeclYpL71ErcFIi70M0SYDzP7qvmqQzCdr7JLkAVl2XU+bLq TcdaYVl5gyD9ozamUiqCaJmyojUL3K9j3xEfEo9mV8AM/CeHmpcSaDGur7SoZxgIjFZg DzWrFtRjIk7USFfdW2vB7x7sNUSFtv6COUB9Bdgz2xcdTp1a0SU0b6hFSuN6dW7xWfBA wtr7fkiy/QDPeA57VMdlk/HnJ+4dARf9/ZEgIuRtP2gfGfzhAH6W75HR8Q6rxGsJwQOw ukBg== X-Forwarded-Encrypted: i=1; AJvYcCUa39+GOeDkHUiIxLCxQSV80lMiDpop1EeZ/WW96ODdwQTsULqUu8bjsachkMbfESGpK2zZ0q0F19t9ZTI=@vger.kernel.org X-Gm-Message-State: AOJu0Yzo/u6prtXKv8/Y4vclgZDtPfLyzHbDot0vLaBlq7zKkvx6Cp4y GE48islS6B77azM+ivqF5C5HXlQCKyIKT2FkebHwo9Z3zoOBWfIG5p/wuu1vSvNjTOmLopB/xFF 53EXEWRtnAwU460Q/QdIxYlw2CO9vdlMmnJLQvA== X-Gm-Gg: ASbGncvp4PQ7LI+WE1WcajZP4y+8xcuaF2UbNuE7Jek+qlzt77vrWqe0hbAmuK7mNa8 MfEBZcDQubOe2KGRDG/oYyfPbFzvRxFV3Kx8hjkbJCayc8qlMdGyI40B1GQxMES79yIlKe5Hqlq pCZjHQP/YcdWg3rT9SoHAzgVesISo= X-Google-Smtp-Source: AGHT+IGw4bTsCNZeyHyE2bBo2kT2RvE7wgPFf4FL+k+G4SRUq7UKiAhEDf/H5m1+yHQGeBMie4MSyvCDJCGtPn4RUIg= X-Received: by 2002:a05:6000:1448:b0:38d:df15:2770 with SMTP id ffacd0b85a97d-395633b59e0mr126422f8f.0.1741793340830; Wed, 12 Mar 2025 08:29:00 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20250311-wip-obbardc-qcom-defconfig-interconnects-builtin-v1-1-675b6bc57176@linaro.org> <92dd35a2-d1cc-4f2b-b3a8-5752ec33b0d3@kernel.org> <5ecb69c9-c877-4c91-a1ae-0ef59d0ee3d6@kernel.org> In-Reply-To: <5ecb69c9-c877-4c91-a1ae-0ef59d0ee3d6@kernel.org> From: Christopher Obbard Date: Wed, 12 Mar 2025 16:28:49 +0100 X-Gm-Features: AQ5f1JrsTOrUVQk8MQpv1Smb_EIlMCLrXov_OVBk2xwC6hUgiuoRDMUNqMw387s Message-ID: Subject: Re: [PATCH] arm64: defconfig: Enable Qualcomm interconnects as built-in To: Krzysztof Kozlowski Cc: Dmitry Baryshkov , Catalin Marinas , Will Deacon , Bjorn Andersson , Konrad Dybcio , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Hi Krzysztof, On Wed, 12 Mar 2025 at 12:34, Krzysztof Kozlowski wrote: > > On 12/03/2025 12:10, Christopher Obbard wrote: > > Hi Krzysztof, > > > > On Wed, 12 Mar 2025 at 09:56, Krzysztof Kozlowski wrote: > >> > >> On 11/03/2025 20:15, Christopher Obbard wrote: > >>> Hi Dmitry, > >>> > >>> On Tue, 11 Mar 2025 at 19:58, Dmitry Baryshkov wrote: > >>>> > >>>> On Tue, Mar 11, 2025 at 07:10:06PM +0100, Christopher Obbard wrote: > >>>>> I sent this patch to start the discussion, some things I found: > >>>>> > >>>>> 1) Some interconnects are missing from arm defconfig. Should they be =y too ? > >>>> > >>>> No, unless those are required for the UART console. > >>> > >>> OK, that makes sense. FWIW the cryptic (to me, at least) commit log on > >>> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=6eee808134ecf1c1093ff1ddfc056dc5e469d0c3 > >>> made me think that the interconnects should be built-in on all devices. > >>> > >>> Of course, the real problem here is RB3gen2 not actually finding the > >>> UFS/eMMC device due to no interconnect driver. > >>> Until now, I have been building that into the kernel. I will > >>> investigate instead shoving into the initrd (in both debian and > >>> fedora) which should solve my issue and render this patchset useless. > >> > >> For Qualcomm platforms you are expected to always have initramfs, thus > >> you will have the modules for UFS/eMMC mounts. I don't understand the > >> problem which you were trying to solve. > >> > >> The interconnects were built in *only* because of need for serial > >> console. Only. > > > > Thanks for confirming. It is all clear now. > > > > Consider this patch dropped from my side. > > > > For reference, I am working on updating initramfs generation tools in > > Debian/Fedora to include the required interconnect modules. Currently > > the interconnect drivers are built as modules in these distros, but > > are not included in the initrd. That is where my confusion initially > > stemmed from. > > Sure. This defconfig is anyway for us - developers, not for the distros > to use directly. Distros have much bigger configs and use almost > everything as module. Completely agree - my usual workflow is to build with the kernel's defconfig (disto config is generally huge) and install the resulting kernel into my Debian image. Installing a kernel built with `make bindeb-pkg` then calls update-initramfs to create the initrd - which then should pack the RIGHT modules needed for loading storage/network boot/etc into the initrd. In this case it simply didn't yet copy that module into the initrd in Debian, so I will sort it out in the distro space ;-). We can likely stop this discussion now as it's clear to everyone what's going on I think. Thanks, Chris