Re: [PATCH v4 1/3] PCI: qcom: Enable cache coherency for SA8775P RC

From: Dmitry Baryshkov
Date: Tue Nov 21 2023 - 13:40:50 EST


On Tue, 21 Nov 2023 at 16:38, Mrinmay Sarkar <quic_msarkar@xxxxxxxxxxx> wrote:
>
> In a multiprocessor system cache snooping maintains the consistency
> of caches. Snooping logic is disabled from HW on this platform.
> Cache coherency doesn’t work without enabling this logic.
>
> 8775 has IP version 1.34.0 so intruduce a new cfg(cfg_1_34_0) for this
> platform. Assign no_snoop_override flag into struct qcom_pcie_cfg and
> set it true in cfg_1_34_0 and enable cache snooping if this particular
> flag is true.

Thank you!

>
> Signed-off-by: Mrinmay Sarkar <quic_msarkar@xxxxxxxxxxx>
> ---
> drivers/pci/controller/dwc/pcie-qcom.c | 20 +++++++++++++++++++-
> 1 file changed, 19 insertions(+), 1 deletion(-)

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>



--
With best wishes
Dmitry