Message ID | 20230724082522.1202616-6-ryan.roberts@arm.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> 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 09AE9C001B0 for <linux-mm@archiver.kernel.org>; Mon, 24 Jul 2023 08:25:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 586186B007D; Mon, 24 Jul 2023 04:25:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 497E76B007E; Mon, 24 Jul 2023 04:25:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 388948E0001; Mon, 24 Jul 2023 04:25:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 2AF376B007D for <linux-mm@kvack.org>; Mon, 24 Jul 2023 04:25:45 -0400 (EDT) Received: from smtpin13.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 1151AB1F28 for <linux-mm@kvack.org>; Mon, 24 Jul 2023 08:25:45 +0000 (UTC) X-FDA: 81045821850.13.F98F092 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf21.hostedemail.com (Postfix) with ESMTP id 502A21C000D for <linux-mm@kvack.org>; Mon, 24 Jul 2023 08:25:43 +0000 (UTC) Authentication-Results: imf21.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf21.hostedemail.com: domain of ryan.roberts@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=ryan.roberts@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1690187143; 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:in-reply-to:references:references; bh=IStgpvB/AxFXY+gD4sZN5L7DJnID4eqcXYh0yWnPJzA=; b=UYIOpJOwBMayjrQfwkY3mBEdQAqeOfxoqebdJE5fuw3r44texm8ve0lbYakIwmbzA/iX/6 SGhX8amQwEbyCvb4+Rrs1sqWbZW0rszSFK7beAiZVivf28aDSU7c6hX/6VbcpQKqsgpdBr dCwoPT5984++WE4h6tJb1zEBvJTOFiY= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf21.hostedemail.com: domain of ryan.roberts@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=ryan.roberts@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1690187143; a=rsa-sha256; cv=none; b=MRJpe59CJcEeevZdn5Nm9zSeQMEIh+ZNPaWk60kgJvl8P/7IqZ0Bto66rzOqYrVgKRnG+j 7IbrgN/6m4sPBA/TBjJOdTxOVUogjpi9BjOFTUWudAKKdTNmUrCJsQkfQM0WJyPq9Q31mf s1dloRAibiMJWI+QTEMF/4CIuj8vVU4= 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 AF3D9DE0; Mon, 24 Jul 2023 01:26:25 -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 D04CD3F67D; Mon, 24 Jul 2023 01:25:40 -0700 (PDT) From: Ryan Roberts <ryan.roberts@arm.com> To: "Andrew Morton" <akpm@linux-foundation.org>, "Shuah Khan" <shuah@kernel.org>, =?utf-8?b?SsOpcsO0bWUgR2xpc3Nl?= <jglisse@redhat.com>, "David Hildenbrand" <david@redhat.com>, "Mark Brown" <broonie@kernel.org>, "John Hubbard" <jhubbard@nvidia.com>, "Florent Revest" <revest@chromium.org>, "Peter Xu" <peterx@redhat.com> Cc: Ryan Roberts <ryan.roberts@arm.com>, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: [PATCH v3 5/8] selftests/mm: va_high_addr_switch should skip unsupported arm64 configs Date: Mon, 24 Jul 2023 09:25:19 +0100 Message-Id: <20230724082522.1202616-6-ryan.roberts@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230724082522.1202616-1-ryan.roberts@arm.com> References: <20230724082522.1202616-1-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Stat-Signature: r63cswmfq4bnn3cksi571xrwz36hwezf X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 502A21C000D X-HE-Tag: 1690187143-101656 X-HE-Meta: U2FsdGVkX1/KaKvkTQAl1nyCvCDQkTryN30cC4fyr7cZL+fgIc8ES8OeI/19jcUBl9MuzmVUgRPvioTrfOgl1hPWjOI4QsiCR53BLiIc2zwzGGwYzSuT90SGhu5JHyIzy5SNMJUrg2XTCl2V8nqIpRfoT+1zQyPZ3GVT7p4EuowZJo+E43kw8O5cIHBw9/I9Ei/8e6JJCdeUm6ajSJlGNz8WAe0czz/VCi+lLdm2afushe+pqA5l3NrNlZbaehjqWaP6hhfA3Eo29vyuYuxHSIQlY03yXQflW1aeDqUscMyWkXfrzLcYPxq8MQ8+ELtDSE+JcBSv9j51oexAvzoO73dXLXlg4VQdJcZF4Pyi0GOPD6yh4LDeLK4W+Hloh9Af7V3zdKYHsfmWMtb4QUsrFlJnnGyjr8+5qZpCE7TSwVvBLf4IQG9fuFURW2GJl2RdO9XmG8+g8Nru6FAteXw9Y0f1Md93LMnROLmhFsC0Z8ASdfiSwY5JWPaJ+2R1bh9F8FqhSgkRrXqwUrKB3q+L+SOPb2PRZDhxSohbp7CctMDcdbPE6rBXx1nkj9sXQVsCWlUUw8iUxNRop92y7pu1rtKGJpSDWWeRP00y4hvUSa60PgHI4lJiJh+YrAvMACBsAxpgvOhNwDUMkoizeTd7O85kgHAph02GEzmzwWvNHraHhe9gutd4+9PN9XuXo+UeCqdV+XhuM2zly8A7Vjb8Hwak5QS7HcHmZi5VHy4SLeb5Bxl+HU/OxzUEXsYOYET2615m0cPyBAUD4prlQKXfs2xqYMRQelEKtAbQC+9QWKMG5SSIZ7EjFx/2CwbFAxJIw/LuSSis/GxirldbIkcv8uOV1XOERhj7u80UJAAFK3XcN7snwDsLTxA6tbh0k/BA6DQSSwbN1DoiXqKTq0k/wp6/80ASMqWCfBT4Y+Sx6vojfuCYDvVB9e2fzFbZU98bFZGO2nX3ciKohUxVzU2 Q7KKwjzf N+m1QFU/dT93V9f+Ih8jmAfGdMOehTcWH614zAXpNobQ8oXVSGMsMDCEKNjtSoB4Dq5hsVpFyFzTNB6RRjxB5IdWd2uYsO+ELVdRI5/VFYg91oua7UQQLbdM20kbNkdjsvEghwuEzHV2d8RrEd7I2UQHewYHSK6m1Jvc8K/FsdbFFlKGXX6IWigV+Ild+Gg+XgBpb1oE/c1ey1gse8GWfS41Ht8XB/TuayW7r 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: <linux-mm.kvack.org> |
Series |
selftests/mm fixes for arm64
|
expand
|
diff --git a/tools/testing/selftests/mm/va_high_addr_switch.c b/tools/testing/selftests/mm/va_high_addr_switch.c index 7cfaf4a74c57..cfbc501290d3 100644 --- a/tools/testing/selftests/mm/va_high_addr_switch.c +++ b/tools/testing/selftests/mm/va_high_addr_switch.c @@ -292,7 +292,7 @@ static int supported_arch(void) #elif defined(__x86_64__) return 1; #elif defined(__aarch64__) - return 1; + return getpagesize() == PAGE_SIZE; #else return 0; #endif