From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.180 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796049070; b=frC+F4Oh8InmSPg36QM3JtnTXhyHbBO6CBs4sOnaqt+d9vcA0AQgDjLf3ZYXxOtxtJ0n qV3x4wQEf32QgOSSixsyw1hD9hn4yRhsDvNtSrrc6T6MbvQzWL/96DvnXASimYocd6a65 bdj5SQF4TVqw32HbvAAtnxR5prxZHYHdde+/5luPoNYR4dxdaAdX+62iHCCUwTYdk3JLm ROb7PCcb9p4u3q2uH7dUlhYGqqSL8N0Ln8nZlcAZcxI9wKwVIORhPVDVfaNjnR8RaOL39 nZtNLtcsmVctNtjyQiEzlfvH1Z/zh7if3LF5wE35XkRGpHHxGN7G18yJKwAwi9oI6lg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796049070; 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=zgZAPVH2w0IC/Z8pt2X6SnLt+y1To/DjDnSRzNgjjtFpOoX8Jrw9dll2rIAwQupO3LVZ QDOCVcSn400YVwBj8eEWoPXX4EaQ4Gxtlc5U2QHWj4MTl9ytBvSjauy3T71siR5oxeHim /qQccH3j5RmAVI7SEoDF8jRMd14YdbVXsl5Os5dNjpUSvEq+uwBD2FbG1QXobAVPANXe9 wXLM8CXyuPQ0xgRkMVhRkkBtiIEqkoV1UXzJFwXUFA/+ZsDN60iakxNvMn5FGhO5HjlIP uAlj1RCgfRXVRYdAW9fQ1+NGzBDFJqdHeJTwVNkiOkPF3r0wU4uncfABpVlFMjojcFA== 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=91.218.175.180 Received: from mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (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 4A131606A685 for ; Mon, 30 Nov 2026 14:31:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4A131606A685 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-sound@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-sound@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-sound@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