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 4A20CF9E8; Tue, 16 Jul 2024 15:41:19 +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=1721144479; cv=none; b=rF+ol4VBff0ZopebswfmvAOntAE2HMhkHqU7BozBN2tI1gmDotPGzBq671xy+lK3hJE075VE5GmiPEUmjxcAIBMQymuaqwqBC4DggCJiiqNHwcjpWfBFLWdPpEV0z9oZLcLR5olKd5V/PbFrULTTtSkeVNF3JD4ZuYBOPGDZZq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721144479; c=relaxed/simple; bh=YTi/IUXhZfUlz59bj+AtzplOzi5yRKXc40nssl7LnUs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tXVAGkBngaEWMynOmP+aCYDcD2aS2lW8Pb2fz1hFBjMM/U0FuzLhNKWNspmbKUjF/pTFZ79Kh/Gxd+JYILtHfS9qSHY5hfP48Jy0LpS67HwJnoRzzIOZOEcWqvHwm1Ds7b/TzoEwYlLViCV+gsqZYFk1p/Y/1N2dYlrbTMXvo9U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=mUu3nRI9; 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="mUu3nRI9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3CDFC116B1; Tue, 16 Jul 2024 15:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721144479; bh=YTi/IUXhZfUlz59bj+AtzplOzi5yRKXc40nssl7LnUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mUu3nRI92wGDvqmuexhpV7+QdYjer0YP1ltwZZexXMTaLa2niApFP6DBXHl8T/ptL 4LLbc3mLE8aJhunKzQXVxa+XxvEMqI+D04akFyh40HIPLZCyKKo4uGDGhjNigEy3Ic akuE8csT8C53kc4AGs2xxdq2+bWIFQa/2diha0H0= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Daniele Palmas , Johan Hovold Subject: [PATCH 5.4 59/78] USB: serial: option: add Telit generic core-dump composition Date: Tue, 16 Jul 2024 17:31:31 +0200 Message-ID: <20240716152742.926565135@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240716152740.626160410@linuxfoundation.org> References: <20240716152740.626160410@linuxfoundation.org> User-Agent: quilt/0.67 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: Daniele Palmas commit 4298e400dbdbf259549d69c349e060652ad53611 upstream. Add the following core-dump composition, used in different Telit modems: 0x9000: tty (sahara) T: Bus=03 Lev=01 Prnt=03 Port=07 Cnt=01 Dev#= 41 Spd=480 MxCh= 0 D: Ver= 2.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=1bc7 ProdID=9000 Rev=00.00 S: Manufacturer=Telit Cinterion S: Product=FN990-dump S: SerialNumber=e815bdde C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=10 Driver=option E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms Signed-off-by: Daniele Palmas Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c @@ -1433,6 +1433,8 @@ static const struct usb_device_id option .driver_info = NCTRL(2) }, { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x701b, 0xff), /* Telit LE910R1 (ECM) */ .driver_info = NCTRL(2) }, + { USB_DEVICE_INTERFACE_CLASS(TELIT_VENDOR_ID, 0x9000, 0xff), /* Telit generic core-dump device */ + .driver_info = NCTRL(0) }, { USB_DEVICE(TELIT_VENDOR_ID, 0x9010), /* Telit SBL FN980 flashing device */ .driver_info = NCTRL(0) | ZLP }, { USB_DEVICE(TELIT_VENDOR_ID, 0x9200), /* Telit LE910S1 flashing device */