Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7405903rwl; Thu, 23 Mar 2023 04:02:29 -0700 (PDT) X-Google-Smtp-Source: AK7set8MvidQUNEJv4ViYfyY2f+hY+ypcffvXo98gELuHmecFgbmRa3Ae2VX/S6h/ram9ibWeX4c X-Received: by 2002:a05:6402:1151:b0:4fd:2675:3783 with SMTP id g17-20020a056402115100b004fd26753783mr10101286edw.1.1679569349116; Thu, 23 Mar 2023 04:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679569349; cv=none; d=google.com; s=arc-20160816; b=O+D0xvdeEvhTQcvY7OTAGYvjnN5r8Ppgd0yTcdPbaMRLcQUI6U+K/oOIy1wBEU5ggL 4WZgg0ikMwq2F5id3qku8uL1Pl/RaKPO/5TydzhyEqO7UVKWwUtYM2MpkGDIabnop09A qYZaQgz4L5n6A2FjUgut8RuY3pKmIVRPJ2Dx64iqZfAieSwItl/5r0sb7OM+/RoOo/Tl KIlz4pYeAAJ832zl5FY2RNzspLWQLrPV35b3FMU9kP+JXUpnyZfTHa3w+vpamuCVtoI1 bvuRJC5H+uDeMaDgSLk7M+lGv+oq8U+mJdw90mj2Nufxi4QA/jfQensSVZZfzEq4lDEk eCOw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=AWLZSJLkSmioGXM8+A1TqtXzhWyr050QnVOqWA54Erc=; b=drCyzQw5KiVAIXkiYFSAoFk7nOerW1PVHpNk2E9n8irjlp/MKdm4ffOykQoou9+yi3 wvOSxzZnZ+O+LeYgz89gpnwQhzZVrypL7czb8q1FqtXK7CdHkfAyv/FPFiUsDv1SdDW0 pigh3Ea4tRqG9Fz7ftBUNd+oIgBK3rrRTomukLND4c4h1D0NVzrlJDSKZmW2ghBlyboB NXtoES4RJsCPNmthI1qxAkVTNnDEUdNMo1MlHntqX4OgUl8piCQKYNc3Q+QeHNjm6SWH MTzTKfXzofSiUqol8pwQClpv7mSv1daIPjdHciNpVl+VL2mkPKo2ptrfAXvTbMBiPPRh W39w== 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 rj13-20020a1709076c8d00b00939e76a0c9asi6310849ejc.977.2023.03.23.04.02.05; Thu, 23 Mar 2023 04:02:29 -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 S231438AbjCWKyV (ORCPT + 99 others); Thu, 23 Mar 2023 06:54:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231388AbjCWKxn (ORCPT ); Thu, 23 Mar 2023 06:53:43 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B8C01FCB; Thu, 23 Mar 2023 03:53:11 -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 3C4DF1570; Thu, 23 Mar 2023 03:53:55 -0700 (PDT) Received: from a077209.blr.arm.com (a077209.arm.com [10.162.40.145]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AD0E13F766; Thu, 23 Mar 2023 03:53:08 -0700 (PDT) From: Chaitanya S Prakash To: linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: Chaitanya S Prakash , Andrew Morton , "Aneesh Kumar K . V" , "Kirill A . Shutemov" , Shuah Khan , linux-kselftest@vger.kernel.org Subject: [PATCH 5/5] selftests/mm: Run hugetlb testcases of va switch Date: Thu, 23 Mar 2023 16:22:43 +0530 Message-Id: <20230323105243.2807166-6-chaitanyas.prakash@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230323105243.2807166-1-chaitanyas.prakash@arm.com> References: <20230323105243.2807166-1-chaitanyas.prakash@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 The va_high_addr_switch selftest is used to test mmap across 128TB boundary. It divides the selftest cases into two main categories on the basis of size. One set is used to create mappings that are multiples of PAGE_SIZE while the other creates mappings that are multiples of HUGETLB_SIZE. In order to run the hugetlb testcases the binary must be appended with "--run-hugetlb" but the file that used to run the test only invokes the binary, thereby completely skipping the hugetlb testcases. Hence, the required statement has been added. Cc: Andrew Morton Cc: Aneesh Kumar K.V Cc: Kirill A. Shutemov Cc: Shuah Khan Cc: linux-mm@kvack.org Cc: linux-kselftest@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Chaitanya S Prakash --- tools/testing/selftests/mm/va_high_addr_switch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/testing/selftests/mm/va_high_addr_switch.sh b/tools/testing/selftests/mm/va_high_addr_switch.sh index 3056788a27ac..45cae7cab27e 100644 --- a/tools/testing/selftests/mm/va_high_addr_switch.sh +++ b/tools/testing/selftests/mm/va_high_addr_switch.sh @@ -52,3 +52,7 @@ check_test_requirements() check_test_requirements ./va_high_addr_switch + +# In order to run hugetlb testcases, "--run-hugetlb" must be appended +# to the binary. +./va_high_addr_switch --run-hugetlb -- 2.30.2