Re: [PATCH 1/2] pcie/designware: Keep viewport fixed for IO transaction if num_viewport > 2
From: Rob Herring
Date: Tue Jul 05 2016 - 12:23:29 EST
On Mon, Jul 04, 2016 at 09:44:42PM +0530, Pratyush Anand wrote:
> From: Pratyush Anand <pratyush.anand@xxxxxxxxx>
>
> Most of the platform have 3 or more viewports. We do not need to share
> viewport for such platform between IO and CFG. Assign viewport 2 to IO
> transactions in such cases.
>
> Signed-off-by: Pratyush Anand <pratyush.anand@xxxxxxxxx>
> Tested-by: Dong Bo <dongbo4@xxxxxxxxxx>
> ---
> .../devicetree/bindings/pci/designware-pcie.txt | 3 +++
> drivers/pci/host/pcie-designware.c | 26 ++++++++++++++++------
> drivers/pci/host/pcie-designware.h | 1 +
> 3 files changed, 23 insertions(+), 7 deletions(-)
Acked-by: Rob Herring <robh@xxxxxxxxxx>