Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2735040ybp; Thu, 10 Oct 2019 11:46:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxmPvOxfi/tjLrfDXSg/zbhqFuFEyNC8uxl1UJ5AnG0qHApoCXOiTKFIbO9hYJ61HluzPW2 X-Received: by 2002:a17:906:70c7:: with SMTP id g7mr9882599ejk.9.1570733199878; Thu, 10 Oct 2019 11:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570733199; cv=none; d=google.com; s=arc-20160816; b=W5rhsoOO33rluJGkMOcqWQrUgPLN63tyF1rab6nlerRYejIiav7F9scQJl7wMw7yi9 L6SDJtqm3AQLnWP19ByNpEBxChREravufjrYxsYT6hu72vlBBz7aAloEjoJbUHarvtWs aCt6QmWLmqmMZ7rspgTkbxH3I28poGg2t21OeJkzE1UM8UfutrylPP9h/rToWYf8Xq4t iiAeJl4jp6oemc0crIgF+MYR1ENjJGCNdH5aGQlk1CrPLEVs0IorSl4tHA+fPqhaA9ay BFX4zt+FliXkMStrJc2S/EiJulSGRe9tdsHXbjTS+ZpfZOer+4ZA/NgZUAf6jspnAJaL humg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=T3/tOgmVVIGbRXem5cYWpA1Wv2q5h/S5WJBUiU715IM=; b=SF0yY3r745z5FsFcuIz1atRKnQWyAGjB1aLMVKuhzyqAYexYdwi3LUMzLS9X+6to8i Ja/9vUVd6ZTLdArZH2H9itncIj+XKimI+ijCpIHYApBbw3uZ5zG9/LjRUYAFVsEGM4Lx mMJ4MEcFCP+2vSitETWZeBMChcNS5jsQV9fKCas3csY7MM1ntBBaFexya6JJ3NZ/dYQ4 YS0yG4CMTKdFZMjZuf7jDqKshr/hLO44fJE9+O5G+p/IqL7GMbARtv9DJKHuETxWtME+ 7YXVikZSzNcJGHR+OIQE5VCh0ejfdjDtG8SiYgdrY+h7vguX/wTJgVAnqakbaFL0eqUa snwA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v5si3804160edm.313.2019.10.10.11.46.16; Thu, 10 Oct 2019 11:46:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727184AbfJJSpn (ORCPT + 99 others); Thu, 10 Oct 2019 14:45:43 -0400 Received: from foss.arm.com ([217.140.110.172]:38368 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726424AbfJJSpm (ORCPT ); Thu, 10 Oct 2019 14:45:42 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 71A3128; Thu, 10 Oct 2019 11:45:41 -0700 (PDT) Received: from e103592.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id C1A123F703; Thu, 10 Oct 2019 11:45:38 -0700 (PDT) From: Dave Martin To: linux-kernel@vger.kernel.org Cc: Andrew Jones , Arnd Bergmann , Catalin Marinas , Eugene Syromiatnikov , Florian Weimer , "H.J. Lu" , Jann Horn , Kees Cook , =?UTF-8?q?Kristina=20Mart=C5=A1enko?= , Mark Brown , Paul Elliott , Peter Zijlstra , Richard Henderson , Sudakshina Das , Szabolcs Nagy , Thomas Gleixner , Will Deacon , Yu-cheng Yu , Amit Kachhap , Vincenzo Frascino , linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 04/12] arm64: docs: cpu-feature-registers: Document ID_AA64PFR1_EL1 Date: Thu, 10 Oct 2019 19:44:32 +0100 Message-Id: <1570733080-21015-5-git-send-email-Dave.Martin@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1570733080-21015-1-git-send-email-Dave.Martin@arm.com> References: <1570733080-21015-1-git-send-email-Dave.Martin@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit d71be2b6c0e1 ("arm64: cpufeature: Detect SSBS and advertise to userspace") exposes ID_AA64PFR1_EL1 to userspace, but didn't update the documentation to match. Add it. Signed-off-by: Dave Martin --- Note to maintainers: * This patch has been racing with various other attempts to fix the same documentation in the meantime. Since this patch only fixes the documenting for pre-existing features, it can safely be dropped if appropriate. The _new_ documentation relating to BTI feature reporting is in a subsequent patch, and needs to be retained. --- Documentation/arm64/cpu-feature-registers.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/arm64/cpu-feature-registers.rst b/Documentation/arm64/cpu-feature-registers.rst index 2955287..b86828f 100644 --- a/Documentation/arm64/cpu-feature-registers.rst +++ b/Documentation/arm64/cpu-feature-registers.rst @@ -168,8 +168,15 @@ infrastructure: +------------------------------+---------+---------+ - 3) MIDR_EL1 - Main ID Register + 3) ID_AA64PFR1_EL1 - Processor Feature Register 1 + +------------------------------+---------+---------+ + | Name | bits | visible | + +------------------------------+---------+---------+ + | SSBS | [7-4] | y | + +------------------------------+---------+---------+ + + 4) MIDR_EL1 - Main ID Register +------------------------------+---------+---------+ | Name | bits | visible | +------------------------------+---------+---------+ @@ -188,7 +195,7 @@ infrastructure: as available on the CPU where it is fetched and is not a system wide safe value. - 4) ID_AA64ISAR1_EL1 - Instruction set attribute register 1 + 5) ID_AA64ISAR1_EL1 - Instruction set attribute register 1 +------------------------------+---------+---------+ | Name | bits | visible | @@ -210,7 +217,7 @@ infrastructure: | DPB | [3-0] | y | +------------------------------+---------+---------+ - 5) ID_AA64MMFR2_EL1 - Memory model feature register 2 + 6) ID_AA64MMFR2_EL1 - Memory model feature register 2 +------------------------------+---------+---------+ | Name | bits | visible | @@ -218,7 +225,7 @@ infrastructure: | AT | [35-32] | y | +------------------------------+---------+---------+ - 6) ID_AA64ZFR0_EL1 - SVE feature ID register 0 + 7) ID_AA64ZFR0_EL1 - SVE feature ID register 0 +------------------------------+---------+---------+ | Name | bits | visible | -- 2.1.4