From patchwork Wed Apr 3 23:34:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak Gupta X-Patchwork-Id: 13616768 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 EB0A4CD1288 for ; Wed, 3 Apr 2024 23:41:44 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 6EB1C6B009F; Wed, 3 Apr 2024 19:41:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6C0DF6B00A0; Wed, 3 Apr 2024 19:41:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 514996B00A1; Wed, 3 Apr 2024 19:41:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0013.hostedemail.com [216.40.44.13]) by kanga.kvack.org (Postfix) with ESMTP id 28D526B009F for ; Wed, 3 Apr 2024 19:41:44 -0400 (EDT) Received: from smtpin25.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id EFB001C0F34 for ; Wed, 3 Apr 2024 23:41:43 +0000 (UTC) X-FDA: 81969845286.25.5C120E0 Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by imf26.hostedemail.com (Postfix) with ESMTP id 1B652140017 for ; Wed, 3 Apr 2024 23:41:41 +0000 (UTC) Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=1op2tO3g; spf=pass (imf26.hostedemail.com: domain of debug@rivosinc.com designates 209.85.214.170 as permitted sender) smtp.mailfrom=debug@rivosinc.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1712187702; 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:dkim-signature; bh=orqHimAqeIVvjnhm+Lh8YT/bDSQ5kt/uWL0O/MbcU4M=; b=s3Oa8BKQ6TZEHgc1w/7WnAKnn4eAK6+RyLx1pHzT9S+cBSaH/O+nLy5Lx4BLw8BX6Uhkx/ MBY0LpeRE631p0Cklx6oRzoqTJJ67aKqU0Kx2C5KRjBkd1r1la2gSwsrS2FACn97QvE9EB xiqMVQueYUd4wq0H+rTHSkPY1zSmcI0= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1712187702; a=rsa-sha256; cv=none; b=A2H0V4FsjO00CxLCsMxfcVmGIQA4zA9IdjC+pSJSaJ+WDRIKQOt8/Nwzlbpqw+fZYniDIo 0x0d9XVFDufvkv35lc0pJbRyCiiCxE/lC/ic00wkX2tvlqriWlLqnE5XUVm16/Vx2q/wlh uCzvcjoTFAIij954+w6D+8i68XR2KhE= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=1op2tO3g; spf=pass (imf26.hostedemail.com: domain of debug@rivosinc.com designates 209.85.214.170 as permitted sender) smtp.mailfrom=debug@rivosinc.com; dmarc=none Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1e0d8403257so3257495ad.1 for ; Wed, 03 Apr 2024 16:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1712187701; x=1712792501; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=orqHimAqeIVvjnhm+Lh8YT/bDSQ5kt/uWL0O/MbcU4M=; b=1op2tO3gNuT8uiCKBL8B/3T3cOOIByHNwl7M4AkXBnsiwtPE9D/auSMNPn0O3ViA7t me9ZOzFUuUa7GKt9j3xnmxjzogt37nudlPvqChNk+AGkwXyqYEgiuJxnIs2G49lndA6n RxI8eVmH8GtotNfAM+/NDqBow7A9usT7mNz/WE/8prah5xHJ5FKvrqzeoJA4Ua6hxDI5 Et7aMqu8O8HDt1x/+7Xdyy8SheY5yUSdpM1BqjX0rPReFN7F/aOAUg9PzJnz+bgVAh/m aBE+DSBhy/RXvuoSCUtzuCk/FmEn/cg8xK+FwC1RvZHAOFgf63uAjb80xH0DaH11ivUN gzqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712187701; x=1712792501; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=orqHimAqeIVvjnhm+Lh8YT/bDSQ5kt/uWL0O/MbcU4M=; b=wXOegAGoa2FnuHjYPx83hM4Wuygpg2M4T58orjNPNkX+QNrIu1yRwP/ZDouqN/sRhI qw7aqIBXNTP15ICTPgxZuynebJvc66PAwFsQRlrVlVwFNW0jq14RpeY4vbxT5zvz1upD CXGAZVOvx6WPtwMpynp/fTC24Bq7+avLKyi19MkqyaNYzUCeQaVXeGVdFgaPeA9qrw9y eTTPi9CoQORvbifoR7a9uuQZszRTxnf6ZL+4txz7zWU9oxne1q1S34eXMiuLDSemm43m E9q/7O+XCRTxso5dL8j4XPpWOVMe1ReaAYSWcvuxiJ0yTKLPBnG997S4pKHmKMDCMBQo XdBg== X-Forwarded-Encrypted: i=1; AJvYcCW+Emo5KVIrOMojZlaiyD8InypiOXlWRSO2K7rfoI3yE6AO9Bc0eNTJYWjJdAYSC4AAkT2zA1tYr7FowX5BNd+CnMo= X-Gm-Message-State: AOJu0YxmzgdPtDVlrBTPgT82hMkITM00SXf/rKSyBdvvwxs5La0hOB7N iowACkiW9ZeSPUpQooMRyHCuIMIzP1BJo7YjmbLaknx7PFukLFm6JxqDqUiGsK0= X-Google-Smtp-Source: AGHT+IHS90cA+AgUmlXmCnhm/ecMbFJNWD0dZq3yi8zpTRzaElJ0z3lk+4PPNraXYIXlpU0z512YdA== X-Received: by 2002:a17:902:d4d1:b0:1e2:8bce:b338 with SMTP id o17-20020a170902d4d100b001e28bceb338mr994151plg.5.1712187700925; Wed, 03 Apr 2024 16:41:40 -0700 (PDT) Received: from debug.ba.rivosinc.com ([64.71.180.162]) by smtp.gmail.com with ESMTPSA id b18-20020a170902d51200b001deeac592absm13899117plg.180.2024.04.03.16.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 16:41:40 -0700 (PDT) From: Deepak Gupta To: paul.walmsley@sifive.com, rick.p.edgecombe@intel.com, broonie@kernel.org, Szabolcs.Nagy@arm.com, kito.cheng@sifive.com, keescook@chromium.org, ajones@ventanamicro.com, conor.dooley@microchip.com, cleger@rivosinc.com, atishp@atishpatra.org, alex@ghiti.fr, bjorn@rivosinc.com, alexghiti@rivosinc.com, samuel.holland@sifive.com, conor@kernel.org Cc: linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org, corbet@lwn.net, palmer@dabbelt.com, aou@eecs.berkeley.edu, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, oleg@redhat.com, akpm@linux-foundation.org, arnd@arndb.de, ebiederm@xmission.com, Liam.Howlett@oracle.com, vbabka@suse.cz, lstoakes@gmail.com, shuah@kernel.org, brauner@kernel.org, debug@rivosinc.com, andy.chiu@sifive.com, jerry.shih@sifive.com, hankuan.chen@sifive.com, greentime.hu@sifive.com, evan@rivosinc.com, xiao.w.wang@intel.com, charlie@rivosinc.com, apatel@ventanamicro.com, mchitale@ventanamicro.com, dbarboza@ventanamicro.com, sameo@rivosinc.com, shikemeng@huaweicloud.com, willy@infradead.org, vincent.chen@sifive.com, guoren@kernel.org, samitolvanen@google.com, songshuaishuai@tinylab.org, gerg@kernel.org, heiko@sntech.de, bhe@redhat.com, jeeheng.sia@starfivetech.com, cyy@cyyself.name, maskray@google.com, ancientmodern4@gmail.com, mathis.salmen@matsal.de, cuiyunhui@bytedance.com, bgray@linux.ibm.com, mpe@ellerman.id.au, baruch@tkos.co.il, alx@kernel.org, david@redhat.com, catalin.marinas@arm.com, revest@chromium.org, josh@joshtriplett.org, shr@devkernel.io, deller@gmx.de, omosnace@redhat.com, ojeda@kernel.org, jhubbard@nvidia.com Subject: [PATCH v3 04/29] riscv: zicfilp / zicfiss in dt-bindings (extensions.yaml) Date: Wed, 3 Apr 2024 16:34:52 -0700 Message-ID: <20240403234054.2020347-5-debug@rivosinc.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240403234054.2020347-1-debug@rivosinc.com> References: <20240403234054.2020347-1-debug@rivosinc.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 1B652140017 X-Rspam-User: X-Rspamd-Server: rspam11 X-Stat-Signature: zggje353fjitmjcz53t1zuf93kanbgnf X-HE-Tag: 1712187701-262559 X-HE-Meta: U2FsdGVkX1/5yTDWibWlGuax5OwrMZqjB2xxty02g/f3oOHsnBauHCoJCGEuYDWvGrqAZP8xyjh52unTkzX4xuIn/Oe18PnUoyDM2sC04htvS2KJYzdWYx1qWG9/MKFn02ppfK0H/kZyEkQVPX1KzRRdNRx5ZCHzJHkKpncZOucdjEMmdBw+C6GPnQX+Dk4lkkqm2+zhL1746/FtaM+N2hbqExT9Ui/XQI6YYJ/70mBxQ7iNjWFe/fah9OEDCZq/2iuNP5EclNw+BfzXNL0am9VOuRtpecmLI42mtSLExvKy2ly4s/JYr8iVZuCfZcgzvraW4XcfZlBjmKu+8hidf5FwI9v2KjC3DZBxwh/8lcfqj+eyQeS49tWJfIBi7N/jdTuDhIl67olYy1Olx0VjSWyyQyiGF65XXy42Frp/eNfu8qu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= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000006, 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 --- .../devicetree/bindings/riscv/extensions.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/riscv/extensions.yaml b/Documentation/devicetree/bindings/riscv/extensions.yaml index 63d81dc895e5..45b87ad6cc1c 100644 --- a/Documentation/devicetree/bindings/riscv/extensions.yaml +++ b/Documentation/devicetree/bindings/riscv/extensions.yaml @@ -317,6 +317,16 @@ 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 in commit 3a20dc9 of riscv-cfi and is in public review. + + - const: zicfiss + description: + The standard Zicfiss extension for enforcing backward edge control-flow + integrity in commit 3a20dc9 of riscv-cfi and is in publc review. + - const: zicntr description: The standard Zicntr extension for base counters and timers, as