All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Fix tcsr_mutex register for IPQ6018
@ 2023-09-05  9:55 Vignesh Viswanathan
  2023-09-05  9:55 ` [PATCH v2 1/2] arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size Vignesh Viswanathan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Vignesh Viswanathan @ 2023-09-05  9:55 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt,
	krzysztof.kozlowski+dt, conor+dt, linux-arm-msm, devicetree,
	linux-kernel, ohad, baolin.wang, linux-remoteproc
  Cc: quic_kathirav, quic_anusha, quic_sjaganat, quic_srichara,
	quic_varada, Vignesh Viswanathan

IPQ6018 has 32 tcsr_mutex hwlock registers of 0x1000 size each.
The compatible string qcom,ipq6018-tcsr-mutex is mapped to
of_msm8226_tcsr_mutex which has 32 locks configured with stride of 0x80
and doesn't match the HW present in IPQ6018.

This series fixes the following:
 1. Fix the tcsr_mutex register size to 0x20000 in IPQ6018 DTSI.
 2. Remove IPQ6018 specific compatible in hwspinlock driver so that it
    falls back to pick of_tcsr_mutex data.

Changes in v2:
 - Drop changes to remove qcom,ipq6018-tcsr-mutex from dt-bindings
 - Drop changes to remove qcom,ipq6018-tcsr-mutex compatible from
   ipq6018.dtsi
 - Add Fixes and stable tags

Vignesh Viswanathan (2):
  arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size
  hwspinlock: qcom: Remove IPQ6018 SOC specific compatible

 arch/arm64/boot/dts/qcom/ipq6018.dtsi | 2 +-
 drivers/hwspinlock/qcom_hwspinlock.c  | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-09-20 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-05  9:55 [PATCH v2 0/2] Fix tcsr_mutex register for IPQ6018 Vignesh Viswanathan
2023-09-05  9:55 ` [PATCH v2 1/2] arm64: dts: qcom: ipq6018: Fix tcsr_mutex register size Vignesh Viswanathan
2023-09-05 16:07   ` Konrad Dybcio
2023-09-05  9:55 ` [PATCH v2 2/2] hwspinlock: qcom: Remove IPQ6018 SOC specific compatible Vignesh Viswanathan
2023-09-05 16:08   ` Konrad Dybcio
2023-09-20  3:58 ` (subset) [PATCH v2 0/2] Fix tcsr_mutex register for IPQ6018 Bjorn Andersson
2023-09-20 17:02 ` Bjorn Andersson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.