Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5401674rwp; Mon, 17 Jul 2023 03:37:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlE/kCol5tKJ/BagZcGWnqzJmqajNUGf23/E60KVp+xn95DuydvPKTCiev37DsITWoaSiwqk X-Received: by 2002:a17:906:739e:b0:993:e752:1a71 with SMTP id f30-20020a170906739e00b00993e7521a71mr11594781ejl.9.1689590244704; Mon, 17 Jul 2023 03:37:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689590244; cv=none; d=google.com; s=arc-20160816; b=NtdKjeAj7Scu1h83bKydL1XQhG3nRBJNUvX6fXoUpnfH5mRbJOnofwPP1TshsraVMj /OWzD0XpMeXeweIkmQhP81GVOe5Fuoz0GfooNW8SBx1SkuWOCcwjPUayti8YJHI0v116 /egLi+qkubD7Usta4VFNj7q3WhJcjRyb0dvSdNU0FAtRFd1DPhpVv3um3TfSmMGtYQxF SDPssOrxZq93BrgQPoqRK7diRvw7YoA9br1j4Pnfihi6wiQc09H/SpRljbxoHxdm5BBK uao2/6X6gic7Z6omLogIcIuYrW5vsf2O2nxLzvfJB/jL04RFT0Vy4D548Q8wX5ZSVez3 L5Pg== 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; bh=Z65q/QIrbCdpNNUH4E/OfUUQzz36ObsIRcL4Uv/GqG8=; fh=OUPfCZjK3Gm4uAxJmzTYkNGoALdOI9ZG4q/pkSTXiCE=; b=n0LL5mkqPwU/fVc+pHy0on6wAuzscCbAd8FMxzir0sRs8HxExMntzQmUIG99M9SCjm fKzeNBGpX1nEqJ5tMQk9Ym9LzECbp6kC+QDlzUU71yRNE871sVHXbe7zqeFykP6Uwn8m aLmTLeOMpLAH629TY5VKaY0YfJ0E6reoks4TC3UEyNvvmwsj93T5gjT5S6Zvc+b++xVd u/XO/tSFkgllmY/f90+Rvwg9FWPHvuU9xSJM9qBQbHZolPyZlkLS0ND7nQc0jWO16ZoD TcvbXWpIqhtAiumyxzkPYaYvF50VJ5z+SRNbBHc0Uc9tUlZi+RP9HHpKRHHlXpxQOieL 0bOQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gw6-20020a170906f14600b00992cd72e0b1si13125393ejb.667.2023.07.17.03.37.00; Mon, 17 Jul 2023 03:37:24 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229818AbjGQKcJ (ORCPT + 99 others); Mon, 17 Jul 2023 06:32:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjGQKcI (ORCPT ); Mon, 17 Jul 2023 06:32:08 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7189A6; Mon, 17 Jul 2023 03:32:06 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A476C2F4; Mon, 17 Jul 2023 03:32:49 -0700 (PDT) Received: from e125769.cambridge.arm.com (e125769.cambridge.arm.com [10.1.196.26]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A991C3F67D; Mon, 17 Jul 2023 03:32:04 -0700 (PDT) From: Ryan Roberts To: "Andrew Morton" , "Shuah Khan" , =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , "David Hildenbrand" , "Mark Brown" , "John Hubbard" , "Florent Revest" , Peter Xu Cc: Ryan Roberts , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: [PATCH v2 0/8] selftests/mm fixes for arm64 Date: Mon, 17 Jul 2023 11:31:44 +0100 Message-Id: <20230717103152.202078-1-ryan.roberts@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi All, This is v2 of my series to clean up mm selftests so that they run correctly on arm64. See [1] for full explanation. Changes Since v1 [1] -------------------- - Patch 1: Explicitly set line buffer mode in ksft_print_header() - Dropped v1 patch 2 (set execute permissions): Andrew has taken this into his branch separately. - Patch 2: Don't compile `soft-dirty` suite for arm64 instead of skipping it at runtime. - Patch 2: Declare fewer tests and skip all of test_softdirty() if soft-dirty is not supported, rather than conditionally marking each check as skipped. - Added Reviewed-by tags: thanks DavidH! - Patch 8: Clarified commit message. [1] https://lore.kernel.org/linux-mm/20230713135440.3651409-1-ryan.roberts@arm.com/ Thanks, Ryan Ryan Roberts (8): selftests: Line buffer test program's stdout selftests/mm: Skip soft-dirty tests on arm64 selftests/mm: Enable mrelease_test for arm64 selftests/mm: Fix thuge-gen test bugs selftests/mm: va_high_addr_switch should skip unsupported arm64 configs selftests/mm: Make migration test robust to failure selftests/mm: Optionally pass duration to transhuge-stress selftests/mm: Run all tests from run_vmtests.sh tools/testing/selftests/kselftest.h | 9 ++ tools/testing/selftests/kselftest/runner.sh | 7 +- tools/testing/selftests/mm/Makefile | 82 ++++++++++--------- tools/testing/selftests/mm/madv_populate.c | 26 +++++- tools/testing/selftests/mm/migration.c | 14 +++- tools/testing/selftests/mm/mrelease_test.c | 1 + tools/testing/selftests/mm/run_vmtests.sh | 28 ++++++- tools/testing/selftests/mm/settings | 2 +- tools/testing/selftests/mm/thuge-gen.c | 4 +- tools/testing/selftests/mm/transhuge-stress.c | 12 ++- .../selftests/mm/va_high_addr_switch.c | 2 +- 11 files changed, 133 insertions(+), 54 deletions(-) -- 2.25.1