[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1683911265-3395-1-git-send-email-quic_vnivarth@quicinc.com>
Date: Fri, 12 May 2023 22:37:43 +0530
From: Vijaya Krishna Nivarthi <quic_vnivarth@...cinc.com>
To: agross@...nel.org, andersson@...nel.org, konrad.dybcio@...aro.org,
broonie@...nel.org, quic_vnivarth@...cinc.com,
dianders@...omium.org, linux-arm-msm@...r.kernel.org,
linux-spi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: quic_msavaliy@...cinc.com, mka@...omium.org, swboyd@...omium.org,
quic_vtanuku@...cinc.com, quic_ptalari@...cinc.com
Subject: [PATCH 0/2] spi: spi-geni-qcom: Add new interfaces and utilise them to do map/unmap in framework for SE DMA
A "known issue" during implementation of SE DMA for spi geni driver was
that it does DMA map/unmap internally instead of in spi framework.
Current patches remove this hiccup and also clean up code a bit.
Testing revealed no regressions and results with 1000 iterations of
reading from EC showed no loss of performance.
Results
=======
Before - Iteration 999, min=5.10, max=5.17, avg=5.14, ints=25129
After - Iteration 999, min=5.10, max=5.20, avg=5.15, ints=25153
Vijaya Krishna Nivarthi (2):
soc: qcom: geni-se: Add interfaces geni_se_tx_init_dma() and
geni_se_rx_init_dma()
spi: spi-geni-qcom: Do not do DMA map/unmap inside driver, use
framework instead
drivers/soc/qcom/qcom-geni-se.c | 67 +++++++++++++++++++-------
drivers/spi/spi-geni-qcom.c | 101 ++++++++++++++++++++-------------------
include/linux/soc/qcom/geni-se.h | 4 ++
3 files changed, 105 insertions(+), 67 deletions(-)
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.
Powered by blists - more mailing lists