From: jsg Date: Wed, 4 Sep 2024 11:12:53 +0000 (+0000) Subject: add psp(4) manual page X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d39370de6e9912256428958fb3147aa54e87fff3;p=openbsd add psp(4) manual page ok jmc@ bluhm@ --- diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 3d3ed3c5169..fbef6aff9eb 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.850 2024/08/31 04:21:45 dlg Exp $ +# $OpenBSD: Makefile,v 1.851 2024/09/04 11:12:53 jsg Exp $ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ acpi.4 acpiac.4 acpials.4 acpiasus.4 acpibat.4 \ @@ -72,7 +72,7 @@ MAN= aac.4 abcrtc.4 abl.4 ac97.4 acphy.4 acrtc.4 \ pcmcia.4 pcn.4 pcppi.4 pcscp.4 pcxrtc.4 pcyrtc.4 \ pf.4 pflog.4 pflow.4 pfsync.4 \ pgt.4 piixpm.4 pijuice.4 pinctrl.4 pipex.4 plgpio.4 plrtc.4 pluart.4 \ - pms.4 ppb.4 ppp.4 pppoe.4 pppx.4 psci.4 pty.4 puc.4 pvbus.4 \ + pms.4 ppb.4 ppp.4 pppoe.4 pppx.4 psci.4 psp.4 pty.4 puc.4 pvbus.4 \ pvclock.4 pwdog.4 pwmbl.4 pwmfan.4 pwmleds.4 pwmreg.4 \ qccpu.4 qcdwusb.4 qcgpio.4 qciic.4 qcpdc.4 qcpmic.4 qcpmicgpio.4 \ qcpon.4 qcpwm.4 qcrng.4 qcrtc.4 qcspmi.4 \ diff --git a/share/man/man4/ccp.4 b/share/man/man4/ccp.4 index eb957767c38..3b33596d3c7 100644 --- a/share/man/man4/ccp.4 +++ b/share/man/man4/ccp.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ccp.4,v 1.5 2024/09/01 19:32:48 bluhm Exp $ +.\" $OpenBSD: ccp.4,v 1.6 2024/09/04 11:12:53 jsg Exp $ .\" .\" Copyright (c) 2018 David Gwynne .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 1 2024 $ +.Dd $Mdocdate: September 4 2024 $ .Dt CCP 4 .Os .Sh NAME @@ -33,14 +33,9 @@ The .Nm driver supports feeding output of the random number generator into the kernel entropy pool. -.Pp -On amd64 -.Nm -provides -.Xr ioctl 2 -access to the platform security processor (PSP). .Sh SEE ALSO .Xr intro 4 , +.Xr psp 4 , .Xr random 4 , .Xr arc4random 9 .Sh HISTORY @@ -54,5 +49,3 @@ The .Nm driver was written by .An David Gwynne Aq Mt dlg@openbsd.org . -PSP support was implemented by -.An Hans-Joerg Hoexer Aq Mt hshoexer@genua.de . diff --git a/share/man/man4/psp.4 b/share/man/man4/psp.4 new file mode 100644 index 00000000000..d707aab3dba --- /dev/null +++ b/share/man/man4/psp.4 @@ -0,0 +1,51 @@ +.\" $OpenBSD: psp.4,v 1.1 2024/09/04 11:12:53 jsg Exp $ +.\" +.\" Copyright (c) 2024 Jonathan Gray +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: September 4 2024 $ +.Dt PSP 4 +.Os +.Sh NAME +.Nm psp +.Nd AMD Platform Security Processor +.Sh SYNOPSIS +.Cd "psp* at ccp?" +.Sh DESCRIPTION +The +.Nm +driver provides an interface to the AMD Platform Security Processor. +.Sh FILES +.Bl -tag -width /dev/psp +.It Pa /dev/psp +.El +.Sh SEE ALSO +.Xr ccp 4 , +.Xr vmd 8 +.Rs +.%Q AMD +.%T Secure Encrypted Virtualization API Version 0.24 +.%D April 2020 +.Re +.Sh HISTORY +The +.Nm +device driver first appeared in +.Ox 7.6 . +.Sh AUTHORS +.An -nosplit +The +.Nm +driver was written by +.An Hans-Joerg Hoexer Aq Mt hshoexer@genua.de .