From patchwork Fri Oct 27 18:08:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joey Gouly X-Patchwork-Id: 13438773 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4EFDC25B48 for ; Fri, 27 Oct 2023 18:09:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 353806B03D9; Fri, 27 Oct 2023 14:09:12 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 240C06B03DA; Fri, 27 Oct 2023 14:09:12 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 06BF06B03DB; Fri, 27 Oct 2023 14:09:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id E66566B03D9 for ; Fri, 27 Oct 2023 14:09:11 -0400 (EDT) Received: from smtpin09.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay07.hostedemail.com (Postfix) with ESMTP id C7B74160E64 for ; Fri, 27 Oct 2023 18:09:11 +0000 (UTC) X-FDA: 81392028102.09.D1AC660 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by imf25.hostedemail.com (Postfix) with ESMTP id 295DAA0004 for ; Fri, 27 Oct 2023 18:09:09 +0000 (UTC) Authentication-Results: imf25.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf25.hostedemail.com: domain of joey.gouly@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=joey.gouly@arm.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1698430150; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4kEGW9flU9HHXrbEBd0UvPKe8vgoxgasPOI1AITnREc=; b=qxX+PCQE6dC9zVoi+bu/kVuTsF7WlM8vN9Jb4xjVelCtV7wpqBew2T+S8pA2JsxD5vHpRD S0jKonXD4jTNBslVfWpWg4CBTSDu6Dv8uwddFrgJMhmYKMeNEMKlpQRKA3kCurXaTbwSrn 31BdxdP3bOGg7hM64llwppER0Fmbfxg= ARC-Authentication-Results: i=1; imf25.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=arm.com; spf=pass (imf25.hostedemail.com: domain of joey.gouly@arm.com designates 217.140.110.172 as permitted sender) smtp.mailfrom=joey.gouly@arm.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1698430150; a=rsa-sha256; cv=none; b=Dv35Sb5wle2s5off9tJA94ox5OGFRU1pLwsa2EvBNiyqYND7NBdkZBiHvrFG73YkxIuS5l W3vqIrBuymGhlp/AUbrYolvIPYYHbIwDc+DXevtVxeyKOEum8Xy70LGarFPbCb8HkaAmKK ivto1PveSLhYixWk/Boz5Ea8f690V2k= 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 C2E3C153B; Fri, 27 Oct 2023 11:09:50 -0700 (PDT) Received: from e124191.cambridge.arm.com (e124191.cambridge.arm.com [10.1.197.45]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 015BC3F64C; Fri, 27 Oct 2023 11:09:06 -0700 (PDT) From: Joey Gouly To: linux-arm-kernel@lists.infradead.org Cc: akpm@linux-foundation.org, aneesh.kumar@linux.ibm.com, broonie@kernel.org, catalin.marinas@arm.com, dave.hansen@linux.intel.com, joey.gouly@arm.com, maz@kernel.org, oliver.upton@linux.dev, shuah@kernel.org, will@kernel.org, kvmarm@lists.linux.dev, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, James Morse , Suzuki K Poulose , Zenghui Yu Subject: [PATCH v2 02/24] arm64/sysreg: update CPACR_EL1 register Date: Fri, 27 Oct 2023 19:08:28 +0100 Message-Id: <20231027180850.1068089-3-joey.gouly@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231027180850.1068089-1-joey.gouly@arm.com> References: <20231027180850.1068089-1-joey.gouly@arm.com> MIME-Version: 1.0 X-Rspam-User: X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 295DAA0004 X-Stat-Signature: bto13ppn4wh1j8fk6us4rtmpmhb51gnz X-HE-Tag: 1698430149-830003 X-HE-Meta: U2FsdGVkX18YEZBXe/BQL74BErJ9qKtvpva5RlARBN2G1t0cZJdqsS52zL6v4HPiPKCTVWUmdi+IJGcbJJcIWPNcISlZaKIwu0BoOr4qgAjbwF+pkJF6nSnLQgks3lxJxuHA6ENqXrA2boHNFPRFXpSlw2xubmekmZDr1Ezy/sbbdwz/vQIuKcdUYATfAEqFBcFQIFew6jwmTNJRD4DmyA0u6YXLlQjRhSdoJgOMsmdkDdPbcFm8K8wOIrqla6hh73yqckP9PNkDhuL6dsOyhekDG1+wd0nzfEMVHaX9omJ8INx3KeBzyerJjCoqctDmo9BABD/ZeDMbbUzuHOCa8H6bmn+AaLhlvacCjQw8fFBUlQsTvQKJqugCv9EOdoDtzKgF8pjnrje1xxMI4AdA/3KDvZRofaZGYf+QnICU07fq+d7aotX/yslGrarkobyA1VqY5oyS5gTARRyJEEebUfXQKc7V/PrI+k+x8rxDm4ITyAH8RFAevx9CBvr5FyfBzWgs/dczG65XYOGi2kQTqZ2AknwANUzTLdIG+y9Qqg17FqANEpcAP2XtNz4wAhI5fCU+TjXb38gpM10eHQ8wlKYRL7z9HcQNgzscTvBfmpGrCQQ7UI25iFDFL8rRohdWzNSTDd9HUHwW4C+PY6T/Ge1UX64AU46gztZ2D/c0XdZX9OcVtCUQPSax593F+RoeCdyp8bE0phR7G0+OYfJ8fNaA8/lbhsJvIpFS7ot1Hy9n7fsw1T1o1KbW2yWsWVPeKvQ7kh2B3WbmGviYlnVW290uf5yE1//PwHvIkJT3Dah/G3d+hnPPDHuEZBUoNu32bwnmbaW7FihdAkyf+euhysCKXLzwJ3+rPOAiUxeBYDd/UI2eas7j9iCK80BR7lmjq3UZ/AGCS2Yg04SVTnIqUJGV3fm3DLqSxJDbNQTKWJZYyWSK2lNYQAzy9uCxGCSH+5rPBdIOyOuICMr9hms jTJlDv4z kowxyRMtRr4HBPmlD+bOmNdksOkNy5FIj6Dw39TBSm+0xa5ut3/OQXrV6Sf5I4Gbh2J2iTrLzCvNUw9Jnej1xJXGVcbajWN9wF2Q8IPRmr2kfj8X5eyoirHBDbV8CTTav92lFLrkS4iZ/UQ1O334qrxbw7oCMEJ04X22khT1f7VFfCxYeciSYQqNIFA/0ryPeTY7xvOM5abrz+XAlhu9+AU0feSRrdwiEJ4M/NajRoHirFB68lJsbdS0DLh49GSxBWP5hxu5qzxGIHPfUafwfEBQAeIDkfD97+gJk X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Add E0POE bit that traps accesses to POR_EL0 from EL0. Updated according to DDI0601 2023-03. Signed-off-by: Joey Gouly Cc: Catalin Marinas Cc: Will Deacon Reviewed-by: Mark Brown --- arch/arm64/tools/sysreg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/tools/sysreg b/arch/arm64/tools/sysreg index dd91d0639bab..6952987f8363 100644 --- a/arch/arm64/tools/sysreg +++ b/arch/arm64/tools/sysreg @@ -1741,7 +1741,8 @@ Field 0 M EndSysreg SysregFields CPACR_ELx -Res0 63:29 +Res0 63:30 +Field 29 E0POE Field 28 TTA Res0 27:26 Field 25:24 SMEN