public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Add smp2p retrigger support
@ 2022-07-06  6:02 Chris Lew
  2022-07-06  6:02 ` [PATCH 1/4] soc: qcom: smp2p: Introduce pending state for virtual irq Chris Lew
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Chris Lew @ 2022-07-06  6:02 UTC (permalink / raw)
  To: agross, bjorn.andersson, konrad.dybcio
  Cc: linux-arm-msm, linux-kernel, quic_clew

The remoteproc framework keeps interrupts disabled until it powers on a
remote proc to prevent spurious interrupts. There is a case where the
remote proc can finish booting before remoteproc enables the interrupt.
If this happens, the remoteproc framework will miss the notification
and eventually timeout waiting for the remoteproc to finish "booting".

Add support into smp2p to retrigger an interrupt if it was missed while
the interrupt was disabled. The interrupt should retrigger once the
interrupt is enabled. This will make the bootup sequence for remoteproc
less racy.

Chris Lew (3):
  soc: qcom: smp2p: Introduce pending state for virtual irq
  soc: qcom: smp2p: Add proper retrigger detection
  soc: qcom: smp2p: Add memory barrier for irq_pending

Tao Zhang (1):
  soc: qcom: smp2p: Add remote_id into irq name

 drivers/soc/qcom/smp2p.c | 42 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)

-- 
2.7.4


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

end of thread, other threads:[~2022-07-13 15:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-06  6:02 [PATCH 0/4] Add smp2p retrigger support Chris Lew
2022-07-06  6:02 ` [PATCH 1/4] soc: qcom: smp2p: Introduce pending state for virtual irq Chris Lew
2022-07-13 15:32   ` Doug Anderson
2022-07-06  6:02 ` [PATCH 2/4] soc: qcom: smp2p: Add proper retrigger detection Chris Lew
2022-07-06  6:02 ` [PATCH 3/4] soc: qcom: smp2p: Add memory barrier for irq_pending Chris Lew
2022-07-06 12:52   ` Manivannan Sadhasivam
2022-07-13 15:32   ` Doug Anderson
2022-07-06  6:02 ` [PATCH 4/4] soc: qcom: smp2p: Add remote_id into irq name Chris Lew

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