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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id ACBB2CD8CA4 for ; Mon, 8 Jun 2026 20:53:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=6TG54dfPHr1Fu4+GOkSyo1ZRVlTPpHzAtZmTHh7EdVI=; b=AyoDbmzw6SA7GcAAyS/51FFXVX KhFG2pnX2sSzjbRsBE0R1gxfJWIxoLKbDrMb60oYGRXLVyW5f1ze1Jz69qv8L9cdpEdjYnqgIterr bqC0eAqRU0ZqD99ZSgWbAot5JlF6ohNW5Zt2/nTrn4x0MK/lh7EDvWsMOLhSvywws286x20PKO020 d2aNWWQzy/CJDEACYFNK32i+FDWE2juW00AU8f6wj1guMwEuZ0jOeLDfsW3GZxQVVK0TCxtwcPs0q XvUZ3/AW3V7se+yb8ndSSzVW+Onc4hcYA7c8uNmV0ewug6kBatREnoKNA5D5ICUE+EXNipHhNhQfv GDy1QLeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wWgy5-00000004OUE-3bvg; Mon, 08 Jun 2026 20:53:09 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wWgy3-00000004OTc-2fld for linux-arm-kernel@lists.infradead.org; Mon, 08 Jun 2026 20:53:09 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8AC35153B; Mon, 8 Jun 2026 13:53:00 -0700 (PDT) Received: from pluto (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C75AC3FE53; Mon, 8 Jun 2026 13:53:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1780951985; bh=mVOgAPGGXXuJ9ffJ//p1CW9BrCQ/h3lAsuGwI8vvg4s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KjnL09BYR1X2WhGcAJXSBd5/pg0goTc8NooYmYuRSEnhprlUr7a4OzkDK7v3MW+/F QwxJk2r3OBkTy6wgraqeA9037ZyBcy2w1Ccs+t034lzJP8wXSEZY96bion2iPQ39UU w9ltCrpUXQFCd9ATgw2Q/e2kv7S7vv81089bAVSI= Date: Mon, 8 Jun 2026 21:53:00 +0100 From: Cristian Marussi To: Daniel Lezcano Cc: Cristian Marussi , arm-scmi@vger.kernel.org, guomin_chen@sina.com, linux-arm-kernel@lists.infradead.org, peng.fan@nxp.com, quic_xinqzhan@quicinc.com, sudeep.holla@arm.com Subject: Re: [RFC PATCH 2/2] firmware: arm_scmi: Add bus support for autoloading Message-ID: References: <20250203100154.140877-1-cristian.marussi@arm.com> <20250203100154.140877-2-cristian.marussi@arm.com> <256c182e-a093-4bf5-a353-ca5c06eff489@oss.qualcomm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <256c182e-a093-4bf5-a353-ca5c06eff489@oss.qualcomm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260608_135307_842319_3114BB2B X-CRM114-Status: GOOD ( 28.28 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 08, 2026 at 07:06:42PM +0200, Daniel Lezcano wrote: > > Hi Cristian, > > thanks for your answer > > On 6/8/26 18:51, Cristian Marussi wrote: > > On Mon, Jun 08, 2026 at 04:51:03PM +0200, Daniel Lezcano wrote: > > > On Mon, Feb 03, 2025 at 10:01:54AM +0000, Cristian Marussi wrote: > > > > Emit proper MODALIAS uevents when SCMI devices are created and make sure > > > > all the standard protocol devices are requested when the bus is > > > > initialized. > > > > > > > > Signed-off-by: Cristian Marussi > > > > --- > > > > > > Hi Cristian, Hi, > > > > > > > Hi Daniel, > > > > nice to hear from you in the SCMI land :P > > > > > what is the status of this patch ? > > > > ....I'd say forgotten/abandoned...I worked on that a bit when I realized > > only part of the stack was autoloaded...then it did NOT received much > > love and then I forgot it....buried by other prios.... > > > > Indeed I have still the local branch...but after a quick check I think > > is the same as the RFC posted. > > > > bbd14b0f7733 firmware: arm_scmi: Add bus support for autoloading > > 8d982393b505 firmware: arm_scmi: Generate aliases for SCMI modules > > 383c127faa97 (scmi_vendors_autoload_V2) firmware: arm_scmi: Add aliases to transport modules > > 00caa894bce2 firmware: arm_scmi: Add module aliases to i.MX vendor protocols > > d900620c46bb firmware: arm_scmi: Support vendor protocol modules autoloading > > 4fe57bbeb6dc firmware: arm_scmi: Allow transport properties for multiple instances > > ad236e5a7f01 Linux 6.13-rc1 > > > > ...where scmi_vendors_autoload_V2 is merged already... > > Actually, I'm puzzled. > > On our platform, until 7.1-rc1 we had to add a modprobe.d script to load the > scmi_cpufreq driver because autoload was not suppported. > > Now (7.1-rc1) it seems to be automatically loaded. > mmm...I am not sure....but I have a memory to have seen this behaviour with cpufreq...on some more full-fledged distro (not the usual bare minimum deboostrapped thing...)...never fully investigated though... > I imagined the autoload module has been added between 7.0 and 7.1, but the > series you are mentioning is from 6.13. Not sure when effectively merged BUT definitely NOT 7.0/7.1... > > What I am missing ? Any chance that on a more complete kernel/distro some symbol dependencies in modules.dep kicks in, unknowingly, that triggers the load of scmi-coufreq ? Not sure if it make any sense...since I miss anyway where the SCMI-cpufreq <---> cpufreq-driver association is baked in with the current module device tables... Not so much of an help here...sorry. Anyway, I may respin this in the future if there is some interest...unless someone precedes me :D Thanks Cristian