From: Hans de Goede <hdegoede@redhat.com>
To: Aaron Dewes <aaron.dewes@web.de>, Oliver Neukum <oliver@neukum.org>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH] Add unusal uas devices reported by Umbrel users
Date: Sun, 7 Mar 2021 20:09:52 +0100 [thread overview]
Message-ID: <3ff73bb9-0d73-cb7c-d283-e9dbe56fd8e8@redhat.com> (raw)
In-Reply-To: <e67f26d5-7f10-a1c3-2721-70fb1ce242d1@web.de>
Hi,
On 3/7/21 5:03 PM, Aaron Dewes wrote:
>
> Am 07.03.21 um 16:53 schrieb Hans de Goede:
>> Hi,
>>
>> First of all I'm not the maintainer of this file, to find the
>> right email address to submit patches to see:
>>
>>
>> [hans@x1 linux]$ scripts/get_maintainer.pl -f drivers/usb/storage/uas.c
>> Oliver Neukum <oneukum@suse.com> (maintainer:USB ATTACHED SCSI)
>> Alan Stern <stern@rowland.harvard.edu> (maintainer:USB MASS STORAGE DRIVER)
>> Greg Kroah-Hartman <gregkh@linuxfoundation.org> (supporter:USB SUBSYSTEM)
>> linux-usb@vger.kernel.org (open list:USB ATTACHED SCSI)
>> linux-scsi@vger.kernel.org (open list:USB ATTACHED SCSI)
>> usb-storage@lists.one-eyed-alien.net (open list:USB MASS STORAGE DRIVER)
>> linux-kernel@vger.kernel.org (open list)
>
> Then the beginning of that file needs to be updated, because a comment
> at the beginning said:
>
>
> /*
> * If you edit this file, please try to keep it sorted first by VendorID,
> * then by ProductID.
> *
> * If you want to add an entry for this file, be sure to include the
> * following information:
> * - a patch that adds the entry for your device, including your
> * email address right above the entry (plus maybe a brief
> * explanation of the reason for the entry),
> * - lsusb -v output for the device
> * Send your submission to Hans de Goede <hdegoede@redhat.com>
> * and don't forget to CC: the USB development list
> <linux-usb@vger.kernel.org>
> */
Oh, good point, thank you for pointing that out.
So we either need to update the email address here, or just drop the
email address altogether, maybe include the:
scripts/get_maintainer.pl -f drivers/usb/storage/uas.c
Command in the comment instead.
Oliver, what would be your preference for fixing the comment to
no longer point to my email address ?
<snip>
>> At the top I indicated that you should split this in per
>> model patches, but that was before I figured out most of
>> these problems are beeing seen on Raspberry Pi-s (and likely
>> on Raspberry Pi-s only).
>>
>> What might be worth considering is disabling bulk-stream support
>> on the Pi-s XHCI controller by setting the XHCI_BROKEN_STREAMS
>> flag in xhci->quirks for that controller. This will disable UAS
>> at least when the drivers are plugged into the USB3 / superspeed
>> ports of the Pi. This might still be a too big hammer though.
>> since with a powered-hub, or with a proper power-supply feeding
>> the Pi 4 (and not using the other ports) UAS might still work
>> and you are now taking away those options from users.
>>
>> But setting the XHCI_BROKEN_STREAMS flag on the Pi 4 and only
>> on the Pi 4 would definitely be closer to acceptable then disabling
>> UAS for, well everyone, because it is causing issues on the Pi.
>>
>> Regards,
>>
>> Hans
>
> Okay, thanks for your feedback! I'll try to check if some of these
> drives have issues on PCs too and then only use that for a future patch.
Great, thank you. Please also be sure to add a link to forum-discussions /
a github issue in future commits.
Regards,
Hans
prev parent reply other threads:[~2021-03-07 19:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-07 15:18 [PATCH] Add unusal uas devices reported by Umbrel users Aaron Dewes
2021-03-07 15:34 ` Greg KH
2021-03-07 15:53 ` Hans de Goede
2021-03-07 16:03 ` Aaron Dewes
2021-03-07 19:09 ` Hans de Goede [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3ff73bb9-0d73-cb7c-d283-e9dbe56fd8e8@redhat.com \
--to=hdegoede@redhat.com \
--cc=aaron.dewes@web.de \
--cc=linux-usb@vger.kernel.org \
--cc=oliver@neukum.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.