From nobody Fri May 31 19:56:20 2024 X-Original-To: dev-commits-src-main@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 4VrYlm37lfz5LHBb; Fri, 31 May 2024 19:56:20 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VrYlm23pnz4QQh; Fri, 31 May 2024 19:56:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717185380; 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=S4P6xb0+ee9Axgcb+eT+xoHkEjtoB1LICz5V7dumftU=; b=W6flAWanKf8mUnyLzVuhCZt8kx2owJsxqtFSSzUQF3RsLxjxWvwF0QqODvmdynGPwxF67O dwjmuQGlWAdgDbo9g4RNfUXb5iv0AchMgFrhTdLZpWc8Mxl9Jze303WGx8vyzYrr6HyPvK j+fZdkrP/zBTBvKNurvWivvcDHtiFIRmKJJqHaW4IudV4askNLYAm1y93DIBer3inWQ/fk SUHREsOPyCrIl5zvCQhIdYsG2tXJlH8M/sYUEAfr4/pVXqHw8TvzUiwAHX1QCjhM9sseZC +DhaRoKkdtKwoOXlRQGk79ej6V4qxfULvwAHwWXgATG34mYMrG1z2hPh6dCKjQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717185380; a=rsa-sha256; cv=none; b=ctHah0t3wRNR5411JltHjbFGCLEeXg+/r2hX5MqkWUfeteWcIocGv1yWa9tnIxfddfopR2 4/Ksis0b2YX1eBd1oxERkkZwHOX5xof8sGFoUu2BlIAe6YM2n+LwTRgOJGm2DDJyO+o3ME v38DOXZeHzKv9UlJ7V8IS0dXw45/qFI/ohK+E6BMbXqEaBZMNK5l/G9IZKyLcgPIRuKWkb Tjm3QWdyiXkZJ0iZQWom4pLsXXT+d6XQzirBxF74/io21qZjl9H78zLHMnx3+BpvhhN1kY X8WqhA3iFPOwybEopJGjsRZsrSa6Wsxb3rl7e+G9Vhzpo1Vvjojo1DwUOJJOAw== 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=1717185380; 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=S4P6xb0+ee9Axgcb+eT+xoHkEjtoB1LICz5V7dumftU=; b=KXdT9muWI6QTpkt1zdIyhzcqDfC+flSIFKeyHjZsz0iqu8rjvcR9bsJNnUt2jCzwIr8ALk pPDtlHB66D3iANjpH+hSxUJ9r5NsdZE8eWBI04OerlQRpViDvaMAGlUBfhO+NMWbwfPqjF ihSwXezBe9zJSDDeutntMOyOpoG01Q+KvWqcVp/cxYHW6ucSpyghZc5T8MnsMIJJGQS6lM CR2Bs5GwK45op3ENBh48HSfWtbtZThAmBl5C1ACFLF7WjLDLSy6mDtYOI8DDKpYI+/ASCk H0fQ8pdJ62GcRtrrhKNWjewt7yZKVCMhxV2fdasLPJ+Sjdre8P2/+nfRrd2F3w== 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 4VrYlm1ddZzdYb; Fri, 31 May 2024 19:56:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44VJuK6I001789; Fri, 31 May 2024 19:56:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44VJuKRA001786; Fri, 31 May 2024 19:56:20 GMT (envelope-from git) Date: Fri, 31 May 2024 19:56:20 GMT Message-Id: <202405311956.44VJuKRA001786@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Jessica Clarke Subject: git: a5ae2d2ab409 - main - mitigations.7: Document riscv's SM[AE]P equivalents List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jrtc27 X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5ae2d2ab409834c28e71b1dcde4ebcd0d9b3671 Auto-Submitted: auto-generated The branch main has been updated by jrtc27: URL: https://cgit.FreeBSD.org/src/commit/?id=a5ae2d2ab409834c28e71b1dcde4ebcd0d9b3671 commit a5ae2d2ab409834c28e71b1dcde4ebcd0d9b3671 Author: Jessica Clarke AuthorDate: 2024-05-31 19:54:59 +0000 Commit: Jessica Clarke 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.