History log of /openbsd-src/sys/dev/pci/ccp_pci.c (Results 1 – 14 of 14)
Revision Date Author Comments
# 38923a19 24-Oct-2024 bluhm <bluhm@openbsd.org>

Attach psp(4) version 1.

Some AMD CPUs come with an older platform security processor. It
is detectet by PCI Id and has different register offsets. Move the
dynamic register offsets into psp_softc

Attach psp(4) version 1.

Some AMD CPUs come with an older platform security processor. It
is detectet by PCI Id and has different register offsets. Move the
dynamic register offsets into psp_softc. The PCI attach code is
now in a separate psp_pci.c file and detects the version of the psp
along with the ccp. The attach code is more verbose to display
where problems might occur. Now the ccp_wait() has 2 seconds
timeout, both for polling and interrupt. Also prevent a useless
bus_space_read_4().

OK hshoexer@

show more ...


# 8eadc5ec 04-Sep-2024 jsg <jsg@openbsd.org>

make psp attach to ccp as a different driver
'fine with me' hshoexer, ok bluhm@


# 0b9f4c66 03-Sep-2024 jsg <jsg@openbsd.org>

move psp functions to psp.c and remove the ifdefs
ok bluhm@ hshoexer@


# 820d5ee4 13-Jun-2024 bluhm <bluhm@openbsd.org>

Avoid ccp error message if SEV-ES is missing.

PSP is optional to ccp(4). Thus if PSP attachment fails (e.g.
interrupt can not be set up), do not unmap IO space. It will still
be needed by ccp(4).

Avoid ccp error message if SEV-ES is missing.

PSP is optional to ccp(4). Thus if PSP attachment fails (e.g.
interrupt can not be set up), do not unmap IO space. It will still
be needed by ccp(4). Nonetheless, disestablish interrupt handler
if PSP attachment fails.

Another tweak: If PSP can not be initialized, there's no need to
actually flush caches (wbinvd) on all CPUs.

Cleanup dmesg output and make it more precise.

from hshoexer@; reported and tested by Hrvoje Popovski

show more ...


# 8cb10e2e 12-Jun-2024 bluhm <bluhm@openbsd.org>

Add support for the AMD Platform Security Processor (PSP) to ccp(4).

Several commands for basic platform initialization and launch of
SEV/SEV-ES enabled guests are implemented. These can be used by

Add support for the AMD Platform Security Processor (PSP) to ccp(4).

Several commands for basic platform initialization and launch of
SEV/SEV-ES enabled guests are implemented. These can be used by
e.g. vmd(8) later.

from hshoexer@; OK mlarkin@

show more ...


# 0f9891f1 24-May-2024 jsg <jsg@openbsd.org>

remove unneeded includes; ok miod@


# 1267c24d 24-Nov-2023 jmatthew <jmatthew@openbsd.org>

Match on 19h/1xh PSP

ok dlg@


# 87c6952e 24-Oct-2022 jsg <jsg@openbsd.org>

match AMD family 17h model 90h CCP
tested by and ok bentley@


# 8d2c75e4 11-Mar-2022 mpi <mpi@openbsd.org>

Constify struct cfattach.


# 3ddeb659 04-Jan-2020 jsg <jsg@openbsd.org>

remove AMD64 strings from pcidevs

ok mortimer@ mpi@ deraadt@


# e9b46da5 02-Jan-2020 mortimer <mortimer@openbsd.org>

Add pci id for recent AMD CCP and use it in ccp(4).

ok jsg@


# 1d6a3b1f 05-May-2019 kettenis <kettenis@openbsd.org>

Harmonize AMD CPU/APU devices.

ok jsg@


# 954464f5 02-May-2019 kettenis <kettenis@openbsd.org>

works on newer AMD Ryzen APUs/CPUs as well

ok deraadt@, mlarkin@


# 5f5e4d1b 20-Apr-2018 dlg <dlg@openbsd.org>

add a small driver for AMDs cryptographic co processor.

the hardware provides crypto offload, zlib offload, and an rng.
this code only supports the rng at the moment.

this device is present on thei

add a small driver for AMDs cryptographic co processor.

the hardware provides crypto offload, zlib offload, and an rng.
this code only supports the rng at the moment.

this device is present on their amd seatlle platforms, and very
present on their epyc stuff.

ok kettenis@ jmatthew@

show more ...