Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3567366pxu; Mon, 30 Nov 2020 06:02:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJwr5na+dDHTya/Xo8Hk9k7irVNPJw/rFG74yf0xbnxGgdYxXGM67dM7rtLZKaPvykMzTCW9 X-Received: by 2002:aa7:dccd:: with SMTP id w13mr22136577edu.385.1606744951320; Mon, 30 Nov 2020 06:02:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606744951; cv=none; d=google.com; s=arc-20160816; b=bcmrg9pv3l5Na446UIZ4E1kpKYBxcSvhMqxbYhi0N7xYIO8Dg+/dq3193WDOUTKBFP TqwDnnaEtcTnojtzx+Zji+HI8V70HofjBAS0phLS2DMJ4BjSWfUdGta40NQWIbmN9Hdf Ch0K4ydcIzMUusVXIVyCej/mtqptUcuJEQE/mZm2oJArxN7MIEWGIOmq1HclZPSn6x8K 6bRUIAh7ZSsgl15mlcVoQjLfWVeEzXMoFmqr3vn/YQYJT14UDjUiTijbT8h1IaiO6e9C 4MoKibaM3SvXjTdFEPEJ+3aW7MU3CYF1s8rIjGYXKuCCTnEEaCRGvrU0o76/jlJFXSW1 q3fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=kP+OnMMfwCYha6jfQErDj7Kdqzdm8kEcy6O31gcM7yg=; b=Pu7wsVdTt5LnKTkg1OXcLm8P6QGLiWvcoSq7fLf8TXZDUHM/rE7NzQifYQ8byJ0kQA hlaoAd42ITgMMlv7dqjND8xs+lxM4pkp6DvnVxxH0xDCLzzTCefvF5p3t4rUUFDO4Fl8 rDYHdEfa4FZ5e/FejkjK8zqsQ1yXzhv+TOnkB+sovF1DqGhjGKU7C4P0Ga8Ssexdf2hY 65XXBtOrIyhmHXHVsAYi3tbq8eNwwe2yRk+D7RFK/c7TmPMUjqIkHTF7bMfsfX4fZkNA fwCSH7vE6UfPqY9PrIXvJV3Y9xUl/dxm2u6u16CNjfezNEVPGdsqAEdCXUF2TY48+P1B pC0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Nwfcowsg; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x25si8408635edi.388.2020.11.30.06.01.45; Mon, 30 Nov 2020 06:02: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=@redhat.com header.s=mimecast20190719 header.b=Nwfcowsg; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727408AbgK3N5Q (ORCPT + 99 others); Mon, 30 Nov 2020 08:57:16 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:33791 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726851AbgK3N5P (ORCPT ); Mon, 30 Nov 2020 08:57:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606744549; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kP+OnMMfwCYha6jfQErDj7Kdqzdm8kEcy6O31gcM7yg=; b=NwfcowsgYUcN5XnxK1H5NRWHAgLGViwM+9Eew5STM23SX0dmCj/Sf0Uwjax6UCp1qXk55Q eFQmUN3KaqES2zQ/CIMhAKn0TXkXUkpQ9wG7Ls9ihb/SyuEuUh/Sq90/0aPrDRQqU3h239 10kasJXcqvEGodWY79YJH1Mzgm+nmb8= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-508-ncY_Mw0RMOaFY-wGF_qGxQ-1; Mon, 30 Nov 2020 08:55:47 -0500 X-MC-Unique: ncY_Mw0RMOaFY-wGF_qGxQ-1 Received: by mail-ed1-f72.google.com with SMTP id i89so6793989edd.15 for ; Mon, 30 Nov 2020 05:55:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kP+OnMMfwCYha6jfQErDj7Kdqzdm8kEcy6O31gcM7yg=; b=Q2VwMeK89aQkAztRLQoLvVxWadcQRp0dgzfr3obDNT7zviPJz+h1OmP/ziLMtITgoY DrCBXD7VrnoSqoLi5VOJQZwlQ7Cx13unEzPXr6//lUZZ74CZAjSOUeEDnV6sHDX9aB0y bioF7CKT/stIkgVJH7RhiPtPV/s080Ue1duOXDZdll/wW3fwRgUix4ShDPbtdJS4SfqW 4/xEZSOfuR3ni/F5SBfGfiNspWEoYVx9uzuPw93BWHl+6j3LAZam+o7WI02gDmGX6lyq 7+QOprkr/p/EwVYVSyie3pqS78H8rmeoidOOirdw0T13ab4XPCLjIEks5Mu/UXQx0XOF neKQ== X-Gm-Message-State: AOAM530Zgsl3IFW1IHqYqOQ9awOdxee1BSfNWQVDMAL0kqL5Sx0OnjwO yyMvA4jSkrhbAOsWAS9LGgCYCgsZIDhMIhOfLCfO8prLFxjM8AYCluOrL/nWxED2s+p282wG/Iw BCClpdvJhZ3seacUMc7Njbxa6 X-Received: by 2002:a05:6402:b02:: with SMTP id bm2mr22293777edb.299.1606744546556; Mon, 30 Nov 2020 05:55:46 -0800 (PST) X-Received: by 2002:a05:6402:b02:: with SMTP id bm2mr22293752edb.299.1606744546367; Mon, 30 Nov 2020 05:55:46 -0800 (PST) Received: from x1.localdomain (2001-1c00-0c0c-fe00-d2ea-f29d-118b-24dc.cable.dynamic.v6.ziggo.nl. [2001:1c00:c0c:fe00:d2ea:f29d:118b:24dc]) by smtp.gmail.com with ESMTPSA id q26sm8605198ejt.73.2020.11.30.05.55.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Nov 2020 05:55:45 -0800 (PST) Subject: Re: [PATCH 2/2] usb-storage: revert from scsi_add_host_with_dma() to scsi_add_host() To: Greg KH Cc: Tom Yan , Alan Stern , Christoph Hellwig , linux-usb , Mathias Nyman , Linux Kernel Mailing List , linux-pci@vger.kernel.org, Lu Baolu 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> From: Hans de Goede Message-ID: <70ca74c2-4a80-e25b-eca9-a63a75516673@redhat.com> Date: Mon, 30 Nov 2020 14:55:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Regards, Hans