From patchwork Thu Oct 3 11:12:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 175075 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp155183ill; Thu, 3 Oct 2019 04:12:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqy5ex3wK3KJzCCvJxwMNebWMFQuxVgLRBAmbv7quEH+v1Y5ehmIzBS7LHnYheKzusKhckFE X-Received: by 2002:a17:906:7a55:: with SMTP id i21mr7180840ejo.206.1570101142772; Thu, 03 Oct 2019 04:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570101142; cv=none; d=google.com; s=arc-20160816; b=nhmphqxCG4VH0E2+SY05gsDoDo3/6ulhOVcxQhfGAMFOBD6z67jxFKc0+FTH1DfbED O2Vq6ZCsBA/v+rfN9naYRRx5+z+Q6pb3SCMXBdhPqpEpRKPWTMAModinEqRN9UHmu4Ag l//KqiNIwNWlGehjicE29aQnUk3vQUC7WvC3sc70/upLkVq2Ubh1egMxj5GGVRzD4WZz 4iWH+mrFe7hsUybgIXt8bL7IGYRa1PaXxzheFjPSnIO34p1e8PJsfUkV2hwG2S3ZdlZA XJBZUZ47DH0wrdXrFnh7f4wDQknmSjcsIxWQdE+J+XJ9XzvQ2GKLtLo6QCBv+B2XVebv Z/Bg== 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=66dgkOuNY0ICUET5jcY++oZdCP0XpOMYe+qHYcAil7g=; b=PtNEwpQgdKYev6t2IT5hhM5z4gnZJDMBzXK2P0DCk3FiD8B+5bx7tvoatjZqlzLk7g P4C5YrfNuqL/qb+RxV5vWIvMx6MTRWn7DkmOnhOT01AqdHWcIAlkH/m5SdueuCWWKikk RXYUruMAwb1svbh5iVeSBaNxekxOnf74WVDFyLdcYh7Wxx6465HP3ayy2JxDvMoaNXPm NT/gM5+1282kaFDND/EPtwqAEqBdBr0khZ7+tOsj+VTCL5idFLVb7HdLWfzff/TBp8mz Y6adj7QXCi77dRBMA67209d3DKacVd6Pp5+a7KL8XRWitmEDj9XemSj7g917UJOez9O4 sbwg== 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 d24si1290455ede.119.2019.10.03.04.12.22; Thu, 03 Oct 2019 04:12:22 -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 S1729895AbfJCLMT (ORCPT + 27 others); Thu, 3 Oct 2019 07:12:19 -0400 Received: from foss.arm.com ([217.140.110.172]:41770 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728140AbfJCLMS (ORCPT ); Thu, 3 Oct 2019 07:12:18 -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 9E7EA1576; Thu, 3 Oct 2019 04:12:17 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9B2563F706; Thu, 3 Oct 2019 04:12:16 -0700 (PDT) From: Julien Grall To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: will@kernel.org, catalin.marinas@arm.com, suzuki.poulose@arm.com, Julien Grall , mark.brown@arm.com Subject: [PATCH 1/4] arm64: cpufeature: Effectively expose FRINT capability to userspace Date: Thu, 3 Oct 2019 12:12:08 +0100 Message-Id: <20191003111211.483-2-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20191003111211.483-1-julien.grall@arm.com> References: <20191003111211.483-1-julien.grall@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HWCAP framework will detect a new capability based on the sanitized version of the ID registers. Sanitization is based on a whitelist, so any field not described will end up to be zeroed. At the moment, ID_AA64ISAR1_EL1.FRINTTS is not described in ftr_id_aa64isar1. This means the field will be zeroed and therefore the userspace will not be able to see the HWCAP even if the hardware supports the feature. This can be fixed by describing the field in ftr_id_aa64isar1. Fixes: ca9503fc9e98 ("arm64: Expose FRINT capabilities to userspace") Signed-off-by: Julien Grall Cc: mark.brown@arm.com --- arch/arm64/kernel/cpufeature.c | 1 + 1 file changed, 1 insertion(+) -- 2.11.0 diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 9323bcc40a58..cabebf1a7976 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -136,6 +136,7 @@ static const struct arm64_ftr_bits ftr_id_aa64isar0[] = { static const struct arm64_ftr_bits ftr_id_aa64isar1[] = { ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, ID_AA64ISAR1_SB_SHIFT, 4, 0), + ARM64_FTR_BITS(FTR_VISIBLE, FTR_STRICT, FTR_LOWER_SAFE, ID_AA64ISAR1_FRINTTS_SHIFT, 4, 0), ARM64_FTR_BITS(FTR_VISIBLE_IF_IS_ENABLED(CONFIG_ARM64_PTR_AUTH), FTR_STRICT, FTR_LOWER_SAFE, ID_AA64ISAR1_GPI_SHIFT, 4, 0), ARM64_FTR_BITS(FTR_VISIBLE_IF_IS_ENABLED(CONFIG_ARM64_PTR_AUTH), From patchwork Thu Oct 3 11:12:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 175077 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp155262ill; Thu, 3 Oct 2019 04:12:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqz+MavksE16BO9zDOjyNm0c/h9/sH84Tfy0RNvsaf/Pzv9AGwH8nFt9X9SXuqmUbujRsszD X-Received: by 2002:aa7:c4d0:: with SMTP id p16mr8870220edr.266.1570101146470; Thu, 03 Oct 2019 04:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570101146; cv=none; d=google.com; s=arc-20160816; b=Z45joboVcYNbkq0Y8DC7gUy5hDmGMOIgXzyeBCL5Dj5k3xjfu3l8iSMqrnwxLn7xY+ yMk+ODcZNOtcqIaZPZceoVniOv1LUeHkGb9/e3i5raI0ovwv99M00lkuOhL/6ohS9W2B u5Tx5dGS9XcEPKYCkG8WsSg0D75ll9WQR+JxAfKB9gFH7gzp3dnl/XnQ2z9cZya2MW8c l5jfSIouKSq9aGYfVCqom62mSr2axXkghzqIllgLbDiC8LBSjZHT35qrdj/a9WkP6acn 6ZH9Btmo3BzZryE/h+hcIUesZW6eYh+bgUcH8gnfPCe0vNN43Y+TgK8e8IyfLm6hacE6 Tung== 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=k3f1GWKngUCmrZsmnDB5aCzxdbreBHrseUS3Mhc6gYw=; b=GXIIM61MbUYOPthtcT7EUaZlonFmRrgjigOZKfR4LpUc5B+LtgStuC7Or8tJfD2CQh Wzd8QGyzq5bhrt/Kue/OwtStE2aWW8Vgecw52LHp0pEi5yxtgpFg+hdA2YoqoM4Kq7QQ dRrnvXXZRSdIUXIExsHxLt4deYTaaStYMqjtGQfF3G9F0he8wBo1uoey/8OaewfT3d1C GiPzQ2MeaxM89BBel5lAZ0g8HpuYnHa4WiUTJYiKGa3HXGbla8X+O3ot67slliAmxIbe /ZgKNcMgQsbvtRINgg0vW56tlnxb0whK/+UCOlKaH4rxYlWFVjb2zs7JzsobWY/5oQma L6iA== 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 d24si1290455ede.119.2019.10.03.04.12.26; Thu, 03 Oct 2019 04:12:26 -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 S1729927AbfJCLMW (ORCPT + 27 others); Thu, 3 Oct 2019 07:12:22 -0400 Received: from foss.arm.com ([217.140.110.172]:41780 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728140AbfJCLMT (ORCPT ); Thu, 3 Oct 2019 07:12:19 -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 F3E251597; Thu, 3 Oct 2019 04:12:18 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D3C843F706; Thu, 3 Oct 2019 04:12:17 -0700 (PDT) From: Julien Grall To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: will@kernel.org, catalin.marinas@arm.com, suzuki.poulose@arm.com, Julien Grall , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH 2/4] docs/arm64: elf_hwcaps: sort the HWCAP{, 2} documentation by ascending value Date: Thu, 3 Oct 2019 12:12:09 +0100 Message-Id: <20191003111211.483-3-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20191003111211.483-1-julien.grall@arm.com> References: <20191003111211.483-1-julien.grall@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Part of the hardware capabilities documented in elf_hwcap.rst are ordered following the definition in the header arch/arm64/include/uapi/asm/hwcap.h but others seems to be documented in random order. To make easier to match against the definition in the header, they are now sorted in the same order as they are defined in header. I.e., HWCAP first by ascending value, and then HWCAP2 in the similar fashion. Signed-off-by: Julien Grall --- Documentation/arm64/elf_hwcaps.rst | 64 +++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 32 deletions(-) -- 2.11.0 diff --git a/Documentation/arm64/elf_hwcaps.rst b/Documentation/arm64/elf_hwcaps.rst index 91f79529c58c..9ee7f8ff1fae 100644 --- a/Documentation/arm64/elf_hwcaps.rst +++ b/Documentation/arm64/elf_hwcaps.rst @@ -119,10 +119,6 @@ HWCAP_LRCPC HWCAP_DCPOP Functionality implied by ID_AA64ISAR1_EL1.DPB == 0b0001. -HWCAP2_DCPODP - - Functionality implied by ID_AA64ISAR1_EL1.DPB == 0b0010. - HWCAP_SHA3 Functionality implied by ID_AA64ISAR0_EL1.SHA3 == 0b0001. @@ -141,30 +137,6 @@ HWCAP_SHA512 HWCAP_SVE Functionality implied by ID_AA64PFR0_EL1.SVE == 0b0001. -HWCAP2_SVE2 - - Functionality implied by ID_AA64ZFR0_EL1.SVEVer == 0b0001. - -HWCAP2_SVEAES - - Functionality implied by ID_AA64ZFR0_EL1.AES == 0b0001. - -HWCAP2_SVEPMULL - - Functionality implied by ID_AA64ZFR0_EL1.AES == 0b0010. - -HWCAP2_SVEBITPERM - - Functionality implied by ID_AA64ZFR0_EL1.BitPerm == 0b0001. - -HWCAP2_SVESHA3 - - Functionality implied by ID_AA64ZFR0_EL1.SHA3 == 0b0001. - -HWCAP2_SVESM4 - - Functionality implied by ID_AA64ZFR0_EL1.SM4 == 0b0001. - HWCAP_ASIMDFHM Functionality implied by ID_AA64ISAR0_EL1.FHM == 0b0001. @@ -180,10 +152,6 @@ HWCAP_ILRCPC HWCAP_FLAGM Functionality implied by ID_AA64ISAR0_EL1.TS == 0b0001. -HWCAP2_FLAGM2 - - Functionality implied by ID_AA64ISAR0_EL1.TS == 0b0010. - HWCAP_SSBS Functionality implied by ID_AA64PFR1_EL1.SSBS == 0b0010. @@ -197,6 +165,38 @@ HWCAP_PACG ID_AA64ISAR1_EL1.GPI == 0b0001, as described by Documentation/arm64/pointer-authentication.rst. +HWCAP2_DCPODP + + Functionality implied by ID_AA64ISAR1_EL1.DPB == 0b0010. + +HWCAP2_SVE2 + + Functionality implied by ID_AA64ZFR0_EL1.SVEVer == 0b0001. + +HWCAP2_SVEAES + + Functionality implied by ID_AA64ZFR0_EL1.AES == 0b0001. + +HWCAP2_SVEPMULL + + Functionality implied by ID_AA64ZFR0_EL1.AES == 0b0010. + +HWCAP2_SVEBITPERM + + Functionality implied by ID_AA64ZFR0_EL1.BitPerm == 0b0001. + +HWCAP2_SVESHA3 + + Functionality implied by ID_AA64ZFR0_EL1.SHA3 == 0b0001. + +HWCAP2_SVESM4 + + Functionality implied by ID_AA64ZFR0_EL1.SM4 == 0b0001. + +HWCAP2_FLAGM2 + + Functionality implied by ID_AA64ISAR0_EL1.TS == 0b0010. + HWCAP2_FRINT Functionality implied by ID_AA64ISAR1_EL1.FRINTTS == 0b0001. From patchwork Thu Oct 3 11:12:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 175076 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp155212ill; Thu, 3 Oct 2019 04:12:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzZe1UTywrzGsznT2PVHga7FbRrNEJVVjx17d/hF/TgE/nZLK8qICJTb2FUSul9ESIYlk35 X-Received: by 2002:a50:934c:: with SMTP id n12mr9000746eda.12.1570101144094; Thu, 03 Oct 2019 04:12:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570101144; cv=none; d=google.com; s=arc-20160816; b=0NcHw0MIKNXM0v1RS3k1MEOx5It8tFQKzfbtp+XrWVswuziocFbph36+Tq06cQt/0l LP0DY0GTtJCSEUApvIAnmj4xIj3pu10C2X3qTMzrWrxKkzr22h/pOFmixouV9GYL2QwX QoQiufT1gNkSGdpju7zVN+3VRm2BSsiajmm2y33AKnovlKhbrmMIQSKscKKMyN8zPQOm RR9xMmikWawklejPx01fNTdvMnMM+qHBE0wGdAnunAwwfFjI/cE9fWiocTYXd1uvDaVu sz54fFuSGJ/tfJ6KEr4NGLGGDLatoDUk5jbpikcGhA1u1MyTvfu037A0AFp/uNkJP/Lj Rt4A== 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=5nODJkbAkJsAKK/wGIGcUmtwdnR51AlFidIJ5LSveSU=; b=a9LCDXa3Zcdo0tNZ1TeQ2aBSmS1gjtm9dQCl/g1K3zpxOlKt9UF0suFU71sg4+0XtV woxW7oO28MSeT6id1TIKVKsZ0+M7CsMaixeL+TfFDrY3WKRbrdeVnkJ9UbqPuDOR48GU 4mcqrEOtWOHo6kkiACiqryQcUNep0WutWCvUygKu7FX/6C/1qzMWxghII6FIqAcQJPnW S/i753B9hosw4xt+5ce1fBC6ZSPwgy9K+Mw3IQvBcLQZn68O2FlZa9x+WAuLJTM+Jjpb SV2EKUynVQ9FPXUM9OvWIHfz0g+RFqUZTfjWaoBi/1mdaZasjVJiTgT6EhBqE4QURbpR BAXw== 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 d24si1290455ede.119.2019.10.03.04.12.23; Thu, 03 Oct 2019 04:12:24 -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 S1729942AbfJCLMW (ORCPT + 27 others); Thu, 3 Oct 2019 07:12:22 -0400 Received: from foss.arm.com ([217.140.110.172]:41790 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729896AbfJCLMU (ORCPT ); Thu, 3 Oct 2019 07:12:20 -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 52C471000; Thu, 3 Oct 2019 04:12:20 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 34C173F706; Thu, 3 Oct 2019 04:12:19 -0700 (PDT) From: Julien Grall To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: will@kernel.org, catalin.marinas@arm.com, suzuki.poulose@arm.com, Julien Grall , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH 3/4] docs/arm64: elf_hwcaps: Document HWCAP_SB Date: Thu, 3 Oct 2019 12:12:10 +0100 Message-Id: <20191003111211.483-4-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20191003111211.483-1-julien.grall@arm.com> References: <20191003111211.483-1-julien.grall@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All the hardware capabilities but HWCAP_SB is not documented in elf_hwcaps.rst. So document it. Signed-off-by: Julien Grall --- Documentation/arm64/elf_hwcaps.rst | 3 +++ 1 file changed, 3 insertions(+) -- 2.11.0 diff --git a/Documentation/arm64/elf_hwcaps.rst b/Documentation/arm64/elf_hwcaps.rst index 9ee7f8ff1fae..7fa3d215ae6a 100644 --- a/Documentation/arm64/elf_hwcaps.rst +++ b/Documentation/arm64/elf_hwcaps.rst @@ -155,6 +155,9 @@ HWCAP_FLAGM HWCAP_SSBS Functionality implied by ID_AA64PFR1_EL1.SSBS == 0b0010. +HWCAP_SB + Functionality implied by ID_AA64ISAR1_EL1.SB == 0b0001. + HWCAP_PACA Functionality implied by ID_AA64ISAR1_EL1.APA == 0b0001 or ID_AA64ISAR1_EL1.API == 0b0001, as described by From patchwork Thu Oct 3 11:12:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 175078 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp155300ill; Thu, 3 Oct 2019 04:12:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwHjgA7lPjbp103bNOIN2lyuSAZgb2ZQNdNX6j+VQol5q5doatxeSiwfpqFhvi9ehwn9sR X-Received: by 2002:a50:fa83:: with SMTP id w3mr8773285edr.262.1570101148473; Thu, 03 Oct 2019 04:12:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570101148; cv=none; d=google.com; s=arc-20160816; b=XJ+1ou8fe9PJFOo9SVvZitlsEVqbzdQokJGATUyZT9VI4p1IJK/I+Y89iQB8O40xuf eLFwNXwYFanhlZPAwjVc1GhrAL4EIr1izRqRpxVX7sQQYWn9npkCixKotq0cczRxaC27 QtA2mTzb2c4KTnBgYCsoc+vhOw45bOMw95zluKlfGi0uV1XRlVEvRcXHws/qnSrkpE7b 5uaZRKYfOzEWU3wNUZt4grOVVTHeJUSYaRb/mgEhA0EzgYqoBgwmYx6SWY2iLpkNLQbI p/n1zXeCKFwlvQpOVZfk0b5LvfNoKA62hZYNp2vdHC5QrihSsOawfu73qiZwBEnunrGz KtvA== 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=UFQRcqfD8ruL/lm9RFV4vTeJL/SiDxrgJj35e5i1vwU=; b=chXyndpdHtYIAMulTSArDpdjxFoe69nCc662RHBJgDx3UkxIJ/V0B43b/AE4ZZOS2N N7zcwpgKfH/GmpBRPp5+VpJh+ydB1wtRVJ3OvccZfY4kIjnowoO7veXbesX1cVGW1BZr ehptJ1P55+jGiCpvfYh+q3H2qVxiEljyoscMxEVJ9vg37hN2a6QShKVdWrrLKZWA8OPe XnaedUwsoGhhqPIM3WIs7Mlb5oA8C/Bid0brPg5LGPxwb/3EYrQaGJ63FB/OGsHZ+vB4 e1Hw3EygKLgFDC5I8rd/kiSn/x8i+iDPzIMfmlTRbqjzjUMb+ihAmG5mQElsPzUVtSzo J/2g== 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 d24si1290455ede.119.2019.10.03.04.12.28; Thu, 03 Oct 2019 04:12:28 -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 S1729954AbfJCLM1 (ORCPT + 27 others); Thu, 3 Oct 2019 07:12:27 -0400 Received: from foss.arm.com ([217.140.110.172]:41800 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729912AbfJCLMV (ORCPT ); Thu, 3 Oct 2019 07:12:21 -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 6ED1015A1; Thu, 3 Oct 2019 04:12:21 -0700 (PDT) Received: from e108454-lin.cambridge.arm.com (e108454-lin.cambridge.arm.com [10.1.196.50]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 8743F3F706; Thu, 3 Oct 2019 04:12:20 -0700 (PDT) From: Julien Grall To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: will@kernel.org, catalin.marinas@arm.com, suzuki.poulose@arm.com, Julien Grall Subject: [PATCH 4/4] docs/arm64: cpu-feature-registers: Documents missing visible fields Date: Thu, 3 Oct 2019 12:12:11 +0100 Message-Id: <20191003111211.483-5-julien.grall@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20191003111211.483-1-julien.grall@arm.com> References: <20191003111211.483-1-julien.grall@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A couple of fields visible to userspace are not described in the documentation. So update it. Signed-off-by: Julien Grall --- Documentation/arm64/cpu-feature-registers.rst | 4 ++++ 1 file changed, 4 insertions(+) -- 2.11.0 diff --git a/Documentation/arm64/cpu-feature-registers.rst b/Documentation/arm64/cpu-feature-registers.rst index 2955287e9acc..ffcf4e2c71ef 100644 --- a/Documentation/arm64/cpu-feature-registers.rst +++ b/Documentation/arm64/cpu-feature-registers.rst @@ -193,6 +193,10 @@ infrastructure: +------------------------------+---------+---------+ | Name | bits | visible | +------------------------------+---------+---------+ + | SB | [36-39] | y | + +------------------------------+---------+---------+ + | FRINTTS | [32-35] | y | + +------------------------------+---------+---------+ | GPI | [31-28] | y | +------------------------------+---------+---------+ | GPA | [27-24] | y |