Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2663409ybx; Fri, 8 Nov 2019 07:36:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzgOMIzydcOPunvZb+DTtNgQbOExv/vf0I7Y6D6z+KCjkYVBAdbawCXRIrszxrBxkYzj2MH X-Received: by 2002:a05:6402:1049:: with SMTP id e9mr10827977edu.91.1573227382617; Fri, 08 Nov 2019 07:36:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573227382; cv=none; d=google.com; s=arc-20160816; b=zCfC4jh1W6IEfSvfavnM+sF5HKXBKi5L1AwOxPEl9yHvyB8bdFHzPIBZR5mgZmMEFb xB+kix2cKYT3VmNswuNn1iC0Dakjr8kPPigkoi8MetjRCtyCB4SRD62divPU8cjr6RYh TQHtgTjdTTzAcq+VF3G2uciQn73CIlflWVEBBlnZMd0ucgIkxXo1H6IvoQ+p0w9a5m4f 8WTi6gDAtpRRrRLFErhLrz6GX9GsMQ7jTZHohvDzX6Fi/GLXv9EkQ1i42lcgAa96r5ax Kx0BCiOpo/2UuI9eUufeaIeU3Kbiw5HO47t/mU0cB9oHmyca1woK7c7LAcrcBz+rVXjH SMbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date; bh=jOMSyFnQM2rvnubXe4F27ub5FUMKDX/B5faX50ZvIdA=; b=0Se02uJcaZ6wfSZSvWEkYz21jayRBFTXkHoLm6LVsBryt3dprlA6nboyIeD0Gavoa8 kboiwd2vyjEvslOSk2VY4uwfMWjNYhHOdMhb03c8FM4PdDxNSPf9r2zhREExs2alGy6d edZfoFV2HKR9BzrAPdNdIyAhxIuTXtQHX+r3qzqrQk2PZrGuLx4wPUKXNuZVY8bU7gM3 CoGvHnLmfz//TCefuaxYIB94zrtekljx/82FN4r8fFJKhbrjR5FqWomBpKx3/jBheQuz FuG77qXRnmUJSqlrOF9RO4YlIWKRwsVIJwy4KoyHiESQld0cToPlB3hp6lweAZOuGzmJ WthQ== 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 27si3994534eji.207.2019.11.08.07.35.59; Fri, 08 Nov 2019 07:36:22 -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 S1726979AbfKHPfE (ORCPT + 99 others); Fri, 8 Nov 2019 10:35:04 -0500 Received: from iolanthe.rowland.org ([192.131.102.54]:55960 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1726641AbfKHPfE (ORCPT ); Fri, 8 Nov 2019 10:35:04 -0500 Received: (qmail 1859 invoked by uid 2102); 8 Nov 2019 10:35:03 -0500 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 8 Nov 2019 10:35:03 -0500 Date: Fri, 8 Nov 2019 10:35:03 -0500 (EST) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Greg Kroah-Hartman cc: Oliver Neukum , , , Christoph Hellwig Subject: Re: [PATCH 4.19 114/149] UAS: Revert commit 3ae62a42090f ("UAS: fix alignment of scatter/gather segments") In-Reply-To: <20191108072342.GA583220@kroah.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 no-regressions policy, we only need to revert the commit -- which you have already done. 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. Alan Stern