Re: [RFC PATCH V5 5/5] PCI: thunder-pem: Support quirky configuration space access for ACPI based PCI host controller

From: Robert Richter
Date: Tue Aug 09 2016 - 07:19:09 EST


On 08.08.16 15:05:41, Tomasz Nowicki wrote:
> Add infrastructure to support ThunderX PEM specific PCI configuration space
> access for ACPI based PCI host controller. This involves:
> 1. New initialization call thunder_pem_cfg_init() to create configuration
> space mapping based on hardcoded range addresses
> 2. thunder_pem_init() ACPI extension to obtain hardcoded addresses for
> PEM specific register ranges
> 3. New quirk entry (for common quirk array) which identifies platform and
> calls thunder_pem_cfg_init() from [1]
>
> Signed-off-by: Tomasz Nowicki <tn@xxxxxxxxxxxx>

Acked-by: Robert Richter <rrichter@xxxxxxxxxx>

> ---
> drivers/pci/host/mcfg-quirks.c | 7 +++
> drivers/pci/host/mcfg-quirks.h | 4 ++
> drivers/pci/host/pci-thunder-pem.c | 96 ++++++++++++++++++++++++++++++++------
> 3 files changed, 94 insertions(+), 13 deletions(-)