linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tushar Nimkar <tnimkar@codeaurora.org>
To: Oliver Neukum <oneukum@suse.com>
Cc: Felipe Balbi <felipe.balbi@linux.intel.com>,
	Greg KH <gregkh@linuxfoundation.org>,
	AlanStern <stern@rowland.harvard.edu>,
	Tushar Nimkar <tushar.nims@gmail.com>,
	Mathias Nyman <mathias.nyman@linux.intel.com>,
	linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org,
	linux-usb-owner@vger.kernel.org
Subject: Fwd: usb: uas: device reset most the time while enumeration- usb3.0
Date: Thu, 24 May 2018 20:13:53 +0530	[thread overview]
Message-ID: <29a119a245dc7a0948a9c10c8bfab262@codeaurora.org> (raw)

Oliver,
On 2018-05-17 19:04, Oliver Neukum wrote:
> Am Donnerstag, den 17.05.2018, 12:29 +0530 schrieb Tushar Nimkar:
>> Those commands issued from different layers say: sd.. uas.. scsi..
>> so making them to go one after other. Once REPORT_LUN done go with
>> READ_CAPACITY_16.
>> This is only for the UAS devices. I believe no disturb to BOT 
>> behavior.
> 
> Hi,
> 
> this is good news.
> 
> 1. We cannot slow down all UAS devices because a few are broken. This
> would need to be selective.
> 2. What is insufficient about "shost->async_scan" for your approach?
Unfortunately for our build CONFIG_SCSI_SCAN_ASYNC wan not set.
And enabling it solves our issue of enumeration.
But as per bellow commit

"If you have built SCSI as modules, enabling this option can
be a problem as the devices may not have been found by the time your
system expects them to have been."

commit 21db1882f79a1ad5977cae6766376a63f60ec414
Author: Matthew Wilcox <matthew@wil.cx>
Date:   Wed Nov 22 13:24:52 2006 -0700

     [SCSI] Add Kconfig option for asynchronous SCSI scanning

     Without this patch, the user has to add a kernel command line 
parameter
     to get asynchronous SCSI scanning.  Now they can select the default 
at
     compile time and still override it at boot time if they need to.

     Signed-off-by: Matthew Wilcox <matthew@wil.cx>
     Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>


We have built SCSI as module will it cause any problem to enable
CONFIG_SCSI_SCAN_ASYNC ?


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

             reply	other threads:[~2018-05-24 14:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24 14:43 Tushar Nimkar [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-06-05 12:48 Fwd: usb: uas: device reset most the time while enumeration- usb3.0 Tushar Nimkar
2018-06-04 14:27 Oliver Neukum
2018-05-29  9:02 Tushar Nimkar
2018-05-28 12:42 Oliver Neukum
2018-05-17 13:34 Oliver Neukum
2018-05-17  6:59 Tushar Nimkar

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=29a119a245dc7a0948a9c10c8bfab262@codeaurora.org \
    --to=tnimkar@codeaurora.org \
    --cc=felipe.balbi@linux.intel.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-usb-owner@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.com \
    --cc=oneukum@suse.com \
    --cc=stern@rowland.harvard.edu \
    --cc=tushar.nims@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).