AMD Zen 4 (Ryzen 7000) resource allocation issues (on 14.0)

From: Daniel Engberg <daniel.engberg.lists_at_pyret.net>
Date: Sat, 14 Oct 2023 11:07:11 UTC
Hi,

After updating BIOS on my Asus motherboard (ProArt X670E-CREATOR WIFI)
the kernel fails to allocate resources for a bunch of devices
including USB and built-in SATA. This behaviour is also observed on at
least ASRock boards too so it doesn't seem to be a specific issue to
one manufacturer or model. If anyone has any ideas how to fix this
I'd be grateful.

I've tried turning off and on "Fast boot" in BIOS without any success,
enabing SR-IOV makes the kernel hang during boot.

dmesg with older bios (working):

https://forums.freebsd.org/threads/sata-drives-show-in-bios-but-wont-show-in-dev.89656/page-2#post-620854

dmesg with new bios (not working):

https://reviews.freebsd.org/P612

Related PR:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272507

If you need to more information or testing just ask and please CC me
when replying.

Best regards,

Daniel