On 8/9/19 7:57 PM, Marek Vasut wrote: > Since the $idx variable value is stored across multiple calls to > rcar_pcie_inbound_ranges() function, and the $idx value is used to > index registers which are written, subsequent calls might cause > the $idx value to be high enough to trigger writes into nonexistent > registers. > > Fix this by moving the $idx value check to the beginning of the loop. Is there any reason why none of these patches got applied yet ? [...] -- Best regards, Marek Vasut