Hi, As I understand, the way to handle PCI FLR is by the function - void pcie_cap_flr_write_config(PCIDevice *dev, uint32_t addr, uint32_t val, int len)
which call the function -
/*
* This function is called on #RST and FLR.
* FLR if PCI_EXP_DEVCTL_BCR_FLR is set
*/
void pci_device_reset(PCIDevice *dev)
{
qdev_reset_all(&dev->qdev);
pci_do_device_reset(dev);
}
Isn't FLR handling is different from conventional Reset handling?
Thanks,
Tal
