From patchwork Sat Jan 7 23:06:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SeongJae Park X-Patchwork-Id: 40465 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp1482259wrt; Sat, 7 Jan 2023 15:08:47 -0800 (PST) X-Google-Smtp-Source: AMrXdXtQj5IdBQmTPy6EpFluHFdrDf031JYpdrHLbyaZn8YicNCqwrV6p4gMsCAa0oeI/+9gw1NG X-Received: by 2002:a17:907:1c9a:b0:7c1:2f05:7fd6 with SMTP id nb26-20020a1709071c9a00b007c12f057fd6mr57434778ejc.39.1673132927549; Sat, 07 Jan 2023 15:08:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673132927; cv=none; d=google.com; s=arc-20160816; b=JYhTEvjPW+QsMv7b17hw1tG+7BrX6iMGPfLTVpajWJjXjAhnbKilbY4OsIn2VQb9+o oINe/grAGD8ewE+ko0QQfH1vFjxCVjGofnsLhHGzqPEpmHoFpnrJ4Nslwy+ocMICha1j v4mVFWxdX2WfwFYVmPZTQEv29x1tj5/d17GkkKX5ezCcw/Uvlj+COOo4grx5nhMPSdFP +VR6s5YOeHomVf8IzV0faYWWO3K17TWUZKBNKw/NU5x7jG8GYZKPyLf/izlDusRTMu3o eppmLsPcK3X+n6d77RjmA1m/DPvS3c7o/Nc2uyuwEHkcVKwKgWxVii4Bmrujdebf1B+x OpHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PmLZLz9Ll7w9Jdeymz/tTqp6uJZJwBxvh2O5hgUAa1Y=; b=N4xnxk3mPV2AyZNlmqGh8E+ZaBcssTZmS0PCHIRuTX8izohntZOuYifhSkCjI28ECs 6eBxD49jNjSm0JKptZZTQz0mcYAklhVpH+F7rVVDhXLO/eSwESSxtbn1vFoTuQaGTRB7 aIk0UYHu2vWezScbw5F25NcNXQP3nv/1tVHlcPOHdYRG5B3kAsI2jeOh9Zo6WwL7952V SYxFZD/Wx9dIPZETqO5FolGVUCbFNZL0GSoTrictoJG99BSudSebC5Ttl4PJkEKvS1O6 QtmhXWd9UNMsX7BXhAOoXFD0dc9WelsxLrwD//ZfsIEPuOnigFXrYQwcFoYlecKxaDrP S6wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NAJGOpjY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u5-20020a50eac5000000b0045d4b7ad162si4766075edp.546.2023.01.07.15.08.24; Sat, 07 Jan 2023 15:08:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NAJGOpjY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231716AbjAGXGx (ORCPT + 99 others); Sat, 7 Jan 2023 18:06:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbjAGXGu (ORCPT ); Sat, 7 Jan 2023 18:06:50 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BE52271A2; Sat, 7 Jan 2023 15:06:49 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id CBD4BCE0AC8; Sat, 7 Jan 2023 23:06:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85BB7C433EF; Sat, 7 Jan 2023 23:06:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673132806; bh=Lludlr5axsj3b5IQ+wjvPk4q6BAf6EJEp6FTXWpxkXI=; h=From:To:Cc:Subject:Date:From; b=NAJGOpjYDPqzh7Gg3BmBmrTG9L24/44l281SMa6bqXcWeFm0ASTVuFBVQXMrvue8z PxxW4QiH9FE+U33YPPpn9WuWBMAm/cFyURtoKTO2gR4xT7fu6gRbWdTGbyYKhjWpbh gPn8nLpb1ixsg/q6BxVxy42D2a/cCXJZLlKDSVJXIzb+86NWpG3xOpAtpeQQ9o9TKR yw0dn9VjL57Vx1lqlOLkEOGylpwKUglCC0l5LPPshugs//3JEJcOn0IixNjDWiLZ0e /e0qQRqxxNsKGauntNZBa5v3ByX4CVrzPVuE9xeI+2k/JN/EJVIpXi6huxHsREkYg8 Chg/MQ+YTG48A== From: SeongJae Park To: Andrew Morton Cc: Shuah Khan , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, SeongJae Park Subject: [PATCH mm-unstable] selftests/mm: convert missing vm->mm changes Date: Sat, 7 Jan 2023 23:06:43 +0000 Message-Id: <20230107230643.252273-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754407032825361020?= X-GMAIL-MSGID: =?utf-8?q?1754407032825361020?= Commit 6b380799d251 ("selftests/vm: rename selftests/vm to selftests/mm") in mm-unstable is missing some files that need to be updated for the renaming. This commit adds the changes. Fixes: 6b380799d251 ("selftests/vm: rename selftests/vm to selftests/mm") in mm-unstable Signed-off-by: SeongJae Park --- tools/testing/selftests/Makefile | 2 +- tools/testing/selftests/kselftest_deps.sh | 6 +++--- tools/testing/selftests/mm/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index 41b649452560..56a29f2de8e6 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -85,7 +85,7 @@ TARGETS += tmpfs TARGETS += tpm2 TARGETS += user TARGETS += vDSO -TARGETS += vm +TARGETS += mm TARGETS += x86 TARGETS += zram #Please keep the TARGETS list alphabetically sorted diff --git a/tools/testing/selftests/kselftest_deps.sh b/tools/testing/selftests/kselftest_deps.sh index 7424a1f5babc..4bc14d9e8ff1 100755 --- a/tools/testing/selftests/kselftest_deps.sh +++ b/tools/testing/selftests/kselftest_deps.sh @@ -12,9 +12,9 @@ usage() echo -e "Usage: $0 -[p] [test_name]\n" echo -e "\tkselftest_deps.sh [-p] gcc" -echo -e "\tkselftest_deps.sh [-p] gcc vm" +echo -e "\tkselftest_deps.sh [-p] gcc mm" echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc" -echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc vm\n" +echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc mm\n" echo "- Should be run in selftests directory in the kernel repo." echo "- Checks if Kselftests can be built/cross-built on a system." echo "- Parses all test/sub-test Makefile to find library dependencies." @@ -120,7 +120,7 @@ l1_tests=$(grep -r --include=Makefile "^LDLIBS" | \ # Level 2 # Some tests have multiple valid LDLIBS lines for individual sub-tests # that need dependency checks. Find them and append them to the tests -# e.g: vm/Makefile:$(OUTPUT)/userfaultfd: LDLIBS += -lpthread +# e.g: mm/Makefile:$(OUTPUT)/userfaultfd: LDLIBS += -lpthread # Filter out VAR_LDLIBS to discard the following: # memfd/Makefile:$(OUTPUT)/fuse_mnt: LDLIBS += $(VAR_LDLIBS) # Append space at the end of the list to append more tests. diff --git a/tools/testing/selftests/mm/Makefile b/tools/testing/selftests/mm/Makefile index 89c14e41bd43..6a4b639b2b2b 100644 --- a/tools/testing/selftests/mm/Makefile +++ b/tools/testing/selftests/mm/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 -# Makefile for vm selftests +# Makefile for mm selftests -LOCAL_HDRS += $(selfdir)/vm/local_config.h $(top_srcdir)/mm/gup_test.h +LOCAL_HDRS += $(selfdir)/mm/local_config.h $(top_srcdir)/mm/gup_test.h include local_config.mk