mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] soc: qcom: geni-se: Avoid redundant transfer mode selection
@ 2026-10-12 12:20 Viken Dadhaniya
  2026-10-12 12:20 ` [PATCH 1/2] soc: qcom: geni-se: Split IRQ status clearing from " Viken Dadhaniya
  2026-10-12 12:20 ` [PATCH 2/2] soc: qcom: geni-se: Avoid redundant transfer " Viken Dadhaniya
  0 siblings, 2 replies; 3+ messages in thread
From: Viken Dadhaniya @ 2026-10-12 12:20 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa
  Cc: mukesh.savaliya, linux-arm-msm, linux-kernel, Viken Dadhaniya

The GENI transfer mode is commonly unchanged across consecutive transfers,
but geni_se_select_mode() currently reprograms mode-related registers on
every call.

Avoid redundant mode programming by caching the previously selected mode.
Pending GENI and DMA interrupt status is still cleared for cached selections
so stale completion status cannot complete a subsequent transfer after a
timeout, abort, or reset. GSI event routing remains enabled for cached GPI
mode selections.

This series:

  1. Separates IRQ status clearing from the full mode-reset operation.
  2. Adds transfer-mode caching to avoid redundant mode programming.

Signed-off-by: Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>
---
Viken Dadhaniya (2):
      soc: qcom: geni-se: Split IRQ status clearing from mode selection
      soc: qcom: geni-se: Avoid redundant transfer mode selection

 drivers/soc/qcom/qcom-geni-se.c  | 20 +++++++++++++++++---
 include/linux/soc/qcom/geni-se.h |  1 +
 2 files changed, 18 insertions(+), 3 deletions(-)
---
base-commit: becb95e45ef0dda9ffb35156d909d3da7a2789c3
change-id: 20261012-cache-se-mode-578c2fa35af1

Best regards,
--  
Viken Dadhaniya <viken.dadhaniya@oss.qualcomm.com>


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

end of thread, other threads:[~2026-10-12 12:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 12:20 [PATCH 0/2] soc: qcom: geni-se: Avoid redundant transfer mode selection Viken Dadhaniya
2026-10-12 12:20 ` [PATCH 1/2] soc: qcom: geni-se: Split IRQ status clearing from " Viken Dadhaniya
2026-10-12 12:20 ` [PATCH 2/2] soc: qcom: geni-se: Avoid redundant transfer " Viken Dadhaniya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®