From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (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 7C8AD12BF02 for ; Wed, 7 Aug 2024 22:31:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723069915; cv=none; b=n/ogDhvj5I6aF+8GA/Zybx49iB9ltDWgZFfSh+bAon1sF5/EQw4dRg6yyDg1uhLNuzCGRryAOqWVSlIfBR+EKWtEEOgyOyYsAhOpYUK7b2aw1Fa41iKT4e8esR/ktl6GdG7NfN64riWHITvnkwC8h5H9agt+Qyz/VkpFdjCidQk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723069915; c=relaxed/simple; bh=lt01zfKu7+RvwlQbSg6i9IaxHABXiXlAJBTgnDtOuJc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=YO+kptNkThd574yJSB7alxGFOV4WQuQKriVCJzMB7ItBOuH724MJHq/jZRCFLqwOXUGmSCouBwODEEjN4d3z1fKZxHuFdD6aPNRZ1ltB32BG35hUq1R/ofClS7drOUGrmgRe/s2DYjFDhggDi/jScsaYSq9+Cgo6JLOVmepyXB0= 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=vgxVvvtU; arc=none smtp.client-ip=209.85.214.179 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="vgxVvvtU" Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1fd9e6189d5so3945235ad.3 for ; Wed, 07 Aug 2024 15:31:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723069912; x=1723674712; 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=Eqn3LooEfKQSn1SPZrgXd7kK5ryU/WoLiCmXsEwtkWo=; b=vgxVvvtUH0GL2i4YA/K/6AaixhH9nFt+pWVkN+ef33SwutiHrBshkQcr7n5Zh1q6b5 DtECo+GD9SprJCDLeJ2i/ADw0aX/mdTITg5B3bwIOSXdCyTqYo8h0qBj1fXrtNXvHnRL hXrVYZ8M3AXAZx6mSQuseQB8L96fKYi61WyPRShdzgUFp8LAytEbdXX2hL1FG14URqcT mcEapnhbw8Aq+1jydyd63OM1h9jM4FBQQxeoSWpoGbfWf4DFWyyrqUlCIOPh10o2L8fe 77BlO48zY9KHPJ5JCZS/xxK+cCAfbTHgDFz5cUurltl6XiA3eQl0nyAWkNB0/6cg40i/ f08w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723069912; x=1723674712; 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=Eqn3LooEfKQSn1SPZrgXd7kK5ryU/WoLiCmXsEwtkWo=; b=SOpE86q04aYqOHrTd/d/mNcUN4pE+T4lSbX0QyV+9NTbUSutxQJplkziEpKBG4xX2U 9NqhIgnmbcHjCMbPi4OmcK5WdILbPTngFu07u7VoIQ9/tQdcKlErXaoLSgs5i5wlBjkk fVWGTCRwZfwuMfXpp/HiCEctUB92aPaMKEGLOhzDAaUUdlCBj5BCIrXdBfQ32rxj/Kkz /fvrEcn7t39wIFvr1YHzJoVscnhnrhx4ELPH4Lg5t2uTarkzeyHiOsuOguBi1wxhdwhi Mkbf8IoyZOlwLO1JaBRRuTiRVmWOKRl66AiabSoLUyegZNGrdJ9bNbz3lcpikZkY4bMc XUbA== X-Forwarded-Encrypted: i=1; AJvYcCX58gARnxJ/8BYG/OIbOiMsgKofQrQGRK/EbLIZ7aJxbLpU5upxZK2KVOHSOp3H2ZudC8Hea7PlZuPO0i95Zj8mzD4/uOPBL+V/Yg== X-Gm-Message-State: AOJu0YyHRP8X87ArfOyjYfQXxPitB8+lVVyh+M2G4oBg6qpd8/+ySIp/ 5lweIvEJYKNDSNn/F2jX6WTtjPsOZdNM/CFhwjG22pmvpVcS7tYMSQlNpNm5ATU= X-Google-Smtp-Source: AGHT+IHHjhsk2z4q9vmLjR7LsBMy2oppwwN+j14R3XW5fxPpM7oxaFufcdUW3gDCZ50Rjxk+EmoCcA== X-Received: by 2002:a17:902:d2cc:b0:1fd:6a00:582e with SMTP id d9443c01a7336-200952641bemr1402985ad.30.1723069911749; Wed, 07 Aug 2024 15:31:51 -0700 (PDT) Received: from localhost ([2804:14c:87d5:5261:6c30:472f:18a6:cae1]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ff5917767fsm111712115ad.183.2024.08.07.15.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 15:31:51 -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 34/40] kselftest/arm64: Add very basic GCS test program In-Reply-To: <20240801-arm64-gcs-v10-34-699e2bd2190b@kernel.org> (Mark Brown's message of "Thu, 01 Aug 2024 13:07:01 +0100") References: <20240801-arm64-gcs-v10-0-699e2bd2190b@kernel.org> <20240801-arm64-gcs-v10-34-699e2bd2190b@kernel.org> Date: Wed, 07 Aug 2024 19:31:49 -0300 Message-ID: <87o764dkx6.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: > This test program just covers the basic GCS ABI, covering aspects of the > ABI as standalone features without attempting to integrate things. > > Reviewed-by: Thiago Jung Bauermann > Signed-off-by: Mark Brown > --- > tools/testing/selftests/arm64/Makefile | 2 +- > tools/testing/selftests/arm64/gcs/.gitignore | 1 + > tools/testing/selftests/arm64/gcs/Makefile | 18 ++ > tools/testing/selftests/arm64/gcs/basic-gcs.c | 357 ++++++++++++++++++++++++++ > tools/testing/selftests/arm64/gcs/gcs-util.h | 90 +++++++ > 5 files changed, 467 insertions(+), 1 deletion(-) The basic-gcs test passes on my FVP setup: Tested-by: Thiago Jung Bauermann -- Thiago