Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp107307rwl; Wed, 4 Jan 2023 16:04:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXvA+QLM2poSDcgo3eeFBoSabmn6wK9gXp/tVes+TmnPZ70yG2LQrKQBvDMd8ktTUwoYjG9x X-Received: by 2002:a17:907:a641:b0:7c0:f7b0:95d3 with SMTP id vu1-20020a170907a64100b007c0f7b095d3mr43323590ejc.36.1672877063897; Wed, 04 Jan 2023 16:04:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672877063; cv=none; d=google.com; s=arc-20160816; b=FyGtW69S8nl7lnePKzkL8MFnkdjQNMOYytedQnqHHG5QHHwu8pZ6xjb+HbBlSe5V4q 5t52nxNASUVKaXsyHwscdj0ovAvaob6SviqbGYiTKLxmK7FThEP+B002OFcWrdUqTes6 m0an36xuuHNCfIFS/PbiHvMNGybJ6lLj3uzyqrLnP1hErDh+Noi9C5uYgv4Td1j8+H13 y09IN14Y4pOk5Ld/q5i+0cMyQCjAdwfqH+H9f+fcEcqNOqJWLTXRiaYfcCmE5QnRytRJ pn6GFUgMVWrNRKxG17trtFF6YhaP7/4gKiMvXlKvwopkDRzCXyNeIQqJzRuyDdaNanlE lmdQ== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=cWfHvR1TePHkIee/A+PpdaDoD0kyJbEcDDtCGR3nBcY=; b=yTbPI3WybG6fsJtl+0UtJ2rdDENqI+9W4hDal9AMa3CEew84+P0aaxX1eLt0b5VQoF XhhDRIck71BywRhper09nVwZXrSq34KBTvz678doM+dRVHaANyFwaFhnXnaOvWoAV+s+ vMRmE2We9efH/dG7HGHzUzg7TKKShJbP9mjeSsADzwVZNaOiim2yD0OHBN0F2q9gOIk7 Gnc3HnHwtUnIsI68xwf6oW3t70bPzNyPhoQMAPN+aHIEjIpAwHFHIVBgbmF3r1u+d2+j 9mez65Q1wrXHbGNiajwDG7zy0zMK+PzO4TECUs34N6JURK68uoOsE12AtKNibZ8Ot9Aj r0TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GA9SwVHG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf30-20020a1709077f1e00b008269916aa9dsi34213070ejc.160.2023.01.04.16.04.10; Wed, 04 Jan 2023 16:04:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=GA9SwVHG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235288AbjADX7Z (ORCPT + 58 others); Wed, 4 Jan 2023 18:59:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235147AbjADX7R (ORCPT ); Wed, 4 Jan 2023 18:59:17 -0500 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82F2D43187; Wed, 4 Jan 2023 15:59:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672876756; x=1704412756; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=VUK+FoZ6RLONfaaQgaXBjEu8hvOPd1NckTmUOM0ZCK4=; b=GA9SwVHGhZRxPF49jBy4upurVhnBeWxZzuaAnycg4xNy5/cYKNjvrdbh JF+i3yF5vzTfnc6ZNPKd1sDmvdV02YmG9UXKJpY8SXyse90o5qaOnywmE s8kU/32/FZGmAblTSL3spDRIHXqB5I2VSqM4au+wi0sna8tefTOFaICsB 3IE+61rwbf+gYhwz6meK8oFE2i+SFV6+fvxJj4ZbsVOtgrrESH0U9e8l7 UfgHcKGawSgtLShfFuFj6r3pv9tLvJqqU82FfuCAP6qDKJsc/B10n/TX9 VJRvZRR0qXfmvSOXF9JClF+a1as2Zq/+hDBzSQtX5z0Sf0TCNFTk7/X1y A==; X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="323306091" X-IronPort-AV: E=Sophos;i="5.96,301,1665471600"; d="scan'208";a="323306091" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 15:58:52 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10580"; a="900745364" X-IronPort-AV: E=Sophos;i="5.96,301,1665471600"; d="scan'208";a="900745364" Received: from kvthalli-mobl1.amr.corp.intel.com (HELO [10.212.102.90]) ([10.212.102.90]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jan 2023 15:58:50 -0800 Message-ID: <07443b54-2973-7990-e749-66dd7fb4e499@linux.intel.com> Date: Wed, 4 Jan 2023 17:51:19 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [RFC PATCH 09/14] sound: usb: Introduce QC USB SND offloading support Content-Language: en-US To: Wesley Cheng , srinivas.kandagatla@linaro.org, mathias.nyman@intel.com, perex@perex.cz, broonie@kernel.org, lgirdwood@gmail.com, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, gregkh@linuxfoundation.org, Thinh.Nguyen@synopsys.com, bgoswami@quicinc.com, tiwai@suse.com, robh+dt@kernel.org, agross@kernel.org Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, quic_jackp@quicinc.com, quic_plai@quicinc.com References: <20221223233200.26089-1-quic_wcheng@quicinc.com> <20221223233200.26089-10-quic_wcheng@quicinc.com> From: Pierre-Louis Bossart In-Reply-To: <20221223233200.26089-10-quic_wcheng@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/23/22 17:31, Wesley Cheng wrote: > Several Qualcomm SoCs have a dedicated audio DSP, which has the ability to > support USB sound devices. This vendor driver will implement the required > handshaking with the DSP, in order to pass along required resources that > will be utilized by the DSP's USB SW. The communication channel used for > this handshaking will be using the QMI protocol. Required resources > include: > - Allocated secondary event ring address > - EP transfer ring address > - Interrupter number > > The above information will allow for the audio DSP to execute USB transfers > over the USB bus. It will also be able to support devices that have an > implicit feedback and sync endpoint as well. Offloading these data > transfers will allow the main/applications processor to enter lower CPU > power modes, and sustain a longer duration in those modes. Are you suggesting that the entire feedback loop be handled in the DSP? It's not clear what "Offloading these data transfers" refers to, the data part or the feedback path? Comments are almost inexistent in this patch so it's hard to figure out what it really does.