diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-10-24 18:53:00 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2024-10-24 18:53:00 +0000 |
commit | 74efed2a7ff980788efff6b3b5993762e7a78215 (patch) | |
tree | 122826ea8c34527a24858772effc3bbcdd14dd91 /sys/dev/pci/igc_nvm.c | |
parent | 9cd2590ca23be81c1d41f53830d293a19657ac78 (diff) |
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@
Diffstat (limited to 'sys/dev/pci/igc_nvm.c')
0 files changed, 0 insertions, 0 deletions