From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 11117C0015E for ; Thu, 13 Jul 2023 14:33:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230346AbjGMOdy (ORCPT ); Thu, 13 Jul 2023 10:33:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230511AbjGMOdw (ORCPT ); Thu, 13 Jul 2023 10:33:52 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF70C1991 for ; Thu, 13 Jul 2023 07:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689258784; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=P7pipf1xjklds1hqijWcFcvA7z6pIZtEssODVbK51OY=; b=f7VhGEG9uBNk3KnxdBB/SEEUXc5FGsWWubi4Kh5c53AbqCAU6SDFAUTb99RcjRC/CK0Xlu BlCjrlxgXykUMsA60av0uLGqbWmZpLYPH/NIJbGTPgFhpPAFYiaZlCh4VxSg1PXrgZSHt7 LZNwOruO1kaTMW/WkhBcYEwByBm2S6k= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-493-GBTL1gHQN02KVh4aBZ9OUg-1; Thu, 13 Jul 2023 10:33:01 -0400 X-MC-Unique: GBTL1gHQN02KVh4aBZ9OUg-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-3143b999f6eso549611f8f.3 for ; Thu, 13 Jul 2023 07:33:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689258780; x=1691850780; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=P7pipf1xjklds1hqijWcFcvA7z6pIZtEssODVbK51OY=; b=G+gv29Xsvi6vkY3FPFGbVANkK8xE2ToddJowbTQqQn01TNz7BijI8zQq2p+zSAzxc/ acIZPUtXm5ztFAjFTmQdOUeduC2IYyTl9FwNKeMIaXjHqicxKQoLnPUgDb6J6HQpFQN4 AhEV8faT25biOrPhEKJfXkfJi28ZaMe2nWhSmfBS6X8WJGjwOzrqK30R/MxsBwdF1OZt G/BJLlG/8Jcgta2tH5FT58S+gADMaxea1Zr63aCfueVzyT+qvsUxNPuioI1kTl3QoqwG mJbcIbcrpPyp3gktdmIINHDeNCjEWFvb1JsVE7UUF8ecc/I4OiGerYfZzOe7SsjeMMIk u6Hg== X-Gm-Message-State: ABy/qLbUxMdR2q1I9U99hTfWD7j355eQg+vlBFJaw2d9IS93tv8SzWlE sJmA6tTT66kGyJm5lx+nmDRtn9cqrM6g/Pw7ugOJuw0SsN2o8nFv73359KEY5X00a7NcW+fyXbO vDfugXM0GCxj5YH36XERdxM6ibadz X-Received: by 2002:adf:e310:0:b0:314:49d2:aaab with SMTP id b16-20020adfe310000000b0031449d2aaabmr1577358wrj.8.1689258780174; Thu, 13 Jul 2023 07:33:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlGwSeBPrVR+g94l9GoMddAsNtnw4BZIvQ2tOWjmM+Svv65TtZ3rMtRBHmdJBqmHsorXANwgCg== X-Received: by 2002:adf:e310:0:b0:314:49d2:aaab with SMTP id b16-20020adfe310000000b0031449d2aaabmr1577339wrj.8.1689258779827; Thu, 13 Jul 2023 07:32:59 -0700 (PDT) Received: from ?IPV6:2003:cb:c717:6100:2da7:427e:49a5:e07? (p200300cbc71761002da7427e49a50e07.dip0.t-ipconnect.de. [2003:cb:c717:6100:2da7:427e:49a5:e07]) by smtp.gmail.com with ESMTPSA id t12-20020a5d6a4c000000b00314329f7d8asm8121499wrw.29.2023.07.13.07.32.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Jul 2023 07:32:59 -0700 (PDT) Message-ID: <94af96c5-0e3f-9b01-84ea-e17a748b29e7@redhat.com> Date: Thu, 13 Jul 2023 16:32:58 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1 4/9] selftests/mm: Enable mrelease_test for arm64 Content-Language: en-US To: Ryan Roberts , Andrew Morton , Shuah Khan , =?UTF-8?B?SsOpcsO0bWUgR2xpc3Nl?= , Mark Brown , John Hubbard , Florent Revest , "Liam R. Howlett" Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org References: <20230713135440.3651409-1-ryan.roberts@arm.com> <20230713135440.3651409-5-ryan.roberts@arm.com> From: David Hildenbrand Organization: Red Hat In-Reply-To: <20230713135440.3651409-5-ryan.roberts@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On 13.07.23 15:54, Ryan Roberts wrote: > 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 > --- > 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 Reviewed-by: David Hildenbrand -- Cheers, David / dhildenb