Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3443953rdg; Tue, 17 Oct 2023 15:22:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+dW34510qw3MDEV2u4ermRKh76vYoaBvgPw48cDdQMqib+ZdRpHZ7bRBMVRaSb/Gmya60 X-Received: by 2002:a05:6870:3c8b:b0:1e9:bb20:e71a with SMTP id gl11-20020a0568703c8b00b001e9bb20e71amr3866710oab.51.1697581368172; Tue, 17 Oct 2023 15:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697581368; cv=none; d=google.com; s=arc-20160816; b=HEWUgeJ+gOks9VVrd57hGbPCxDpHRmLA/l3/tZgZ2CvNXSjnkbby1inCnjS54Kwi84 bFDnHtnk1B//N4f8iS9CMb3wQTlo4LRdDi3Gh8FG7zfAbHgx/dKcGuamDpRQXUuHRv3y 8dcvkTS47sYzT8EyKbg40vn/6UYhqF9qeAauRzjjJW9gGzbxPrSL/k2jo0klflH0z5II 0CHckgPOgYnbBMthtZzfzEIBvyVNe16eNTyLyhqwFMyQPXM1OKD2oDHlBtKgEqMu+YLA RyDNAkcgtZV2hOFh9McNQ7ILZQENKv8oLBp80KjiYZQReuEfY6GZKxcqKHRSjEXbLG65 1ovg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RYhFnz8eyfMROGBEry38EvxL6FIh7wOsJOmeYjg9T44=; fh=k+H1zZ9/GDMELoEKevxFuz2XmkyQUz7YBrhvHsSyTP0=; b=zRxeS1LR88/6Y3Xh2Q8aTXzlEcg/pOABMKuRby7pKM8B7L95H3eccHDVnu7dimpQHG gpDQCLH8ETCgnagoaB1+0FLoCB/mbeVsVOjhy1wHV79emSscoBAWezyC0xhsMAXTozR5 3ID9taWr561xDQHXw06SgY0/NbZrnO8vf4EncWqprkXKMHFTz2QB0VS1gb2wkFEH4tU1 oG/qK5rsUfMtxtxlXcqnXQ8xSIDR1BE9Ivmn7fE8zGoL8RcTSccYEqFfz0N3A26kjm+9 x3lgjarbUBysQn9yqEYvFIrJ10Gwu+B71kPdmmd4n+XAGTPPCeUYL33gB672PWSoOILX Om5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=C9NeFpwf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id m68-20020a633f47000000b005ac4854b202si703139pga.321.2023.10.17.15.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 15:22:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=C9NeFpwf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 9A762803DCD5; Tue, 17 Oct 2023 15:22:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232068AbjJQWWg (ORCPT + 99 others); Tue, 17 Oct 2023 18:22:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbjJQWWf (ORCPT ); Tue, 17 Oct 2023 18:22:35 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04C6395 for ; Tue, 17 Oct 2023 15:22:32 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 9C49E240005; Tue, 17 Oct 2023 22:22:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697581351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=RYhFnz8eyfMROGBEry38EvxL6FIh7wOsJOmeYjg9T44=; b=C9NeFpwfRDPAgZ3ve02+rfgt6FDHnz6jvyoqPt/uan+r85WkXy9M/Slu1ze6a713seBJpJ 0u+/J/Z+PgL6grtOaC2zP7wgr6JSH1n8ftacz1T1BniTVd4AntP0sgNXSgfPJ+Lj46hPfv eTQIRLu1t2N6JBJqeltIwBmIL4jxWlRAP+B82eAqyRSLCKmKPV7RIVWd3n7/Cvxyvxqelp 0KY7v8P2IEEqidS2cHrMAtblgG200vSiQTQteMiR8JV+nTxdmqRXJrz9NwcmGkapqXnJt4 MUwXlLJ0laJWaYaEfm3R2MeH6oCAjpnC7XYzWisuoF1BeTn+4hKnAOWXILpHHg== Date: Wed, 18 Oct 2023 00:22:30 +0200 From: Alexandre Belloni To: Frank Li Cc: Miquel Raynal , conor.culhane@silvaco.com, joe@perches.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev Subject: Re: [PATCH 1/5] i3c: master: svc: enable hotjoin default Message-ID: <20231017222230636965c5@mail.local> References: <20231016154632.2851957-1-Frank.Li@nxp.com> <20231016154632.2851957-2-Frank.Li@nxp.com> <20231017160457.4f0c2490@xps-13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-GND-Sasl: alexandre.belloni@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 17 Oct 2023 15:22:45 -0700 (PDT) Hello, On 17/10/2023 10:51:25-0400, Frank Li wrote: > On Tue, Oct 17, 2023 at 04:04:57PM +0200, Miquel Raynal wrote: > > Hi Frank, > > > > Frank.Li@nxp.com wrote on Mon, 16 Oct 2023 11:46:28 -0400: > > > > > Hotjoin require clock running and enable SLVSTART irq. > > > Add module parameter 'hotjoin' to disable hotjoin and enable runtime_pm to > > > save power. > > > > I am really not a big fan of the use of modules parameters. Maybe it > > makes sense here. Alex, a better idea? > > Maybe we can create sys entry to enable/disable hotjoin. I think i3c > should default support hotjoin, but it exist user case that needn't hj and > want more aggressive power saving. > > If create /sys/ entry, it need change driver/i3c/master.c. > If this can be changed dynamically, I guess ideally, we should be able to set it independently per controller so it could be disabled on a bus but kept enabled on others. -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com