Hi,

On Fri, Oct 25, 2024 at 10:28:21AM -0600, Theo de Raadt wrote:
> 
> Please propose a pattern.  Test it in RAMDISK and GENERIC.MP, there are
> probably two seperate patterns.  Show it to afresh1 and me.  Thanks
> 

With GENERIC.MP the pattern below seems to work (but of course no tgz
available yet on firmware.openbsd.org). psp(4) is not in RAMDISK.

-----------------------------------------------------------------------
commit 505c802105c534757005d10b59ca553967e4e1fe
Author: Hans-Joerg Hoexer <[email protected]>
Date:   Mon Oct 28 13:07:50 2024 +0100

    fw_update: add pattern for AMD SEV firmware used with psp(4)

diff --git a/usr.sbin/fw_update/patterns.c b/usr.sbin/fw_update/patterns.c
index 868a2308b15..295e00df232 100644
--- a/usr.sbin/fw_update/patterns.c
+++ b/usr.sbin/fw_update/patterns.c
@@ -94,6 +94,7 @@ main(void)
        print_devices("amdgpu", amdgpu_devices, nitems(amdgpu_devices));
        printf("%s\n", "amdgpu ^vga*vendor \"ATI\", unknown product"); 
        printf("%s\n", "amdgpu ^vendor \"ATI\", unknown product*class display");
+       printf("%s\n", "amdsev ^psp");
        printf("%s\n", "apple-boot ^cpu0*Apple");
        printf("%s\n", "arm64-qcom-dtb ^qcgpio0");
        printf("%s\n", "athn");

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to