From patchwork Tue Oct 16 23:50:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brendan Higgins X-Patchwork-Id: 985042 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="PsP5LsS2"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="X6G8Q/xz"; 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 42ZXGX05PQz9sj9 for ; Wed, 17 Oct 2018 10:54:28 +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=EsgKfF8xZgXmCYlj50WWHKz0Cxziw+SdFgt1xrtSa1w=; b=PsP5LsS2Zmd+TO K+lq85umXzp5t88Et+NWNCTmyCYwfgIgTvUVhFdeXp4KPSX8sxChl17+TTU1eZGk3TksZMAUFU+6B 7znciUNOINCbvZ/liGfPLBawz8aJfgSQVZV/Ncuk3jxzI95XVeK+cIGqECreBNbyu+IMCKsncbZAo gUg2JEud0Y3PnLkZKEme/NRozIleRhohCG/SYZPfxud9PJueGswR6aZJXN27xE0Rfp+pyEizGRmBl DPadVuWuqaQ0UpCeAu8ixx2uBrBrJqk/iO9eHsy0xS6saOPd30eJOCZLd/waRu6N/1vo4x6yGkdtS j2Vzk16UFCDtxvq6eXnw==; 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 1gCZAK-0004GB-0x; Tue, 16 Oct 2018 23:54:20 +0000 Received: from mail-pf1-x449.google.com ([2607:f8b0:4864:20::449]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gCZAD-00040I-D7 for linux-um@lists.infradead.org; Tue, 16 Oct 2018 23:54:16 +0000 Received: by mail-pf1-x449.google.com with SMTP id n81-v6so25321511pfi.20 for ; Tue, 16 Oct 2018 16:54:01 -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=z58nC2iAZa+aWGH30Fl4KryPGgLRMoTZOR6aRJpK+Rc=; b=X6G8Q/xz0LHNn4askpya4Qyjb5yi0UFIqxSD98dPg2XnCRxBCWVSS+vhfvpHxdgZ61 c8MOcFdxRdS7RvaoTKOpSWmv/d588hkCfMLticT622iptne2B4SinvQthUHuCSQIzpmi 5NRik3PeyN00lSHTmNDR8St6U112z+m9a6hYY7kin6bs8iBVJl7HO0o8Q/41uh51hyul U++OufyoHMd+uGcdmV29bmdotEcHuGPQyeR/9f43r460hzOU6CWx1kPp1gjqMGzIEwtV XySW/0X7EHZPSJQAX7MNzAqiyHRSZ1eGqanOxIYRR2Ho/7Yb/W03dhboQAwNc7myUD46 zH3g== 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=z58nC2iAZa+aWGH30Fl4KryPGgLRMoTZOR6aRJpK+Rc=; b=uNTGHUTx1IER9l3BBF4+igrUzhimxZCcb+zcs5wqzr4faLZmJwxTD5Qnd3w0v/w9PJ lC4oQq5KWMZ2eT6ZituFebPY1AYv0t4sOfTfuZt+bo9GvI7WqQ2i6AKAY95QVYct1zkx 21YM9sqZaqMgONFbfNG366NWGtgCCQrovBWlX/ljyJinc+z2GnrZEqDuZSxbgorXmhzA uRdcjrWQTypYkqN58+xymsZJHP0No/cSmgsn9TffPLl3kfLGyu1wU3E7ooXA+OvnrACx pXn+FWkjz7bvYkG+uRo1RAJVsal84MjOTbyQ4aY2JWP1PCzy7VmNgSLykFK55VCZUhLx +Bpw== X-Gm-Message-State: ABuFfohoPM0Uw8j2J13kfuNRZXeRitdHRh9kv9wsLKJ80swz7L8pwg5a pNnMJ9lw6crWi4PfZXJ6HxpHtqiGzryB4Nbri8v5eg== X-Google-Smtp-Source: ACcGV63Eo+I6sCgcX/mpPbvZqH7+J7ycAASublcwpAXVYGmTf5rbFj1Qj6EfGfLoj+l0BjWoS2iTim6llDlsLHdgvElOGQ== X-Received: by 2002:a62:908e:: with SMTP id q14-v6mr12401580pfk.62.1539734041297; Tue, 16 Oct 2018 16:54:01 -0700 (PDT) Date: Tue, 16 Oct 2018 16:50:55 -0700 In-Reply-To: <20181016235120.138227-1-brendanhiggins@google.com> Message-Id: <20181016235120.138227-7-brendanhiggins@google.com> Mime-Version: 1.0 References: <20181016235120.138227-1-brendanhiggins@google.com> X-Mailer: git-send-email 2.19.1.331.ge82ca0e54c-goog Subject: [RFC v1 06/31] arch: um: enabled 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-20181016_165413_514934_EF195FCD X-CRM114-Status: UNSURE ( 7.11 ) 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 ---- ---------------------- -------------------------------------------------- -7.5 USER_IN_DEF_DKIM_WL From: address is in the default DKIM white-list -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -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, richard@nod.at, mpe@ellerman.id.au, Tim.Bird@sony.com, linux-um@lists.infradead.org, linux-kernel@vger.kernel.org, rostedt@goodmis.org, julia.lawall@lip6.fr, joel@jms.id.au, linux-kselftest@vger.kernel.org, khilman@baylibre.com, joe@perches.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 Makes minimum number of changes outside of the KUnit directories for KUnit to build and run using UML. Signed-off-by: Brendan Higgins --- Makefile | 2 +- arch/um/Kconfig.rest | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 863f58503beed..c8e659468ed49 100644 --- a/Makefile +++ b/Makefile @@ -944,7 +944,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) \ diff --git a/arch/um/Kconfig.rest b/arch/um/Kconfig.rest index 08327b9c0cbea..484c4cfcad1ef 100644 --- a/arch/um/Kconfig.rest +++ b/arch/um/Kconfig.rest @@ -1,4 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 + +source "kunit/Kconfig" + source "init/Kconfig" source "kernel/Kconfig.freezer"