From patchwork Mon Oct 1 14:24:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 10622369 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 72F801515 for ; Mon, 1 Oct 2018 15:38:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 11B1928AB2 for ; Mon, 1 Oct 2018 15:38:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 01E622897F; Mon, 1 Oct 2018 15:38:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9D78F1FF40 for ; Mon, 1 Oct 2018 15:38:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=el95ZUkc0MNP/Siz2YCj77l9vL0VUa2MokCX6MKZ6nM=; b=VzDAsoaZHRCx5MHMrmZ81hITE4 OGBG13QZPbFK3uu6gXNxw4Ps5UfWQx9Zv1J/027xKxZjPxIRv2ReZh6BM8IJJShlcFgJWJu1OAhhx weAqGxGKiClVon3LZaCand7PBaJe8k49d2wgFtGyDHY6QSHmrq+mFlad3xpWzGStgIBbLmcPOQu8Y UZyJ3xiSIJaFRj1mD4oFjE6B17ZJThsBNYCV/FMWJ2AclNBDXAXr/sn51nl59oVN9SRm2WaHJbt3B oZQvsAU3XmYVystMBT3z/7tA8EAvxz5M6ycaRtjPEhY38tHryX6/zqW63t+b78vQP4PDZY4Y5lrlO nDkX+9Kw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g70Gm-0003ol-Ly; Mon, 01 Oct 2018 15:38:00 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g705T-0006H3-Ty for linux-arm-kernel@bombadil.infradead.org; Mon, 01 Oct 2018 15:26:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=OL8G0jvrniuizQZEbnsTbpI++nwtcvDbij9wVVZsT4g=; b=OSGTtM1+/XGF/JOVZi3LW2hsH wkLRiw2c3iz6ueHmKlUW3f/v1X/0dmZbvo2CrNl+aA+zZYO2vkgWCVXCxlKqBrSWraQKngCKs1D6r jdJgdH+H1sOeUYHlCzXostOzhNmutXJICGJjNWnLQ6QR3Y/9YYcnRbw4hS3wjYJeDONuZ99m1Pulb 3yEMNktksh2IAzhGSqsyFzWGzGK5aYE8eDRy9cBEIbDKBG50DIR0NkW2UjZcmWrLXleiuoTkyfSdE VHn7nnW36S6D+1UlVw2nSCxrfZrmrZy8lphGfcfTJF18oG1HFQ5QrOTkZHBGV3SNu+N6Vmsgphbf3 oKjdMXf6w==; Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by merlin.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g6z7o-0005q8-Df for linux-arm-kernel@lists.infradead.org; Mon, 01 Oct 2018 14:24:40 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id DB0EC1596; Mon, 1 Oct 2018 07:24:25 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AB7203F774; Mon, 1 Oct 2018 07:24:25 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 4F7D11AE3128; Mon, 1 Oct 2018 15:24:49 +0100 (BST) From: Will Deacon To: catalin.marinas@arm.com Subject: [PATCH 1/2] arm64: docs: Fix typos in ELF hwcaps Date: Mon, 1 Oct 2018 15:24:47 +0100 Message-Id: <1538403888-13277-2-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1538403888-13277-1-git-send-email-will.deacon@arm.com> References: <1538403888-13277-1-git-send-email-will.deacon@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181001_102440_545412_32F8BFDF X-CRM114-Status: GOOD ( 12.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Giacomo Travaglini , Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Giacomo Travaglini Fix some typos in our hwcap documentation, where we refer to the wrong ID register for some of the capabilities. Acked-by: Mark Rutland Signed-off-by: Giacomo Travaglini [will: fix amusing binary constants] Signed-off-by: Will Deacon --- Documentation/arm64/elf_hwcaps.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/arm64/elf_hwcaps.txt b/Documentation/arm64/elf_hwcaps.txt index d6aff2c5e9e2..51ccfab408cc 100644 --- a/Documentation/arm64/elf_hwcaps.txt +++ b/Documentation/arm64/elf_hwcaps.txt @@ -78,11 +78,11 @@ HWCAP_EVTSTRM HWCAP_AES - Functionality implied by ID_AA64ISAR1_EL1.AES == 0b0001. + Functionality implied by ID_AA64ISAR0_EL1.AES == 0b0001. HWCAP_PMULL - Functionality implied by ID_AA64ISAR1_EL1.AES == 0b0010. + Functionality implied by ID_AA64ISAR0_EL1.AES == 0b0010. HWCAP_SHA1 @@ -153,7 +153,7 @@ HWCAP_ASIMDDP HWCAP_SHA512 - Functionality implied by ID_AA64ISAR0_EL1.SHA2 == 0b0002. + Functionality implied by ID_AA64ISAR0_EL1.SHA2 == 0b0010. HWCAP_SVE @@ -173,7 +173,7 @@ HWCAP_USCAT HWCAP_ILRCPC - Functionality implied by ID_AA64ISR1_EL1.LRCPC == 0b0002. + Functionality implied by ID_AA64ISAR1_EL1.LRCPC == 0b0010. HWCAP_FLAGM From patchwork Mon Oct 1 14:24:48 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 10622227 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C305515A7 for ; Mon, 1 Oct 2018 14:31:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A5189295B4 for ; Mon, 1 Oct 2018 14:31:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2FC9295C1; Mon, 1 Oct 2018 14:31:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4E009295B4 for ; Mon, 1 Oct 2018 14:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=xBThcAAl6JVhzYg2EQy1spEQ632UqSJDK6XgoScU4V8=; b=TBSgBM6WRxm+N+3hnMc8zSF/7J RSTl9lbmO9WgNgFwIS1gt9vxGhOCJNvQp4YnNlU3OnlsgTouZ0x01kePRAtDijhNd2o/H08SFyrTQ aVPIt0lwwZby5Ib7PTmaGUEoGg/kW5+wHh26lugH5tff4a2IVwlKwqtlUzbDGywUPTZ+MBJicjwDA gMK6qM668wVF2VB+Y+JRvg9PFCS4fJueJrijRUxCRq9hE9dfBucFlnmzR8IjqmBLo5BjCLiSlkUY+ QkOL8orWnA/y7uJXi6B9sQ/vl757iX6LpKN3R2kYChX4tGq3E1d35iLnKf7MeM3UjIIzYh4FEs9cY F1Ifvx5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g6zE4-00060f-0t; Mon, 01 Oct 2018 14:31:08 +0000 Received: from casper.infradead.org ([85.118.1.10]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g6zE1-0005x0-Ro for linux-arm-kernel@bombadil.infradead.org; Mon, 01 Oct 2018 14:31:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wMg9hU42awt0x4YGiB268KtgBoA8QfwlWH7C0QLXTV4=; b=H5ykrvzeK89lruXajqzMVDfjA heUNrvUgpkFuH+THWKi95xIcE+oTrr6gfaDBeigQD5hxE4Yg2XnY1tOsmCYPStRTuTmaou7NvEb1d iHhtUpg38AIoeo+r67MmgRDhZWB5hUorxSBeagRtGnjEu0lLNlf3sYAbs2pNFT3jNxkfASJAftIPJ TfEB5u7+Xrmneb+5Ls8Zgm5bOeemiPvcG5TEHYGSTCdz0vU79bwAjyjMo8ZgDm562ezenF1dPwOev jNC5jHioZ70dJxxPlrhcrZJtBmGJmrl5FCkn1PibhTI4S3FucTEetNb+PNZBa2jT07vdN/wtpoFdA HHFltREFg==; Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g6z7l-00058o-CE for linux-arm-kernel@lists.infradead.org; Mon, 01 Oct 2018 14:24:39 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EAA9215AD; Mon, 1 Oct 2018 07:24:25 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id BAB4C3F7F4; Mon, 1 Oct 2018 07:24:25 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 5F62D1AE3C61; Mon, 1 Oct 2018 15:24:49 +0100 (BST) From: Will Deacon To: catalin.marinas@arm.com Subject: [PATCH 2/2] arm64: docs: Document SSBS HWCAP Date: Mon, 1 Oct 2018 15:24:48 +0100 Message-Id: <1538403888-13277-3-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1538403888-13277-1-git-send-email-will.deacon@arm.com> References: <1538403888-13277-1-git-send-email-will.deacon@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181001_152437_647897_C0F8D436 X-CRM114-Status: UNSURE ( 8.72 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Will Deacon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP We advertise the MRS/MSR instructions for toggling SSBS at EL0 using an HWCAP, so document it along with the others. Signed-off-by: Will Deacon --- Documentation/arm64/elf_hwcaps.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/arm64/elf_hwcaps.txt b/Documentation/arm64/elf_hwcaps.txt index 51ccfab408cc..ea819ae024dd 100644 --- a/Documentation/arm64/elf_hwcaps.txt +++ b/Documentation/arm64/elf_hwcaps.txt @@ -178,3 +178,7 @@ HWCAP_ILRCPC HWCAP_FLAGM Functionality implied by ID_AA64ISAR0_EL1.TS == 0b0001. + +HWCAP_SSBS + + Functionality implied by ID_AA64PFR1_EL1.SSBS == 0b0010.