Hi,
As what I know, in-band reset is not used during the link training and enumeration process in PCIe.
The primary purpose of in-band reset is to reset the internal state of a PCIe device without disrupting the communication link. It allows the device to recover from certain error conditions or reset specific functions while maintaining the link with other devices.
During link training and enumeration, the LTSSM (Link Training and Status State Machine) follows a specific protocol defined by the PCIe specification. The LTSSM handles the negotiation and establishment of the link between devices, including the training of the communication parameters such as link width, speed, and other features.
The link training process involves a sequence of states and transitions as defined by the PCIe specification. It relies on predefined control signals, electrical conditions, and protocol rules rather than in-band reset for establishing the link and enumerating devices on the bus.
If you need to do a Warm Reset to allow the link to train to Gen speed. Your design, including the Hard IP for PCI Express and Configuration Bypass, can then run at Gen desired speed. Or maybe system reboot.
Let me know if anything still not clear, or I missinterpret your question.
Regards,
Wincent_Intel