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: 82347 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp195714vqo; Wed, 12 Apr 2023 02:48:07 -0700 (PDT) X-Google-Smtp-Source: AKy350YYff/t26ESjU786t7eoFdki6eDDg/Y3t6qh7PSV7sQhHxcshQmhTDEjmUouGdXE4t05dZm X-Received: by 2002:a17:907:1dcb:b0:94d:6913:d007 with SMTP id og11-20020a1709071dcb00b0094d6913d007mr6750346ejc.18.1681292886830; Wed, 12 Apr 2023 02:48:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681292886; cv=none; d=google.com; s=arc-20160816; b=xl8+KTF2BPYYPTPL+JOgXGFKHqshNWT3nf1qm967BmBjDpxxu6rvpUABWBdGn5ArkJ kEAzI8lwqU77URN/VvVpL30cPDcEYvoQck/Y+XmD+Bj5dI7JGSBX8/B7butK2zkAa0R+ w2Wpjv2R4+We1q3yTPnL4jLCfWPpW6JN7RwBhP4Uq1V+0kh33rCJ8OuyWLYc0FUpK5gA h2+qZSV7BvTB5/X6UIeedWOdNOXiGJA/T7nPBTviOOJFozJKKQZsiRPWi7C1ZnBAD0rV FHRlefAoYZS9tY8EzKUfMsc2r+E/FavGEzs3uJbEzmtE6Nyp0Qn6WfHhMJCoUxKHQSIa InmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rcb/qkDEsQAl3olw9yoUk92A6JDi4rIg7+uNlXHrrCs=; b=AkmfOAnpI90NXqCSjQbK0K0rRuEiMztXFuSBQiYfNshyRFG6u1eyLpFW9gu/oC5q8m /bKOkr4zzu2mQQvjVRFzkFvAM1vdbkJk5z6An3C+FVJxx1Yuug78HJJnJw6rZs9z1lgp LvKlCwqlRn+0edTyf5nsXqv/F6qIvUX98EzigR6T3gC1Hrl92yGXcv/OG8TSiA2lboU9 HzIkmhfSU6Y79BCU3seCa502Fauiw9+h07ufemmadnP81AzPysLL32+WQEw+YspsWrMP mk5jH5H9ENZfwuybc/cM/F6OmR+T/rQDyWQcj/27nyKrSJw16xEFMXoCW4RfZscCJI7A YV3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Alwr349E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kl11-20020a170907994b00b0092554df06ffsi1749209ejc.286.2023.04.12.02.47.43; Wed, 12 Apr 2023 02:48:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Alwr349E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231567AbjDLJaV (ORCPT + 99 others); Wed, 12 Apr 2023 05:30:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231578AbjDLJaH (ORCPT ); Wed, 12 Apr 2023 05:30:07 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 933666A40 for ; Wed, 12 Apr 2023 02:29:46 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id o1so13883140lfc.2 for ; Wed, 12 Apr 2023 02:29:46 -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=hCYUfMZR8sLg+kvZf1v0BPoatoHT+zad8PUr4e9+WqyMkt81wlNavH8DLxCccHAkA7 2y8VwAPLjY927hS7J3B4bX6WCm6omOjTmpHh4fXpBCBZ+FivOLDkrv/YaYS8sHjzC/RS ODSTSDS3wGNzY7lqR3jYr2g1uyKC06EaYA3auQHUDUmOPUGbm4Kex3J8jhBkJm0o+Jyz knJb85OIFPUQSNGpanv3fbtZSjWzkXnBH3AD9GEzsfHHd599BrO0MXMxw5HNLZXzaRN+ M2cXKAYHeVPve/8HmtTs/wEh61VsC74V1nG5NWh/bIuBkS7e3ooLlhJPjrsRF5R1/wnq 4pLA== X-Gm-Message-State: AAQBX9eriba8PYKrIGY265p/TzwA1RhyE3ZqcDuRh1lv2hLwCmTAbNCC NA8O7XyBBUbEmIsGROBIc/7EYA== 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762963370078090939?= X-GMAIL-MSGID: =?utf-8?q?1762963370078090939?= 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