I had problems with microcode loading wth my previous intel laptop.
I decided to permanently disable any cpu microcode loading for the processor. A few years ago it was called late microcode loading in the kernel.
Usually you get the new microcode anyway with a new UEFI, or lets call it bios, mainboard update. I do not see much use to have that feature enabled.
It seems you are a beginner.
The gentoo sources, kernel.org + gentoo patchsets, have a full sections only for AMD security bugs. There are also options for intel cpus last time i was making changes in that section.
Have you ever paid attention to this, part of the output. You may pay attention to the section called bug.
bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass srso
Code:
Sienna_Cichlid /home/roman # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 25
model : 97
model name : AMD Ryzen 5 7600X 6-Core Processor
stepping : 2
microcode : 0xa60120c
cpu MHz : 2991.000
cache size : 1024 KB
physical id : 0
siblings : 12
core id : 0
cpu cores : 6
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 16
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good amd_lbr_v2 nopl xtopology nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cat_l3 cdp_l3 hw_pstate ssbd mba perfmon_v2 ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic vgif x2avic v_spec_ctrl vnmi avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca fsrm flush_l1d amd_lbr_pmc_freeze
bugs : sysret_ss_attrs spectre_v1 spectre_v2 spec_store_bypass srso
Those cpu bugs will increase and all will cost performance. People do not understand my motivation. I sold on purpose the ryzen 5800x. Even the second hand ryzen 3 3100 was fine for desktop use which i had for the few months transistion period.
Lessons learnt this time: It seems there is a new line with microcode in the cpuinfo output.
I do not recommend it. If you want your performance back you have to build your own kernel and set all those options yourself. I highly doubt a beginner distro based on debian or based on ubuntu is the right choice for performance.