RHEL 7 officially supports AMD family 0x15 and AMD EPYC 7xx1 (Naples) and AMD EPYC 7xx2 (Rome) from family 0x17. Everything else leads to the kernel printing "Warning: AMD Processor - this hardware has not undergone upstream testing." It's still possible that everything works perfectly fine. I have an old unsupported 4-socket Shanghai machine that runs CentOS 7 without any problems. YMMV.