[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20231216212919.GA3302836@rocinante>
Date: Sun, 17 Dec 2023 06:29:19 +0900
From: Krzysztof WilczyĆski <kw@...ux.com>
To: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
Cc: jingoohan1@...il.com, gustavo.pimentel@...opsys.com,
lpieralisi@...nel.org, robh@...nel.org, bhelgaas@...gle.com,
linux-pci@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, quic_bjorande@...cinc.com,
fancer.lancer@...il.com
Subject: Re: [PATCH v2 0/1] PCI: qcom-ep: Fix the BAR size programming
Hello,
> This series fixes the issue seen on Qcom EP platforms implementing the DWC
> core while setting the BAR size. Currently, whatever the BAR size getting
> programmed through pci_epc_set_bar() on the EP side is not reflected on the
> host side during enumeration.
>
> Debugging that issue revealed that the DWC Spec mandates asserting the DBI
> CS2 register in addition to DBI CS while programming some read only and
> shadow registers. So on the Qcom EP platforms, the driver needs to assert
> DBI_CS2 in ELBI region before writing DBI2 registers and deassert it once
> done.
>
> This is done by implementing the write_dbi2() callback exposed by the DWC
> core driver in the Qcom PCIe EP driver.
>
> This series has been tested on Qcom SM8450 based development platform.
Applied to controller/qcom-ep, thank you!
[1/1] PCI: qcom-ep: Add dedicated callback for writing to DBI2 registers
https://git.kernel.org/pci/pci/c/a07d2497ed65
Krzysztof
Powered by blists - more mailing lists