I haven't used any of the AM5 CPUs, but this does sound like memory training, though longer that what I've heard. Is there a setting to enable memory context restore in the BIOS? Does this happen with XMP/EXPO disabled and the memory running at JEDEC timings?