Re: [PATCH v2] PCI: dwc: Add upper limit address for outbound iATU

From: Rob Herring
Date: Wed Jan 27 2021 - 12:40:36 EST


On Wed, Jan 6, 2021 at 4:52 AM Shradha Todi <shradha.t@xxxxxxxxxxx> wrote:
>
> The size parameter is unsigned long type which can accept size > 4GB. In
> that case, the upper limit address must be programmed. Add support to
> program the upper limit address and set INCREASE_REGION_SIZE in case size >
> 4GB.
>
> Signed-off-by: Shradha Todi <shradha.t@xxxxxxxxxxx>
> ---
> v1: https://lkml.org/lkml/2020/12/20/187
> v2:
> Addressed Rob's review comment and added PCI version check condition to
> avoid writing to reserved registers.
>
> drivers/pci/controller/dwc/pcie-designware.c | 9 +++++++--
> drivers/pci/controller/dwc/pcie-designware.h | 1 +
> 2 files changed, 8 insertions(+), 2 deletions(-)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>