From patchwork Fri Feb 18 00:10:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuanchu Xie X-Patchwork-Id: 543534 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81A73C433EF for ; Fri, 18 Feb 2022 00:11:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230093AbiBRALP (ORCPT ); Thu, 17 Feb 2022 19:11:15 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:47486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230057AbiBRALO (ORCPT ); Thu, 17 Feb 2022 19:11:14 -0500 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C77955A0B2 for ; Thu, 17 Feb 2022 16:10:51 -0800 (PST) Received: by mail-pf1-x449.google.com with SMTP id a22-20020aa79716000000b004e16e3cc5fcso690932pfg.11 for ; Thu, 17 Feb 2022 16:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=daH+2gut1QW9kZErJcIx6WIChTci/r2UH1rfRtql99A=; b=q6FFpZFF3pNwD7OlZ/4hTa2+tIgGnbd0G+XzZL/u5K1MB7T5d3HgNPpm2WrpsJPGFI qbChI7Kpr1Y4OTN5CIt+CtbUwHq36Dd+XGnXtyuPffUh+44yH9JneNO90sOM503sq9Pt eZKwkuGVLEDIqmylXibuvfO4mWbfbCRMK5t+UM9Ilo+KyaG5HjwenZcHPW8R1weAluSt i263hDw9mxz0nZrOUc3z2zZ9m/JbUInIRuLVFBolt1BGTlkMdal9EsLlqJ9bYGB+yS5s 5eibzP96XUS/1KgFsqhE0qyvdkm/TzDcixiWKzx+aATSw/NN755gez1zeV5N/3bhONkt Kp8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=daH+2gut1QW9kZErJcIx6WIChTci/r2UH1rfRtql99A=; b=gevU3DznyIT7TWiKfPqw089Dz1mLG1SZZu58iOgBE2ABlw8SXUZar222FCykA5PzM6 mX0SCdnm0BhUeFUj/P5/TbaDy36cBQORrbmHmfwC7BjsnivUIs7ZYY8+u4wPBq38Cv3k HWyPeMSWLJwPnjvVdVmcgHkNZe0sEAtqjOQyvtjEK4jkyTTa4iE0N2RezWQHFI/IdAej WL2ow1T67CGleMnHgtU9NkpPfKrfFQUSQRqJDJPEhFKxkh1AoDDg8vpjQJx35q3JyjKn C2tLh7R8UVtwxT5ESFtjwXOP2UKpsvM+m0YdNTEi+KWk3qWQCu9ihxl192VjMktRYDau 6N8Q== X-Gm-Message-State: AOAM5317IqIFOmDS4bi6f8djVnKnTpp+ls5aVq5PDjCU4HxsnydWqINe rNkHI46RLiewn3RBebb0vom8z6m+T6d0 X-Google-Smtp-Source: ABdhPJw6fTpwF9+VtM9cM6JfysP1jGMHMiG5w+LL8NIkGyT/Fp5ts9IYmAvlnIrXQpBFUhpxsnIfEpXhUeXQ X-Received: from yuanchu.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:1e51]) (user=yuanchu job=sendgmr) by 2002:a17:90a:a50f:b0:1b8:e6ad:f63c with SMTP id a15-20020a17090aa50f00b001b8e6adf63cmr199698pjq.1.1645143045060; Thu, 17 Feb 2022 16:10:45 -0800 (PST) Date: Fri, 18 Feb 2022 00:10:16 +0000 In-Reply-To: <20220218001017.3500673-1-yuanchu@google.com> Message-Id: <20220218001017.3500673-2-yuanchu@google.com> Mime-Version: 1.0 References: <20220218001017.3500673-1-yuanchu@google.com> X-Mailer: git-send-email 2.35.1.265.g69c8d7142f-goog Subject: [PATCH 1/2] selftests/damon: add damon to selftests root Makefile From: Yuanchu Xie To: Shuah Khan , Markus Boehme , SeongJae Park Cc: rientjes@google.com, Andrew Morton , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Yuanchu Xie Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Currently the damon selftests are not built with the rest of the selftests. We add damon to the list of targets. Fixes: b348eb7abd09 ("mm/damon: add user space selftests") Signed-off-by: Yuanchu Xie Reviewed-by: SeongJae Park --- tools/testing/selftests/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile index d08fe4cfe811..ffe453760a12 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -9,6 +9,7 @@ TARGETS += clone3 TARGETS += core TARGETS += cpufreq TARGETS += cpu-hotplug +TARGETS += damon TARGETS += drivers/dma-buf TARGETS += efivarfs TARGETS += exec From patchwork Fri Feb 18 00:10:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuanchu Xie X-Patchwork-Id: 543535 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0714C433F5 for ; Fri, 18 Feb 2022 00:10:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229949AbiBRALM (ORCPT ); Thu, 17 Feb 2022 19:11:12 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:47198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230092AbiBRALM (ORCPT ); Thu, 17 Feb 2022 19:11:12 -0500 Received: from mail-pf1-x449.google.com (mail-pf1-x449.google.com [IPv6:2607:f8b0:4864:20::449]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1E1F58391 for ; Thu, 17 Feb 2022 16:10:51 -0800 (PST) Received: by mail-pf1-x449.google.com with SMTP id v207-20020a627ad8000000b004e0bb852117so727301pfc.0 for ; Thu, 17 Feb 2022 16:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=4GwV0UbQb705sFLySkVzCAThIA3EfMwCC5LKqatKq2w=; b=X6XZEVMjv2lZXcUUO2jKjlrunDXYs7/HCQObdkmNlLSbyef+zYZW1mXbwVKDh1JlrC H11/DRRbdoeRaU08uihVlIO54agTGWuSI24fdNkaoC7ZW/508RzzgplyJWRCETQ6f72i S2fTLXNiWewqtlA8QViPjXFxBIV7UQy+DcdW0RCHm8h+gTnQy1b/ytnYsncTcCx41m/0 S6xy4XB4oFtjCAYPXeSolZ9MyvHEKN8ajH6/5hhBr6M/K9QjMBi+gKWmgkSN/9w5ps/+ nwmCkzGFFn6GlSs9nliH/bVbAUkxJcFYtOVTg+jn66YLmxdQRC8cvtmFK1iJ1/bGDtQn MtkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=4GwV0UbQb705sFLySkVzCAThIA3EfMwCC5LKqatKq2w=; b=YKkfONvNpIRRb8NdiMkKlLouZWO9VQirc6sfa4hMnW1qjj78wH71Rfj2BSN+ElScOC WH7e1eWSmEksgu3Y3p5rR3S56fTisDQlrnQNMNp8ZAFKyDSx+uyz6AKWFPvm1tT2KQg6 WGQ3VOs8VndYBLt3G76mxOxo3i/Rop5b2dnNVkFSB8Qn6zH1hKtlLmXKKBagVyzVnuT3 cHQ0mwQtnsQFBGlIGTTHk5KEXmqok+QEL6UF7vKQDlIkhw8xpARjfmZgj4oZp6tHeX2P vzQVpdw4LiFD5+czePkKoHNVCEoWQVXxT/R9BuL13uTlgijVR523DcWlAWZyVKcY0A5i Ec2Q== X-Gm-Message-State: AOAM5310jRs2fTSO3UPIyYANGMoaen26cvc7Vl1m1MvsspwiQ/lOanCs fsFpM6cM5TUiAapeaBBg9f0Z4slMqnWJ X-Google-Smtp-Source: ABdhPJwQP5bHgoOzpFp3TTtpGU/LXL4rOWNuhpg9rKWtCDjat6Uh/iKyoXSWAuOJoZxV9sgnw0uJkIKAZySB X-Received: from yuanchu.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:1e51]) (user=yuanchu job=sendgmr) by 2002:a17:90a:a50f:b0:1b8:e6ad:f63c with SMTP id a15-20020a17090aa50f00b001b8e6adf63cmr199719pjq.1.1645143047006; Thu, 17 Feb 2022 16:10:47 -0800 (PST) Date: Fri, 18 Feb 2022 00:10:17 +0000 In-Reply-To: <20220218001017.3500673-1-yuanchu@google.com> Message-Id: <20220218001017.3500673-3-yuanchu@google.com> Mime-Version: 1.0 References: <20220218001017.3500673-1-yuanchu@google.com> X-Mailer: git-send-email 2.35.1.265.g69c8d7142f-goog Subject: [PATCH 2/2] selftests/damon: make selftests executable From: Yuanchu Xie To: Shuah Khan , Markus Boehme , SeongJae Park Cc: rientjes@google.com, Andrew Morton , linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Yuanchu Xie Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org The damon selftests do not have the executable bit on. We fix that by setting the x bits on the .sh files similar to other existing shell selftests. Fixes: 9ab3b0c8ef62 ("selftests/damon: split test cases") Signed-off-by: Yuanchu Xie Reviewed-by: SeongJae Park --- tools/testing/selftests/damon/debugfs_attrs.sh | 0 tools/testing/selftests/damon/debugfs_empty_targets.sh | 0 tools/testing/selftests/damon/debugfs_huge_count_read_write.sh | 0 tools/testing/selftests/damon/debugfs_schemes.sh | 0 tools/testing/selftests/damon/debugfs_target_ids.sh | 0 5 files changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_attrs.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_empty_targets.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_huge_count_read_write.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_schemes.sh mode change 100644 => 100755 tools/testing/selftests/damon/debugfs_target_ids.sh diff --git a/tools/testing/selftests/damon/debugfs_attrs.sh b/tools/testing/selftests/damon/debugfs_attrs.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_empty_targets.sh b/tools/testing/selftests/damon/debugfs_empty_targets.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh b/tools/testing/selftests/damon/debugfs_huge_count_read_write.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_schemes.sh b/tools/testing/selftests/damon/debugfs_schemes.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_target_ids.sh b/tools/testing/selftests/damon/debugfs_target_ids.sh old mode 100644 new mode 100755