Message ID | 20230717103152.202078-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 2FB0BC0015E for <linux-mm@archiver.kernel.org>; Mon, 17 Jul 2023 10:32:20 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 360036B007D; Mon, 17 Jul 2023 06:32:19 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3107E6B007E; Mon, 17 Jul 2023 06:32:19 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 13BAF8D0001; Mon, 17 Jul 2023 06:32:19 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 06B2D6B007D for <linux-mm@kvack.org>; Mon, 17 Jul 2023 06:32:19 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id C8F184052B for <linux-mm@kvack.org>; Mon, 17 Jul 2023 10:32:18 +0000 (UTC) X-FDA: 81020739156.20.6758125 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf13.hostedemail.com (Postfix) with ESMTP id 24FA520028 for <linux-mm@kvack.org>; Mon, 17 Jul 2023 10:32:16 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf13.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=1689589937; 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=dNlBjDfq+AmKtLS3RpRye5O1GUWvdXIGLiTgWzCy/u4=; b=PWbzkINTa+8VNez/Jc85SQ9Py9DTc52REUGd9L6WiWLaqAtGZok6cN5IKPP3wDsG3vgZiy Su4HQdhKcgAzNivcF+WHa9pbI+N4fCyJr2g1f9sKM/oIli/WX/dG56qNYEWHgp01NrWlUA mfZSZYvCq3863Ik14eYruTqnL1ZjB2M= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf13.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=1689589937; a=rsa-sha256; cv=none; b=nVOogcZErdIa8KFmU0qQx8zzrgxTjaAP/d/+4DsTnSWAas8MXAFRIghQdvyOHstih+ZRGh ahPZZ4P9RdoNB2+sqBk/E/CKs5DcgQ91VY0Kack7cb26+Sxx9beGlez1EonwB/9zntoHOO WyOsYl6LglU6qP7ImIbA2zio/E2mSbc= 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 685612F4; Mon, 17 Jul 2023 03:32:59 -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 6F4F93F67D; Mon, 17 Jul 2023 03:32:14 -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 v2 5/8] selftests/mm: va_high_addr_switch should skip unsupported arm64 configs Date: Mon, 17 Jul 2023 11:31:49 +0100 Message-Id: <20230717103152.202078-6-ryan.roberts@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230717103152.202078-1-ryan.roberts@arm.com> References: <20230717103152.202078-1-ryan.roberts@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 24FA520028 X-Stat-Signature: 5cxduear56eace5igc1wnkugdhciaoh8 X-Rspam-User: X-HE-Tag: 1689589936-511611 X-HE-Meta: U2FsdGVkX1+u5ixp5feUHQzzm8Brte9VnrVQhqbFdgHRgOwTK6oaHnndKeCLWWwmcNLKmkT9nqCxyMbLsQiPhxML6fN9R68bs2QSm/t/CsOg/TVIiB+LVIGU6z+xhqM67wdB7JLRDgMhgHShPhrln4iM0WXmAC8wDg1F35LmK1qRqWtiHMiRy2ImhRn+eij1dVo69DOVBAZ4AGHMR7mfk6M2DyHHUtxSz+BTO2AtPyHlfnQD9o1PJoifXW6Dmm/oOhoo8gP2vbJynBR8sZIKZwXiqRJXuIKx/s68xu0K/QU9B68CCBvZ7tGl2Lr7jGZD9u/9jbP4YHWmE5LqNXZJ6EdWLBGAH5UdieadsSDx+KXneB8eHqt+HqHzxHOExtBplr12/RMUKE3369RmchQoCqponjZLdlpDw2g6ACrmzpNjcj7E/J3KfHS/5YkbEyL2itSPyX6/SrqJ5q4kEaX1fwkRGr7ee6NwkCGZ6M+OnhzMuH1M1uUdwqgry15Ebn08XszaatDOgMohmbm5eyhdEF2CtBioU7DQaTNiYM1S3Oo6lopPYLMNZI6syShf73sdXWZFhzWiaD0pdgM5ZLyl3mQPAjVL47GSNnVgUyXbmnG03LA9oLeJkpbxaDBLlvRK84ziI+ly3emd2MgP8urZaIE/qW/og0ELrHVVfqR+D4RDzWEMwa3tQL9vXaEkmfUD/Eod9uX0rKA/KHv2o0y3N1zfr1aasac2bcq7a/ytMFClKU6pWeMih5U2SlaXbnO/4vscxtPX/LNcWvRgk41VSkNTgNZ+MKmkuNuZsz7XMX6++R2/UTfUXPkCUodx19IlQNgKp3k8roJ1ue3rughKuELUSJezygiPzwM2sg2s0jXkwoXdLcKRopCQepiU8/Q1bfxgSyhnt7LbvOnxy1FPdq+5rZlx1mAkolhRwPXn67w5WicezDkj0X461dmp2CCObVKBcqIcOfH+3kPUb/9 23/tz52s SX70qm76+pxDSdZFulhv4kNnaNsFuYbCyRCReEYJBwZxlbhJ4mX+hLjmELMVPCGdBHFF7JrKTY73f2S7Zds68rK6masYCQhG6UA9t+Yq9n107RiSudfDm4+39t9TAWRs34e2Fq40rcd5HBHKRgo1KEHapn5ycYJcip+Og2DuZengYVw8fwZtBAu0HJOnSY79fnKMgiytDEAIzxWo9k/KLQUaliAqEdBNZITH+ 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