ive messed around with this a lil more after installing proxmox a few weeks ago,EPYC Zen1 have problems with PCIe ASPM. You need to deactivate it in "/etc/kernel/cmdline" with "pcie_aspm=off". After this you need to do a "update-initramfs -u" otherwise the change will not used by the system. In UEFI the ASPM settings are unfortunately missing.
for me those spamming errors went away when i turned the sata hotswapping into mode 2, others worked for me aswell but i cant recall which ones made the console spam those errors and which one didnt.
I followed the kernel parameter found here: AMD EPYC Server with Ubuntu - Enable SATA Hot-Swap - Thomas-Krenn-Wiki-en
that way u still retain the advancedpcie error reporting but dont get a spammed console, seems to be working perfectly fine for me with mode 2, but i didnt test hot swap since i dont really need it