From patchwork Wed Apr 12 09:28:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 13208684 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B9DCC7619A for ; Wed, 12 Apr 2023 09:30:42 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AFBCD900003; Wed, 12 Apr 2023 05:30:41 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id AA86A900002; Wed, 12 Apr 2023 05:30:41 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 96FFE900003; Wed, 12 Apr 2023 05:30:41 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 83A8E900002 for ; Wed, 12 Apr 2023 05:30:41 -0400 (EDT) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 2C1DB1A5387 for ; Wed, 12 Apr 2023 09:29:15 +0000 (UTC) X-FDA: 80672215470.29.FDCCD8B Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by imf24.hostedemail.com (Postfix) with ESMTP id 260E018000F for ; Wed, 12 Apr 2023 09:29:10 +0000 (UTC) Authentication-Results: imf24.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=Alwr349E; spf=pass (imf24.hostedemail.com: domain of anders.roxell@linaro.org designates 209.85.167.46 as permitted sender) smtp.mailfrom=anders.roxell@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1681291751; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=rcb/qkDEsQAl3olw9yoUk92A6JDi4rIg7+uNlXHrrCs=; b=iupNeeyN3lJVgi0U8i3Qr+ZElhLoQq/hETy7+nSIF1VrHq9xIKp4FTguIar5yEvQCue9WF VKk8FfqNMYtdVEt1tczgH+Dgt8fqC2+6Qj7HC6ux42lp/CSJmEa9UzCFSPvlbnKaHL55lI SZMN++47TskEeX4mUAZekcxf3R12Uq0= ARC-Authentication-Results: i=1; imf24.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=Alwr349E; spf=pass (imf24.hostedemail.com: domain of anders.roxell@linaro.org designates 209.85.167.46 as permitted sender) smtp.mailfrom=anders.roxell@linaro.org; dmarc=pass (policy=none) header.from=linaro.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1681291751; a=rsa-sha256; cv=none; b=SVpuPaZvCq5rT4YJMg1liSypXPXw90SKcx1mzdbhaJOl0uvqj1VZV7XGr3ajBttQZb1uiw gqAYNzd9fGGSxOHxQIFa/Rl0UaU+ldnbiP+nbQrvnb41jnCpadEtwpRQioZWsF7LxbtatQ CykQ1eL7cI5LFNEak7a31+qk2Vbq4I4= Received: by mail-lf1-f46.google.com with SMTP id z8so15674202lfb.12 for ; Wed, 12 Apr 2023 02:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681291749; x=1683883749; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=rcb/qkDEsQAl3olw9yoUk92A6JDi4rIg7+uNlXHrrCs=; b=Alwr349E2yAIHR5wfg8SEgSZr/CCUPuG2GWmqALnr6hK6vdoizML4AWTfimx5up2SW cE8J8yP2FMiI6DphLH5GAuGP9jFQhyHr9B9gpzG3o/XOmdzNTJsNKzZ5rhtiPrnMoNN6 tUkso/4ZDUl4jc01UGsKK7npR707zP10BciQhEVCmXgwtI00WG/ModH5mWWI2Qd3ge23 eZl6c9m0Ll4esPo6mtIne1N0Vq8tCTxps5632eE7aeNA4kvMdRQaqD56z2m+mnJ5V+Se BkbwY8oyLEn7hwSO6+DUHUqZYLNHPwaXJBiwSQp7AkruLSQZxZi+nSJh82LvrlrrozpN kReg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681291749; x=1683883749; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rcb/qkDEsQAl3olw9yoUk92A6JDi4rIg7+uNlXHrrCs=; b=c8p/zrzkBFHnp1PJ3iBCpwIdpEAN5RFOJgzw+dPGMeDAlLgllzoPmibuNOt+BifWcq 2lLPsxpWSCFt/Ghk+90f26UQS7iDnkNR02TKMJQEksAtbNHhYEuRTRb6/+he40zjR3Dj l4RMah/c2uar0iaxplLvQSU9tzx/Qlt/fotRNxCc3nqcWeQNTGbTd5z87IbnIECbjT6B XuvdHVtA6ehKXXKlfNxcrt306HjZBb37elQPQyn3KSqTtxfPRMOs7Je8WZE00PQ6bIcw FTvYd/CXnz35VTeVEMrEQGjQgJUitmzWulsNNmgv/aBql8i78erkksK//ag98PKU/KTo SZbA== X-Gm-Message-State: AAQBX9ebU0OQ42fJR6XM3bKXh5p/PGAZqXkvJ2nEeT1FJXW8+TPLvLrG 3wS9PNjD7bm442oJ2MRaGo8FCA== X-Google-Smtp-Source: AKy350ZowSyMYKkqTf7keNy16KvCpT3A3P84fOVnNItqH3nenGNIhyEzgSn0fOn/v5tDeetQ9TjNjA== X-Received: by 2002:a19:ad0c:0:b0:4e8:4489:6f06 with SMTP id t12-20020a19ad0c000000b004e844896f06mr3826521lfc.58.1681291749100; Wed, 12 Apr 2023 02:29:09 -0700 (PDT) Received: from localhost (c-9b0ee555.07-21-73746f28.bbcust.telenor.se. [85.229.14.155]) by smtp.gmail.com with ESMTPSA id i12-20020ac2522c000000b004db3e330dcesm2959121lfl.178.2023.04.12.02.29.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Apr 2023 02:29:08 -0700 (PDT) From: Anders Roxell To: sj@kernel.org, shuah@kernel.org Cc: linux-kernel@vger.kernel.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, Anders Roxell , Naresh Kamboju Subject: [PATCHv2] selftests: damon: add config file Date: Wed, 12 Apr 2023 11:28:54 +0200 Message-Id: <20230412092854.3306197-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Rspamd-Queue-Id: 260E018000F X-Stat-Signature: bkidjrznh9ba151azc6xbympmfgmhhsu X-Rspam-User: X-Rspamd-Server: rspam08 X-HE-Tag: 1681291750-182253 X-HE-Meta: U2FsdGVkX19sgS9aWkwlxjWBY5I5I4oKVtG2yx7VIxEd60s/CFqnV9l8/BidqzqfULv9RgmWl9AmEbT9zud9a3H+UpeeaWZMLxBpTc6MDbFi3pqqM857ukFFgUmJaZQgK5zSbSM0jUGLA7zIHJA2XYvbTkQrx6DpxWKQkwuFEnVrsKxD/baSkwIHJOlvWRh0PSmfV4wk1KmVJYlvMaf4bjz/SoVHbzT5hsrxwjTEapfi9ykaDIEMme2pPuXmPBkwrhTAJKo0OsSkZ1qRWdPX2tflXI/AD2+tSCXB2F0qBoJL/ImnrgmmPQ0iiXGebCm+hJJi/SLQDOwgSjeITFGIvqzRQUAVDKUEVHuOssidpxSdk+QWTy8gE3AcgibikxS/Hik94s/bXvCIa7n8z6t0vK7hNnx4yhlKa2j2nMj6g8UUYrp+1HAQSos2hnkp8UZ7WfGWlqjJiXmjdqE2hk7rkdql7uOTniPe+x7A4vkmPKKi/srp1Wie2iP4jLfVhYtbYmeNUkyPmAC6sWF6NuwJxiIgUZfO21ghlvHyRd7L9Qr511HG/5nKvFmEnRYpN3LQSc8v7FzsjF4cOPQe+N/w0FPcuKjW+Xkm+WCiRTJgTuzWi15lNIrhjgtvw/AxqAlcho9ReNO2tMDuamN3TNDHT3XbNLVOnML1a5iBWjTUSJg8L1w+wjdw1NfSN+QRxfUSUs4vXQWTmS2dcjGFJtBVPphujcW6tsaL3/jhwPRQwUnn4Ng1Ckz/1vJEFj8bASdJSYdeGiZvzDMaL9FUevPSoXu+rlXup/5ruUvZdik6ZziMwntZTU69eUhr3UrfZTTRzZ7z1tVsxsTuJ5oFp2byHeO3irf2KyaTCawp1lRsbGuDhO+PC94tNXoVVX65DG21HzC0E9LheCnIEkA7AQ1tEcqQjHlg1rnk8Ki7dMYzU7QJqHAMbXJGRc5tGIykAwo5hPgXw0olmGFHj05tlUG fZILAqFW IX3aUgNosZ7atcdtFpjS+HZItVIXWqsc+jCXH6ioEwGr2DpfJKaaxYPbAoAse/P55qk3MRAqhUNaSGZP0ibIyHVuaUoc1RobRrDEQtYdrHj6yVdAs1PFWM3qw+/PX6wPj6Agrg+ExPa18ax9GsVkmMWg8Z1BBDw+0X+fnUdfqIOtVKrNFmUwK2rmznK4LUAMihitIctL0SFErv4PLwCNMfmOInar6wuVBmJSEup8p/kyb66lErMprZ6akE9EyoPvhpprMYVFBBVXo5si+rJahdNVaP2j9pYzRGrG2nxeX5KsHiD7CuX+De9Cv75+A+oT5aTTku30VxOoR3fVL3EGFSm1SRDot6+Hp+SE0eaSQgxFVHpimthNArLA8fAkeNCpzuFvcsKZKh0a2+aqCBzhdPqeDWOCHWHWciwP/ X-Bogosity: Ham, tests=bogofilter, spamicity=0.000012, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Building and running the subsuite 'damon' of kselftest, shows the following issues: selftests: damon: debugfs_attrs.sh /sys/kernel/debug/damon not found By creating a config file enabling DAMON fragments in the selftests/damon/ directory the tests pass. Fixes: b348eb7abd09 ("mm/damon: add user space selftests") Reported-by: Naresh Kamboju Signed-off-by: Anders Roxell Reviewed-by: SeongJae Park Acked-by: Shuah Khan --- tools/testing/selftests/damon/config | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tools/testing/selftests/damon/config diff --git a/tools/testing/selftests/damon/config b/tools/testing/selftests/damon/config new file mode 100644 index 000000000000..0daf38974eb0 --- /dev/null +++ b/tools/testing/selftests/damon/config @@ -0,0 +1,7 @@ +CONFIG_DAMON=y +CONFIG_DAMON_SYSFS=y +CONFIG_DAMON_DBGFS=y +CONFIG_DAMON_PADDR=y +CONFIG_DAMON_VADDR=y +CONFIG_DAMON_RECLAIM=y +CONFIG_DAMON_LRU_SORT=y