devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] spi: Add DMA mode support to spi-qcom-qspi
@ 2023-04-04 18:03 Vijaya Krishna Nivarthi
  2023-04-04 18:03 ` [PATCH 1/2] arm64: dts: qcom: sc7280: Add stream-id of qspi to iommus Vijaya Krishna Nivarthi
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Vijaya Krishna Nivarthi @ 2023-04-04 18:03 UTC (permalink / raw)
  To: agross, andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	broonie, vkoul, linux-arm-msm, devicetree, linux-kernel,
	linux-spi
  Cc: quic_msavaliy, dianders, mka, swboyd, quic_vtanuku,
	Vijaya Krishna Nivarthi

There are large number of QSPI irqs that fire during boot/init and later
on every suspend/resume.
This could be made faster by doing DMA instead of PIO.
Below is comparison for number of interrupts raised in 2 acenarios...
Boot up and stabilise
Suspend/Resume

Sequence   PIO    DMA
=======================
Boot-up    69088  19284
S/R        5066   3430

Vijaya Krishna Nivarthi (2):
  arm64: dts: qcom: sc7280: Add stream-id of qspi to iommus
  spi: spi-qcom-qspi: Add DMA mode support

 arch/arm64/boot/dts/qcom/sc7280.dtsi |   1 +
 drivers/spi/spi-qcom-qspi.c          | 429 ++++++++++++++++++++++++++++++++---
 2 files changed, 399 insertions(+), 31 deletions(-)

-- 
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.


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

end of thread, other threads:[~2023-04-12 17:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-04 18:03 [PATCH 0/2] spi: Add DMA mode support to spi-qcom-qspi Vijaya Krishna Nivarthi
2023-04-04 18:03 ` [PATCH 1/2] arm64: dts: qcom: sc7280: Add stream-id of qspi to iommus Vijaya Krishna Nivarthi
2023-04-04 18:19   ` Krzysztof Kozlowski
2023-04-12 15:28     ` Vijaya Krishna Nivarthi
2023-04-04 18:03 ` [PATCH 2/2] spi: spi-qcom-qspi: Add DMA mode support Vijaya Krishna Nivarthi
2023-04-04 18:17   ` Mark Brown
2023-04-06 14:53     ` Vijaya Krishna Nivarthi
2023-04-06 15:28       ` Mark Brown
2023-04-12 15:29         ` Vijaya Krishna Nivarthi
2023-04-12 16:12           ` Mark Brown
2023-04-12 17:27             ` Vijaya Krishna Nivarthi
2023-04-04 20:45   ` Stephen Boyd
2023-04-12 15:28     ` Vijaya Krishna Nivarthi
2023-04-04 22:05   ` kernel test robot
2023-04-04 20:30 ` [PATCH 0/2] spi: Add DMA mode support to spi-qcom-qspi Stephen Boyd
2023-04-12 15:28   ` Vijaya Krishna Nivarthi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).