git: 9420f5d40d11 - stable/14 - mitigations.7: Document riscv's SM[AE]P equivalents

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Thu, 01 Aug 2024 14:47:19 UTC
The branch stable/14 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=9420f5d40d11a84f4d26597b225802fc057e0430

commit 9420f5d40d11a84f4d26597b225802fc057e0430
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-05-31 19:54:59 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
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.