Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1161927ybb; Fri, 10 Apr 2020 19:12:33 -0700 (PDT) X-Google-Smtp-Source: APiQypLVJTwhxZiW5Sw+yvs16Tgf1dGJTwjyjCJeH14Nrgt8jytaZUhlPhJQBWl+8iIwz8FihGAU X-Received: by 2002:ad4:5883:: with SMTP id dz3mr7718822qvb.137.1586571153700; Fri, 10 Apr 2020 19:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586571153; cv=none; d=google.com; s=arc-20160816; b=0EEigaercoDAQZ7EITIzo6wy55Bq/Aqp2/Pn56kFfYQKf8q7fuYVfjRJDHA5VSKpHN t+bKwhBJtHC5zo5HFyxKsOIZ9h0VF+Z/Ztz9UpSihDa/0tKyXemgfsCLVb6yHUlpzK3m oHXWpnpNpiJ+//1iLZB3euIkhDrhPDYtZ+mpquoULkW3wuggm57UYJOheRiwGCkOOnPL X4JOhN3WSnBtslGYLXiQBauUJUlqoT6l5bY5UltYF/byrWaEvORLpJwMte2I+9b+OWls pn2M924e71PBLzsG/teEmMGrYZJ1O4tnPdZpQ8QFtu6B+y3vsTj9+XvzQaB6jBGQhh2U 0/4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:date:to:cc:from :subject:references:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=vyFmjAdojoYLc4BN17MMj6KF8C1J6yLAbGTw5YWncf4=; b=u6eSfESDFOnjQWlDaA/2/58LMUVdITEhoH2qXNq7osvfdZWt3TJDi5WI1ke12ufvdk qf5zOJlWdT6HR68csMg8RGTSKlCbGmRTg69t+OEeof4VgBA/7iA+hFn27bVhPeRY1eWm ydXR700az1s6ZCgXM+YAOHb9pt7G2o+ofd3yaxyvuVPu6iVTEWTZF/HGar27MxzVjDfX H9x7+/GQ3GvNkgY2E3caxxKPIIR+Ugccmr4gCHQzIoRnG91XA/C4Q99wGMnY2svvuoRF mMbbAMrT/NjcWTGdjubPWae5ATIVdA4icaaDWz56nzevAsWlilwsGkFIUeW9CaBCU9qX M6zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Lc2Rz+M3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o55si2207370qtf.240.2020.04.10.19.12.18; Fri, 10 Apr 2020 19:12:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Lc2Rz+M3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726740AbgDKCK1 (ORCPT + 99 others); Fri, 10 Apr 2020 22:10:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:45416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726666AbgDKCK1 (ORCPT ); Fri, 10 Apr 2020 22:10:27 -0400 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 54DD92078E; Sat, 11 Apr 2020 02:10:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586571027; bh=MVZeCBaeFj9XOKurdEfteBiPqF9xwPkxkHqXXdFsTmM=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=Lc2Rz+M3mIlm6bIM9mTDzvxfb6Gozq5W06V1nX10dSvD6r6URkbJuQ88lUvUrzXJO /FwpXbZ+CRAkaqbALCOPq/AlnxyH5K5BbG/DPuv02LSWIVXTw2h4g4CWVW4Q6v6gSO IgoHrkkJ/gMSIbr/9Pb3Lx9H440PX57svoy1KkJs= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: References: <20200408035637.110858-1-sboyd@kernel.org> Subject: Re: [PATCH/RFC] clk: gate: Add some kunit test suites From: Stephen Boyd Cc: Michael Turquette , Linux Kernel Mailing List , linux-clk@vger.kernel.org, KUnit Development To: Brendan Higgins Date: Fri, 10 Apr 2020 19:10:26 -0700 Message-ID: <158657102650.199533.18319832135089303080@swboyd.mtv.corp.google.com> User-Agent: alot/0.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Brendan Higgins (2020-04-09 13:09:03) > On Tue, Apr 7, 2020 at 8:56 PM Stephen Boyd wrote: > > > > Test various parts of the clk gate implementation with the kunit testing > > framework. > > > > Cc: Brendan Higgins > > Cc: > > Signed-off-by: Stephen Boyd >=20 > One very minor nit below, other than that this looks great! I couldn't > have done a better job myself. >=20 > Reviewed-by: Brendan Higgins >=20 > > --- > > > > This patch is on top of this series[1] that allows the clk > > framework to be selected by Kconfig language. > > > > [1] https://lore.kernel.org/r/20200405025123.154688-1-sboyd@kernel.org > > > > drivers/clk/Kconfig | 8 + > > drivers/clk/Makefile | 1 + > > drivers/clk/clk-gate-test.c | 481 ++++++++++++++++++++++++++++++++++++ > > 3 files changed, 490 insertions(+) > > create mode 100644 drivers/clk/clk-gate-test.c > > > > diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig > > index 6ea0631e3956..66193673bcdf 100644 > > --- a/drivers/clk/Kconfig > > +++ b/drivers/clk/Kconfig > > @@ -377,4 +377,12 @@ source "drivers/clk/ti/Kconfig" > > source "drivers/clk/uniphier/Kconfig" > > source "drivers/clk/zynqmp/Kconfig" > > > > +# Kunit test cases >=20 > Minor nit: Elsewhere you use KUnit. >=20 > I wasn't going to say anything because so many people go with the > "Kunit" capitalization (and actually I kind of prefer it), but you > should at least be consistent within your patch. Ok I will go with Kunit. Thanks!