Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp333529rdb; Thu, 19 Oct 2023 06:04:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEuhx+rhjiKMLNmURQ5RdB0mymQC085vi8MTXsotKnmQ8PVM0PGG6nOmIXe0GBMPEsTE/81 X-Received: by 2002:a17:90b:807:b0:27d:51c4:1684 with SMTP id bk7-20020a17090b080700b0027d51c41684mr1810624pjb.18.1697720678667; Thu, 19 Oct 2023 06:04:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697720678; cv=none; d=google.com; s=arc-20160816; b=gLhupY5tVskuQkz6yXl8rVbff0tekb+C7wTbsixGEHSXcso0vgwskfWcrYJBA3QW/R sXO3k5+Hpt1mptG9Q+Vc9z2ZA7WUmcg9M9Bgv/v80ByvAHDbcBtzphfcxEMGeGA2C3L3 VQ8oO2GIJcwWsdaMYR40HcvVZUuojw2O4ySR5EEIFg24MJiBJSgvxG1XhQXNdFWyHY7H 4IJzbDpubd9lTPYMZOrrHbUlhO8tUh+hRFj+A0jZl8NAD/F9qQ9dPYiUL5JnFrJVf7VI cgxcfhhYP962UyZPAtw+tn8E1qgQRzAvVOdV7kPjLNiWJQPLdMPAZvY98XkxL9tO5W5C KYPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=jphi+G3h7oEazuBilwxAV2Pno1jgJpresFtPuaHCG8k=; fh=T2kIl/luTXifFXsTyrv3SMMIMK/cqEF9ESJJzecA3Cs=; b=HGAC8RFbQdwhtqLG3rmGLPl48aVUUlmscM92gLZzDN9s2GvEAvOhGfJhUX1UGn9qP9 GfrUaFO6rbpCrsISNxdeM5YJmNyifdPue57S4CuogJbeJISx8b2oN1HOC+8yuvCpAYL4 QgI+XmgzieVee92/ZkMBHekV3LGurN7ZphI2MjoIe/Lp4Kk0SziImpkVLcPdWdRPdNTI FcD0YxeeIV3cJL3coVJFenhuFRHGGPM+TPhAJOM2UIPpt5ZeW2SJfc527JRWxanYN0o+ +v6GswfR19tmNK0j5QHjg2ogY6z1csjdQw0+0m/hBWDZo9QXULHlO63xQfvMqstombCe UgHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J59Fvaoj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id hk8-20020a17090b224800b00275cffed966si2179242pjb.57.2023.10.19.06.04.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 06:04:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J59Fvaoj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id D50668087DFC; Thu, 19 Oct 2023 06:04:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345741AbjJSNDW (ORCPT + 99 others); Thu, 19 Oct 2023 09:03:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235394AbjJSNDL (ORCPT ); Thu, 19 Oct 2023 09:03:11 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4002181; Thu, 19 Oct 2023 06:03:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697720588; x=1729256588; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=VgSvxH67qt9LKjm5+c5G2G8wQo6a1gXmEAilB1I2dfg=; b=J59FvaojU1bLb52ZkemRWNSr2TKWEa6heGKHIxtRL7pWr497hF41kZ02 zX/nm8+i662p0+nI+A64m9GY28SrghRQhW1TEHFTHir8lrlsBAgOcCnRD mfylpcFwUjdw1lN7iKMDogrbOsBTBXUvC7anSeHyahCWQa7aM8MCmr7bz QJYWs8ra9nkm7LCYNHou7Ued6Ob4JMDHS3Q/ks/ahhleQsuSGwQ3orX5f 9dfq7JI8qwNsGo4feX+NJKAfP0HiRJziRrvI0fIXYziRznmTerMtRJI99 CLwXU5hO2RU9HQqI18amuJVd995IVSCZihfdt0oIhkA3kIKf6E0PU12KP A==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="385115720" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="385115720" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 06:01:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="757014468" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="757014468" Received: from mttran4-mobl2.amr.corp.intel.com (HELO [10.213.160.204]) ([10.213.160.204]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 06:01:45 -0700 Message-ID: Date: Wed, 18 Oct 2023 20:00:00 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v9 09/34] ASoC: qcom: qdsp6: Introduce USB AFE port to q6dsp To: Wesley Cheng , mathias.nyman@intel.com, gregkh@linuxfoundation.org, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, srinivas.kandagatla@linaro.org, bgoswami@quicinc.com, Thinh.Nguyen@synopsys.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org References: <20231017200109.11407-1-quic_wcheng@quicinc.com> <20231017200109.11407-10-quic_wcheng@quicinc.com> <7aa4ea87-9d1f-400a-bcc5-b56e5b4500c6@linux.intel.com> <2f05708e-3ee8-472e-a24f-6f3eb118133c@linux.intel.com> Content-Language: en-US From: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.1 required=5.0 tests=DATE_IN_PAST_12_24, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 19 Oct 2023 06:04:36 -0700 (PDT) >>>>> Specifically, the QC ADSP can support all potential endpoints that are >>>>> exposed by the audio data interface.  This includes, feedback >>>>> endpoints >>>>> (both implicit and explicit) as well as the isochronous (data) >>>>> endpoints. >>>> >>>> implicit feedback means support for capture. This is confusing... >>>> >>> >>> I mean, a USB device can expose a capture path, but as of now, we won't >>> enable the offloading to the audio DSP for it.  However, if we're >>> executing playback, and device does support implicit feedback, we will >>> pass that along to the audio DSP to utilize. >> >> Not following. Implicit feedback means a capture stream *SHALL* be >> started. Are you saying this capture stream is hidden and handled at the >> DSP level only? If yes, what prevents you from exposing the capture >> stream to userspace as well? >> >> I must be missing something. >> > > My understanding is that with implicit feedback endpoints, it allows for > another data endpoint in the opposite direction to be utilized as a > feedback endpoint (versus having to expose another EP, such as in the > case of explicit feedback).  For example, if we are enabling the > playback path (and the device does have a capture data ep) then the data > ep used for the capture path can be used. That's right, so all the plumbing is enabled for the capture path... Making a decision to discard the data is very odd, all the work has already been done at lower levels, so why not expose the captured data?