Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp120844pxb; Wed, 20 Jan 2021 02:49:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxo1lzjDA287enrnlDct2EaA4O8Q+uaxZsz3Y1qIItQWwxf9ayFH9GFkclsHIwBT9lLxUJH X-Received: by 2002:a50:eb81:: with SMTP id y1mr475168edr.176.1611139778805; Wed, 20 Jan 2021 02:49:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611139778; cv=none; d=google.com; s=arc-20160816; b=tF4xWyEaHiNxitdby8CZ/ihx95ye4crVkF/eIEIP0xbTu2q1fpGB8t19DkKvaPv3oC SEoD5XFCrSGf0iLCjPkq9BUEkmu3qaG4GB4J4I8HnjDFMrkerVB1s5XHMDvMl5uzElAG b5EPVQlbqsgWcQYY+7u//XXPo0A2YsUKAjOQ6JRKeoNxH4MgCEtSHvqmJLtQIWaIcvdB o/20iCbkqG/DDKYayqfNpOmecGyc0vxVM5qGEdMtZsuB5m+eaD2sKkWwITEIgWot76kl CPw1A3Yzt+5VICmn9fWon4Pr0psbK03k4PA9lZBcxt5ohUXWExd/gWtrwjZku3vfp82K 9ueQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1x1DNnE2tmguD//mZOuWvz3mKIik8+ReShmCCkMxJPg=; b=0hNYbglj0ZQh8/oi4mrdbgoWNhTilVYrnh2QNlMjI8ixiJoV7/7hyTq+E+pbFscG5f QTPeSUcy0ihJ7W4wS4hF2mX/hHmhG98a6baQNHsyCuw6kMWBTKhDIvw9XfYzVaZLywj1 jJnK2/LITNvBy554yI87Rp4iKdMUA3wAMaCrfkTBoEn2Q197tHk4TTM5Sckl028GMznr kvU7f2Th0QddH0xRtvsGpFrTpTQoVfyMCQFtNUVKsPw9JReY8qYpDUZIKhRGIucBQB1Z VB47tEnLeYSKgBeugZvaPrP8h28CYBjTSFibrHQJqMe/kLm5/Agg2Hp9/pAp4RQneYrn u6xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vOaQe2FJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b7si682125edq.542.2021.01.20.02.49.14; Wed, 20 Jan 2021 02:49:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vOaQe2FJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732588AbhATKTV (ORCPT + 99 others); Wed, 20 Jan 2021 05:19:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731038AbhATKFV (ORCPT ); Wed, 20 Jan 2021 05:05:21 -0500 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 68DEAC061757 for ; Wed, 20 Jan 2021 02:04:40 -0800 (PST) Received: by mail-io1-xd30.google.com with SMTP id u17so45799358iow.1 for ; Wed, 20 Jan 2021 02:04:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1x1DNnE2tmguD//mZOuWvz3mKIik8+ReShmCCkMxJPg=; b=vOaQe2FJITlcZJobI1lcdZ2oifntBqUUxmvmDwD2+70GiSg80LuRavNbkVR4xTlJB5 HkmFVKYGb9UL0NEMHF4pM9oMx3hfzzR66xvyBwqiuttgAPmgnUmxb4gSR99x76JTNg6Y 0iZeTrSo6Ew+Nn6/uyYwDN5Mptk7SyQFecxE/UFUjqpmOt+PA48kPMZwgomvqHMrVOP3 01TxB7j+NH4tRGWtufzMDcJGx/WbGgoQEwBTp3d9SdNKesrTQC6m6ek27xOcGry5ONkI 4L8GTpjQ+5Vh17KfFJXfYK/5tV+sEW+D9qb9mx94sD5tl1f3CGHQTK386qlBws8uVAdK 4R8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1x1DNnE2tmguD//mZOuWvz3mKIik8+ReShmCCkMxJPg=; b=i/eWJu8e5lu8Aga4oZ97iPWKaZcat9dLsIprBUUhqw74eUVc7ehv3uf0r+dFIJwP76 6Wc1VqA21ttioCGX4+6/1qBOjg6sl6K1kjaWHsTm+7q7PnWSO1wF+qZn3cLdDrr/n8jK RNBsEL2Csi1q5XM91rD2OpTJwdF9LyIP/BxUcBq1/OObK8shPwTfMkE9/SILaKeB1M3g 7eXUrqmjqBv0lwGt1cXok+3bCWPg90GwhSAMpRaSYyWXDjqQm9gBLcqp7QnF4ZxX5+O2 8gYwSz64yVgpNAPesrkpPnYGOhOA998MGEft9R/L2P4U4Rf2DLFpoPuvekTQ/iIenDQQ 3rqA== X-Gm-Message-State: AOAM5314O/v9hHACD+njGF1QUC5lpMOT9MOP4jy5S5XjMPVszHl+adBR sUxueTaf4GCfdv/jn0L3AeqbJ4AFP/h62NUYAd/9Lg== X-Received: by 2002:a05:6e02:1566:: with SMTP id k6mr7069593ilu.19.1611137079553; Wed, 20 Jan 2021 02:04:39 -0800 (PST) MIME-Version: 1.0 References: <20210119101044.1637023-1-howardyen@google.com> In-Reply-To: From: Howard Yen Date: Wed, 20 Jan 2021 18:04:28 +0800 Message-ID: Subject: Re: [PATCH 0/4] add xhci hooks for USB offload To: Mathias Nyman Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 19, 2021 at 8:47 PM Mathias Nyman wrote: > > On 19.1.2021 12.10, Howard Yen wrote: > > To let the xhci driver support USB offload, add hooks for vendor to have > > customized behavior for the initialization, memory allocation, irq work, and > > device context synchronization. Detail is in each patch commit message. > > Is this related to the usb audio sideband capability that was added to the xHCI specification? > If yes, then we should probably implement the generic parts first, and then add > the vendor specific hooks. > > -Mathias > > This is for offloading, no matter what type of offloading. I made the hooks generically and can be used for usb audio on the xhci which is not including the usb audio sideband capability. - Howard