From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.244 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796049065; b=uENfdzWQwbk6y9WcfUcevh9EdfTLzzBS25tboShvPaAQgCvGL2b5VlEM9Z8s5x/SUjys en18fKmSCiWq/j1ATqpPD7/iNw5YedggH4uKFIbP63xVnf3xV11QPv0Js7Ii/yN3usWfG KthaAs6FT90g3m0aQ+rt1hkWqwyorkr27K/1Hq1iPj8ttztUeQTKbRQFhg/kJgZuhTPJP zWARY4x6f4qTUv6cDunzFbrgIMwvspM8ZVrBcSfNkvX63mUZjzlDL1O7GP8wag+J30NrP rnFvXDrEPRSwd5FCfsisKAlZacXtgwEXqszpxYse8ou1oPaMVaREc94W8rdPu5pHyoA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796049065; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:MIME-Version:User-Agent: Subject:To:Cc:References:Content-Language:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=W7Yy/KsyZNEZVxdfmbLG/Ucpj0JcJaP+ZAYY2ojRJrU=; b=3Nq63oW1BggUoLGJP/8p2O9ekATO+1R2qBU/KfJl5JbMaTEiFIQs5Aghuw7nB+lLAsxN mefLCQ7mBfd+WqYA/kOU+RkmuVcnXk5TGYvHNTGKZt8bA3OKSrQpz8kr9mNKAuezGN6xv L/giidSO2RXDvOaYf5jhKoyYDjKO8RTy+6yXgCFd79o5q8DguYLmSMNnSb8YSdkgaLxGi oeM1SZxyVtMgs52DPKvHAePif7RNIv8IHLvthkvBD3MWlNtSRqJtYS4VAqX2KlKlU9Dkq TJ1zqr1MFl05zoGMBsEwxwzKennPZ4f7Zou2Vn08JNPB/FAbEE8Vu3UBMpNjANPwRug== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=JQfcVfuK; arc=none smtp.remote-ip=95.215.58.244 Received: from mta1.migadu.com (out-244.mta1.migadu.com [95.215.58.244]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6D56606A680 for ; Mon, 30 Nov 2026 14:31:04 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E6D56606A680 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=JQfcVfuK X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=W7Yy/KsyZNEZVxdfmbLG/Ucpj0JcJaP+ZAYY2ojRJrU=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1796049063; v=1; x=1796653863; b=JQfcVfuKo4WyydD6InWBGrXL3Wc56Vc59NJySQyq9uq+Zvous/p/eT0lEIHohne1VLqLBHH8 fYy3LnyjGEM/tNcqwo/5ZNfpRMkr7roPuftHE/wjlFbV+KXbhvTbeEsMnuwNQxNYWck52088VUJ ZyQhO6Z609CwQ0CYSXaYQuJk= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 15e9e184dc1ee964; Mon, 30 Nov 2026 14:31:03 +0000 X-Mizu-Trace-ID: 15e9e184dc1ee964 X-Migadu-Flow: FLOW_OUT Message-ID: <34989e24-c0ec-4b67-9249-6d6fc24a8023@linux.dev> Date: Mon, 30 Nov 2026 15:29:12 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] soundwire: bus: detect SDCA cascade on peripherals reporting class_id 0 To: Gopi Chandra Sekhar Reddy Kanala , Vinod Koul , Bard Liao Cc: linux-sound@vger.kernel.org, ckeepax@opensource.cirrus.com, linux-kernel@vger.kernel.org References: <20261128-sdw-sdca-cascade-v1-1-a97540779103@oss.qualcomm.com> <614f25fb-ad21-4c2b-80e1-7c5f83b4ebbb@oss.qualcomm.com> <9c26a64e-6176-4fc5-ae21-c3f3a519adba@linux.dev> Content-Language: en-US From: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > 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