Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp445760rdb; Thu, 19 Oct 2023 08:47:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFS3UqTkCn6S/mPLAY6IJB6syTPbZChTWWrNUhxJn2FmPqCyj59xURLZJ1T6oz6jT3Go3x3 X-Received: by 2002:a17:903:32d2:b0:1c3:5f05:922a with SMTP id i18-20020a17090332d200b001c35f05922amr3219809plr.60.1697730429806; Thu, 19 Oct 2023 08:47:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697730429; cv=none; d=google.com; s=arc-20160816; b=kKEftBpMz/8hXEjRM4yL24+SwVNuOqDMkg/2G5J6T8Xk+s4my3mmjA3+GA88QNeoqy 8iguvxt0MM5oeWhcchcT75/854hHFEPgN2OzWmiYR5lWfv1T1RzV/YYZN0yxpSyDlrEa H0d5kS3PQ7N+9rixRtO9ncYvSTZOJ/lTOH4x1YuKja00a+xjbN6bV01uJ4acc/FEB/Cg hHB3FRo1D3PWrRxaB62+lSt5iHQzIuVUDqan1GAEqiPbAwSsiJqbqsPu16KG5soy2JAa Mdmf/MkUuQA1QZLDW7NASWxQQFwPOJR8/axOs3h18f1Om7ab1x5DSKecXxWgMtF0Mgj/ sGBg== 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=dmYmcfohJz2McDsLzzj3xcUou0JoNqPDg0p7JIw6K3A=; fh=DkCav6awIphnuoj8waV3nLn0Tenqbr1aivrCTKq+CV8=; b=FKGsx7PKbGnCE4wCa4Jh1lO77uXVuUxk+h/vK04Arm3kood8ufRYa9+y3zW4dNEwX+ zCuaXnKRTq4Hi+2Xgf0tNVYsgVXjISWIs+4zQD8p6kI9iQ7WOafZsvvs9wXBQmbJ24PG YcnYcwFyyCo5BDZvTvWDWHsBxAr5Df/oTRLbISaViiiaYI2gUv9GfzjNIK9mimeXqgts ESFlouDsE62foVe/lOJ61Jh+L1HHkqt9odJyG9n5NfdEnqYPJ3Vz1AcJlCa/4tItgxT3 paegtSiJN/QuEPXlNgwLkAvzmhotz7t12ndJ9sYss+LyWsbl6y/w2O/RB4MYqphOv1U2 hGlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Qd9oN9q3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id jo23-20020a170903055700b001b878f9e11csi2369295plb.54.2023.10.19.08.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:47:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Qd9oN9q3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 13E5A8039DCE; Thu, 19 Oct 2023 08:46:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346336AbjJSPqs (ORCPT + 99 others); Thu, 19 Oct 2023 11:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345938AbjJSPqr (ORCPT ); Thu, 19 Oct 2023 11:46:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17D1CCF; Thu, 19 Oct 2023 08:46:46 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1E061C433C8; Thu, 19 Oct 2023 15:46:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697730405; bh=dlXwrAmr23RZBJTQ4tZB3ILSltevA7NR468NS5iSreI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Qd9oN9q3CDls1FHxrQ/fEHIzbFe3gGdXb9PwNIyIMVNdcHKeYaukZaB+ZRvCEElLa IN5LRY41J2F9SBZ6c/hCI9wkG2d/He9mO/VpTf4aiVbz8OUqOpL6ZMkc7mc//znpQM TuUnrJkSUHMZ4Zz2Q0AY/tlRHyf71pcP6uT6/L6w= Date: Thu, 19 Oct 2023 17:46:42 +0200 From: Greg KH To: Frank Li Cc: Krzysztof Kozlowski , miquel.raynal@bootlin.com, conor.culhane@silvaco.com, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net, joe@perches.com, linux-i3c@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, imx@lists.linux.dev, jirislaby@kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH 1/5] i3c: add slave mode support Message-ID: <2023101935-papaya-legible-5849@gregkh> References: <20231018215809.3477437-1-Frank.Li@nxp.com> <20231018215809.3477437-2-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:46:58 -0700 (PDT) On Thu, Oct 19, 2023 at 11:02:10AM -0400, Frank Li wrote: > On Thu, Oct 19, 2023 at 09:00:05AM +0200, Krzysztof Kozlowski wrote: > > On 18/10/2023 23:58, Frank Li wrote: > > > Introduce a new slave core layer in order to support slave functions in > > > linux kernel. This comprises the controller library and function library. > > > Controller library implements functions specific to an slave controller > > > and function library implements functions specific to an slave function. > > > > > > Introduce a new configfs entry to configure the slave function configuring > > > and bind the slave function with slave controller. > > > > > > Signed-off-by: Frank Li > > > --- > > > drivers/i3c/Kconfig | 26 ++ > > > drivers/i3c/Makefile | 2 + > > > drivers/i3c/i3c-cfs.c | 389 +++++++++++++++++++++++++++++ > > > drivers/i3c/slave.c | 453 ++++++++++++++++++++++++++++++++++ > > > include/linux/i3c/slave.h | 503 ++++++++++++++++++++++++++++++++++++++ > > > 5 files changed, 1373 insertions(+) > > > create mode 100644 drivers/i3c/i3c-cfs.c > > > create mode 100644 drivers/i3c/slave.c > > > create mode 100644 include/linux/i3c/slave.h > > > > > > diff --git a/drivers/i3c/Kconfig b/drivers/i3c/Kconfig > > > index 30a441506f61c..d5f5ca7cd6a56 100644 > > > --- a/drivers/i3c/Kconfig > > > +++ b/drivers/i3c/Kconfig > > > @@ -22,3 +22,29 @@ menuconfig I3C > > > if I3C > > > source "drivers/i3c/master/Kconfig" > > > endif # I3C > > > + > > > +config I3C_SLAVE > > > > It doesn't look like you follow Kernel naming convention (see coding style). > > I checked I3C spec. It use words 'target'. > Is it okay using I3C_TARGET? Why wouldn't it be?