From nobody Sat Jun 27 23:11:38 2026 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 9DE44C4332F for ; Fri, 18 Feb 2022 00:11:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230056AbiBRALO (ORCPT ); Thu, 17 Feb 2022 19:11:14 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:47200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230093AbiBRALM (ORCPT ); Thu, 17 Feb 2022 19:11:12 -0500 Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD6E158E4A for ; Thu, 17 Feb 2022 16:10:51 -0800 (PST) Received: by mail-pf1-x44a.google.com with SMTP id y28-20020aa793dc000000b004e160274e3eso677775pff.18 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=OS402md6wZ5izFw/mKAiu6fL8GuU76x6ydnerw0/uEzJtRnEBuf6Cf8o0sUuhulzCi sVaZKgxhpeecwo1CK1n9Mv1ND/Kzk62qop75VQTIKjgKNIh1sUnEnwLLIIH/JAXs/R9P 8tejQ8ugX75jsjsUqRQ/NG1MQBNf4OIYMlTPxr9g1PQlFTKXC1EHvyYus2hRnjrs1X8m auC6zbweJVR+URmG8a4SoXsqjg2UV44rFD0U1VGaidTWwms7nJCNXu+VVUIUCH7We3aD 5dqqirTx892xi9z1yt9PeAftg5sBVsY26xcROUhO2X5jJZzT4yxpf9ZWewsO+rD06p8j dZmg== X-Gm-Message-State: AOAM533H73uHZJ/qlzU+HDtZ0tgoDqPleSIc5pkTQY49s2e1rhFIv9XK 0oXEArw0IWPCH3/RTWri2h3Mu9qL27GD 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-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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/Mak= efile index d08fe4cfe811..ffe453760a12 100644 --- a/tools/testing/selftests/Makefile +++ b/tools/testing/selftests/Makefile @@ -9,6 +9,7 @@ TARGETS +=3D clone3 TARGETS +=3D core TARGETS +=3D cpufreq TARGETS +=3D cpu-hotplug +TARGETS +=3D damon TARGETS +=3D drivers/dma-buf TARGETS +=3D efivarfs TARGETS +=3D exec --=20 2.35.1.265.g69c8d7142f-goog From nobody Sat Jun 27 23:11:38 2026 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 14BBFC433F5 for ; Fri, 18 Feb 2022 00:11:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230114AbiBRALR (ORCPT ); Thu, 17 Feb 2022 19:11:17 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:47206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230100AbiBRALM (ORCPT ); Thu, 17 Feb 2022 19:11:12 -0500 Received: from mail-pf1-x44a.google.com (mail-pf1-x44a.google.com [IPv6:2607:f8b0:4864:20::44a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07A4C593B9 for ; Thu, 17 Feb 2022 16:10:52 -0800 (PST) Received: by mail-pf1-x44a.google.com with SMTP id j204-20020a6280d5000000b004e107ad3488so684122pfd.15 for ; Thu, 17 Feb 2022 16:10:52 -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=kvMTzh2/T8kmNcPXRtpAht3HeFrU/i9Nw6zaPlqQkvjyEuUXm2DyCEjNhgOm+6izhY cqOyJI7ZuSXYAJD6QON/Suc4kZOq6iYuXi+VO8LEhMmrSqaTOui7/111SQoa9NrrgCBD fVIu9EcK/Ho1gTXeAPDvdMgpI0AIYK81mD9BoIVbD8YV2IsIMX7bIdSjYGizZWyRsJUq 3mVxG549n9LkBjIlEeSg/fTzO9NN/rV7ZFo4MDDP/zzf3/387Ur9U03LVDIMuHZEk4Zi pRmSRf0pVvAEG/Zkr3oeHTqj+RL1LENA+xd3Wa3BefZqT75BgsOh6w0oPcsOrpdfAkc8 9KDA== X-Gm-Message-State: AOAM530CeRRY6e6XvnG5ozvd+Dd0Gnrf0XkRGgkUWJXzgSic/+0xGOQR qNM/0S0fUwBIuLf2MAQcTggmtrOai2ur 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-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 =3D> 100755 tools/testing/selftests/damon/debugfs_attrs= .sh mode change 100644 =3D> 100755 tools/testing/selftests/damon/debugfs_empty= _targets.sh mode change 100644 =3D> 100755 tools/testing/selftests/damon/debugfs_huge_= count_read_write.sh mode change 100644 =3D> 100755 tools/testing/selftests/damon/debugfs_schem= es.sh mode change 100644 =3D> 100755 tools/testing/selftests/damon/debugfs_targe= t_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/testi= ng/selftests/damon/debugfs_schemes.sh old mode 100644 new mode 100755 diff --git a/tools/testing/selftests/damon/debugfs_target_ids.sh b/tools/te= sting/selftests/damon/debugfs_target_ids.sh old mode 100644 new mode 100755 --=20 2.35.1.265.g69c8d7142f-goog