From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-6.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id CF2727D2F0 for ; Fri, 20 Sep 2019 23:36:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437195AbfITXgB (ORCPT ); Fri, 20 Sep 2019 19:36:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:47022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405089AbfITXgB (ORCPT ); Fri, 20 Sep 2019 19:36:01 -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 48BBA20644; Fri, 20 Sep 2019 23:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569022560; bh=5sglSv+9hSOJc0b2FWY8nQeYj0FpLkqsXtS/3eUTZSE=; h=In-Reply-To:References:Cc:To:From:Subject:Date:From; b=QoMrsX259uVvKBLBgqFjYCWW1WAj3R7P2E6eLBj5gAyIaMIeiTZjnJfb1ejgaJusJ UkwBwgUAjsyBgNEGV13XM9dZr3pmhCUgchYJf34niV3DUvIrN8ruCbCxuAbZoqAL58 4PWBzZepSAwldwciLUi98T3R3UO3RBc/aPRrzFTw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190920231923.141900-7-brendanhiggins@google.com> References: <20190920231923.141900-1-brendanhiggins@google.com> <20190920231923.141900-7-brendanhiggins@google.com> Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, Tim.Bird@sony.com, amir73il@gmail.com, dan.carpenter@oracle.com, daniel@ffwll.ch, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, knut.omang@oracle.com, logang@deltatee.com, mpe@ellerman.id.au, pmladek@suse.com, rdunlap@infradead.org, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, wfg@linux.intel.com, torvalds@linux-foundation.org, Brendan Higgins , Andrew Morton , Kees Cook To: Brendan Higgins , frowand.list@gmail.com, gregkh@linuxfoundation.org, jpoimboe@redhat.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, peterz@infradead.org, robh@kernel.org, shuah@kernel.org, tytso@mit.edu, yamada.masahiro@socionext.com From: Stephen Boyd Subject: Re: [PATCH v16 06/19] lib: enable building KUnit in lib/ User-Agent: alot/0.8.1 Date: Fri, 20 Sep 2019 16:35:59 -0700 Message-Id: <20190920233600.48BBA20644@mail.kernel.org> Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Quoting Brendan Higgins (2019-09-20 16:19:10) > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > Makefile to allow it to be actually built. >=20 > Signed-off-by: Brendan Higgins > Cc: Randy Dunlap > Cc: Andrew Morton > Cc: Masahiro Yamada > Cc: Kees Cook > --- > lib/Kconfig.debug | 2 ++ > lib/Makefile | 2 ++ > 2 files changed, 4 insertions(+) >=20 > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 5960e2980a8a..5870fbe11e9b 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2144,4 +2144,6 @@ config IO_STRICT_DEVMEM > =20 > source "arch/$(SRCARCH)/Kconfig.debug" > =20 > +source "lib/kunit/Kconfig" > + Perhaps this should go by the "Runtime Testing" part? Before or after. > endmenu # Kernel hacking From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:47022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405089AbfITXgB (ORCPT ); Fri, 20 Sep 2019 19:36:01 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20190920231923.141900-7-brendanhiggins@google.com> References: <20190920231923.141900-1-brendanhiggins@google.com> <20190920231923.141900-7-brendanhiggins@google.com> From: Stephen Boyd Subject: Re: [PATCH v16 06/19] lib: enable building KUnit in lib/ Date: Fri, 20 Sep 2019 16:35:59 -0700 Message-Id: <20190920233600.48BBA20644@mail.kernel.org> Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: frowand.list@gmail.com, gregkh@linuxfoundation.org, jpoimboe@redhat.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, peterz@infradead.org, robh@kernel.org, shuah@kernel.org, tytso@mit.edu, yamada.masahiro@socionext.com Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, Tim.Bird@sony.com, amir73il@gmail.com, dan.carpenter@oracle.com, daniel@ffwll.ch, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, knut.omang@oracle.com, logang@deltatee.com, mpe@ellerman.id.au, pmladek@suse.com, rdunlap@infradead.org, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, wfg@linux.intel.com, torvalds@linux-foundation.org, Brendan Higgins , Andrew Morton , Kees Cook Quoting Brendan Higgins (2019-09-20 16:19:10) > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > Makefile to allow it to be actually built. >=20 > Signed-off-by: Brendan Higgins > Cc: Randy Dunlap > Cc: Andrew Morton > Cc: Masahiro Yamada > Cc: Kees Cook > --- > lib/Kconfig.debug | 2 ++ > lib/Makefile | 2 ++ > 2 files changed, 4 insertions(+) >=20 > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 5960e2980a8a..5870fbe11e9b 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2144,4 +2144,6 @@ config IO_STRICT_DEVMEM > =20 > source "arch/$(SRCARCH)/Kconfig.debug" > =20 > +source "lib/kunit/Kconfig" > + Perhaps this should go by the "Runtime Testing" part? Before or after. > endmenu # Kernel hacking 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 X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 336A5C3A5A2 for ; Sat, 21 Sep 2019 02:40:56 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0036D21835 for ; Sat, 21 Sep 2019 02:40:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="QoMrsX25" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0036D21835 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id B95EF202ECFCE; Fri, 20 Sep 2019 19:43:45 -0700 (PDT) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=sboyd@kernel.org; receiver=linux-nvdimm@lists.01.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7F87F202ECFC9 for ; Fri, 20 Sep 2019 19:43:44 -0700 (PDT) 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 48BBA20644; Fri, 20 Sep 2019 23:36:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569022560; bh=5sglSv+9hSOJc0b2FWY8nQeYj0FpLkqsXtS/3eUTZSE=; h=In-Reply-To:References:Cc:To:From:Subject:Date:From; b=QoMrsX259uVvKBLBgqFjYCWW1WAj3R7P2E6eLBj5gAyIaMIeiTZjnJfb1ejgaJusJ UkwBwgUAjsyBgNEGV13XM9dZr3pmhCUgchYJf34niV3DUvIrN8ruCbCxuAbZoqAL58 4PWBzZepSAwldwciLUi98T3R3UO3RBc/aPRrzFTw= MIME-Version: 1.0 In-Reply-To: <20190920231923.141900-7-brendanhiggins@google.com> References: <20190920231923.141900-1-brendanhiggins@google.com> <20190920231923.141900-7-brendanhiggins@google.com> To: Brendan Higgins , frowand.list@gmail.com, gregkh@linuxfoundation.org, jpoimboe@redhat.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, peterz@infradead.org, robh@kernel.org, shuah@kernel.org, tytso@mit.edu, yamada.masahiro@socionext.com From: Stephen Boyd Subject: Re: [PATCH v16 06/19] lib: enable building KUnit in lib/ User-Agent: alot/0.8.1 Date: Fri, 20 Sep 2019 16:35:59 -0700 Message-Id: <20190920233600.48BBA20644@mail.kernel.org> X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: pmladek@suse.com, linux-doc@vger.kernel.org, amir73il@gmail.com, Brendan Higgins , dri-devel@lists.freedesktop.org, Alexander.Levin@microsoft.com, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, khilman@baylibre.com, knut.omang@oracle.com, wfg@linux.intel.com, joel@jms.id.au, rientjes@google.com, jdike@addtoit.com, dan.carpenter@oracle.com, devicetree@vger.kernel.org, Kees Cook , linux-kbuild@vger.kernel.org, Tim.Bird@sony.com, linux-um@lists.infradead.org, rostedt@goodmis.org, julia.lawall@lip6.fr, kunit-dev@googlegroups.com, richard@nod.at, torvalds@linux-foundation.org, rdunlap@infradead.org, linux-kernel@vger.kernel.org, daniel@ffwll.ch, mpe@ellerman.id.au, linux-fsdevel@vger.kernel.org, Andrew Morton Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" Quoting Brendan Higgins (2019-09-20 16:19:10) > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > Makefile to allow it to be actually built. > > Signed-off-by: Brendan Higgins > Cc: Randy Dunlap > Cc: Andrew Morton > Cc: Masahiro Yamada > Cc: Kees Cook > --- > lib/Kconfig.debug | 2 ++ > lib/Makefile | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 5960e2980a8a..5870fbe11e9b 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2144,4 +2144,6 @@ config IO_STRICT_DEVMEM > > source "arch/$(SRCARCH)/Kconfig.debug" > > +source "lib/kunit/Kconfig" > + Perhaps this should go by the "Runtime Testing" part? Before or after. > endmenu # Kernel hacking _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iBSRV-00025a-HH for linux-um@lists.infradead.org; Fri, 20 Sep 2019 23:36:03 +0000 MIME-Version: 1.0 In-Reply-To: <20190920231923.141900-7-brendanhiggins@google.com> References: <20190920231923.141900-1-brendanhiggins@google.com> <20190920231923.141900-7-brendanhiggins@google.com> From: Stephen Boyd Subject: Re: [PATCH v16 06/19] lib: enable building KUnit in lib/ Date: Fri, 20 Sep 2019 16:35:59 -0700 Message-Id: <20190920233600.48BBA20644@mail.kernel.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-um" Errors-To: linux-um-bounces+geert=linux-m68k.org@lists.infradead.org To: Brendan Higgins , frowand.list@gmail.com, gregkh@linuxfoundation.org, jpoimboe@redhat.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, peterz@infradead.org, robh@kernel.org, shuah@kernel.org, tytso@mit.edu, yamada.masahiro@socionext.com Cc: pmladek@suse.com, linux-doc@vger.kernel.org, amir73il@gmail.com, Brendan Higgins , dri-devel@lists.freedesktop.org, Alexander.Levin@microsoft.com, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, khilman@baylibre.com, knut.omang@oracle.com, wfg@linux.intel.com, joel@jms.id.au, rientjes@google.com, jdike@addtoit.com, dan.carpenter@oracle.com, devicetree@vger.kernel.org, Kees Cook , linux-kbuild@vger.kernel.org, Tim.Bird@sony.com, linux-um@lists.infradead.org, rostedt@goodmis.org, julia.lawall@lip6.fr, kunit-dev@googlegroups.com, richard@nod.at, torvalds@linux-foundation.org, rdunlap@infradead.org, linux-kernel@vger.kernel.org, daniel@ffwll.ch, mpe@ellerman.id.au, linux-fsdevel@vger.kernel.org, Andrew Morton , logang@deltatee.com Quoting Brendan Higgins (2019-09-20 16:19:10) > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > Makefile to allow it to be actually built. > > Signed-off-by: Brendan Higgins > Cc: Randy Dunlap > Cc: Andrew Morton > Cc: Masahiro Yamada > Cc: Kees Cook > --- > lib/Kconfig.debug | 2 ++ > lib/Makefile | 2 ++ > 2 files changed, 4 insertions(+) > > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 5960e2980a8a..5870fbe11e9b 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2144,4 +2144,6 @@ config IO_STRICT_DEVMEM > > source "arch/$(SRCARCH)/Kconfig.debug" > > +source "lib/kunit/Kconfig" > + Perhaps this should go by the "Runtime Testing" part? Before or after. > endmenu # Kernel hacking _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v16 06/19] lib: enable building KUnit in lib/ Date: Fri, 20 Sep 2019 16:35:59 -0700 Message-ID: <20190920233600.48BBA20644@mail.kernel.org> References: <20190920231923.141900-1-brendanhiggins@google.com> <20190920231923.141900-7-brendanhiggins@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20190920231923.141900-7-brendanhiggins@google.com> Sender: linux-kernel-owner@vger.kernel.org To: frowand.list@gmail.com, gregkh@linuxfoundation.org, jpoimboe@redhat.com, keescook@google.com, kieran.bingham@ideasonboard.com, mcgrof@kernel.org, peterz@infradead.org, robh@kernel.org, shuah@kernel.org, tytso@mit.edu, yamada.masahiro@socionext.com Cc: devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, kunit-dev@googlegroups.com, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-nvdimm@lists.01.org, linux-um@lists.infradead.org, Alexander.Levin@microsoft.com, Tim.Bird@sony.com, amir73il@gmail.com, dan.carpenter@oracle.com, daniel@ffwll.ch, jdike@addtoit.com, joel@jms.id.au, julia.lawall@lip6.fr, khilman@baylibre.com, knut.omang@oracle.com, logang@deltatee.com, mpe@ellerman.id.au, pmladek@suse.com, rdunlap@infradead.org, richard@nod.at, rientjes@google.com, rostedt@goodmis.org, wfg@linux.intel.com, torvalds@linux-foundation.org, Brendan Higgins , Andrew Morton List-Id: devicetree@vger.kernel.org Quoting Brendan Higgins (2019-09-20 16:19:10) > KUnit is a new unit testing framework for the kernel and when used is > built into the kernel as a part of it. Add KUnit to the lib Kconfig and > Makefile to allow it to be actually built. >=20 > Signed-off-by: Brendan Higgins > Cc: Randy Dunlap > Cc: Andrew Morton > Cc: Masahiro Yamada > Cc: Kees Cook > --- > lib/Kconfig.debug | 2 ++ > lib/Makefile | 2 ++ > 2 files changed, 4 insertions(+) >=20 > diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug > index 5960e2980a8a..5870fbe11e9b 100644 > --- a/lib/Kconfig.debug > +++ b/lib/Kconfig.debug > @@ -2144,4 +2144,6 @@ config IO_STRICT_DEVMEM > =20 > source "arch/$(SRCARCH)/Kconfig.debug" > =20 > +source "lib/kunit/Kconfig" > + Perhaps this should go by the "Runtime Testing" part? Before or after. > endmenu # Kernel hacking