Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp324756lqd; Wed, 24 Apr 2024 03:40:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXyR46nufftw3eKBkfQk//ZdZgMLOhPr8fSbj8yzxlFNHFKLPrBNC+A9crB/vd72WzP9+/bviuCNMIgfrciJQUo5Hogdv6h28jm8sX6wg== X-Google-Smtp-Source: AGHT+IHghawAUd3wtYG3BAstvPQe7VGnUyfYCCDo9dJlzovUG/5OP/SkhfrdhfLrksnZ4zGevg38 X-Received: by 2002:a05:620a:4414:b0:790:7462:afda with SMTP id v20-20020a05620a441400b007907462afdamr2336596qkp.24.1713955219249; Wed, 24 Apr 2024 03:40:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713955219; cv=pass; d=google.com; s=arc-20160816; b=IfavAggETQtGqDHW5CUWNv1M0A4cCq4j2ArSXpaKD73OHRBwGVP1FJrz/0fIypR4ds BU6SEYTW073I6S4O8wknDewmU4jnsmIkx+rFlOV2SpiU3/HSdgF3tBhOauZjtOVLNk8Y wRguugNr6S0DZl7IR58HIaFKlXlQpshwMAC/hjbK4COULcmyH7djagYra1GwibqKFjE1 Qriy69/LV0zuy2D2KqtPMfKyyM0cxBSVeE+1nG9Y/Gtp6Bs+3AA0mh5HsJFQei99LiZz p+TxBB7jVzcZc1Su83Vo3JkzKPuaiFwXd67UDW8/3aGzuMMQHpXVgBZLWK9EF8t6eaqZ UNsQ== 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:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=p43ecGq307xK4f/OIBRDF6TUDmVWPZB4zHFOKFPrjy4=; fh=3+isX3hY9WbGulPIhd4NPdDcqABrli/gLk4uLlYIGZg=; b=pwlaDDT2jLIoypTuKTzHWstPS8KAOqB0BjrZ1ZBt7CIjkJxMUpZGmDWEKN3Y4St5M5 rBQJX0/C7N9I3l1pCAAz03p46o2Zd6dE2k5FzCvBE0/ZKfBtrd7ARiJ4WSK4MG40/i22 05A3Q94sB+SArFCMzPtgVv5/QH2Q9zReTjcF9xMJR/p516fTVdjd7dgGgQgvjMBVr95/ jC0WVdi5kpdCGPzj/uQNjeBsIxjsxFAdJ4O2uDZozEk9qO9vUTuzRLXLgMT0EjRzAwxE HbpmvY1I5GZW6irvUjoz84oSapDRfzJq1esU4Tjs04q6LJ9r0GB/FXVFqj4kkBqjcF95 Qz7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-156740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 t1-20020a05620a0b0100b0079063b29f9csi10066016qkg.206.2024.04.24.03.40.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 03:40:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156740-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; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-156740-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156740-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.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 01C7D1C221EC for ; Wed, 24 Apr 2024 10:40:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93CCA159585; Wed, 24 Apr 2024 10:40:13 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B142A15921D; Wed, 24 Apr 2024 10:40:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713955213; cv=none; b=DiM7OK/nCoUyr/lXLyfr7UxWssrgZibq0C4UaTsMFNS2bJ/Z4Soa6K8VQ2gCA5kikCH4RNvcJV6HT4i+hw3fcCRxMur2P3CiBqbM0kriCbuC/3zKY5XuViNL6gNfqWn8rh3R4y9xvDe3rFcziaqVQHSCEkPvYP/ZP/reNJkjia8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713955213; c=relaxed/simple; bh=X4SRxIGKm5AoohF2nk+YEs1df8CVMox+kXQ7mvA7pNo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oO0b/Q60eX/7HctyyDKGYoCja3mNBDjG8bVUPT76xX1rcF3D2kmKwwgBUz8+XA1SPZAGZUVhVgjNCePh5DoP/hFXW+D0ehNow0v74JDtLIqUPQjhC1/Z2BIDFLh4M+V74Xiy9xB9CxfqKYdDhSan1Z0WTyXMLYnSOBBuzQrJIDA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com 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 D54B2339; Wed, 24 Apr 2024 03:40:38 -0700 (PDT) Received: from [10.1.25.156] (unknown [10.1.25.156]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 647B53F73F; Wed, 24 Apr 2024 03:40:09 -0700 (PDT) Message-ID: Date: Wed, 24 Apr 2024 11:40:08 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 5/5] selftests/mm: soft-dirty should fail if a testcase fails Content-Language: en-GB To: Muhammad Usama Anjum , David Hildenbrand , Catalin Marinas , Will Deacon , Andrew Morton , Shuah Khan , Joey Gouly , Ard Biesheuvel , Mark Rutland , Anshuman Khandual , Shivansh Vij Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org References: <20240419074344.2643212-1-ryan.roberts@arm.com> <20240419074344.2643212-6-ryan.roberts@arm.com> <6a08436e-c984-43aa-bbfa-05cfea34516a@arm.com> From: Ryan Roberts In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 23/04/2024 09:44, Muhammad Usama Anjum wrote: > 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 Thanks! > >>>> --- >>>>   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. Thanks - I'll do that. > >> >>> >>> Reviewed-by: David Hildenbrand >> >> Thanks! >> >> >> >