Re: [PATCH v3 15/17] PCI: dwc: Combine iATU detection procedures

From: Rob Herring
Date: Wed Jun 15 2022 - 12:47:56 EST


On Fri, Jun 10, 2022 at 11:57:03AM +0300, Serge Semin wrote:
> Since the iATU CSR region is now retrieved in the DW PCIe resources getter
> there is no much benefits in the iATU detection procedures splitting up.
> Therefore let's join the iATU unroll/viewport detection procedure with the
> rest of the iATU parameters detection code. The resultant method will be
> as coherent as before, while the redundant functions will be eliminated
> thus producing more readable code.
>
> Signed-off-by: Serge Semin <Sergey.Semin@xxxxxxxxxxxxxxxxxxxx>
>
> ---
>
> Changelog v3:
> - This is a new patch created on v3 lap of the series.
> ---
> drivers/pci/controller/dwc/pcie-designware.c | 39 +++++---------------
> 1 file changed, 10 insertions(+), 29 deletions(-)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>