From nobody Thu Aug 01 14:47:19 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WZWyb55nrz5Ssmy; Thu, 01 Aug 2024 14:47:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WZWyb3WQ0z4H6R; Thu, 1 Aug 2024 14:47:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722523639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+pGZjI6zrea3SpA5W8tduDGrwyRyHDaMlQFd3H6uTh8=; b=APVJiHIKXFYUzDTMFoYClQXayE2sUyYimPV9u40Km81zsFsEmxhW+iLmtwxqRT9V692rAX fZfP9pqqzyb7BZ5aPV8fg4pWg2axVmWSCRbds6kINaIXkmU4hXH1gtU2CT0nI4P4ReYvGZ 9YhhIspZMTiwhfyRn709Z3KRAViVzxmoy/euJucKK7po+VR2+OBuqAZ+/5UU8jI7U9EXvA QudxKeMCRD8T9WrZjl0berkcnkumsLJ2V83III8Ju1fLJ3gp8g4S//iN1S0TFMf3GK0O0L 9bxdBw6h1pkfUjhutcajZDJ9dhBhWDDhy2bt2CYa/DM3m07gUfde9AWzdchl1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722523639; a=rsa-sha256; cv=none; b=TmXOjCfmozxI737KmtciM8/M60Io6A6hR1Swq34vYQQR40VQpmzyev3Nwo0o8QDJQQ6TJm q7UCIqrcKkIJAtUGOaCVstv6xA38Zg4vxAMVJMY7xbkas+MnnCu5jPln99w238GLyWlyyc RrOQCthzrmQoPDuZIrxfvVCt8vPp2BVufIqeaHefosZaA8P1VBLECvWRuY1exvcPJIkU/m TuHvHxNFSPCN2yi8mArMdG7cB1/Rb+w/YDtTf842hDgnJ1j0pNDZxW70OOvjctjLmJy3Bi PI/OwB5YTUFxLxvYgKQH4MF2lJFsG1NlQp+OVte9MO+zTfmfFeHLya4MYgg+qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722523639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+pGZjI6zrea3SpA5W8tduDGrwyRyHDaMlQFd3H6uTh8=; b=VSzL3HiCjtN0aouzZANeINOKs81mTizubu8imRxsEg82aVnU/n/LKOChMRT15aeOgZ3jS3 LTjgcdTc9l7VOcpE5nHOAD3vjDSx5mM1Jqe8yDcrc7Slmb0rbB5cuG0cygtDXfAtuJ25YG cOZTMH2kgWSJvWiXz6BGVpxEAGVxDIXfRINDCOMxAx3E6EKYvobKIs4vEAMImSqUNem5w6 ky/YlSN9Pz0gXE452JavRB9mjzYh/exxVNh9RgrigVZbpgjahUmb36Dj4ocaXM1KLLQdOj vd7vhDF/dytHzBLEN2atmb0u8NzTgfCCLRxbxMP1WM7G23Yok26e3xwsVxBjxg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WZWyb33sRzpr7; Thu, 1 Aug 2024 14:47:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 471ElJcQ040074; Thu, 1 Aug 2024 14:47:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 471ElJpY040071; Thu, 1 Aug 2024 14:47:19 GMT (envelope-from git) Date: Thu, 1 Aug 2024 14:47:19 GMT Message-Id: <202408011447.471ElJpY040071@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: 9420f5d40d11 - stable/14 - mitigations.7: Document riscv's SM[AE]P equivalents List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 9420f5d40d11a84f4d26597b225802fc057e0430 Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=9420f5d40d11a84f4d26597b225802fc057e0430 commit 9420f5d40d11a84f4d26597b225802fc057e0430 Author: Jessica Clarke AuthorDate: 2024-05-31 19:54:59 +0000 Commit: Ed Maste CommitDate: 2024-08-01 14:46:46 +0000 mitigations.7: Document riscv's SM[AE]P equivalents Its base privileged architecture provides these. Read/write is toggleable via the SUM bit, so use that as its feature name. Execute is always-on so has no name. (cherry picked from commit a5ae2d2ab409834c28e71b1dcde4ebcd0d9b3671) --- share/man/man7/mitigations.7 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/man/man7/mitigations.7 b/share/man/man7/mitigations.7 index 4beaa4c9f46c..9dceffb368a9 100644 --- a/share/man/man7/mitigations.7 +++ b/share/man/man7/mitigations.7 @@ -324,6 +324,8 @@ kernel. .It amd64 Ta SMEP Ta Execute .It arm64 Ta PAN Ta Read / Write .It arm64 Ta PXN Ta Execute +.It riscv Ta SUM Ta Read / Write +.It riscv Ta - Ta Execute .El .Pp These features are automatically used by the kernel.