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.