From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (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 CDDE114EC50 for ; Wed, 7 Aug 2024 22:36:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723070197; cv=none; b=HE0V/Zu1TnQezAMYV+V+KV+HZHqttsSQ+SrT+5Dc37a+ThEaMnlkw/z/DWuL+QV7lXbvwoMU9CwjYZri2avuUEwqyQp3eiIzt4X1VqQn/tZhGh3xJkQsKBEWhtmC5wLVuA1vT8Ii+7nrTdayTS+9CqiK6HP2ouPSs0P3xgriDao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723070197; c=relaxed/simple; bh=a82BazRTsLV8O545SUtLHexI80RAcukz/terjjLKadM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=n7/8l5NHJ31D4B6YG2dFb/FPUZjapArr7/n/mm6TJFQucJIVrgVR5VRCbxW+mX0WOyTfSHfdo0+8cTajCi3GXqLLqa0SyK+DOtj7vGcekoDyL5p4/HgXOSbdR6mnHxQNsD7rrW0TZAOZMG42v/xCYDfXN6nEzm/CvbupVrVASo4= 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=juMPo6WK; arc=none smtp.client-ip=209.85.210.47 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="juMPo6WK" Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-7093705c708so347279a34.1 for ; Wed, 07 Aug 2024 15:36:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723070195; x=1723674995; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Q5xqVBE75uTakMohQNNM+Ob3mwTWILCE117tt64StnA=; b=juMPo6WK1oMZfx3SBHcJlSj3c0OAieioPg67K4fwY3TboNmdDxI6OxvWHaSwPXE0jH eK2kcYczUnXPkSp9r2nd3ZcPC0eO1UFirsKHaAQhfs4B3XsmiO2rgpN16/xRYst+zXch v1QZuNA2KHlX2wVjEfqlVlphsB12PFmbxgwSDRxJhxWO2YLxmhYaOUuRlWk7PcCjbk+y Fa1343O5HYV8WiUbUAj+4J+E3lqhYfnWQwuqjB8xYEROLCu+ASmt8BRrQ9DlieyXSFqw 90DAPW35AVjyBWWyq9AGUFdftONiop8Zvy8vQgTvqIjRNXOYmRUtbEdFnGY13khRg5G+ mnIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723070195; x=1723674995; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Q5xqVBE75uTakMohQNNM+Ob3mwTWILCE117tt64StnA=; b=mSjvUEW8CdxfIYfIR7lqF5lBxjv+rwHnhIem4Kr4Ryb6nV+iBhGALk8t7CN/x1nv22 i+hrrGK6ge+1MAtfDIwzpZlqjsLtUvEn4qyUzXDk1hxUORj/VE/4gs03qxbnhysoVPuf Y/5eOn1OzbdXXYM7T/+EFw5KcC46c36iiyvPP521+oaHHSeSc8TMABsIvVL4JqqP93nV nQlNdhyRD7PHizidvyM7tn2nyC5CKxkM5nJBf3aOqpihPN18w1pCSEiNMiJL2SLMkYvI K+cxBxKWFOTQmlFJ1Vc9gaypV5X7kIE95Txi2tOzjiNyOKAuGFWB7UEtMlkGWASvcxwX Bytw== X-Forwarded-Encrypted: i=1; AJvYcCVM5ynmir8/mmLPzY+eIqR0riqcjvyO5ljxTirVawBDrDerK0x8P/PzakXEzvp5dCLhhyhACTfdpxtYV/7EInO7vi6NstC4cE/b6w== X-Gm-Message-State: AOJu0YwrK10UpkhvuAinTbn6IWZlNZFfad3rOJiEwbVwAxTB/UJinTtR 1xCW1ELLDaLNwMG6Je7awo2ecGYRI7wR/o4HtYWboxJq36xgQFstu3vxE9emBJk= X-Google-Smtp-Source: AGHT+IGTBDVQAm3GArH3otwegCgx4BHN1ZL2N8yxYA8F/kedHOZ4Afd+CPHaShh6RvNkbAtiESu5bQ== X-Received: by 2002:a05:6358:70c1:b0:1aa:b860:f10e with SMTP id e5c5f4694b2df-1b15cf91432mr25702255d.15.1723070194758; Wed, 07 Aug 2024 15:36:34 -0700 (PDT) Received: from localhost ([2804:14c:87d5:5261:6c30:472f:18a6:cae1]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7b7654be293sm7403332a12.91.2024.08.07.15.36.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 15:36:34 -0700 (PDT) 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 , Shuah Khan , "Rick P. Edgecombe" , Deepak Gupta , Ard Biesheuvel , Szabolcs Nagy , Kees Cook , "H.J. Lu" , Paul Walmsley , Palmer Dabbelt , Albert Ou , Florian Weimer , Christian Brauner , Ross Burton , 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 v10 37/40] kselftest/arm64: Add GCS signal tests In-Reply-To: <20240801-arm64-gcs-v10-37-699e2bd2190b@kernel.org> (Mark Brown's message of "Thu, 01 Aug 2024 13:07:04 +0100") References: <20240801-arm64-gcs-v10-0-699e2bd2190b@kernel.org> <20240801-arm64-gcs-v10-37-699e2bd2190b@kernel.org> Date: Wed, 07 Aug 2024 19:36:31 -0300 Message-ID: <87bk24dkpc.fsf@linaro.org> Precedence: bulk X-Mailing-List: linux-arch@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. > > Reviewed-by: Thiago Jung Bauermann > 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(+) The gcs_exception_fault, gcs_frame and gcs_write_fault tests pass on my FVP setup: Tested-by: Thiago Jung Bauermann -- Thiago