Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5090383ybx; Sun, 10 Nov 2019 06:44:25 -0800 (PST) X-Google-Smtp-Source: APXvYqxNyZu1l5plL5pZsgUi9ASxCEIPw0WQMvRv7z7e/k8S4R3jiy5Gk7Cq9AfBoXxIsyo7ss4i X-Received: by 2002:a50:c191:: with SMTP id m17mr21387469edf.259.1573397065063; Sun, 10 Nov 2019 06:44:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573397065; cv=none; d=google.com; s=arc-20160816; b=sNk2h3I4AjduWwiHsnXIi2iqGBbwB4QKZ4s8Ymk0yjqAoX4ZOOI7XTackPKkHHZuBb xRNjs0zo+EQHzPXH0EOlDnqTR2NmhCLdqlZcTDRrq8sZ0F+dv575evHVdUVgwRUdjvcj nPdzR/GFFZ3mrQiiGfKe0lqacjSBYekMqatEkOmVzZ4s6aqB8DL7RjZg12uezcv6oNFx hdyi2HaE5tQ3v8GM9BoP3M4tS+yOVcHfyp+K57XdErPHr7uprf3Z48rPn0757LM+y2GQ yeXw0jHYmj35120xkPl0wTOTepWf5HggyJ3MEBXEfeYoMyjeS52GE7slZ/mFkfOynsXO bKdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=avbe99IzRnQBznXRadL2l+pf5YvxTbufjFGnN708MdU=; b=ENpcMXnnkr5MYj/Oj/VVv8qsxqaUYE/J/FCVwzU+MQUo93nb1xd/zTAD3ueOi9nd/e qwgFmnNp05p9p/BBlJyuZu6Fcj/1B95zJX52Er8M5zspqpBNYaU30C+in/4bsKl+VUE+ XNUGrEEQEDGGHgVVBgfasA1dhfr7pssO+HdCEXgwtnVMFOgNh3dRQpt7joQcKBEz9yH+ Qc1dg5kaY8P8tsaI8cgcRzaqCGfGLgJJbMRRZjCT32LqJdXmg/lQEmdA+AuTKE/uyR3F KHOXoORUEuax6LV5zQprTBjltefqzwro1XmX4h20kFj6X5hjpcPV6gYTNyIhThr/MViE 4xaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g19si9395207edb.280.2019.11.10.06.44.01; Sun, 10 Nov 2019 06:44:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726710AbfKJOnM (ORCPT + 99 others); Sun, 10 Nov 2019 09:43:12 -0500 Received: from mx2.suse.de ([195.135.220.15]:45656 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726402AbfKJOnL (ORCPT ); Sun, 10 Nov 2019 09:43:11 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id EE954AEF1; Sun, 10 Nov 2019 14:43:09 +0000 (UTC) Message-ID: <1573396023.2662.4.camel@suse.com> Subject: Re: [PATCH 4.19 114/149] UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments") From: Oliver Neukum To: Alan Stern , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Christoph Hellwig Date: Sun, 10 Nov 2019 15:27:03 +0100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Freitag, den 08.11.2019, 10:35 -0500 schrieb Alan Stern: > On Fri, 8 Nov 2019, Greg Kroah-Hartman wrote: > > > On Thu, Nov 07, 2019 at 12:32:45PM +0100, Oliver Neukum wrote: > > > Am Dienstag, den 05.11.2019, 17:38 +0100 schrieb Greg Kroah-Hartman: > > > > > > Given this information, perhaps you will decide that the revert is > > > > > > worthwhile. > > > > > > > > > > Damned if I do, damned if I do not. > > > > > Check for usbip and special case it? > > > > > > > > We should be able to do that in the host controller driver for usbip, > > > > right? What is the symptom if you use a UAS device with usbip and this > > > > commit? > > > > > > Yes, that patch should then also be applied. Then it will work. > > > Without it, commands will fail, as transfers will end prematurely. > > > > Ok, I'm confused now. I just checked, and I really have no idea what > > needs to be backported anymore. 3ae62a42090f ("UAS: fix alignment of > > scatter/gather segments") was backported to all of the stable kernels, > > and now we reverted it. > > > > So what else needs to be done here? > > In one sense, nothing needs to be done. 3ae62a42090f was intended to > fix a long-standing problem with USBIP, but people reported a OK, now I am a bit confused. AFAICT 3ae62a42090f actually did fix the issue. So if you simply revert it, the issue will reappear. > regression in performance. (Admittedly, the report was about the > correponding change to usb-storage, not the change to uas, but it's > reasonable to think the effect would be the same.) So in line with the Yes. > no-regressions policy, we only need to revert the commit -- which you > have already done. But that breaks UAS over USBIP, doesn't it? > On the other hand, the long-standing problem in USBIP can be fixed by > back-porting commit ea44d190764b. But since that commit isn't a > bug-fix (and since it's rather large), you may question whether it is > appropriate for the -stable kernel series. It certainly is large. But without it UAS won't work over USBIP, will it? I think that is the central question we need to answer here. Regards Oliver