Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1933589pxb; Fri, 5 Feb 2021 05:20:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUtfZyt0i1c7SUU4mfGPtojuR5NGlmoIt4zHY2IczO+/CvPbkRPQAfpNuQGoFMFA0WJ2Bo X-Received: by 2002:a17:906:3649:: with SMTP id r9mr3949745ejb.202.1612531225657; Fri, 05 Feb 2021 05:20:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612531225; cv=none; d=google.com; s=arc-20160816; b=xRC1rPjTf8j9tItQ9xTQtGHye2Z1gXpKqOiIvrlcqbtB7XX6uzSC6rztwgUriOfXX5 dgxqZFy1bE1Sz1RmtON/KzG7wYgBt8jN+x+Qt7M7RKtCumlTAvGfsXLGKu6WG3DoN50G FTa2G3N1VUP45zxl7NXn0wRNqEqDldVbXh5y03032ukwyoQe5mi2mD6WdFwi+yHkLSnB GWRE7oPNI/2qfj8acEnDYjxGmb+nqCpJUZ9HH8bnWEWuqQgkN0Y2WTGIkQuObqg+Kx2s PgoIkkBntomjcoCbUQzhGzC2ajJCAwmOOLbnKRKEBOGn3g3JW/E8xeHqLaJuTUhjpRGD 575w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=exTF7crPUuLCQHC9rRJcZc+9mWaX/o2rTbJMYUY/iF4=; b=IMYxK2gzFYCdG/iCu2QtwPP3W6mNERkBd+SqwY7bxA9W7/e+Bf5NEdbvOE5fY+aJlA VxlfuGcWC83/C2/KCTY+wfKd26LgZ2aFST5qRXYHIqAbsJ1KRHJOS2IxRYP9BXmW0Egn njS8YkXsFKoiMAY4INC4pK6UsumN+ZqFeS8DDofJMDM8CxpBsx7NrL2xkhcsPZqhx6W7 c3jytQa0QyWVzJgaiP1rNYOYZvHeeVB4f6aHKfN3yBkXa/AY3cZzvbV1z390XXqARcqA dhdKADzrP8/L5p4NZAuUuMD6LSfNLRexocHT3066JGoaEPjtTrjwFUcdlbieHghlmocs KfTg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c4si1021085eds.533.2021.02.05.05.20.00; Fri, 05 Feb 2021 05:20:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229513AbhBENRv (ORCPT + 99 others); Fri, 5 Feb 2021 08:17:51 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:50320 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbhBENNx (ORCPT ); Fri, 5 Feb 2021 08:13:53 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1l80v0-004NIN-8L; Fri, 05 Feb 2021 14:13:02 +0100 Date: Fri, 5 Feb 2021 14:13:02 +0100 From: Andrew Lunn To: Takashi Iwai Cc: Hans Verkuil , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Matwey V. Kornilov" , Robert Foss Subject: Re: [PATCH] media: pwc: Fix the URB buffer allocation Message-ID: References: <20210121202855.17400-1-tiwai@suse.de> <7afd0612-de36-60b1-6650-6f8de24a7145@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Takashi > Indeed, looks so. In most cases, this doesn't matter since both point > to the same device object. In some cases like xhci-plat HCD, they > differ. And sysdev might be a better choice from the consistency > POV. > > But this brought an interesting question, too. eg. USB chipidea > HCD uses platform devices for both controller and sysdev, and I > couldn't find any DMA mask setup. So, no matter what to use, the uwc > driver would be broken on this... Maybe it's just not covered. Did you do a git bisect to see what actually broke it? "1161db6776bd: media: usb: pwc: Don't use coherent DMA buffers for ISO transfer" introduced the code, not the regression. If we understand the regression, that might give us the answer about chipidea. Andrew