Skip to content

soc: qcom: geni-se: Avoid redundant transfer mode selection

Viken Dadhaniya linux-arm-msm lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20261012-cache-se-mode-578c2fa35af1

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2soc: qcom: geni-se: Split IRQ status clearing from mode selectiondrivers/soc/qcom/qcom-geni-se.c+7 -21 reply
2/2soc: qcom: geni-se: Avoid redundant transfer mode selectiondrivers/soc/qcom/qcom-geni-se.c include/linux/soc/qcom/geni-se.h+11 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAbel Vesa
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] soc: qcom: geni-se: Avoid redundant transfer mode selection

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.

---
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,

Signature · 1 line
Viken Dadhaniya <[email protected]>