Re: [PATCH v7 1/2] PCI: iproc: Retry request when CRS returned from EP

From: Sinan Kaya
Date: Wed Aug 23 2017 - 11:52:49 EST


Hi Oza,

> In working Enumuration case I get following:
> [ 9.125976] pci 0000:00:00.0: bridge configuration invalid ([bus
> 00-00]), re-configuring
> [ 9.134267] where=0x0 val=0xffff0001
> [ 9.146946] where=0x0 val=0xffff0001
> [ 9.158943] where=0x0 val=0xffff0001
> [ 9.170945] where=0x0 val=0xffff0001
> [ 9.186945] where=0x0 val=0xffff0001
> [ 9.210944] where=0x0 val=0xffff0001
> [ 9.250943] where=0x0 val=0xffff0001
> [ 9.322942] where=0x0 val=0xffff0001
> [ 9.458943] where=0x0 val=0xffff0001
> [ 9.726942] where=0x0 val=0x9538086 >> actual vendor and device id.
>
> so I think I have to retry in RC driver, so the old code still holds good.
> except that I have to do factoring out
You need to return 0xFFFF0001 for vendor ID register and return 0xFFFFFFFF for
other registers like COMMAND register during the CRS period.

>
> please let me know If I missed anything, or you want me to try anything else.

Sinan