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: 655860 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 15506C61DA3 for ; Tue, 21 Feb 2023 07:08:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233452AbjBUHIr (ORCPT ); Tue, 21 Feb 2023 02:08:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231331AbjBUHIq (ORCPT ); Tue, 21 Feb 2023 02:08:46 -0500 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CB74A279 for ; Mon, 20 Feb 2023 23:08:42 -0800 (PST) Received: by mail-lj1-x231.google.com with SMTP id b18so3367103ljr.4 for ; Mon, 20 Feb 2023 23:08:42 -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=edEH2ubj/76f0eIYd8AF++05Zt+kg5z10s4Sh3kDkCXRLjpTiMgYfKooT+XinrT9ca szBfzXP8gG2IWx7E5OVfwcYwTKZFLxlqEtCA9Rf9hUB357NG9kYKJg+8Znoibtcu/+AQ f4gwVKPPQdAEKwNF6kBLsr3U2uUb7AblYRKoxB63Tyjx2vsVk8vR6ga+u/s1mpqIp6Wa GBNwCLy8NW/nkZdgTy4MU2CImSL0upRBakNKr+KC/N3QNERls29ETLGhycMk4+CjzS4+ 6rNKSWbXde7SVc99fNe097lBXhQvX1gWuCc8C4tzuQcVZa7ta6ZbzuB8O7ms5OoriSjx 1f7Q== X-Gm-Message-State: AO0yUKWWWJrQiFP51Jm+RwkS779qR6rkfDwoYspACAAuNkxpJDrRt3hR iZ92hMRBI52/5JM+IBd6j8gcTg== 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 Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org 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