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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 167FCC433F5 for ; Wed, 27 Oct 2021 18:53:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7ECB600EF for ; Wed, 27 Oct 2021 18:53:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D7ECB600EF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bW9SABwJWTzhsLByEFkqK9PA5MYswGDTDGk8SjnvgNs=; b=yQBgFQwUNhWbHD lwUwpLlQZ7uBKQs+1EgzmOHElLLA4AVrK1aQT/cK7zd3Y0LDL+k0fnDnV+A7exP1vpHbdQeb2XkoV EaCiEHTFw/kMueh1orBtjw4/c2Fdlg4VLzX70ezmaY0onfJE127zRT+k75Q/eXj5VcrlgOo7vissF a7vsOrptNfd68J7EX7FY6/npxKgFDqaypvFB8k/1y+erCWJlur9sM62w/9CInRZpOp51fjOqqsohp w3bSYVodKO7XR12K7KcEzSPRNG4ZuM+PN3zkM9Pn9Dg+Fswb+YNz4lYQnPTjU1bw5LWNVE8FgvXKM M1mjOSyzHJeRI1ihrVRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfo2F-005gzy-Qn; Wed, 27 Oct 2021 18:52:28 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mfo0w-005gTb-9H for linux-arm-kernel@lists.infradead.org; Wed, 27 Oct 2021 18:51:07 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 52D69610C7; Wed, 27 Oct 2021 18:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635360666; bh=tSRR1Hx2vQ1L9CglGj8K2kL3Yw2aytBFNKVt5S2lyps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Idv2e5oHputVHYfcCMdDG8U7awOeZxh+PPmtTds+YEDFzZ8slouKNEAuwJEXFuqp/ qQ4kRpt+9L0lovEdXxzDKdlDxIXibP+26/jNUYTGWQN4NpDL4rsX4oFwnF5EZ1ieTN 1J5UIWl5w2481QcWIJ4XUZ9XMgu2LRUvHk2EHs4uc9b54LZIxop42zTl6BBvlRhIpt PC+fokZ8Pb/eUd1gwZXKieLZ+pS4OlF6jqtn3qt8KOisg2oRIyhLw6s9VdH/Wv7ygI tlKZxf8gJGEMPt2yRbl+h1T7ihyWXGbxraNl/JE4Aoh0D3lRYfDKJ91kG1s5qDhXl4 vpWBf+4TYI2bA== From: Mark Brown To: Catalin Marinas , Will Deacon , Shuah Khan , Shuah Khan Cc: Alan Hayward , Luis Machado , Salil Akerkar , Basant Kumar Dwivedi , Szabolcs Nagy , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, Mark Brown Subject: [PATCH v5 05/38] kselftest/arm64: Allow signal tests to trigger from a function Date: Wed, 27 Oct 2021 19:43:51 +0100 Message-Id: <20211027184424.166237-6-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211027184424.166237-1-broonie@kernel.org> References: <20211027184424.166237-1-broonie@kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1074; h=from:subject; bh=tSRR1Hx2vQ1L9CglGj8K2kL3Yw2aytBFNKVt5S2lyps=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBheZ3qapvXFUQP5iZheLLevpxnzZ7rkksc5CJ4Z9nA vpN3VfWJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYXmd6gAKCRAk1otyXVSH0AkhB/ 4812jQl83RVYdvEGPqNZT3vTvpbuJ2rE7XiLBo8kk6N9n3NM/kpQsTXBJIzy4IVW90doZRESe5HVWf qCFNiXf7iKwTg8pfJqHsjualjKBEr/A4w1z4NyUHZ2vI+w97DzFx7avMwcxKsZbM74RZC90dnMS13A cFRX6NOCjyERZFl7FDQMuVli3fA2wBVWZNGWyxujtKIanC1fFdQs7O9RH+E/W4Dqt8z/WtlzTq7Av1 5Dg6+RYmexpIk1/u6b/d4kcWOx8h5ngI7l/SKNUPMddZIQG4junMSJeCmYoYkuqbj5xVDkp6JZwVvc bl6Pg46l8WcnQSRR8dwj8xVs7IUzmW X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211027_115106_374706_329AB142 X-CRM114-Status: GOOD ( 13.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Currently we have the facility to specify custom code to trigger a signal but none of the tests use it and for some reason the framework requires us to also specify a signal to send as a trigger in order to make use of a custom trigger. This doesn't seem to make much sense, instead allow the use of a custom trigger function without specifying a signal to inject. Signed-off-by: Mark Brown --- tools/testing/selftests/arm64/signal/test_signals_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/arm64/signal/test_signals_utils.c b/tools/testing/selftests/arm64/signal/test_signals_utils.c index 22722abc9dfa..8bb12be87a51 100644 --- a/tools/testing/selftests/arm64/signal/test_signals_utils.c +++ b/tools/testing/selftests/arm64/signal/test_signals_utils.c @@ -310,7 +310,7 @@ int test_setup(struct tdescr *td) int test_run(struct tdescr *td) { - if (td->sig_trig) { + if (td->sig_trig || td->trigger) { if (td->trigger) return td->trigger(td); else -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel