Having recently built a custom workstation based on AMD's Zen3 5900X chip I cooked up some optimized kernels for my Linux distro of choice : Fedora.

You can find the RPMs here --> https://imagine27.com/fedora-ryzen-kernels and the source here --> https://github.com/jgrant27/ryzen-fedora-kernel
Enjoy !

My custom built 5900X workstation cost $1,200 and destroys a $12,000 MacPro