Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1076764lqt; Fri, 7 Jun 2024 07:27:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWAnjuXy5OCkW0WzcaxuMm7K0KQoC43MpA4KwuHZgDJuq3OCWQ9p664bcGfNSe8kTsqjxlnToT8q6xSSbxHgZtusM96MBQqBP/b1e4LXQ== X-Google-Smtp-Source: AGHT+IFRShTYBpm5EG7ww0Dwda2tP/GI3di7kS6PHT293ItIMG31hIsv7W2S2oTyi0LkII8/vWQn X-Received: by 2002:a17:90a:d144:b0:2c2:c147:3d0a with SMTP id 98e67ed59e1d1-2c2c1473fbamr1609013a91.28.1717770439777; Fri, 07 Jun 2024 07:27:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717770439; cv=pass; d=google.com; s=arc-20160816; b=YkOV9nSVf95QPTd7MGNIr33fSsr19XJVeLdiPrvcIPR2bD5YO85+/oG865fV4ke/oA 0w3G1PymVpWRIKwNIJtb8KOiUfWRIqzKRHmiXB/9N5Y6cKAYk5dgqb9Eba/FF6HZLH1P X5xwnQ2seujEIVrRTPMqlRbegB+tJHtlGWjFQ7Vdjuh5ybRivAMq2icyZaFPmaFeFqiu xFg1zRvYq0CbnWYuGeuEkYnR1gm4KBmHn1aKdm1oDnzSYd8TfE7W8jU0fxtBdeU76d5b 0Lh4lJFjfTwuMbJsKb4XKtXlChT5Du/bCc5iEFXF/au8NVTwHBk30u9e5fQ6rmApXNeE TqFQ== 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:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=nkg5aipuVLewQWXLC5+GDdVmYg8QV1wazg4SucZBGsE=; fh=DbOQv1PKx7Ikpqv/XIDQ28e2fOh6V1PR+G0WTAdjO80=; b=ZHaNP3dU5N5/fjdkr5frFK3TFMHXxtNa5BOWJjJdgH4QqmDF5pT2qCwg97KY5XdLiT s1u/zLbIoIKhJNBQMhxrt8yIWDM7b7H7m+CJJKFT9shXtcNOdynML805mjp8EuFeTmzq 3hspDkLixz4psxjh3wSpH4pCYsSHknNS1opSpHbkvtDlbC0QDn56tCNBEDbRLYq+qgN/ bbX1Om0sH23X9xLcBo7mhynfhjHCCqaMg+qoa+rae1qL8IXTU0jH2/ufxKFJ7fUcyXDz LWbXS++UG65+4rUmRiqJSAz1JiehhdK57mY5mETU2iIrhScJX+oC5heJq/3DNUUNhWH0 aJ2g==; 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-206262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c28063352asi5039125a91.15.2024.06.07.07.27.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 07:27:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::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-206262-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206262-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 67DD7280F48 for ; Fri, 7 Jun 2024 14:27:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9A5119752F; Fri, 7 Jun 2024 14:27:07 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85C9719751A; Fri, 7 Jun 2024 14:27:05 +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=1717770427; cv=none; b=uWbD02gDF2Gix9CfMd4mlqNappa3CezKW41zh0mHi860Sut+43sCZDwyt+Lf62aYVREuQfcj1QLYb319+EwW6WiCLv9OIwDMAh0x4ag2OWZK0sf56+BxVNTxzHGiukV0WkaM6XUN3rcr3pWj1GNOlDfKy6NL6A9+JyOoJpT8tAM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717770427; c=relaxed/simple; bh=nkg5aipuVLewQWXLC5+GDdVmYg8QV1wazg4SucZBGsE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SOhcDVQF1RLPCD8EGtU7K+7tNPt8ttivdWlFb0jU8dQFM/gsmPAy45wQNkYpOqgwPXNJusmRSBSuEhOty5pmL3SRh3TiQ42BodIeH7YaZdfiML841qD5+Fb/GblU3IlkRHCPuRC29Hrx8qdHankz5pzfhrICgGYOP6Dt+GNp3Q4= 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 52256153B; Fri, 7 Jun 2024 07:27:29 -0700 (PDT) Received: from [192.168.0.102] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 883C63F64C; Fri, 7 Jun 2024 07:27:00 -0700 (PDT) Message-ID: <6c946ece-3663-4520-a90a-68be4d93c56d@arm.com> Date: Fri, 7 Jun 2024 19:56:57 +0530 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 2/2] selftests: Add a test mangling with uc_sigmask To: Mark Brown Cc: shuah@kernel.org, oleg@redhat.com, stsp2@yandex.ru, mingo@kernel.org, tglx@linutronix.de, mark.rutland@arm.com, ryan.roberts@arm.com, suzuki.poulose@arm.com, Anshuman.Khandual@arm.com, DeepakKumar.Mishra@arm.com, AneeshKumar.KizhakeVeetil@arm.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240607122319.768640-1-dev.jain@arm.com> <20240607122319.768640-3-dev.jain@arm.com> <5d26ac17-a50a-46c4-8fcb-68eaa6d0ce2a@arm.com> Content-Language: en-US From: Dev Jain In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 6/7/24 19:12, Mark Brown wrote: > On Fri, Jun 07, 2024 at 06:53:27PM +0530, Dev Jain wrote: >> On 6/7/24 18:42, Mark Brown wrote: >>> On Fri, Jun 07, 2024 at 05:53:19PM +0530, Dev Jain wrote: >>>> + * Test describing a clear distinction between signal states - delivered and >>>> + * blocked, and their relation with ucontext. >>> This would be clearer if it said more positiviely what the relationship >>> between these things is actually expected to be and how they're tested. >>> Right now it's a bit hard to tell what the test is actually verifying. >> I thought I had described that quite well in the code comments. >> Anyways, I shall incorporate some detail into the initial test >> description too. > If the overview is confusing and people have to read the code to figure > out what it means then that's an issue... You are right. I shall post a v2 rather quickly, perhaps in 1-2 days; the SIGPIPE vs SIGSEGV mistake basically renders this patch useless (although the test would still pass), and makes the code unnecessarily hard to review.