Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1478243rdb; Mon, 19 Feb 2024 18:18:12 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXEnSAm091h0Zrc2xgJHO1uGt4kNw202Pftwblpw2VoWKjN14/j6TxRaFZh60QFepwP4h82zAaKstcqOikt/mfX5uldP5Q8uGhgMhjvGw== X-Google-Smtp-Source: AGHT+IE2zn/egIlrHOsBXr6t9Gm7ETQpK0lIwHwziNmLiRiKaHxsIePSXh2YXMA+ao7gNQt/IJkz X-Received: by 2002:a05:6808:3a05:b0:3c1:3e44:3ded with SMTP id gr5-20020a0568083a0500b003c13e443dedmr17343489oib.19.1708395491993; Mon, 19 Feb 2024 18:18:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708395491; cv=pass; d=google.com; s=arc-20160816; b=WZ7Vgi8hpS7moZTBn7cH7D+CmEpmzUnd5JrZ+s58u3hQBHoEAWrZ/KxrZ+beXadvWQ 3zUZbgpgOgWP36OUtPou7Jn3SQjsQgDq8gmLTHqima/wnGMuIXEU1BbNmp3gP47/piNI vRD5igZgjb+DoPcbp0wHfi4bnPZlmhTe1rQIoJBhqbV2J8M+A4qH0nSyc+uOh0xA1gYc bUiheDi/ibA61fXJ2eEL/+BBp+vvy5xmKkCFQ7UpgTmAAQN8QRQDotqR0Y32qa+UjHwp 1+Gmb9XJOEg4rmIGct1XcXdg/omiRNXbktjbgFgirF39yttt0fFF65KF/MIXxxH1aRX7 W9+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:in-reply-to:subject:cc:to:from:user-agent :references:dkim-signature; bh=hyy8ZTU+BTw5Zgz2454qzBwNJQ5zOkaDYTH0aZ4A4fg=; fh=fnJ3VV3LahqlYivMxi/VVEvMlPJXDP/zzBVJD6fO1Vc=; b=0Yxxl8o/XOkLw7HBmNGQDNLPK04+/MoDLKSF5kUx31dLukAqG/X4VNF4N3D55an/XX e4tJhFFdY29W5SJVdiRn14ipSThmkfdpSzu+B6VZMkdcctW8pEiX7LFPzO0pgphnBvVz c03Vz8xC8HoRNMowPzzawwJ8pXJ8hlr71alAyvtlxtgTGEglSQjPEoiydp0PaMFsYOHz fJcmUXKAdUwp0qJ90Ny4GA+Q6Wssq2bKVeyNCqxrIjxmCBdRtdUGy3l/FuayFDmQFVu2 jEqKEtD3WNDxo2XKz+WaRCzC5DPV5Au7s/vVxdJd7GiJbYPKoHP/+9C23dzWczU7FKTo XWTg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Z06Eb/LT"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h13-20020a0562140dad00b0068f59455d37si5516031qvh.206.2024.02.19.18.18.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 18:18:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72206-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; dkim=pass header.i=@linaro.org header.s=google header.b="Z06Eb/LT"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-72206-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72206-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 B2F1D1C22034 for ; Tue, 20 Feb 2024 02:18:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B6D0844C9C; Tue, 20 Feb 2024 02:18:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Z06Eb/LT" Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B66BE3B2A2 for ; Tue, 20 Feb 2024 02:18:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708395482; cv=none; b=SbyCKmd4Tut31QVAu7uV95/KTx4g6E4gUC9LlwVAMKqChqgXoUSupC6ODkXuUXkVV51d1/B0J/kEyELL35AhZ5c0whyJri6AjSMn9/ZIF8iCtZY8nua3L/Z7Vu3Q3fyjMkosJ951I27BfYcUT6c+e5J4MDy49EJ4vW5S6vkeJ28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708395482; c=relaxed/simple; bh=kywl0E7Ccn+F6uJKh4GjD6fADlYLci1v7yF8jV6BqRU=; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID: MIME-Version:Content-Type; b=ZgZahe/NDBudP8adaa0vCO6dJfYMHpaoXpU7X220rcSkh+ois4Dg5le8J7lOpfaOccVS0RUJ/GgbbSElXCK8iA7/QisyDixLLucOOSG5ypG2qqS2J3XEKdGL4PY0e3KKG4nNd0viquQRo99wXCap+mFn2jizcSI+jtFLxkvhbw8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Z06Eb/LT; arc=none smtp.client-ip=209.85.167.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3bb9d54575cso3494511b6e.2 for ; Mon, 19 Feb 2024 18:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708395480; x=1709000280; darn=vger.kernel.org; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=hyy8ZTU+BTw5Zgz2454qzBwNJQ5zOkaDYTH0aZ4A4fg=; b=Z06Eb/LTVYrj0d6kLov8v9CnaJcVjTC9SHywklp707x8xI9/5xbazwUTqd7veY62LL Gn1M7muOQcCy9GthGJXC3/IX+5TSgaHPhxiL/QatESAdobQixooLxBpPCyT3Pj4aVIjR IthvK2q9/y8uydVL2UvafoHQzcLOUvPZV+HRaQ2PhcXm2t7kYIZy2vRkNDdJz5iccpGy Wmm4we/oSEDiHiz4Z/GlJPn3VFOtB3XZA42L+fUqO+u8v4XRXOCvEq4JqvYMMvFVWgQR StzXEtrgMw07bl2sVVIakJgGt0wgmO8nOXvJYSC+YrZykKVwmkpvAxw+VjiyImN+xXfa GHGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708395480; x=1709000280; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hyy8ZTU+BTw5Zgz2454qzBwNJQ5zOkaDYTH0aZ4A4fg=; b=BQY5Nzacqln8DlNFTsjRb/tSYK9hTDVDe/RJEGk4a5Z2QpKgKP9RnhbLltWkBkQU7t 6X+kGpado1O5ly5L898sHAXi54+dx6+fH46z0p4cZstdKaVi6pNgQZTEvoYKy3OunZ+Q TyiDFWIL8o7nkImNICMXgs6kCJICTe/MegT+YiZtrRlewp2LNkTrtG2GwJA1aarOfG5K IC6sm3pXkekIt6f8/N3aP2S8RgtnTRzlZQrrBMCB0MB1gV4Upm204x7Ry3hK6Wuuh30L rlKDFuH/NAujzd0gjjnxhecBkBdOn5SORFOGsRpNnSPEKsfqFlLPm2nFSMzD9Gvo4nTj jj7w== X-Forwarded-Encrypted: i=1; AJvYcCXl01D9CyFBNKmK7MnExRMDr/48CydYo3Kx678D5cyGTEgWRzzSlDN1mnHq+C4f/gax62d/MH/wQ1BAoyfrtyH8i+0B6HYKFQRIK6eT X-Gm-Message-State: AOJu0YxjNyCA3T/dlNHT+bIpWBTFC/DOaU9UenKWo9JAR8UJnLOhz/yy CHDfSQ0HwatY4qnXDwL7dR3wmb7TAboRh5WV62UCi/sklCD5kcETP6H6ntlOskA= X-Received: by 2002:a05:6808:2b06:b0:3c0:4455:a2fa with SMTP id fe6-20020a0568082b0600b003c04455a2famr15407500oib.18.1708395479877; Mon, 19 Feb 2024 18:17:59 -0800 (PST) Received: from localhost ([2804:14d:7e39:8470:a328:9cae:8aed:4821]) by smtp.gmail.com with ESMTPSA id jw26-20020a056a00929a00b006e45e51ba11sm3274807pfb.145.2024.02.19.18.17.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 18:17:59 -0800 (PST) References: <20240203-arm64-gcs-v8-0-c9fec77673ef@kernel.org> <20240203-arm64-gcs-v8-35-c9fec77673ef@kernel.org> User-agent: mu4e 1.10.8; emacs 29.1 From: Thiago Jung Bauermann To: Mark Brown Cc: Catalin Marinas , Will Deacon , Jonathan Corbet , Andrew Morton , Marc Zyngier , Oliver Upton , James Morse , Suzuki K Poulose , Arnd Bergmann , Oleg Nesterov , Eric Biederman , Kees Cook , Shuah Khan , "Rick P. Edgecombe" , Deepak Gupta , Ard Biesheuvel , Szabolcs Nagy , "H.J. Lu" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Florian Weimer , Christian Brauner , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v8 35/38] selftests/arm64: Add GCS signal tests In-reply-to: <20240203-arm64-gcs-v8-35-c9fec77673ef@kernel.org> Date: Mon, 19 Feb 2024 23:17:57 -0300 Message-ID: <87o7cb7uay.fsf@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Mark Brown writes: > Do some testing of the signal handling for GCS, checking that a GCS > frame has the expected information in it and that the expected signals > are delivered with invalid operations. > > Signed-off-by: Mark Brown > --- > tools/testing/selftests/arm64/signal/.gitignore | 1 + > .../selftests/arm64/signal/test_signals_utils.h | 10 +++ > .../arm64/signal/testcases/gcs_exception_fault.c | 62 +++++++++++++++ > .../selftests/arm64/signal/testcases/gcs_frame.c | 88 ++++++++++++++++++++++ > .../arm64/signal/testcases/gcs_write_fault.c | 67 ++++++++++++++++ > 5 files changed, 228 insertions(+) Just FYI, in v7 I reported that gcs_write_fault was failing for me. Now all tests in this patch are passing. -- Thiago