Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5401823rwp; Mon, 17 Jul 2023 03:37:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlHYMhSWVPfufuEXS9ze8gD7gi/N215r0tPp5CAew1zX9CCzeyXPhkrVZfttIE9drXXXRA/P X-Received: by 2002:a17:907:2da3:b0:978:2b56:d76e with SMTP id gt35-20020a1709072da300b009782b56d76emr11498028ejc.12.1689590257828; Mon, 17 Jul 2023 03:37:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689590257; cv=none; d=google.com; s=arc-20160816; b=mr2U3ZkfvBTo5btQUYIoWyGCwmoH5NlhSO5lGd7OKRSL6MEgn2bzptL73UJn6Dg8mE 0MabTS8TdSRbkH/5U7CYZJloFIIwpIV1wAZMzQEOJfZRmWTnVn0THnwblwtvXz0k9NHb heIt2fuin6c4Tw0BpcnvbSGzuY2u4uuEXkkmepEbwu0hfpv2vu0GRjdmFeIzM+nFlm3c +cnBI47do5QJ4dLl4Pae5MGtykp5Xx2pKHP5UZTp5uOFvMsPfVnfInJ8SMdyP3K2yVeC nDUsQpffyAtt6S7aXQRx6gCRz/BjkZkAtRJY8asmPmErpWJW79F4OQPcvFqpfJ04CRSb hR+w== 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=W95hEJNsKwhNPSMzODBmivBuPCYdlHmjU8Wbx+BJ5Yw=; fh=OUPfCZjK3Gm4uAxJmzTYkNGoALdOI9ZG4q/pkSTXiCE=; b=Qryv47dsaEzz5yo/RO8DBAN1zXbLmPUie4VUvbi6NxoWBkyyJHNc2UbW0lAiAeeOpo v4fhPH91i+ceXtCqNx7eBvrzYvUT92digYGV/51KDZH2ZXiTDt6J1XWOtktNhqJCLR1G kvEYH5ZGVhS00rM+QBbXzgQDvV6uUGCBZVZEt4lUEcm2iZp0gsPgS8tp78AaRKNvB9M6 3cLnW+M2pjE+VkvrZRNU0pYfFY0SrLoHddzwlr4+XjYGHFqliaFH9mlVb33lJ6DAVsCa JsepRLl5og7+r98S7rEInmhpxpOzHr1txpIHy4ZFQU1TUgE+woHdK3mTS4WMdzVjVJel YYsw== 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 f14-20020a17090624ce00b00992ae4db3c9si12686326ejb.15.2023.07.17.03.37.13; Mon, 17 Jul 2023 03:37:37 -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 S230284AbjGQKcR (ORCPT + 99 others); Mon, 17 Jul 2023 06:32:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbjGQKcN (ORCPT ); Mon, 17 Jul 2023 06:32:13 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7338D118; Mon, 17 Jul 2023 03:32:12 -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 803E4D75; Mon, 17 Jul 2023 03:32:55 -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 872443F67D; Mon, 17 Jul 2023 03:32:10 -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 3/8] selftests/mm: Enable mrelease_test for arm64 Date: Mon, 17 Jul 2023 11:31:47 +0100 Message-Id: <20230717103152.202078-4-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-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 mrelease_test defaults to defining __NR_pidfd_open and __NR_process_mrelease syscall numbers to -1, if they are not defined anywhere else, and the suite would then be marked as skipped as a result. arm64 (at least the stock debian toolchain that I'm using) requires including to pull in the defines for these syscalls. So let's add this header. With this in place, the test is passing on arm64. Signed-off-by: Ryan Roberts Reviewed-by: David Hildenbrand --- tools/testing/selftests/mm/mrelease_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/mm/mrelease_test.c b/tools/testing/selftests/mm/mrelease_test.c index dca21042b679..d822004a374e 100644 --- a/tools/testing/selftests/mm/mrelease_test.c +++ b/tools/testing/selftests/mm/mrelease_test.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include -- 2.25.1