Takashi Iwai eb3662
From 65cc8bf99349f651a0a2cee69333525fe581f306 Mon Sep 17 00:00:00 2001
Takashi Iwai eb3662
From: Oliver Neukum <oneukum@suse.com>
Takashi Iwai eb3662
Date: Thu, 14 Nov 2019 12:27:58 +0100
Takashi Iwai eb3662
Subject: [PATCH] USB: documentation: flags on usb-storage versus UAS
Takashi Iwai eb3662
Git-commit: 65cc8bf99349f651a0a2cee69333525fe581f306
Takashi Iwai eb3662
Patch-mainline: v5.5-rc1
Takashi Iwai eb3662
References: bsc#1051510
Takashi Iwai eb3662
Takashi Iwai eb3662
Document which flags work storage, UAS or both
Takashi Iwai eb3662
Takashi Iwai eb3662
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Takashi Iwai eb3662
Cc: stable <stable@vger.kernel.org>
Takashi Iwai eb3662
Link: https://lore.kernel.org/r/20191114112758.32747-4-oneukum@suse.com
Takashi Iwai eb3662
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Takashi Iwai eb3662
Acked-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai eb3662
Takashi Iwai eb3662
---
Takashi Iwai eb3662
 Documentation/admin-guide/kernel-parameters.txt | 22 ++++++++++++----------
Takashi Iwai eb3662
 1 file changed, 12 insertions(+), 10 deletions(-)
Takashi Iwai eb3662
Takashi Iwai eb3662
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
Takashi Iwai eb3662
index a84a83f8881e..a02b1799a756 100644
Takashi Iwai eb3662
--- a/Documentation/admin-guide/kernel-parameters.txt
Takashi Iwai eb3662
+++ b/Documentation/admin-guide/kernel-parameters.txt
Takashi Iwai eb3662
@@ -4998,13 +4998,13 @@
Takashi Iwai eb3662
 			Flags is a set of characters, each corresponding
Takashi Iwai eb3662
 			to a common usb-storage quirk flag as follows:
Takashi Iwai eb3662
 				a = SANE_SENSE (collect more than 18 bytes
Takashi Iwai eb3662
-					of sense data);
Takashi Iwai eb3662
+					of sense data, not on uas);
Takashi Iwai eb3662
 				b = BAD_SENSE (don't collect more than 18
Takashi Iwai eb3662
-					bytes of sense data);
Takashi Iwai eb3662
+					bytes of sense data, not on uas);
Takashi Iwai eb3662
 				c = FIX_CAPACITY (decrease the reported
Takashi Iwai eb3662
 					device capacity by one sector);
Takashi Iwai eb3662
 				d = NO_READ_DISC_INFO (don't use
Takashi Iwai eb3662
-					READ_DISC_INFO command);
Takashi Iwai eb3662
+					READ_DISC_INFO command, not on uas);
Takashi Iwai eb3662
 				e = NO_READ_CAPACITY_16 (don't use
Takashi Iwai eb3662
 					READ_CAPACITY_16 command);
Takashi Iwai eb3662
 				f = NO_REPORT_OPCODES (don't use report opcodes
Takashi Iwai eb3662
@@ -5019,17 +5019,18 @@
Takashi Iwai eb3662
 				j = NO_REPORT_LUNS (don't use report luns
Takashi Iwai eb3662
 					command, uas only);
Takashi Iwai eb3662
 				l = NOT_LOCKABLE (don't try to lock and
Takashi Iwai eb3662
-					unlock ejectable media);
Takashi Iwai eb3662
+					unlock ejectable media, not on uas);
Takashi Iwai eb3662
 				m = MAX_SECTORS_64 (don't transfer more
Takashi Iwai eb3662
-					than 64 sectors = 32 KB at a time);
Takashi Iwai eb3662
+					than 64 sectors = 32 KB at a time,
Takashi Iwai eb3662
+					not on uas);
Takashi Iwai eb3662
 				n = INITIAL_READ10 (force a retry of the
Takashi Iwai eb3662
-					initial READ(10) command);
Takashi Iwai eb3662
+					initial READ(10) command, not on uas);
Takashi Iwai eb3662
 				o = CAPACITY_OK (accept the capacity
Takashi Iwai eb3662
-					reported by the device);
Takashi Iwai eb3662
+					reported by the device, not on uas);
Takashi Iwai eb3662
 				p = WRITE_CACHE (the device cache is ON
Takashi Iwai eb3662
-					by default);
Takashi Iwai eb3662
+					by default, not on uas);
Takashi Iwai eb3662
 				r = IGNORE_RESIDUE (the device reports
Takashi Iwai eb3662
-					bogus residue values);
Takashi Iwai eb3662
+					bogus residue values, not on uas);
Takashi Iwai eb3662
 				s = SINGLE_LUN (the device has only one
Takashi Iwai eb3662
 					Logical Unit);
Takashi Iwai eb3662
 				t = NO_ATA_1X (don't allow ATA(12) and ATA(16)
Takashi Iwai eb3662
@@ -5038,7 +5039,8 @@
Takashi Iwai eb3662
 				w = NO_WP_DETECT (don't test whether the
Takashi Iwai eb3662
 					medium is write-protected).
Takashi Iwai eb3662
 				y = ALWAYS_SYNC (issue a SYNCHRONIZE_CACHE
Takashi Iwai eb3662
-					even if the device claims no cache)
Takashi Iwai eb3662
+					even if the device claims no cache,
Takashi Iwai eb3662
+					not on uas)
Takashi Iwai eb3662
 			Example: quirks=0419:aaf5:rl,0421:0433:rc
Takashi Iwai eb3662
 
Takashi Iwai eb3662
 	user_debug=	[KNL,ARM]
Takashi Iwai eb3662
-- 
Takashi Iwai eb3662
2.16.4
Takashi Iwai eb3662