From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 CDC3C12FF7B for ; Wed, 7 Aug 2024 22:22:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723069363; cv=none; b=NfPig8xkLo1PVBYFrmnFz+4E7u7sMdGqZB2NbV8kIizUJYw9Mge3N9MyfBj93VmNs33hnFXp0BAuixnIEaH1wUviNt0Ie/2XUHbONdPMi18iibZoNhvoHsqV1Wh1P4M9GBFk0+XMnByvnzU7lWmpdEBOqAgdKOji8R5O20Ul+Zs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723069363; c=relaxed/simple; bh=3btizCSSAKzA1J+IVvS5w27hk1nP/wRY5h7VZDI2y8c=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=DCjsz3eoAOURzpxlbYw1Mt2w3Wzi+akRHQTyhD0Ep8KV8YC3G6tSNjDFkYdhrEYADp6k29HqrecJ+BgYm8qnjC7EQgDlq1TAJrsXeIHj4k7fnVTX9MIl6sSc905uhAuf+BWaKBrRSPi9MAKe8PBGxozW8MG7YqQccZJKqbMeCZs= 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=owfKrhbk; arc=none smtp.client-ip=209.85.210.175 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="owfKrhbk" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-70eae5896bcso318371b3a.2 for ; Wed, 07 Aug 2024 15:22:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1723069360; x=1723674160; 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=3ZVO8jPYcIWWyL3ex1mes3d5ZlFCIJ9T4CxX0DBumqo=; b=owfKrhbky9m4wOA4iJYhNPOT8hpdnh0vXsYiWFMNRqec7cuddz13AdKo+iK3CFaX7x O4fSycWbVugnKBX3A/n7SVdDKLh3/F6LFroNUYHBByUcEIb/oAKgj1Ebv2iFg1zoVd+b DcBxRvX8P1g30qq/CZ7P/ljAR9LlOO0diMeR1Xg6QJXwS8bwpbkTTjGg/UBu7/udjD/u TrS3ZrYerB1D02O7m/Wynl0Z1QKqDBDri8ZgBjMljikUxr3VVABWl7CWbknJnqMSXi+7 Ua6FyGUDb+F4bRajQ4G5Kqe4jGv6eNwIEiCiOYZFbyir3xySUYpaUZlaLB3eJHD35X8W /NrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723069360; x=1723674160; 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=3ZVO8jPYcIWWyL3ex1mes3d5ZlFCIJ9T4CxX0DBumqo=; b=Arf5Oz4VAYBXKzIiqPN1KI9fg6l93rvMU2PqRROpeazQV2fSup8ApIt8i/7YIN+JFn murSw24b9SRCPUUqyekqHUvAlUpCyWHcPaaeX2bgsit4VeWG6specuFIWPcjJDNHMCuM hU9a257CLXvnw4rwSoh/kGhhNSRQIocC/mw6TXJOgsE17xmeTsnaAX57mBZ797kkKqee 6ahUuGggbL3oeHizS2O13ID3EEXdYUioNpqOC7pk1lODiYrzA6vGmu5yqEqcWgr48lUH zOzFBNE4mzOl0wnotw+pgEoF+6GR5+N9G/ktRMHf27gs8BzT2HxaIY3f/wNTbj1MBMKE GtNA== X-Forwarded-Encrypted: i=1; AJvYcCVelh1grvM1VLE6mlGKEMYwi+yGPS8cB4JHkJ8eQOtScuIIV5hzAJ8mpN+sIrp6LtqaHzJDbsnNuhR/T2zjhVmMMeObNtlTUJhh6w== X-Gm-Message-State: AOJu0Yzfc7tAsJYk7NUakJnT8PXZc3K/i90RdBKw8NpcPLHg/xKB89ca 6X7xpH/QaCD7QNVc95FpCVHDoqKTZ1lU0uu3mDNk//qR+3Bh1VX4kxOC8tkNV80= X-Google-Smtp-Source: AGHT+IH2Cc0g0B6ra70L5cg48YZJx7srHh+PqfLxpX9PDwnG8XSpUfpqxIf7dyUyWUuyhSQCs84ohw== X-Received: by 2002:a05:6a00:1302:b0:6f8:e1c0:472f with SMTP id d2e1a72fcca58-710cad5a30emr137306b3a.8.1723069360049; Wed, 07 Aug 2024 15:22:40 -0700 (PDT) Received: from localhost ([2804:14c:87d5:5261:6c30:472f:18a6:cae1]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-710cb228d37sm5911b3a.46.2024.08.07.15.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 15:22:39 -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 27/40] kselftest/arm64: Verify the GCS hwcap In-Reply-To: <20240801-arm64-gcs-v10-27-699e2bd2190b@kernel.org> (Mark Brown's message of "Thu, 01 Aug 2024 13:06:54 +0100") References: <20240801-arm64-gcs-v10-0-699e2bd2190b@kernel.org> <20240801-arm64-gcs-v10-27-699e2bd2190b@kernel.org> Date: Wed, 07 Aug 2024 19:22:37 -0300 Message-ID: <87zfpodlci.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 Hello, Mark Brown writes: > Add coverage of the GCS hwcap to the hwcap selftest, using a read of > GCSPR_EL0 to generate SIGILL without having to worry about enabling GCS. > > Reviewed-by: Thiago Jung Bauermann > Signed-off-by: Mark Brown > --- > tools/testing/selftests/arm64/abi/hwcap.c | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) The hwcap test passes on my FVP setup: Tested-by: Thiago Jung Bauermann -- Thiago