Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2799685lqt; Tue, 23 Apr 2024 01:46:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWrKp0iGC7vtLs6qfr0zH+UCNG/KRrOCa15yhGBNLN8jy0ehDdSYjDfP9mS86rzxECgTo4MlgO7EWPpyVVk+vIcyc+qwHyCps6riHQX1g== X-Google-Smtp-Source: AGHT+IF9Gl2cayI4LAw1fNBl04N8xxGWcu0u4/dzrpIfX6QBjTWb4ZCfKXSlKjtdjGTeVHq0DT14 X-Received: by 2002:a05:622a:13d2:b0:437:503f:e8ae with SMTP id p18-20020a05622a13d200b00437503fe8aemr14897801qtk.2.1713861968925; Tue, 23 Apr 2024 01:46:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713861968; cv=pass; d=google.com; s=arc-20160816; b=o08+VH/k3LKNc8p8TgqR43KMG2T8HbxOPiWztirTKfonXobjup3trvKEnXsmYC72Jn QbZto1hl8GTKW982AwlZ8ZgFg84MuM7/Jga8za18phn3yvuPxVOTmpS0+JyUblw+rsd1 jDrP7SOtUheQYb4jJpH1uNVbab1xhjjFDqn8HJiximya6is/RY2nyI48Ll0uMI+4GiGX hNuZSBqwnVLAxnAE2HlUeQX1EadTgw1gjsyiZP0jx5HfnVaIIFjvFe3RmTnSVX9kUV68 pXR9d1EARH6kP2BkEmApJ3VAodt6qL+V7si9/V5j2ZVMsbAf7mdQO4qrYLkg1nDJ9Wnc sokA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:cc:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=lWqIX7XIqqXtg/bUvAU87XObKPSxoqSB7hriUx08qNQ=; fh=K+WRGk0eAk+a2flGknwu+KlOAxm4xYXRRTQdgAG8UCI=; b=CZysfNHpXyjjYHBev+OABSym2vSxFnIOlGjpTh0fLZAXqT53N2NsIbQVzxDt+nz3YE jCkXVZiXLfHz5aoqxbovnuHbipK/iyBbwH1s5QkbizsvS+vNJyXebXSgP/1ZkVrsLhI6 tOtrzs7mqApnBICaLaoBqDnZJSoSe0zIwWKMOWmWchyrL9tHlAc3KW/gqbyhNFgInTA6 O/oxz8hNj/K/5p89pEflJr7F9peHhjKtboYtw++7+849swRYREN3ipfLIPiVsRNaBlIL 7hUAA8i6xbxV159D1gZQKebdGfGguZ+oj2UWrmVNrSO21nfV6M7CmJjV5YtNFg8eETJM 3nGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="nrXmo/ZS"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-154724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m17-20020a05622a055100b00436c99f56c2si11617726qtx.96.2024.04.23.01.46.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 01:46:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="nrXmo/ZS"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-154724-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154724-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 62A881C2123B for ; Tue, 23 Apr 2024 08:46:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F6D957870; Tue, 23 Apr 2024 08:44:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="nrXmo/ZS" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2F7656B6C; Tue, 23 Apr 2024 08:44:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713861874; cv=none; b=OydYdb5KQuq3vnQ3VVrAvoZgqgVczJqk2PC86cFd14G9FqrYDFUHE7DyBcD6FwMiYKXwGu9xA/jRXTOYgH5VULLjBye5+L/wuGUWJPFOOk2dtgS0tQphZRH3JZ8KNt035f4RebK5K3fijv22ZsLG1zm17/43KBHYCWFCIru6JX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713861874; c=relaxed/simple; bh=jdsWPAe/3j9MrIf+j6Di+jr1djPe2ZWvG4ZRKncHSZw=; h=Message-ID:Date:MIME-Version:Cc:Subject:To:References:From: In-Reply-To:Content-Type; b=J+IyhE2sCnYB7A3vBN6ox1wsVfx3muZZ4TtoYr28JJHUZiwMfq1KMJwowK4qlNpxzG0er2gONa+q3jqsyvqKn0HAiZ/9JedoSyXMQ542Jtfw6b1c1nGNBHHh8DNZRW/uhS73OUu96mAvFkBxIR5XnUP5/hHKf9vFW9vwfD2jt10= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=nrXmo/ZS; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1713861870; bh=jdsWPAe/3j9MrIf+j6Di+jr1djPe2ZWvG4ZRKncHSZw=; h=Date:Cc:Subject:To:References:From:In-Reply-To:From; b=nrXmo/ZS8hSxgaHZp775l+2tsr1u0AKR1FBzyAeNOAHkxniKvx4afpIYlmCKRCzNS gif67zp9wHteIi/soXRfikZnU754o+FdB2N/T48RDzpEtNb4V58afnB5DWvsN/26sK a3HFSKNAMvX5Kq/+Uyn4r5Ypwqd6kHFkwD+k6Yvchrnk6+BC0SN/bQisu52M+4AChF cba/VP+MBV6PdWD6rmPdfC6TiTL/LPuORWQOy3us320eNpf1Kxn9o6bTTl6MJ3EEiF SzkAzumMb56+fLrvXRSnDoJ7t8zm/TO0J4OqCKaH0JAn8VE463+2DyXesr3R8IkDpB 9HFSp7bWGcTGQ== Received: from [10.193.1.1] (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 705E337820AB; Tue, 23 Apr 2024 08:44:26 +0000 (UTC) Message-ID: Date: Tue, 23 Apr 2024 13:44:54 +0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Cc: Muhammad Usama Anjum , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v1 5/5] selftests/mm: soft-dirty should fail if a testcase fails To: Ryan Roberts , David Hildenbrand , Catalin Marinas , Will Deacon , Andrew Morton , Shuah Khan , Joey Gouly , Ard Biesheuvel , Mark Rutland , Anshuman Khandual , Shivansh Vij References: <20240419074344.2643212-1-ryan.roberts@arm.com> <20240419074344.2643212-6-ryan.roberts@arm.com> <6a08436e-c984-43aa-bbfa-05cfea34516a@arm.com> Content-Language: en-US From: Muhammad Usama Anjum In-Reply-To: <6a08436e-c984-43aa-bbfa-05cfea34516a@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 4/23/24 1:24 PM, Ryan Roberts wrote: > On 22/04/2024 10:33, David Hildenbrand wrote: >> On 19.04.24 09:43, Ryan Roberts wrote: >>> Previously soft-dirty was unconditionally exiting with success, even if >>> one of it's testcases failed. Let's fix that so that failure can be >>> reported to automated systems properly. >>> >>> Signed-off-by: Ryan Roberts Reviewed-by: Muhammad Usama Anjum >>> --- >>>   tools/testing/selftests/mm/soft-dirty.c | 2 +- >>>   1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/tools/testing/selftests/mm/soft-dirty.c >>> b/tools/testing/selftests/mm/soft-dirty.c >>> index 7dbfa53d93a0..bdfa5d085f00 100644 >>> --- a/tools/testing/selftests/mm/soft-dirty.c >>> +++ b/tools/testing/selftests/mm/soft-dirty.c >>> @@ -209,5 +209,5 @@ int main(int argc, char **argv) >>> >>>       close(pagemap_fd); >>> >>> -    return ksft_exit_pass(); >>> +    ksft_finished(); >>>   } >>> -- >>> 2.25.1 >>> >> >> Guess that makes sense independent of all the other stuff? > > Yes definitely. What's the process here? Do I need to re-post as a stand-alone > patch? Or perhaps, Shuah, you could take this into your tree as is? She can. But if she misses it or you want to post v2 of this current series, you can just send this one separately. Usually I try to send separate patches for trivial and discussion required patches so that there isn't confusion of this kind. > >> >> Reviewed-by: David Hildenbrand > > Thanks! > > > -- BR, Muhammad Usama Anjum