public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
To: Thomas Backlund <tmb-odJJhXpcy38dnm+yROfE0A@public.gmane.org>,
	Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	Greg Kroah-Hartman
	<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH fix for 3.17 v2] uas: Add a quirk for rejecting ATA_12 and ATA_16 commands
Date: Sat, 13 Sep 2014 23:27:48 +0300	[thread overview]
Message-ID: <5414A8C4.5090104@cogentembedded.com> (raw)
In-Reply-To: <5414992B.8020309-odJJhXpcy38dnm+yROfE0A@public.gmane.org>

Hello.

On 9/13/2014 10:21 PM, Thomas Backlund wrote:

>> And set this quirk for the Seagate Expansion Desk (0bc2:2312), as that one
>> seems to hang upon receiving an ATA_12 or ATA_16 command.

>> https://bugzilla.kernel.org/show_bug.cgi?id=79511

>> While at it also add missing documentation for the u value for usb-storage
>> quirks.

>> Cc: stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org # 3.16
>> Signed-off-by: Hans de Goede <hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

>> --
>> Changes in v2: Add documentation for new t and u usb-storage.quirks flags
>> ---
>>   Documentation/kernel-parameters.txt |  3 +++
>>   drivers/usb/storage/uas.c           | 13 +++++++++++++
>>   drivers/usb/storage/unusual_uas.h   | 16 ++++++----------
>>   drivers/usb/storage/usb.c           |  6 +++++-
>>   include/linux/usb_usual.h           |  2 ++
>>   5 files changed, 29 insertions(+), 11 deletions(-)

>> diff --git a/Documentation/kernel-parameters.txt
>> b/Documentation/kernel-parameters.txt
>> index 5ae8608..7c32053 100644
>> --- a/Documentation/kernel-parameters.txt
>> +++ b/Documentation/kernel-parameters.txt
>> @@ -3541,6 +3541,9 @@ bytes respectively. Such letter suffixes can also be
>> entirely omitted.
>>                       bogus residue values);
>>                   s = SINGLE_LUN (the device has only one
>>                       Logical Unit);
>> +                t = NO_ATA_1X (don't allow ATA12 and ATA12
>> +                    commands, uas only);

> I guess you meant ATA12 and *ATA16*

    ... or even ATA(12) and ATA(16). As far as I remember SCSI, it has CDB 
length in parens for the command names.

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-09-13 20:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-13 18:02 [PATCH fix for 3.17 v2] uas: Add a quirk for rejecting ATA_12 and ATA_16 commands Hans de Goede
2014-09-13 19:21 ` Thomas Backlund
     [not found]   ` <5414992B.8020309-odJJhXpcy38dnm+yROfE0A@public.gmane.org>
2014-09-13 20:27     ` Sergei Shtylyov [this message]
     [not found]       ` <5414A8C4.5090104-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-09-14  9:42         ` Hans de Goede

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=5414A8C4.5090104@cogentembedded.com \
    --to=sergei.shtylyov-m4dtvfq/zs1mrggop+s0pdbpr1lh4cv8@public.gmane.org \
    --cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
    --cc=hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=stable-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tmb-odJJhXpcy38dnm+yROfE0A@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox