From patchwork Wed Jul 24 21:35:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nico Pache X-Patchwork-Id: 13741377 Return-Path: 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 68D49C3DA61 for ; Wed, 24 Jul 2024 21:36:45 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BA64F6B0082; Wed, 24 Jul 2024 17:36:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B56646B0083; Wed, 24 Jul 2024 17:36:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A1D646B0088; Wed, 24 Jul 2024 17:36:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 84CEA6B0082 for ; Wed, 24 Jul 2024 17:36:44 -0400 (EDT) Received: from smtpin27.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id F17AA1A0B3A for ; Wed, 24 Jul 2024 21:36:43 +0000 (UTC) X-FDA: 82375955886.27.FF3913E Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf28.hostedemail.com (Postfix) with ESMTP id 5649CC001C for ; Wed, 24 Jul 2024 21:36:42 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=YWjcQFff; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf28.hostedemail.com: domain of npache@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=npache@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1721856948; 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:references:dkim-signature; bh=2y89PNctEzPUc+h76+bt1W01RrcAjwiLgSR3Gn3y5wY=; b=HOKAlctn93iMfrakvQHGYuDOg7lR4Jxmf3Qet/esQRMIkCPSwPBAFxo+98bSPCO7Jpii3M lfo36IaTXdV9/wEKpA19xPae5Wxodyn0miEeYPkEeTCv6pPQLTzWA3GzHCI1orB24VD7i/ nk34lqrzVQOnMvUCgqqXm9VXwYA6qHE= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1721856948; a=rsa-sha256; cv=none; b=zg5bcI+dFhhWYVF9DfvCPCPfTsiFCdSI3GP48z3Y7zcT61MgQuvQ7eCJNedE0lKLAtBEFc boXKUffVEeB0dwiUHSMBb5F5HYhC4V7+mZTuZQ2yPxfeTBYUIkPlnSE2zXClQovmd1diTj +zOvaWy/67tYUWAHpMtZHwTpqusWL58= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=YWjcQFff; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf28.hostedemail.com: domain of npache@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=npache@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1721857001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=2y89PNctEzPUc+h76+bt1W01RrcAjwiLgSR3Gn3y5wY=; b=YWjcQFffleeqpYUCfkSoRCUox9283C1iL4/xgzmMeNmCTssHlD4G7WaU9RQ2yXCZxGiA5Q aMsji1v/5hrOYacSpBY+K+uo4oRuLhC85YO7cVb+MuDMf5rzNU0RvJAJ9XoNsJOmzwC8PE Q0rBUqRX+I9SnQCxIZpBiG78xUOonDM= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-524-JaGloUhgMZy4TKbLi4QpzA-1; Wed, 24 Jul 2024 17:36:37 -0400 X-MC-Unique: JaGloUhgMZy4TKbLi4QpzA-1 Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id AB1301955D42; Wed, 24 Jul 2024 21:36:35 +0000 (UTC) Received: from h1.redhat.com (unknown [10.22.33.84]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id D210E1955F40; Wed, 24 Jul 2024 21:36:32 +0000 (UTC) From: Nico Pache To: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Cc: akpm@linux-foundation.org, shuah@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, stable@kernel.org, Mark Brown Subject: [PATCH v2] selftests: mm: add s390 to ARCH check Date: Wed, 24 Jul 2024 15:35:17 -0600 Message-ID: <20240724213517.23918-1-npache@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 5649CC001C X-Stat-Signature: iexic1qay5h477c8w5tcntox5giprxmp X-Rspam-User: X-HE-Tag: 1721857002-564580 X-HE-Meta: U2FsdGVkX188YIgVcAKlJIHB9RTgZx2SeWa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maJvNZOxEDxbRUK5uY8RRcMasG550sc+B4ZrrOM0PZo83JXI1NowE+z6W2jOIze23tOkCcbUYRu6Cy6HrQW2IwoER5GjJPNe4acllQSfuBPKG2mLcecWyq0sF2f/ZqgI6XzjcDvmZWNaXFvCQxkX8xZcYgkeoStdiHAjPBSJmU2M1un5/cd5eH7p3e3WCGlHZ0E1EcfCz6kvLjjXnxO2wcWRwMbPcdVBYCwX91gqs8++7gGS+DYeaN81feZwY= 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: List-Subscribe: List-Unsubscribe: commit 0518dbe97fe6 ("selftests/mm: fix cross compilation with LLVM") changed the env variable for the architecture from MACHINE to ARCH. This is preventing 3 required TEST_GEN_FILES from being included when cross compiling s390x and errors when trying to run the test suite. This is due to the ARCH variable already being set and the arch folder name being s390. Add "s390" to the filtered list to cover this case and have the 3 files included in the build. Fixes: 0518dbe97fe6 ("selftests/mm: fix cross compilation with LLVM") Cc: stable@kernel.org Cc: Mark Brown Signed-off-by: Nico Pache --- tools/testing/selftests/mm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/mm/Makefile b/tools/testing/selftests/mm/Makefile index 901e0d07765b..7b8a5def54a1 100644 --- a/tools/testing/selftests/mm/Makefile +++ b/tools/testing/selftests/mm/Makefile @@ -110,7 +110,7 @@ endif endif -ifneq (,$(filter $(ARCH),arm64 ia64 mips64 parisc64 powerpc riscv64 s390x sparc64 x86_64)) +ifneq (,$(filter $(ARCH),arm64 ia64 mips64 parisc64 powerpc riscv64 s390x sparc64 x86_64 s390)) TEST_GEN_FILES += va_high_addr_switch TEST_GEN_FILES += virtual_address_range TEST_GEN_FILES += write_to_hugetlbfs