From patchwork Tue Feb 21 07:08:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 13147430 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 3C5C0C61DA3 for ; Tue, 21 Feb 2023 07:08:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8B0346B0073; Tue, 21 Feb 2023 02:08:44 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 860B66B0074; Tue, 21 Feb 2023 02:08:44 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 727D36B0075; Tue, 21 Feb 2023 02:08:44 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 62BE16B0073 for ; Tue, 21 Feb 2023 02:08:44 -0500 (EST) Received: from smtpin23.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 3024AA0F85 for ; Tue, 21 Feb 2023 07:08:44 +0000 (UTC) X-FDA: 80490421368.23.3C410D5 Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) by imf01.hostedemail.com (Postfix) with ESMTP id 5CFD240004 for ; Tue, 21 Feb 2023 07:08:42 +0000 (UTC) Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=l8l7bRMa; spf=pass (imf01.hostedemail.com: domain of anders.roxell@linaro.org designates 209.85.208.173 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=1676963322; a=rsa-sha256; cv=none; b=eTTy+z9ZV3YAkbNhfqxByuoDUJli1vKGIbvCfdhgWi9UBKZ6ZVzD3nGEzpujaGStQDoQOL gLLvNEIVSnSL2xlBmuYjF0S4F+63k0PUg06hORTbkAxfklE+M/neyaHIQs5Lt5PypiOfG3 sc1WOZgO4XZHU6UlsbJEvfGn1hLk/XM= ARC-Authentication-Results: i=1; imf01.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=l8l7bRMa; spf=pass (imf01.hostedemail.com: domain of anders.roxell@linaro.org designates 209.85.208.173 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=1676963322; 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=7e5rBUciBt3LW8lbyzEtnyxGuZZCI/WaI2X5+BKKS4A=; b=BNH5rYGZF1ZNkXp4P6JJxmBbaLZ2sBeHtYpUXnwAz9MBecZrUSx8YG/QSxn0RrCUGjXKRm UxxTWrCO0oEXOvP/k3y/BVC5FQUPvFYJqGe7Tiv5VA2IBmqiBD9TWipOk44GUCmW4I5w09 +tDrJYHAhqEE4O0lYgfEc2xZMpHYrug= Received: by mail-lj1-f173.google.com with SMTP id f16so3244026ljq.10 for ; Mon, 20 Feb 2023 23:08:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7e5rBUciBt3LW8lbyzEtnyxGuZZCI/WaI2X5+BKKS4A=; b=l8l7bRMadcg9l2ArSXzLPwzQ0O4OM4j/Fv+fr4aTyU0d5+ctRQolIhg9PWy9BbSWjk Po8GIZv7b2F7dkbfPNWiAK8kjsn8sGMvCXZ4KcImsld3IUovoVQGeUFC7FTcR7trw0kf MwNZLr1tXMCYRO6u+zuuHNosS5TQHAv9dBcwRLctAkH5HzeUyc2s7yR58K0bGxFAg7J3 Vuj+c7qxUUeWWDEAR+6KvqdBRwTz+8CYNpa3Pnfukc3e9q1tm7IJkMs0uUapPBxQ7tt9 uttSgk8tswFKDYi0fw4t2u7U2Fyip7v0ifT+Qe97afB0oetBc0NXfFdKmGDk2ooI77Cz b6hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=7e5rBUciBt3LW8lbyzEtnyxGuZZCI/WaI2X5+BKKS4A=; b=pJ4sXmF55tukL4FgY+RmDtZy7XHA1WU7tFJ4deF2JGP9gan6BJ2Mkx9DAprpvys/ZJ qUdA5WWLQWisHHX7W6AGFHauH/rffQWnLpW9CEt5Dmuu6VByBnjNlfq+BfsBwpq53EeY ahV4z285ooWQFZpBBgpr51mRVyHqDQHQ4AJcX93Y4ah3r+uPtPX1g6wkPJ8R7phRNw9z WgGb46Q5i+yeQjwfVECI0cjW3z999RIY0XnI9xCR4W5s17ScQfYPPP3inVKrATd1q0Pa STJVnfJEQ+nfhhPCDMhJ0GyDxBbnmlZnN9fGOkvUh5OL1s5DM91Z/RzvVidHng2jT9Mh bAlw== X-Gm-Message-State: AO0yUKUML48RxQDzc1SHqNWNb7bF8xcK7FkCoGwj0tib5xryPV6hQ8qH 8YwdeqN/mwKKFxM5vCnjQ3R0Mg== X-Google-Smtp-Source: AK7set9H9GSv++N7XsxvuS8OmaXXG8SjL8OwuyLnyiWcLajWwzqiPonDZ2+GwrJtlQn/aspD3kAMhg== X-Received: by 2002:a2e:595:0:b0:294:6cde:b9f3 with SMTP id 143-20020a2e0595000000b002946cdeb9f3mr1868769ljf.37.1676963320543; Mon, 20 Feb 2023 23:08:40 -0800 (PST) Received: from localhost (c-9b0ee555.07-21-73746f28.bbcust.telenor.se. [85.229.14.155]) by smtp.gmail.com with ESMTPSA id f17-20020a05651c03d100b002946f95b359sm715299ljp.105.2023.02.20.23.08.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 23:08:39 -0800 (PST) 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: [PATCH 1/2] selftests: damon: add config file Date: Tue, 21 Feb 2023 08:08:36 +0100 Message-Id: <20230221070837.1502935-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Queue-Id: 5CFD240004 X-Rspamd-Server: rspam01 X-Stat-Signature: 8gnbnopibebq9nkfwxaekqbkt6omt1t5 X-HE-Tag: 1676963322-410959 X-HE-Meta: U2FsdGVkX19PqxUcwHSGSufsUehrb3HGjzWLzK1N8zMgAY3iAbAXvw/i7ZwqakeXJtU3azj3qwgWwcmfL9rKhPcnFDWeDCDZvEAtDTPORUUML0Q5UfMSt+1aBLDJKqWsV8X9RIWcwO0QcsPYFV89l/7DkLxyvwa4BAsODEGK8J71ETpoA+7+PXAY0duA+pe6do4eD6pDkWP7BNHau/3h5zBXFhJ7F8HRRDKe5waqKWhgEzznR1w+zFPy8GgbUD7S9n4vUpcjUdpAyzrqCRzBgMPaqMCfTKjH5BXmBRvqOHOF21hQltEI7ID8qAoEJhoLK/RTRFR62xfUgn1Exg8x6TR48puW+Vr/lByOu1KerLoW8k4IiJIhItVpPRuRNfIE1yO0TbASDEfBIcbjPd1p8fkXCfQjOh9SB4o0kXfABOBMETvlTRfXhteknzpHHBUhOve7VER9Q73baSGHCE6bq1ICRVdXorA6abiaiGOrrVlw/3jecI7Z3guBn27Fp4Cx88S12pRcBwaKwe9FEIH0lqtz9exN6MvYr9QaxzuV0QA/WTaIEg4aoeBDu1jjdZ0Pa8huYpEWE15v55yISHGVtln/8+M9J5jHERTYL7ujDv2eWG6lZlXcIqJnbOSNVkTetolPw9MpoMw1p6aUR87Ly1rfhezdCqe/bXT+QOgxymB9lth0s9HkSr1T6l26u8cKzrrX//b80UcDfYyQU+BH1aI/9kwpN1w9w5MP2Ql2t6NtVkaRhls+2Nch3w09smXqkcUmVu8PZNRfkxwMyyji4cV5PXkK1yeHOEFxW2X/JKx7OUf2Lp1d0KN3Kc2w2u3RheSank+UDul21ymjPEOeeb/z0yYhL4DLvbVqzt4N9JfPTg6s8JQ+7yS6YmUqn7TLgOV6jT9Yk0QxDG83KbYFME2sy0cfGQiCZ3GmxPrMfU+YYV6cc18BazZoszhSWqnNEK8AsLJjp8cfYjBkx9F dXrhtcCD PUaT8lgDxXbr8Oam8p5WcXc0qHgwb+XlrpCNEjh3hnMqXMjqKOJ1lr7OiGOkTsi82hWhxFLn/xnliZkKkkkdH6WfusnAT3w1hYZZih+tS8v47SzRJIyxtb+yFBbadcGYwiNn/jST0edK77zYBNH2y0dKwdR5w+HXuRCLl+/HxsqgdXov9tAMtvN9pOlztF3mC87t66AZTErICAI+EiGa2c5SlS/lTBqKOsxx/s9+xSXUceq27Yg2BTbgpuy30aGKZ7QfcXc9cLnxI3kGhHjit4j54cjyB7KyIIxh8BxZwFMLFU1srAe2hu3mDCp9rDuEHg7pbIfM0ydnPqnAz/mdBzr3vTE4lhvarkjtqwN066Rb70Z3MhdqMCbEpGarKazXkaRDnv0Qmo4whfjcmrZGgC21AZ3DH3AVkEt82 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, 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. Reported-by: Naresh Kamboju Signed-off-by: Anders Roxell --- tools/testing/selftests/damon/config | 8 ++++++++ 1 file changed, 8 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..a6b636e438b9 --- /dev/null +++ b/tools/testing/selftests/damon/config @@ -0,0 +1,8 @@ +CONFIG_DEBUG_SYSFS=y +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