git: a5ae2d2ab409 - main - mitigations.7: Document riscv's SM[AE]P equivalents

From: Jessica Clarke <jrtc27_at_FreeBSD.org>
Date: Fri, 31 May 2024 19:56:20 UTC
The branch main has been updated by jrtc27:

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

commit a5ae2d2ab409834c28e71b1dcde4ebcd0d9b3671
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-05-31 19:54:59 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2024-05-31 19:54:59 +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.
---
 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 f97ba50320f2..afb88de56e86 100644
--- a/share/man/man7/mitigations.7
+++ b/share/man/man7/mitigations.7
@@ -250,6 +250,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.