Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78226954 authored by Yan He's avatar Yan He
Browse files

msm: pcie: disable q2a flush logic



Disable q2a flush logic for the incomplete transactions before a
core reset.

CRs-fixed: 679668
Change-Id: I0ec688e194f8768234b6fa087592950ee8c12b2f
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent 2049a6cf
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@
#define PCIE20_PARF_CONFIG_BITS        0x50
#define PCIE20_PARF_DBI_BASE_ADDR      0x168
#define PCIE20_PARF_AXI_MSTR_WR_ADDR_HALT   0x178
#define PCIE20_PARF_Q2A_FLUSH          0x1AC

#define PCIE20_ELBI_VERSION            0x00
#define PCIE20_ELBI_SYS_CTRL           0x04
@@ -1187,6 +1188,8 @@ int msm_pcie_enable(struct msm_pcie_dev_t *dev, u32 options)

	writel_relaxed(0x3656, dev->parf + PCIE20_PARF_SYS_CTRL);

	writel_relaxed(0, dev->parf + PCIE20_PARF_Q2A_FLUSH);

	if (dev->use_msi) {
		PCIE_DBG(dev, "RC%d: enable WR halt.\n", dev->rc_idx);
		msm_pcie_write_mask(dev->parf +