From patchwork Tue Oct 23 23:57:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Higgins X-Patchwork-Id: 988425 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vDyWSZT9"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="U3V+4wjn"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42fr3z4s99z9sD3 for ; Wed, 24 Oct 2018 11:00:15 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:From:Subject:References:Mime-Version :Message-Id:In-Reply-To:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=UEmY2Ejv4Q65WIDysBzDzoEkNRTgYr1KgYgYUQgrat0=; b=vDyWSZT9FHirrp dVEY2UXvrdPJLtEUqTvUghZzjVOYvoaHQaA3t/XwLCKnc99okMFd2/hspre0QE/SncBQM4cNX8jxF AzPnwLvERW5J+S0N/MInkEZX1PDTvZ9pCjmdWEu4FjyKjlDK47M/W+M/fx99bGPaYloyzTOVNCpvY jP5PtrFFu+OstG5AursO0Cln2Pip8VUBr3CuVnCRJ4GiqSDHYM4M3XrVP/3wO/KfbnMgHPQR9kzKr X+ZJ5fMakQV4AUZXyiQ9nGPu6hqfmbNmNjLR9VU0SwWW9yyegXHn2C2LV7XRvt5eP9RoHw71AHr2Y ztgM9h9Ix6hQ5w7rJoQQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF6ak-0004Ox-SX; Wed, 24 Oct 2018 00:00:06 +0000 Received: from mail-io1-xd49.google.com ([2607:f8b0:4864:20::d49]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gF6ad-0004Cb-Un for linux-um@lists.infradead.org; Wed, 24 Oct 2018 00:00:02 +0000 Received: by mail-io1-xd49.google.com with SMTP id c7-v6so2596572iod.1 for ; Tue, 23 Oct 2018 16:59:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=UeZvXjFGINLPP7Y+ScLiOfP2c4sV2r65nCnlN9aBCLM=; b=U3V+4wjnjb7vyQ315gbwgGzHJcnjv0qgpqLsrRq3caQWaNq+oKPK1jXgz4ywdz0w2p 7E6bDU2HR1JHhadd0AF+yU8y8us7k27HZ5grkEpgUZ5jHs9ET1pKd/Vj4oWOPkV2yNZ1 uqa9CWlTHPGDb+WZ9Zy5dXruWBgTwnZmT1gs4fPlUoXpCI2y2KJf5hCyCpgVTzRNG5K6 kIt9k7r1AEbEI40IDhRdaQGvz6Mz+T1Y/FE20a/gcgDsjwMDy9FjOujG4rey7THcmQ4r 20ehdWpL+HVfMzfDos1C3xS/HXjssVBOfdsVmiO/jQeqwtaHvDqvHvL8nSd022Y+5VQu c7eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=UeZvXjFGINLPP7Y+ScLiOfP2c4sV2r65nCnlN9aBCLM=; b=OHTcOHpUOvvHc1TD2V7liZ57o4T0lv5rZU/zSam8DyV7SnY7+ZQtHIvYHYWxnLeReR TYsy7i4rozy+mc6GHhrG/kagIBkYvAFwif+7qZReUU6KEyUonDBbkYSA+3jeZjKcjiWX vlwVF0KLF3zSPNnzfsnjpfGpRIofvUUDr4F2nhLurIwMllGZhia7bcsy32tGbf62s/7z QNPtsEKWrQzZLZZ4Rh/kq5LgMb2dndP9yQt+3ADoMHGydJPi9ngv3qc0RnE8y1s8NhUW xRjzQpuYSOsj0W8JBZn8H54gDsENIF87Bv+Me88/KiSwb456X5o/V1ewYUK3zFNDujK/ nEdA== X-Gm-Message-State: AGRZ1gIcfF2x/3EM95D2G521VCYhzpK7MfECJwrtGjO/d7oa5S9DcC/s UQ1kI1rqvbTEIMeHGRQhUXkwzSKxEApN/hINrTJVNg== X-Google-Smtp-Source: AJdET5cw0S0HznSKHP0+iquFGIIlvvgRXnFUidX+MYUkyxj0BqvSsWghJpZuUDW+NmpkujXsQUXP3a0nvAjOpf/ULDHU3A== X-Received: by 2002:a24:484a:: with SMTP id p71-v6mr229981ita.23.1540339192953; Tue, 23 Oct 2018 16:59:52 -0700 (PDT) Date: Tue, 23 Oct 2018 16:57:42 -0700 In-Reply-To: <20181023235750.103146-1-brendanhiggins@google.com> Message-Id: <20181023235750.103146-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20181023235750.103146-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.19.1.568.g152ad8e336-goog Subject: [RFC v2 06/14] arch: um: enable running kunit from User Mode Linux From: Brendan Higgins To: gregkh@linuxfoundation.org, keescook@google.com, mcgrof@kernel.org, shuah@kernel.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181023_170000_002897_1A0F4AEE X-CRM114-Status: UNSURE ( 7.45 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:d49 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_MED DKIMwl.org - Whitelisted Medium sender X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: brakmo@fb.com, robh@kernel.org, richard@nod.at, dri-devel@lists.freedesktop.org, linux-nvdimm@lists.01.org, mpe@ellerman.id.au, Tim.Bird@sony.com, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, rostedt@goodmis.org, kieran.bingham@ideasonboard.com, julia.lawall@lip6.fr, joel@jms.id.au, linux-kselftest@vger.kernel.org, khilman@baylibre.com, joe@perches.com, daniel@ffwll.ch, dan.j.williams@intel.com, jdike@addtoit.com, Brendan Higgins , kunit-dev@googlegroups.com Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Make minimum number of changes outside of the KUnit directories for KUnit to build and run using UML. Signed-off-by: Brendan Higgins --- Kconfig | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index 48a80beab6853..10428501edb78 100644 --- a/Kconfig +++ b/Kconfig @@ -30,3 +30,5 @@ source "crypto/Kconfig" source "lib/Kconfig" source "lib/Kconfig.debug" + +source "kunit/Kconfig" diff --git a/Makefile b/Makefile index 69fa5c0310d83..197f01cbddf03 100644 --- a/Makefile +++ b/Makefile @@ -966,7 +966,7 @@ endif ifeq ($(KBUILD_EXTMOD),) -core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ +core-y += kernel/ certs/ mm/ fs/ ipc/ security/ crypto/ block/ kunit/ vmlinux-dirs := $(patsubst %/,%,$(filter %/, $(init-y) $(init-m) \ $(core-y) $(core-m) $(drivers-y) $(drivers-m) \