[Bug 253860] ccp(4) immediately hangs when creating geli device

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Jan 2024 00:32:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253860

--- Comment #7 from Joshua Kinard <freebsd@kumba.dev> ---
FYI, it looks like ccp(4) got some kind of fixing in 14.0-RELEASE and it now
appears to work on my Ryzen 3 2200G:

dmesg:
> # dmesg | grep ccp
> ccp0: <AMD CCP-5a> mem 0xfc700000-0xfc7fffff,0xfc884000-0xfc885fff irq 54 at device 0.2 on pci10

> [26] GEOM_ELI: Device da0p2.eli created.
> [26] GEOM_ELI: Encryption: AES-XTS 256
> [26] GEOM_ELI:     Crypto: hardware

pciconf -lvcV
> ccp0@pci0:10:0:2:       class=0x108000 rev=0x00 hdr=0x00 vendor=0x1022 device=0x15df subvendor=0x1043 subdevice=0x876b
>     vendor     = 'Advanced Micro Devices, Inc. [AMD]'
>     device     = 'Family 17h (Models 10h-1fh) Platform Security Processor'
>     class      = encrypt/decrypt
>     cap 09[48] = vendor (length 8)
>     cap 01[50] = powerspec 3  supports D0 D3  current D0
>     cap 10[64] = PCI-Express 2 endpoint max data 256(256) RO NS
>                  max read 512
>                  link x16(x16) speed 8.0(8.0) ASPM disabled(L0s/L1)
>     cap 05[a0] = MSI supports 2 messages, 64 bit
>     cap 11[c0] = MSI-X supports 2 messages, enabled
>                  Table in map 0x24[0x0], PBA in map 0x24[0x1000]
>     ecap 000b[100] = Vendor [1] ID 0001 Rev 1 Length 16

I'll update if any oddities/errors/crashes happen, but this is a positive sign!

-- 
You are receiving this mail because:
You are the assignee for the bug.