From patchwork Tue Oct 8 15:39:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 175514 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5866622ill; Tue, 8 Oct 2019 08:42:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzphBQASgw2hPDv6PSjIh1xe20vjgyVC6k9DvlHKjKYDeHnrfkQB2RgN/SXwaG5JSQBl+ay X-Received: by 2002:a05:6402:1251:: with SMTP id l17mr34718231edw.270.1570549216506; Tue, 08 Oct 2019 08:40:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570549216; cv=none; d=google.com; s=arc-20160816; b=fkXA/AAc0UNRRrrc8VK3sKiEl1M3p5iywhYZL0wOpt2oZSaeLGY32xsaAJzJSfRpqw aGPrKqSrbgQdbrnC4aZB69qcd2IwdSdmlrhbvQ036D0QJlo0EObBE5xf8Iel2vYiIv0h K3G+1gMGtYoXIPMqVEyB4V2rY5JCLkTtPEtK8aMqUAuqD+yB/ula8UeAyIla9/UsqSC3 7mbn07sU+ykxd4LbqqjAw6V2LM/CKiarq9YVg/5pK63HxRTcrO87Jl8DUCYWkKbHR9rz TjOa4EA/zhecyUAODYKaCPctTm2z0OXC9pGDca7BwG166h6Q35JccIR3/SRiolkfwkcj ejLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DZ75OeBMeoZr9SzaWQDvyxO7uuvtCYY2aDYU12NSuuI=; b=Cy54a7Ne2+ur00g0wJzy+Vn5fPdyZ12KvgLFGP9JPDVBjYxlXoRQAD9dhgPmJFROoA CC07lcn+3Rg5AapVGNSRh4M8YWn4uPW57YTsN5wIE7QH/GXNNB/nWKu4kK2tZRvH4sKB bmNS+HIjHh06oyoONhFOIo1dgu4DA/jsHSNCdXoB2+tO47rSklvXvOSaNIYhEhplpLTO YewRsa8I9WvAPl/wiZg3v4nhuEiPMoXqZT2VRTvuf9LYr5EeXssgwMLkrwqHC/jmo1e0 XFNb+FNzk00Wqs7k9A+yK4y9XU1kQZ0vTBkVsnKkvY+B6Q5ZCq17A3kOZOcX/L0j+U/A sYpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="B/loA8Xf"; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si10919464edc.67.2019.10.08.08.40.16; Tue, 08 Oct 2019 08:40:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="B/loA8Xf"; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728083AbfJHPkP (ORCPT + 13 others); Tue, 8 Oct 2019 11:40:15 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38422 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfJHPkP (ORCPT ); Tue, 8 Oct 2019 11:40:15 -0400 Received: by mail-wr1-f67.google.com with SMTP id w12so19988157wro.5 for ; Tue, 08 Oct 2019 08:40:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DZ75OeBMeoZr9SzaWQDvyxO7uuvtCYY2aDYU12NSuuI=; b=B/loA8XflODrFoDoqVtUDasNehNF1bXoqm3fFdy0PiSuTTcNehEJBzYHes+gyu3kBJ EKap1MovSD5k+vZ8PMEbEY04/kKAKDkjZv2fiH+qetAyuxGemdM9VvK+wUsk66owfolS 2YBshwMSE14mZK4qwCVF0e/kEbZHNMS14q1j4NFUsS4Dmz3ecjElt+fHR1UMlu6d8Apf PGm8wY+x0Go1i7pK4EvquM1ptgJKgl80sdzzQDZ9YFjP3ZLTk0iWc7spNmtsaAV/6PhA WJFmzx98eS7PjeVy4EFeXhC63rQFbmFjw5udFfMIePBiSAWeq3+ZmPTF4GkJBsCAkpPr RYJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DZ75OeBMeoZr9SzaWQDvyxO7uuvtCYY2aDYU12NSuuI=; b=cWITzGFtcsQuVS1eLm9+6TcnWZ2UlnXXRLwdPLNlNN1D28KHqEs2H5pDktzX6JB8Di /rnRMQqFylCKMhED92hC+1gGODt/Wvo8ZOJf6KsqolW9sogx5Jgp6qfJ25eqFYgk9rTC wxwG0Lgtvrd0b9SKVH1kuDksiqRRG5rSOvelaIKFD7na2BaznSY8C0LcBBzkONyj39xt q5kpnnqw1rK5sKFw2lWa4d1t7ElYIRNBb+Xm/8Lzbok5E3Fvnd77nTqtx+D+vkfycwgk Q0oaFZumpD+cDhGN2FLHAITlL0k+jrbdtLn1the7MuOknmjNgIal+eq0fi0K75sih7Ge fz+w== X-Gm-Message-State: APjAAAXRu9PCccwLQyRGzdwVWh4qJNn2YzybSMXT6qiWQ8Oe0tOTjllP l7ZE2f+aIR3Xrgd8t+Tmx1dP6g== X-Received: by 2002:adf:f649:: with SMTP id x9mr27061505wrp.163.1570549213184; Tue, 08 Oct 2019 08:40:13 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id x16sm16784723wrl.32.2019.10.08.08.40.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 08:40:12 -0700 (PDT) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org Cc: stable@vger.kernel.org, Will Deacon , Catalin Marinas , Ard Biesheuvel Subject: [PATCH for-stable-v4.19 04/16] arm64: docs: Document SSBS HWCAP Date: Tue, 8 Oct 2019 17:39:18 +0200 Message-Id: <20191008153930.15386-5-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191008153930.15386-1-ard.biesheuvel@linaro.org> References: <20191008153930.15386-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Will Deacon [ Upstream commit ee91176120bd584aa10c564e7e9fdcaf397190a1 ] 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 Signed-off-by: Catalin Marinas Signed-off-by: Ard Biesheuvel --- Documentation/arm64/elf_hwcaps.txt | 4 ++++ 1 file changed, 4 insertions(+) -- 2.20.1 diff --git a/Documentation/arm64/elf_hwcaps.txt b/Documentation/arm64/elf_hwcaps.txt index d6aff2c5e9e2..6feaffe90e22 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.