Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp442256pxu; Fri, 4 Dec 2020 07:05:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJxUbCUY7EyO3+R6ARYn85GKBcv8CElgoW2eEd8pLRHa0exIwwgVB3uBBvR8LUm+y54UBXc8 X-Received: by 2002:aa7:dd52:: with SMTP id o18mr7901459edw.177.1607094331071; Fri, 04 Dec 2020 07:05:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607094331; cv=none; d=google.com; s=arc-20160816; b=MdWX3hQpXpWgbX3yImoZal7UBpKxie7wAtigfRNHcbBOVohcnqQuMQcoTQDLYDwov5 5iOT3w+hjg9EWAuAU/KSDi0RKkniwp74Q6tEoP7h4BAKC1/B5i8+wHtBUgr6wyRgDkk0 9EBcqkR0Qb9Dez6pRcTMXUeJBJISrBAfn4qZT1lsE4qkqLntYa1Q1DhLqM0fv7uEO1qo Cy/UXYBc4GnEiHXl2nddeEV1mcnjuTXSsLF3LS5ZKMUK3sbDDTdCivs+K72mzscNz5Ik 4zoB8+JaAEAx+Ni8JVZlOAZqME3x9/Et8nMU5JElrJOm5u0OZMDIwP4iTOPivRKSjvCM 8beA== 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:dkim-signature:date; bh=dj3jYeMaFS9c/joNPIEnrMq8DUK/8cKHT5CPW1Iidn0=; b=uSgZKvrt2Q2kUGFwjw+k7o+3mk4y3jFJSpJKa8wibC3XiPmkTvfn8qfcowTCLPhHY7 BmkYnm+njucR1JxEUbrnPa51zhDSYk/fPGz3Zb3uNPbWzSKRfyRMBovEyxzagfqODHQO 9wyfwBMrfVXww5mYdRt+9xziG6TFgj62hbunPfR8zXsqNXZXKE6NQvwP3Nf4n0s7fv9/ TI9E6UrqQOgDqRdRJm4vzktjVFXeaM6/1dR30Tl0c1wUq/xwv9cqJIbtnGwDEkPpyvE2 R2ZsvYp55c+58GwOFGVAi/3/ZFHaOk8f1ds9CLZLV4bpMjoQujolBbOCeyr6NNTVRSSP G1aQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=kHTVuwxb; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb20si1554186ejc.685.2020.12.04.07.05.07; Fri, 04 Dec 2020 07:05:31 -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=@linuxfoundation.org header.s=korg header.b=kHTVuwxb; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730437AbgLDPBf (ORCPT + 99 others); Fri, 4 Dec 2020 10:01:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:60416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730420AbgLDPBe (ORCPT ); Fri, 4 Dec 2020 10:01:34 -0500 Date: Fri, 4 Dec 2020 16:02:02 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1607094054; bh=r/FRTTah1QcRTa4v/loAf9+zj5pTNfpEuX9XO3neHq8=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=kHTVuwxbCS+OL5mI6RZqzn8irwACv5nQYAwOirdFlDGcckh/dkyT+iN/E+Vf+XcW0 19p7JxayNWBxcEHgZJy4fwFxzEurErLiavI2jKXQXlOrjzDGbmq7v3UH3tAqpPp27W EuKMAq9YEwl46XuY9MaCGk6aB9/2E+pLL8/N0oGU= From: Greg KH To: Hans de Goede Cc: Tom Yan , Alan Stern , Christoph Hellwig , linux-usb , Mathias Nyman , Linux Kernel Mailing List , linux-pci@vger.kernel.org, Lu Baolu Subject: Re: [PATCH 2/2] usb-storage: revert from scsi_add_host_with_dma() to scsi_add_host() Message-ID: References: <09992cec-65e4-2757-aae6-8fb02a42f961@redhat.com> <20201128154849.3193-1-tom.ty89@gmail.com> <20201128154849.3193-2-tom.ty89@gmail.com> <5e62c383-22ea-6df6-5acc-5e9f381d4632@redhat.com> <186eb035-4bc4-ff72-ee41-aeb6d81888e3@redhat.com> <70ca74c2-4a80-e25b-eca9-a63a75516673@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70ca74c2-4a80-e25b-eca9-a63a75516673@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 30, 2020 at 02:55:45PM +0100, Hans de Goede wrote: > Hi, > > On 11/30/20 2:53 PM, Greg KH wrote: > > On Mon, Nov 30, 2020 at 02:36:38PM +0100, Hans de Goede wrote: > >> Hi, > >> > >> On 11/30/20 2:30 PM, Greg KH wrote: > >>> On Mon, Nov 30, 2020 at 02:23:48PM +0100, Hans de Goede wrote: > >>>> Hi, > >>>> > >>>> On 11/30/20 1:58 PM, Tom Yan wrote: > >>>>> It's merely a moving of comment moving for/and a no-behavioral-change > >>>>> adaptation for the reversion.> > >>>> > >>>> IMHO the revert of the troublesome commit and the other/new changes really > >>>> should be 2 separate commits. But I will let Alan and Greg have the final > >>>> verdict on this. > >>> > >>> I would prefer to just revert the commits and not do anything > >>> different/special here so late in the release cycle. > >>> > >>> So, if Alan agrees, I'll be glad to do them on my end, I just need the > >>> commit ids for them. > >> > >> The troublesome commit are (in reverse, so revert, order): > >> > >> 5df7ef7d32fe ("uas: bump hw_max_sectors to 2048 blocks for SS or faster drives") > >> 558033c2828f ("uas: fix sdev->host->dma_dev") > >> 0154012f8018 ("usb-storage: fix sdev->host->dma_dev") > >> > >> Alan, the reason for reverting these is that using scsi_add_host_with_dma() as the > >> last 2 patches do, with the dmadev argument of that call pointing to the device > >> for the XHCI controller is causing changes to the DMA settings of the XHCI controller > >> itself which is causing regressions in 5.10, see this email thread: > >> > >> https://lore.kernel.org/linux-usb/fde7e11f-5dfc-8348-c134-a21cb1116285@redhat.com/T/#t > > > > Thanks, I'll wait for Alan to respond, but I think just reverting these > > is the best solution at this point in time. You have tested those > > reverts, solve this, right? If so, can I get a "Tested-by:"? > > Yes that was my first solution to this problem and I can confirm that that fixes > the regression: > > Tested-by: Hans de Goede All now reverted. thanks, greg k-h