Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2791929lqt; Tue, 23 Apr 2024 01:24:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXOAuvk9Ag7K3LlADVfuTsm8efR+1KTpzBCKrp4CEoC4VaRRq7RrLQQvJkmayj/muH1uoBBC7EXdHMVfXRXZJ8tgZESmvCASsDDt6dRyA== X-Google-Smtp-Source: AGHT+IFdhQFjej6rGy1i3RPffX9kACY8ldrxJe22vMcRE9Jk8kOJA+a0EIgKkX+F3ZSnh77CuykM X-Received: by 2002:a05:6358:978a:b0:186:1d2a:a467 with SMTP id f10-20020a056358978a00b001861d2aa467mr14283413rwb.22.1713860670856; Tue, 23 Apr 2024 01:24:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713860670; cv=pass; d=google.com; s=arc-20160816; b=lI2QomU4p+mzdfHZ4eeNILFw4J41FjJoDP1GGkF9roslFAGlfdmyFww4sPHVlDOB6L BMAVETlhTGnqwp2yhzECkDanQBhfQ6QIlpmQGNXT9C5ZE55Fp/l1pDm6hPzbbFcKs20p Eu++7tyn2M4IVYqCweBU2VqLgSnpTdM5xWuVrWXhjHMFeRkyQPknpnmL3u2syx5iI6sY 2RLgI4v7teaWu+nW46RtQ1bOm265r5AJhxno97bh58nDCX/dqLJpc16RPKGXvRsY1yVo G3fHbFRl+HKpSAOEbMSJSHVoFRx7VHM/hAxWFtw0T0jT+g0UXiWQy6gs5OmB1WAvJlHY CgPQ== 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=RfHuQjhnnE1bmtMaE4IymDoNkTdFodzQ1kd3CZqYuoI=; fh=vUBQ3eb4hQir5JpMQUL1SKfx7uod5XShfQiZsjae5uU=; b=Kudat8KdAbW0RM0c80RfyYIDOiwZyJEqkcmIRZeWqORkbIIl/1cNywja3Lk7BXvRHC wK77/v/HRVe0VjQNM/l1uKzSPNErfW9XPG47IJZsXXBb61vKUbcodtjEvCWOwME+rFep WteIg+aRBphst4wCRitAqlX3z40v/jsAz6XkOqoHNlVC9r/MFWLeh+Vo7VMy7VRAuPFL VF5SWsgb8xzRg4TiaBTcruItOHLgslyAh3UnWrVIXS2+V/7JW/ldyN79PwHkrGum76h1 fsOjAaF65gJSOEdj2q+uNE0zwW1VDHnrYrlQrtAbsj3KHiNK1IKbW8kx3aWtp6CHRXMP XQmg==; 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-154679-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154679-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. [147.75.199.223]) by mx.google.com with ESMTPS id i12-20020ad45c6c000000b00690b67ee92asi12375003qvh.460.2024.04.23.01.24.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 01:24:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154679-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; 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-154679-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154679-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 8FF2A1C21260 for ; Tue, 23 Apr 2024 08:24:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 04330535DB; Tue, 23 Apr 2024 08:24:15 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9318F52F81; Tue, 23 Apr 2024 08:24:12 +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=1713860654; cv=none; b=jSZoSbexwXFF8U+Ins0H7A6oUqp8Vj0HdcCX5QwT09lZtMrKWHOiS6e8hgB5/hl8ZuLwSDuzvTIU/qcEA0Tg0h2ppSEuqfva02it3yuXDe6u/kNDJmlBkZh19CUHjg98/Ah6vIEqR+g4TBHf+vDWff3A5xZVZ4QiF/vXpQabLSc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713860654; c=relaxed/simple; bh=Jk8P2vOPHvPCTlKyKlyssSpn7FP34vOCJY4ibe+dYCs=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YIJ+HiFtmIw0IFbRluU8qN0SyII8eisHWWWS535eh0cx19yClolxElymNbR+s3tHDwNRczcslMzL2PJWPQpsUZlWN54YaNogeR485s5pvPSvKKEd6KBUonRY8TrqvZboG5eb72AtEagv0YbL832OxvyyJcgGy5EZSFXvRwKfQVE= 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 739BA339; Tue, 23 Apr 2024 01:24:34 -0700 (PDT) Received: from [10.57.74.127] (unknown [10.57.74.127]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A872B3F64C; Tue, 23 Apr 2024 01:24:03 -0700 (PDT) Message-ID: <6a08436e-c984-43aa-bbfa-05cfea34516a@arm.com> Date: Tue, 23 Apr 2024 09:24:02 +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: 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> From: Ryan Roberts In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 >> --- >>   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? > > Reviewed-by: David Hildenbrand Thanks!