Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
To: Gopi Chandra Sekhar Reddy Kanala <gopi.kanala@oss.qualcomm.com>,
	Vinod Koul <vkoul@kernel.org>,
	Bard Liao <yung-chuan.liao@linux.intel.com>
Cc: linux-sound@vger.kernel.org, ckeepax@opensource.cirrus.com,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] soundwire: bus: detect SDCA cascade on peripherals reporting class_id 0
Date: Mon, 30 Nov 2026 15:29:12 +0100	[thread overview]
Message-ID: <34989e24-c0ec-4b67-9249-6d6fc24a8023@linux.dev> (raw)
In-Reply-To: <b3df1500-176e-41ec-a986-1a7487855f52@oss.qualcomm.com>


> The challenge is determining what we'd use as the condition. DP0_INT
> feeds both the nested-IRQ path and sdca_cascade handling, and SDCA
> peripherals don't all appear to consume interrupt information in the
> same way. I'm not sure we have a reliable existing indicator that would
> let us safely determine when a DP0_INT read can be skipped for all SDCA
> devices. Did you have something specific in mind?
What I had in mind is the presence of the 'interrupt-position' that tell
which bit is allocated to which SDCA control interrupt.

That said, now that I think of it, the Entity0 can provide
function-level interrupts for inits, firmware or status changes. That
could be used for an amplifier that never reports any alerts...

Let's go with your suggested change.

Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>




      reply	other threads:[~2026-11-30 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28  8:03 [PATCH] soundwire: bus: detect SDCA cascade on peripherals reporting class_id 0 Gopi Chandra Sekhar Reddy Kanala
2026-11-28 19:11 ` Pierre-Louis Bossart
2026-11-29  8:57   ` Gopi Chandra Sekhar Reddy Kanala
2026-11-29 13:00     ` Pierre-Louis Bossart
2026-11-30 13:32       ` Gopi Chandra Sekhar Reddy Kanala
2026-11-30 14:29         ` Pierre-Louis Bossart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=34989e24-c0ec-4b67-9249-6d6fc24a8023@linux.dev \
    --to=pierre-louis.bossart@linux.dev \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=gopi.kanala@oss.qualcomm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=vkoul@kernel.org \
    --cc=yung-chuan.liao@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox