Re: [PATCH v3] PCI: qcom: Use default config space read function

From: Srinivas Kandagatla
Date: Mon Mar 18 2019 - 10:39:29 EST




On 18/03/2019 14:28, Marc Gonzalez wrote:
We don't need to fudge the device class in qcom_pcie_rd_own_conf()
because dw_pcie_setup_rc() already does the right thing:

/* Program correct class for RC */
dw_pcie_wr_own_conf(pp, PCI_CLASS_DEVICE, 2, PCI_CLASS_BRIDGE_PCI);

However, the above has no effect on 8064, thus a fixup is required.

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@xxxxxxx>
---
Changes from v2 to v3: Add fixup for 8064 quirk

Tested this on IFC6410 which is based of APQ8064.

Tested-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>

Thanks,
srini