From patchwork Mon Nov 11 20:53:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak Gupta X-Patchwork-Id: 13871340 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 DDFB5D3ABF5 for ; Mon, 11 Nov 2024 20:54:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BDF346B00A6; Mon, 11 Nov 2024 15:54:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id B693C6B00BC; Mon, 11 Nov 2024 15:54:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 96D856B00BD; Mon, 11 Nov 2024 15:54:05 -0500 (EST) 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 72BAE6B00A6 for ; Mon, 11 Nov 2024 15:54:05 -0500 (EST) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 3858EA1AD1 for ; Mon, 11 Nov 2024 20:54:05 +0000 (UTC) X-FDA: 82775014602.08.9D482EE Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by imf20.hostedemail.com (Postfix) with ESMTP id 5CCB11C000E for ; Mon, 11 Nov 2024 20:53:12 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=WA5T0tZS; dmarc=none; spf=pass (imf20.hostedemail.com: domain of debug@rivosinc.com designates 209.85.216.50 as permitted sender) smtp.mailfrom=debug@rivosinc.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1731358268; 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-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=WIZVW5kCW5Dqg3JTts8BKHfPCkqfunLzJ4lU/RN+S5A=; b=VwAbnNNqxuAuPkmFTwDA5TblloqAMetty/Wih0X/DHs/LJERcySFtoiBFDGqzF0do67QSJ JoLEVykFj3pA67ydAh0tRTBcQBhfOMpou6UDbY1TUKmPWs+76UGtJWl0nY+nS3kGjAkdJg MVC+/I+jJqdc5vjGjF3dthD1dgHHgX0= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=WA5T0tZS; dmarc=none; spf=pass (imf20.hostedemail.com: domain of debug@rivosinc.com designates 209.85.216.50 as permitted sender) smtp.mailfrom=debug@rivosinc.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1731358268; a=rsa-sha256; cv=none; b=wRx31G/3B5m1F7fgJzqLyQFoeLY0iMMYcJzCVReRVJg3x7CLHMR8TqvkFgubscfBd1/26d PhrRCJi5vl5G7mqmJdmNm1AXFgQZkAp1YtSLxzsFLXdHQahMOLQ0k32qFYfFnUzVjyzpdz Yg5MZeSmDthrMogCn3MNndUeBTyy7aU= Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-2e3fca72a41so3942408a91.1 for ; Mon, 11 Nov 2024 12:54:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1731358442; x=1731963242; darn=kvack.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=WIZVW5kCW5Dqg3JTts8BKHfPCkqfunLzJ4lU/RN+S5A=; b=WA5T0tZSKtDhDVNLIPBPfHLKvznjhWdvDyUB/sVIdaiLutglwSJdJiwA115h8IphBZ jXBfjrRQ2+lCf5298twJAPG1XO6nVvv6LXnlROUstzqDuLEpoqlFqyiOh4qkTpSIeyHV QE4FLraqA42etreqRUu7vd9EVBEp8eb0IVVSpPUIlAfrLqRQjRP855Ia8vU5oEsbVvis OObsDo83PJ/3WHdi/gOoRST9ykalkWPYvLkgg88cTDcP+Hkv3Q9fai5TLw98W7OnytcI 6ptSQhA7ljrXU283N3IU8l+YjoXdhRyMUzG/v5hzaicH85BlTyjcr6dpZBYb1mKtn4ey Pq5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731358442; x=1731963242; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WIZVW5kCW5Dqg3JTts8BKHfPCkqfunLzJ4lU/RN+S5A=; b=dUpwWo4ga6kHMfp2r0icihFak7WTn8C7YQ5e4PydK0zxel976i3xcCkdFy3p/d2zBH 4mJYgun5fmDeuPULkSLsHszkeIgOoFJG+MHlLE8/iOdlbMtqpc1VUxv5s4aFfDSeD8C5 IzfEmw0fcqpSWaknF9t6eFupWyHa/fEdZ1OO6uCAYAdE6A0iuR/qTW2UYK7hTWjgIZNt Pe6xoyC2oq5s6FEiXC7V9k+vXWyxBfPLUy8tuG4OhP4c2ix14diVbfZpwTleRf7YBQSu hQ/qLHFM8qz/CXc60U2kcA76hHG/GNeVdJXtB4laxO6dGfJNoMwG1L4+QrBoY5tRVG46 dcCg== X-Forwarded-Encrypted: i=1; AJvYcCWpVUgqMTSw3b/scxVdZ8VvjilPTTifbRSjQvf+umHK5aFBna13aMQ2xC/lEEXrCAJYEn4EsDmTMQ==@kvack.org X-Gm-Message-State: AOJu0YwyO8F4K6WRS+8VvZcm3AkDQT43WiKosAykT+8LPMXAyRkPyszV h2tTQ2AjsGo7KjWDy9KhtM5yi59YlZDyl59971B8dTYsDGGSODroNAurieax5Eo= X-Google-Smtp-Source: AGHT+IGa2fbiAJuGCBnF9rSK98Eqsv5rxxJ/njsQk9gbKD4n0fa6MYIbIMWZY1h1CaKZlLTFD7l4AA== X-Received: by 2002:a17:90b:3941:b0:2e2:d239:84be with SMTP id 98e67ed59e1d1-2e9b166bc4dmr18469289a91.5.1731358442231; Mon, 11 Nov 2024 12:54:02 -0800 (PST) Received: from debug.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e9a5fd1534sm9059974a91.42.2024.11.11.12.53.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Nov 2024 12:54:01 -0800 (PST) From: Deepak Gupta Date: Mon, 11 Nov 2024 12:53:48 -0800 Subject: [PATCH v8 03/29] dt-bindings: riscv: zicfilp and zicfiss in dt-bindings (extensions.yaml) MIME-Version: 1.0 Message-Id: <20241111-v5_user_cfi_series-v8-3-dce14aa30207@rivosinc.com> References: <20241111-v5_user_cfi_series-v8-0-dce14aa30207@rivosinc.com> In-Reply-To: <20241111-v5_user_cfi_series-v8-0-dce14aa30207@rivosinc.com> To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Andrew Morton , "Liam R. Howlett" , Vlastimil Babka , Lorenzo Stoakes , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Christian Brauner , Peter Zijlstra , Oleg Nesterov , Eric Biederman , Kees Cook , Jonathan Corbet , Shuah Khan Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-kselftest@vger.kernel.org, alistair.francis@wdc.com, richard.henderson@linaro.org, jim.shu@sifive.com, andybnac@gmail.com, kito.cheng@sifive.com, charlie@rivosinc.com, atishp@rivosinc.com, evan@rivosinc.com, cleger@rivosinc.com, alexghiti@rivosinc.com, samitolvanen@google.com, broonie@kernel.org, rick.p.edgecombe@intel.com, Deepak Gupta X-Mailer: b4 0.14.0 X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 5CCB11C000E X-Stat-Signature: b9jsphbmhhq6i4eg5qznbktzzqp841gi X-Rspam-User: X-HE-Tag: 1731358392-989361 X-HE-Meta: U2FsdGVkX1/zoAih10210diloMwEa9A5yHRGbPJ68SnucrhcHpgyrpkmgU6Hv0iIPY2cJTemFTaUeBrzyofFXpV2HKG/IzQjTK5z/0504IR5SdAiqsLFewbG7dfX9zp116RkA1sGAlaW+163q1onXlpF9CPPpQcwfPdwYYp9qyAjfoXr9CV14mqhcqN1Shlt/7RHNXn97P0+8aNU9acmps8K6blx3t5cyfJRdHEfGPt/SjpiDVTHznDGtx8AWxDwPBKiIBvO1w+K8LcmqED3fh5E8Rwh+dX1NuCGqysCBpMQE5O99fL2gXi7Jwtl52D1xc4C2VTL3ybMyXHP2G90WpbeCjtIdwCxvyIVU00eohoFityOLSBAOB0ctVdUHydbl3WIkkYi3hJhji/La7oFgSP4ALxzPRNX9mx759PggHIZsLSlnKh522Cb+IoUs17/XnzBtD4IDZZXeg/L8CKH+RmSupw23NCoOKKfJvvG1bWla1pQdqQcD9IeAC3dI8f85SlYGmogeqEDLH3LSP455p7HpxyAwUTaBPegej+zL2LMgiiMY3sfap0ZYiVIq7kwoiLFKrMAr3BHQQIQGTuwCicGJweSQ5MJ/OgJpNh4Ui58X0BnFdIjjkK9iFm6GJtVUI/gDrd3xxL07oYOWSwotWixgXU2LE2wPW+P4meclZlr0bQGPfk8eXIMZuuWrpAduv4EXAPzhEPXKu8WNOcVEp/tbZGU7w8OHg3WKYpRcJWXtsohBjkmu1rcm1qLLQanL1TlyrauUveRSoZb+JmkXoO31DDDLzJIhdDWywc1ovo8ofqoMswuyZVpT4mVhJOn7Qznbdxxuedh14Bu5KUyKhY3ZvLEx1ckMINbBtcP1uQVIFQoALeLzOAoPojS7LHVbxcR2w9GQfC7WuWHUKtPN2hF8ZnJVHPGwUFVboJSrkhqM7cHHqi7Iau0Tk2Y4rHKKBg6l+py53jkIFiwujx 9/LNDZpJ iqm23TPcGnllMVW8taBX54prkryY0B9OnNNjMjx6DeBJ/VbD6BF3hX1U4ntOmtbhsIgmrcUESDsm1Gum8XHotUxtCSVqf5EzI6jsdZD0JfN+/Pb0tZkoYk3DpHaD44YxDz5pWQ4GPAafiqc3vezl95agZcnwfhaMILLOs45VUWrlhG75TdXDNJsTuz57vllYi2Gic06cvIPShyrLUkC7iEcTPOXdt6I5k/nbaFgcg5NM8fP2S424Fd6ywYgXOwu6aB0iwDhXFcjLsbp9w4E3SAglORm371u2zV31DOSip/B9ygoco00keMZyZtk7lGF+EgfzF4VxjBJ4O4myOTUyNSlM7eM10gXHqDsyS4JbLnMEJjAa0wtTd71zH51ywoyqlrN6B2Bj2752SWOl6RFsymc42RnRzT8PhPNwzEHJlNbAaQh/oCNQxvExdwl9xAFPTNSMCYVgJEfT1m5aFtXu/9pZKzcdrem14f1+5lHRcTEUvmf8= 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: Make an entry for cfi extensions in extensions.yaml. Signed-off-by: Deepak Gupta Acked-by: Rob Herring (Arm) --- Documentation/devicetree/bindings/riscv/extensions.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index af7e5237b2c0..5fb40665fbaf 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -398,6 +398,20 @@ properties: The standard Zicboz extension for cache-block zeroing as ratified in commit 3dd606f ("Create cmobase-v1.0.pdf") of riscv-CMOs. + - const: zicfilp + description: | + The standard Zicfilp extension for enforcing forward edge + control-flow integrity as ratified in commit 3f8e450 ("merge + pull request #227 from ved-rivos/0709") of riscv-cfi + github repo. + + - const: zicfiss + description: | + The standard Zicfiss extension for enforcing backward edge + control-flow integrity as ratified in commit 3f8e450 ("merge + pull request #227 from ved-rivos/0709") of riscv-cfi + github repo. + - const: zicntr description: The standard Zicntr extension for base counters and timers, as