From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA1521798F; Mon, 23 Jun 2025 13:17:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750684658; cv=none; b=X0QqkAhf9lcYD9KPY/Aqm8mX9E/ft/tEkC42tpMp6Bs4ZTWKZOxmreT1IxaZIfjlGXZo36krY7UFrGJH2p+grv/8QdhBDaHQeu3zndzUurSvZSFoTmLESQNdf4v+/yKn+dOKZJvI7LNqb9iRCC0eGt7K7qa+yqUA5nYLVA76jWU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750684658; c=relaxed/simple; bh=lSXJIBfp6jx7eVeqmwGZjAVP4K8qhnzEnaousKPfwJM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lwM+4BXHdcK3V3Lei6CNGLUw90gQB+qU9+R0SSpBOy9IVtLx3GFJbf8FJz9j9Q0GyVYu8RtSelSVlHbPbt1NsMn62CGAunrZhSW8VczI/CApK2uHNMsmrJC+CIsjEoe5ncbcUHLIJ162AwkRATGepm3NL3cH23hHTPgECy9KEUM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yPaLTc+5; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="yPaLTc+5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09BD8C4CEEA; Mon, 23 Jun 2025 13:17:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750684658; bh=lSXJIBfp6jx7eVeqmwGZjAVP4K8qhnzEnaousKPfwJM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yPaLTc+51rftD9wY8mFSo2lyWmov4IX5HcXzzVTxBHm1B9hN/nOsuF5Gxm1YcLqeB Hxd9+A/cf2AXOeReqlEgj4dWNp74sSBzTRRm/7nS88Jm6CxZNPknkWvCAysf6/f3aG 5sMc0sUVV6E/V0yDyJYTYErMtFyqtr+wEVhM96eE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Jiayi Li , stable Subject: [PATCH 5.4 004/222] usb: quirks: Add NO_LPM quirk for SanDisk Extreme 55AE Date: Mon, 23 Jun 2025 15:05:39 +0200 Message-ID: <20250623130612.032919824@linuxfoundation.org> X-Mailer: git-send-email 2.50.0 In-Reply-To: <20250623130611.896514667@linuxfoundation.org> References: <20250623130611.896514667@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jiayi Li commit 19f795591947596b5b9efa86fd4b9058e45786e9 upstream. This device exhibits I/O errors during file transfers due to unstable link power management (LPM) behavior. The kernel logs show repeated warm resets and eventual disconnection when LPM is enabled: [ 3467.810740] hub 2-0:1.0: state 7 ports 6 chg 0000 evt 0020 [ 3467.810740] usb usb2-port5: do warm reset [ 3467.866444] usb usb2-port5: not warm reset yet, waiting 50ms [ 3467.907407] sd 0:0:0:0: [sda] tag#12 sense submit err -19 [ 3467.994423] usb usb2-port5: status 02c0, change 0001, 10.0 Gb/s [ 3467.994453] usb 2-5: USB disconnect, device number 4 The error -19 (ENODEV) occurs when the device disappears during write operations. Adding USB_QUIRK_NO_LPM disables link power management for this specific device, resolving the stability issues. Signed-off-by: Jiayi Li Cc: stable Link: https://lore.kernel.org/r/20250508055947.764538-1-lijiayi@kylinos.cn Signed-off-by: Greg Kroah-Hartman --- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+) --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -369,6 +369,9 @@ static const struct usb_device_id usb_qu /* SanDisk Corp. SanDisk 3.2Gen1 */ { USB_DEVICE(0x0781, 0x55a3), .driver_info = USB_QUIRK_DELAY_INIT }, + /* SanDisk Extreme 55AE */ + { USB_DEVICE(0x0781, 0x55ae), .driver_info = USB_QUIRK_NO_LPM }, + /* Realforce 87U Keyboard */ { USB_DEVICE(0x0853, 0x011b), .driver_info = USB_QUIRK_NO_LPM },