From patchwork Fri Oct 20 16:03:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 736542 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 43388CDB474 for ; Fri, 20 Oct 2023 16:05:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377913AbjJTQFE (ORCPT ); Fri, 20 Oct 2023 12:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377860AbjJTQE4 (ORCPT ); Fri, 20 Oct 2023 12:04:56 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04olkn2036.outbound.protection.outlook.com [40.92.73.36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B6DDD4C; Fri, 20 Oct 2023 09:04:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y8JIz06ePK/Van9kaG3bakGBw6D+8EMRsBRGJMqIY8rDXZG/KqyjZ+Hpn/zM1+hPlhdyxFRK8urbJRni++lldWgDLl24TWyaaSTNtXEaoBw4yDpcV5YEc2gCrOMQ2OVKPmCPs8hWc829miUscuuU68MQMBzz/vKBZVut4Fwwy9UbVR+tpasa//87b9p3BcljMR0+b5HQm0t8MlE/4keQCnYr2eISePUBzqForNX5+GZUoYIZv8hf0LXv6m5D8ngYSGJJwkm19iZ50YKObBgxNcNpQi3QgciB0DuUQuBtfc45dvw5XgPjPuK8PaJZCHvkU8FgM0lmykOP40vmWOsMFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZZ7LzYawi1BjZNDRWoZEgW9zBmP8vBiaG+P8yaIcFPE=; b=kU0rbrQq1g320jkx0J62DRcxmy2J8h6Q9jo3fWJy+0siVP53a10CNI5p9+k/dsP8H/+myqneybPqz+juTI6sK8y+lb2CLU+xHM+S+x4IpX+E3J0W5tp3qNx+xcbx1R1TZPZmflr3GqcZk9D3pWUSuCf7wgfMUoSmsSoqDUD432emAutS2Tiamcl2jyTjh459SVjYGpnVyMIO+d9oyuGSxHLn5UVwp1kzaInVRp3XcVbNaOGuAIoyr90PPwEak0XKyXkUYMtA72KhZVRVAvRFh8N+91q+lDn0HP62vHhNEyvIsQ47qOIyFSb0WOcC1JlZ5oBzlakeeaZegf5vnV569w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by AM9PR02MB6930.eurprd02.prod.outlook.com (2603:10a6:20b:26d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Fri, 20 Oct 2023 16:04:51 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6886.034; Fri, 20 Oct 2023 16:04:51 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams , stable@vger.kernel.org Subject: [PATCH v4 02/11] tty: 8250: Remove UC-257 and UC-431 Date: Fri, 20 Oct 2023 17:03:08 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231020160412.118550-1-cang1@live.co.uk> References: <20231020160412.118550-1-cang1@live.co.uk> X-TMN: [X4O2jWJw2xv5EjEGXMEHhEj1PxTXw+VT] X-ClientProxiedBy: LO0P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:355::19) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231020160412.118550-3-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|AM9PR02MB6930:EE_ X-MS-Office365-Filtering-Correlation-Id: 3a734468-64fd-4a5e-c1bd-08dbd1864aeb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bqOHvWHJpVCYTJV4rXZDVXKgxNaiGxzZ05GfJrF0f5Ol48ymIapBlbVEpY4wy45sowUyhgDEhEzTsa4uw4UdgcNMMdV+2bvYsmr608StWRVOM5SvMVYOWLTRfG+RKhFULiWvavPOy1ussh8HuOPw9aBC/svmIyptE5ULtXfHO0Oi69n9QxDsA9eZHDN2RPBbl5XcjNH82/4PtxMqv/GKGyXTgIflniKx0Yo8MzLFEzs7O6UKF1j1EAH2L0gSudejmn8QAXHM6kvO/Rc46LGldI4CoJPrn+KgDQndInbDUftTpooaIwCGGim1uyIb0tzt0/BPtPVbZothxbTGS96UWiXZbx8ixSbRBOwv36VFQtYPsy73i+eAa92wnZTV68pyW5FBR6J7S5NeKojlj9HH+kKJcL6IIiJlhWC/bedd8GF7Z39gEvsShKXhNSEftVHi3WduOZNY3+aaVFpQXlTrp6Sbpgf9KwGrPAe5us40+iDXPhkenrQOYabs0cpHXhQqb4fSHyLF5+GxJDbFKKOvLR66QyKjNpvVdtWRC9aZBc7/3nr4vArgOt3J64ESqEkcvW63tRgqG8Ej7mCoshZ32h0gf7Qwq8BVHNqA89YP6OMQ4/T11lMe8zoK0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GFTxxgH3oUtPMmd6PbmtGD9EpyylugEnzQUbTBDhrXpKQtGBWA1rCm1Dsfh1l2iP9OSpKxyApz8iQuX1hlmC4047wWfpuuIWsxz+QbOQH2LaF0oyfc8SC9fbXatwkiQjqeGe+MbIw1kJtFJe/MDIlXPdigecqj7YAwbPEvKHUJL63KVqHAcsIv2/pBvBDW+1GD5r9WBBuZlSNFNGFHmelAXiWOx/bejqFFvOlDwDq4k7Ng== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 3a734468-64fd-4a5e-c1bd-08dbd1864aeb X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 16:04:51.8816 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR02MB6930 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org The UC-257 is a serial + LPT card, so remove it from this driver. A patch has been submitted to add it to parport_serial instead. Additionaly, the UC-431 does not use this card ID, only the UC-420 does. The 431 is a 3-port card and there is no generic 3-port configuration available, so remove reference to it from this driver. Fixes: 152d1afa834c ("tty: Add support for Brainboxes UC cards.") Cc: stable@vger.kernel.org Signed-off-by: Cameron Williams --- With regards to the parport_serial patch, I mistakenly did not copy in the LKML, only the maintainer, so I have no link to the patch, my mistake and apologies. v3 - v4: Split patch v3 part 2 into Fixes and Additions Add Fixes: and Cc: tag. v2 - v3: Re-submit patch series using git send-email to make threading work. v1 - v2: This is a resubmission series for the patch series below. That series was lots of changes sent to lots of maintainers, this series is just for the tty/serial/8250 subsystem. [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ drivers/tty/serial/8250/8250_pci.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index ecb4e9acc70d..a59b9b8eaa68 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -4940,13 +4940,6 @@ static const struct pci_device_id serial_pci_tbl[] = { PCI_ANY_ID, PCI_ANY_ID, 0, 0, pbn_b2_1_115200 }, - /* - * Brainboxes UC-257 - */ - { PCI_VENDOR_ID_INTASHIELD, 0x0861, - PCI_ANY_ID, PCI_ANY_ID, - 0, 0, - pbn_b2_2_115200 }, /* * Brainboxes UC-260/271/701/756 */ @@ -5026,7 +5019,7 @@ static const struct pci_device_id serial_pci_tbl[] = { 0, 0, pbn_b2_4_115200 }, /* - * Brainboxes UC-420/431 + * Brainboxes UC-420 */ { PCI_VENDOR_ID_INTASHIELD, 0x0921, PCI_ANY_ID, PCI_ANY_ID, From patchwork Fri Oct 20 16:03:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 736540 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 04DD8C25B42 for ; Fri, 20 Oct 2023 16:05:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377922AbjJTQFH (ORCPT ); Fri, 20 Oct 2023 12:05:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377901AbjJTQFE (ORCPT ); Fri, 20 Oct 2023 12:05:04 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03olkn2017.outbound.protection.outlook.com [40.92.58.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B118D7B; Fri, 20 Oct 2023 09:05:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e8m+BsypSBAtq2v49L/ITv7oSguQz1qPPLtXnTdR1gU0MV/VpODJD7RRjzdiEtrn7uNpJcLH7SY4L2kBx8OXCEEJ/3xs/Gd5JkHfmftrt/7fAIQm6keC+fqsNJJS5FGeKNxwEcc0+eC90S13rIrirLlkE8NAmZV9JPjqictLodknx/HuUx77n/BBiS1hrh1YTM9H9TZFfPSfpJ+pA2jbhR8YRUNIiCxruljxkIqqKcPj8bSt5Cn3POMBJtKw6UrDWV3khHqgUa1dJG3M1sIc5VoxvDS+WPA0JZTCIRHDAbg4kjOzFkstovW/ZDXvcnTPQ8nDbWbZOGC/A8gxmeYKZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=d1+9ejdNVgk4lyGKbqkrwNDIEprllXb2rKoosU7gGfw=; b=jmxtikKxvDmSCFN7yt2TC1XayJcB1ZlB3I8tDhunhfRSUwDW760ouZB6IF+k2nhD3OTOeZkEsf5Id0W1YlQgm0x06PjnMlzRz07kz38PFVm6iV8nlv/J/nlWbATypBRAXDZFYdiqV/CKmhhM4yTGSpEuP9okA8YuIXPJxoLu3JU6v+7hP3+571hN/gdlHdSk5KM0TCh9wG1KgWflA9DFPBKm3ZbsTaMNF8oWVGJRyLSj7g0oLC06BznTGxRAXnwVx460EYcsCgt6iWp8b4Rj+g2xUjYv8XWG8jGvBElEtgCcWCqgKr8JdZ8HGaXUzwrMLOlwmnVvLxrrA4Gsriw+cQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by AM9PR02MB6930.eurprd02.prod.outlook.com (2603:10a6:20b:26d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Fri, 20 Oct 2023 16:04:58 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6886.034; Fri, 20 Oct 2023 16:04:58 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams , stable@vger.kernel.org Subject: [PATCH v4 05/11] tty: 8250: Add support for Intashield IS-100 Date: Fri, 20 Oct 2023 17:03:11 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231020160412.118550-1-cang1@live.co.uk> References: <20231020160412.118550-1-cang1@live.co.uk> X-TMN: [tqedokQaSOc3Qi+k08cDYQnpKHkCPUPE] X-ClientProxiedBy: LO0P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:355::19) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231020160412.118550-6-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|AM9PR02MB6930:EE_ X-MS-Office365-Filtering-Correlation-Id: ddb1f28e-5f91-4a71-5d69-08dbd1864eb1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7uWHPjc6Ojvj7rj5X6DbFlCwiAjNr5KUOe2lHZorcT2zWnPgZgcFPfuVMd6+vxAJgKvacz/ZIF3kkCvJxD+LiFC6PjKg6jkYrapD4/hm3ZXP0/PWL8NA7morvg/jGsDwFp2RMeWpTpzPvkXqQWsnIrTA12qwR0PUojrfw1SqE58hRK/a3uj2Nbj8Kdk/pTpxIxtJT90UwcXlqFoS8B3XEt0PF5OV1PQyIoecLppLijzCHJzmASGnFM71xD3gSVmg8G06l2LPG/1rxKtZcVVjRnyBnbZGckZxNvmWntxnJT2zZQdEjgHSRjc3q8TXxazUo+YVrMITtdAITkLDmqRucQig0RpvpftAh9Ir55MOSAF9mkUJr0XHsL0/h/tsbAe9aZFRDluH1WLvVWNo1TA3iaf/GM7zTOWa7rkhsMEUKFJB+7sVWpv25lnleB8aayzurk2rpoRY9wUT4PgA4gRsPn9hPPcayy5tPvY/PfcuLTpat7l7pewVThylguEba7ISXrh9Pb3kwIs/W87aE2FFCc5lMCVlXlct92Rrx1bLmA85WXPTHwB7G9MzimTqY7iyTlOgFjvN7bSZToXxAzVQSfNJ3FpcwZsIWJxaO1sq1yX1cwLyhSAV0Sd5yBZ9BuHiyo84Mxiewh9ydy8upu/rIQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fS9CPIiL+2Kt29v4Y63BdLfQacu1Cj3XpmA2A+1vomGSxWF8qjEVKzGShVHM9oTpaq0NCQIiEqAl4ASNjWXEBHad+WJZl/kv7v7c38gB+MM/iM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CTzp/Ygl+EggOZrBsFr63TbO/SbqgRBwZ9p/OmFqrkJMw== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: ddb1f28e-5f91-4a71-5d69-08dbd1864eb1 X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 16:04:58.1983 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR02MB6930 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add support for the Intashield IS-100 1 port serial card. Cc: stable@vger.kernel.org Signed-off-by: Cameron Williams --- v3 - v4: Add Cc: tag. v2 - v3: Re-submit patch series using git send-email to make threading work. v1 - v2: This is a resubmission series for the patch series below. That series was lots of changes sent to lots of maintainers, this series is just for the tty/serial/8250 subsystem. [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ drivers/tty/serial/8250/8250_pci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 1c46b65789c9..b0a632415d8e 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -4913,6 +4913,12 @@ static const struct pci_device_id serial_pci_tbl[] = { 0, 0, pbn_b1_bt_1_115200 }, + /* + * IntaShield IS-100 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x0D60, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, + pbn_b2_1_115200 }, /* * IntaShield IS-200 */ From patchwork Fri Oct 20 16:03:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 736539 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA0C5C001DF for ; Fri, 20 Oct 2023 16:05:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377901AbjJTQF3 (ORCPT ); Fri, 20 Oct 2023 12:05:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377931AbjJTQFK (ORCPT ); Fri, 20 Oct 2023 12:05:10 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03olkn2017.outbound.protection.outlook.com [40.92.58.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D93510C1; Fri, 20 Oct 2023 09:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bWhmdTf3BXBCxdOfTW6H5cAIhQSZqL3zH7ed1UTR+7u+TmM9Zuy/L4KUCC1wtVRjo9K5HYYUskHly/KoUxclEH85vcoaJ9/tma94rCYG5sM5c6xiD4nmmHAI17OyIy9Sz8RvYH7h6iMrTLXAMj22s+HaNvB6sSDC5U8CKn8CFAce/vQL8xpWxdcvK/NfLz3buWiHo2+S+KwTYj7y/ihba7XnTsbfDAqpR5TdNpGTaRUdeN3yxTNlyLOHyoQStckferAJUvpBxAiC/QhqEab/u7i1jnQJx2CXn3BePvW2VRrPtqqBCgHkFjjej0v9Xcc9LdG6lU3tgI5SaDqvVcfUzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gRcM0tFNyb+N0hzhGYOhYERWwwJ4diHPwXe/Efq8fVw=; b=DpIerM5bww6mHqN4ZIaK3r5wvGqdycKIx2WS+CA4FB/Rok+/3z/kytmRcoUwcsxsVLca9U99tEQe9SniG3lzZD9OAAJ9mzuChIOI5UdBGlOdQC4E5/ssqW/2wWyt5bcA3G5SnsYpx6Z46ytIPASdJKTJe6lijNJw3ja9ENeDPbuzOQSjBgCUtd7ua7Rc++/GZlwzgir98/bjA+PYvE8HsXqK1CMKOtAk4SBr8rzLFw1OL70sb8LS2kTwkUJ2j59cfzfdvaETkKW02rV0iILogT7ykPGVeAn85YJSCsIHnaJnGlX0rp5d+fj3fKByNddD+liCm2S8zBpo/xJIp6kuYg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by AM9PR02MB6930.eurprd02.prod.outlook.com (2603:10a6:20b:26d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Fri, 20 Oct 2023 16:04:59 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6886.034; Fri, 20 Oct 2023 16:04:59 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams , stable@vger.kernel.org Subject: [PATCH v4 07/11] tty: 8250: Fix up PX-803/PX-857 Date: Fri, 20 Oct 2023 17:03:13 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231020160412.118550-1-cang1@live.co.uk> References: <20231020160412.118550-1-cang1@live.co.uk> X-TMN: [nqfhpQ0t8nyuwTCsCc2JBTbNlRoiXu4T] X-ClientProxiedBy: LO0P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:355::19) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231020160412.118550-8-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|AM9PR02MB6930:EE_ X-MS-Office365-Filtering-Correlation-Id: 0170ca4e-3a53-4263-69a8-08dbd1864f5f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WJEOzm1LYkybxDZG0BEyeMp3DGFFYfsQ/fnyAO44Cmd/ACnd6rk1A7Sxvk3skEQgE+tBB9T01qNKq+rldupXfkn2X61bn5//J69JruKyXB6nim0YzhyvX8g8J5WNxaLgDg1Ik5svYk9HlsFQosGhNpI5kUgVFYSEhIGPdyWs631JDQcG6jsnqsJjk9qhoBEXHdf+AUlJdeqsecqlb3fQmRMBVsZiWYyugygXefzWRHV+Y9zorU/N4YccKG0qMAOjzCcgxT123pnsz52Ar8Yauss0vCqsoZzsyz4OGBgd177Ol8Wln4J3+iOJXtqJS6GrUeDelXqDhbKGllU9JPcpw6Cjvbd4gFU/xP8it92HvJH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GSRAAWm8EqMdPU0+aU6+GlbgN2YDydy3KVBadGq8kAECQEGaoMD4i2CaTYQR7tvjMNGFyXu1dxODd8ceJeFfk1BI6sCtFnCiGioIegqVf9XSzQWzCk0M5j3K1+/JradcbvPLfg6hLsgfuVb8k6mi/QOTeklnGBDXmht9Vk2kLTLZ0EKmh9MSXWes4W+T493qC96IZZttia5hJOO+xl6jJDDiTHiQZgZdnETHMjmrN7fyJjOyPFweWBBX+ParQ/bDdDb4qE6ut/D+rk3O41WQrToykj2n6oBa7LSbO5WYnA3Miye/RiSbJBawzYAfAMN6wCaLoIFnzv0eC7OFnHQiiJquJMEgQzRsKm4buqbGk/rHUS+E4/rs9d2WF4losae7YK3OYJcy5kwz+fotQQLVqHWtuYuYemA2TwfUEa/+4vWCZ03tm3uQgh0ehVOSKcrsXfvkhM3KP1DCxCXMBvFkseD2fQEtNOCM0P14EH/26rVH4gIbakXvKQdNg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 0170ca4e-3a53-4263-69a8-08dbd1864f5f X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 16:04:59.3692 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR02MB6930 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org The PX-803/PX-857 are variants of each other, add a note. Additionally fix up the port counts for the card (2, not 1). Fixes: ef5a03a26c87 ("tty: 8250: Add support for Brainboxes PX cards.") Cc: stable@vger.kernel.org Signed-off-by: Cameron Williams --- For stable: This patch is only applicable to 5.15 LTS and up, other LTS kernels dont have PX card support. v3 - v4: Split patch v3 part 5 into multiple Fixes patches and an Additions patch. Add Fixes: and Cc: tag. v2 - v3: Alter commit message a little to make the additions/fixes cleaner Re-submit patch series using git send-email to make threading work. v1 - v2: This is a resubmission series for the patch series below. That series was lots of changes sent to lots of maintainers, this series is just for the tty/serial/8250 subsystem. [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ drivers/tty/serial/8250/8250_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 59074a709254..a68ae56e5578 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -5235,16 +5235,16 @@ static const struct pci_device_id serial_pci_tbl[] = { 0, 0, pbn_oxsemi_4_15625000 }, /* - * Brainboxes PX-803 + * Brainboxes PX-803/PX-857 */ { PCI_VENDOR_ID_INTASHIELD, 0x4009, PCI_ANY_ID, PCI_ANY_ID, 0, 0, - pbn_b0_1_115200 }, + pbn_b0_2_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x401E, PCI_ANY_ID, PCI_ANY_ID, 0, 0, - pbn_oxsemi_1_15625000 }, + pbn_oxsemi_2_15625000 }, /* * Brainboxes PX-846 */ From patchwork Fri Oct 20 16:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 736538 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 799C8C001DF for ; Fri, 20 Oct 2023 16:05:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378005AbjJTQF5 (ORCPT ); Fri, 20 Oct 2023 12:05:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377968AbjJTQF2 (ORCPT ); Fri, 20 Oct 2023 12:05:28 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03olkn2017.outbound.protection.outlook.com [40.92.58.17]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4D5710D5; Fri, 20 Oct 2023 09:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dJ73YnRMLY1AQe9OkB8T1/wL9oLxc4UAWE2UqsYmlR3hCjzufMpadTxsuX1YJONzwrGH236B/byYC7nzIZyoUo9zaoAm7mCBq+wW5AoQGo7xFnTuEFc6AMuyjG6C1aumAhDtRfBNjj82fEoaj7P5Nmc+kDTjDb6UHowG41bcliy/HvhLQK343sJwuj7Jjw5kka5iJoP8i12Wuxx/EX2xcgVWkF6IPNOspo2w7EcwoarHLbHqRZl/hol89eq9qVQMn1Uv8yJWsVAOn8+xoK56u3YcAmUzRbJbpJsyLJrnz5DbX7orh+KF5ROwDyOW4xiW7FbC7PaDWTUZx9/Tb4nKyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6yIrmjyUcSBYIClJu6oe6+1FIMEFxrOMF3oCrq+Q+ic=; b=NIm3WTl+uWD+KntaRn/x7RFErTTj33TVbxlXuqJ5jyvZSgiWMnYg9LVFqnJk2mcFAQVWcbFcTuqGEa4q0dYtH2mWRq/eYeqlsks/hpuzD9GBI3r7/L1fpqDluHv7gmfTyKxMajZcbVfLfUbVmtoqFxH0od5MItJkVzNMuAdoTYy/Y+4nIR2Ve9UkkW+W/6tKdsERV9oh30yVfg5AUsS08xD0XIAo1J/SAKgWRAfjhHElN+URJQ/Afs0oVcUSClW5Yoq+2hf1JV4jIRFrNs5I4PalLHFfhreTc3qEE8/VcOVXoVAX4t2GOInabFRdUeXGjxGdVrvbw7lqFHA56VO+0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by AM9PR02MB6930.eurprd02.prod.outlook.com (2603:10a6:20b:26d::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Fri, 20 Oct 2023 16:05:00 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6886.034; Fri, 20 Oct 2023 16:04:59 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams , stable@vger.kernel.org Subject: [PATCH v4 08/11] tty: 8250: Add note for PX-835 Date: Fri, 20 Oct 2023 17:03:14 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231020160412.118550-1-cang1@live.co.uk> References: <20231020160412.118550-1-cang1@live.co.uk> X-TMN: [zgUay7ayPYe+9RlmfvDr3PUTJEkV/ODt] X-ClientProxiedBy: LO0P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:355::19) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231020160412.118550-9-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|AM9PR02MB6930:EE_ X-MS-Office365-Filtering-Correlation-Id: f496027a-f207-450a-037a-08dbd1864fba X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Bm/aF4e912ipBnw0v0O0NSL4tDfHWAbk28LvT3g3HfdWiGd3YfxbCoXzKWokHGqHUktmG+G5tc/jQISks7ORhtsbJIl1hmFBGdmXoUPStKVUCs9BriKg1TvlWQhx30/w5KF/VILly2WTvKknT+d0qYK9dZ+7r6dkFLk9iRRTlib21DeBD6i49GQbY8i8FJIffyDPyV6QVzvznt7eRiKmRSoGWi+qO/Tr1pomb+oK1Knf8qF6DSOZpJcRrf+W4Lhtw8nWLRCXS9k+3K+OR4EMITRzxZhRvyKpmIagMX4xVRv2tYLn7DnmaNET+9U9u2sFRMnByT/uWEcYPiwFxOIvJuO+u1WSJm8CoNEldtS9WjGj4siLKDhJ7iVhnzUXfRa0YYQ1NkD5apmKCvXp0jFjQK7O31qwDrw1PnJ/N0jYGhgo4hFNiDW9G+X5Wvq27NwWKFPxDiSogm78IWY+c8zJCfrGRQNuzhLAzdlPyMBddgBLsXkpHzti7G5906xiMvW6zySo3BK0KJAoJHI4cKOfXDZMfbQiSnjKRk4k0l8wGFLI41WDcl6LiNqbwwV82NZ4jTx/jO/B7B89Veqzenww+oSKVhwYl5YB5E9kOvzKMqwWUDBx/lOcBU82biKh+yPwsioI1+9qsOptBjnSkVkFsA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X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Zwo8RoEG2pLwLSC0nj8PGc6Zh0rOI3oLc5IZ8q9qWszfkyBeCqFYaU+uGQBupWdm/3/CXnZERnxXzb2l233/P6vteKkJBFjuuhSvNJ1RycevIv5IbZx55T1Ru6gHWwqHVZL9F6pN15ddvek/6WuCJAIWBniBdwamcFV2mg4BzRJAkXltUdI9PAg== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: f496027a-f207-450a-037a-08dbd1864fba X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 16:04:59.9304 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR02MB6930 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org The PX-835 and PX-846 are variants of each other, clarify that in the comment for the card. This patch makes no functional difference. Fixes: ef5a03a26c87 ("tty: 8250: Add support for Brainboxes PX cards.") Cc: stable@vger.kernel.org Signed-off-by: Cameron Williams --- For stable: This patch is only applicable to 5.15 LTS and up, other LTS kernels dont have PX card support. v3 - v4: Split patch v3 part 5 into multiple Fixes patches and an Additions patch. Add Fixes: and Cc: tag. v2 - v3: Alter commit message a little to make the additions/fixes cleaner Re-submit patch series using git send-email to make threading work. v1 - v2: This is a resubmission series for the patch series below. That series was lots of changes sent to lots of maintainers, this series is just for the tty/serial/8250 subsystem. [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ drivers/tty/serial/8250/8250_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index a68ae56e5578..f1acf5a4704f 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -5246,7 +5246,7 @@ static const struct pci_device_id serial_pci_tbl[] = { 0, 0, pbn_oxsemi_2_15625000 }, /* - * Brainboxes PX-846 + * Brainboxes PX-835/PX-846 */ { PCI_VENDOR_ID_INTASHIELD, 0x4008, PCI_ANY_ID, PCI_ANY_ID, From patchwork Fri Oct 20 16:03:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cameron Williams X-Patchwork-Id: 736541 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB2F6C25B44 for ; Fri, 20 Oct 2023 16:05:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377926AbjJTQFJ (ORCPT ); Fri, 20 Oct 2023 12:05:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377920AbjJTQFH (ORCPT ); Fri, 20 Oct 2023 12:05:07 -0400 Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02olkn2074.outbound.protection.outlook.com [40.92.48.74]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B7C2ED6C; Fri, 20 Oct 2023 09:05:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PdGL//PVPQACoAheGBMUEw9K/RXFLF8Ll4I3XrxOLMNtPxbmkZUBNL1MDIZyyX+y0nRoCScU6xaxEbr4uhNBHEqjQJE9JwjJJAissJgqFbEifmBbLYFKSj00ON36OLmjpLNW8Vln09xcBbQ/fFWor4n0oyhad9dml3kjjY+qWKzsj7Dt3fIZsPsrDd6sZti8W38t6bPVP1/EijmgLt5Ij5noT6FZSmiWYvGz8AtzlCYLjodvDr+3U3rs9ZhHUi0zIFw3g32iiFd8V1midmnaQeN8kBdShb7jW8nuWGngI0WpRtMIzXBkfZhiqG3PrXc/pb5MsASe4YG9i5zzKhwhug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=pMR9gacrTNKQDyowKzmJOj5wl68fTSAccDnzg9tZB+A=; b=I3M7ZeIAFLKpqJ7G/9jFctsGQnQ1pzThr7zOaQyNmUVnypo/W/9aQ30S98hodFWGloieh9Y42ACA2HyCP8YDsrUcTZnRffSMMDKALfXWvbqBWiRsB8jFg6gnqPgFLEcJtE9AYQN+dtsqupXDVHb2NliAzK4RSaCZXc9iM8E/8LQAywrk1Eq8z3t7NeqSBWBVHzUT5cGDg2LncFyjVOlmhsMI6t4gAVtLjD8iX4MF+Zz1pok+GgO4gs2XeKjgWY6Mo3nRQyiJqX4YEhQQm9IGepZU0uluKQnXMDO5qNjxhHdMG8gwGDQxXjNwVE50o9zItEKNltLqoOQpo1LiErtXDA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) by AS2PR02MB9552.eurprd02.prod.outlook.com (2603:10a6:20b:597::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.24; Fri, 20 Oct 2023 16:05:01 +0000 Received: from DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e]) by DU0PR02MB7899.eurprd02.prod.outlook.com ([fe80::b753:178a:394e:af8e%7]) with mapi id 15.20.6886.034; Fri, 20 Oct 2023 16:05:01 +0000 From: Cameron Williams To: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Cameron Williams , stable@vger.kernel.org Subject: [PATCH v4 10/11] tty: 8250: Add support for Intashield IX cards Date: Fri, 20 Oct 2023 17:03:16 +0100 Message-ID: X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231020160412.118550-1-cang1@live.co.uk> References: <20231020160412.118550-1-cang1@live.co.uk> X-TMN: [Y7U+y5/dcZ6g5k6FTI4PYAT70JkhrmoD] X-ClientProxiedBy: LO0P265CA0011.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:355::19) To DU0PR02MB7899.eurprd02.prod.outlook.com (2603:10a6:10:347::11) X-Microsoft-Original-Message-ID: <20231020160412.118550-11-cang1@live.co.uk> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB7899:EE_|AS2PR02MB9552:EE_ X-MS-Office365-Filtering-Correlation-Id: 4dc1a02c-f083-4331-993f-08dbd1865071 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RI4+toTnFWmYputaQQXpd/SmKPjAVkdWYWi3W8lL+6gL8d5nCqN+v5KS3bX0Iy7bZZSslLfsiJdyFjXeMTQZqsVOVK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3Sya/Xfr8LTKCXo0fFvjEQ95Ll9BBZ9UE+/GG7v3aeM6jxpbe80nfybiSSeQjX7Ra+T6dzCRSLoE9PK4XNgRutessvBnPQxsthHycq2+7j5n7hd3cbkOdFBblGMzQSFoONzhmgGYQFHZUDfibCNVWl6KDFEwP6tRhm5QM2xlUuT5GcwLUARflbzlQRDeDnM3Ox+rfAym66R0vd2mYs160MumzNWwwKVqJVe2YimHYrzfqKvHLNSDxA7yEEKPOPJbhlc8oe4LjkvMaPTbKjedNiMqmtrYAsJ6Z3n6FA0Q85FgVPHqqs6ZgEXnmJxUBs2mLRsEuRQI+BXHAHAR8k1ZSJmwIu6+6THLYWV1a0FOKz4zNi0xt4BBVAMy3Rv+AXWj6//EyFLtnwYo1GKakmHLawUAQbKW/SiFEs3ZNDbDYRaw9vpaXtpD7AAUw9mvKCQi9qfV8uPaJjtNY1PJ4QkBlAphKWPbrXR8FT3x+fGn6PtMnQpVc3bjPIUVVA7NDPdHmA6YduDkIahe0kHoaX4XW5FY/hJpzNF8DrTqwrovG6kRyuYrn/adiAMCoOzkdnlZlK/rC6zfe/N+86xZjzxqzWf9LPaIno6iDUlsdE0+WIDV0XOqkW0qVFZG4Uf3S0oKWJC65Rw+fnqjAjG4OcDgmKqt3Wph5Bg3R9ldH3oP2iKPwaorwyR5ZQun6DHsjz0Po6RZeuYWZiN0JunLxOwVpKxnkDLcesQ1mTkfOfYS5slj9A60DfI9I4iRDRKGan76JC1ydCHIML+DUux4WQhoNgdw== X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-ab7de.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: 4dc1a02c-f083-4331-993f-08dbd1865071 X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB7899.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 16:05:01.2542 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR02MB9552 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add support for the IX-100, IX-200 and IX-400 serial cards. Cc: stable@vger.kernel.org Signed-off-by: Cameron Williams --- For stable: This patch is only applicable to 5.15 LTS and up, other LTS kernels dont have the neccesary quirk options available (in patch 11) to have these cards work correctly. v3 - v4: Add Cc: tag. v2 - v3: Re-submit patch series using git send-email to make threading work. v1 - v2: This is a resubmission series for the patch series below. That series was lots of changes sent to lots of maintainers, this series is just for the tty/serial/8250 subsystem. [1] https://lore.kernel.org/all/DU0PR02MB789950E64D808DB57E9D7312C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [2] https://lore.kernel.org/all/DU0PR02MB7899DE53DFC900EFB50E53F2C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [3] https://lore.kernel.org/all/DU0PR02MB7899033E7E81EAF3694BC20AC4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ [4] https://lore.kernel.org/all/DU0PR02MB7899EABA8C3DCAC94DCC79D4C4F8A@DU0PR02MB7899.eurprd02.prod.outlook.com/ drivers/tty/serial/8250/8250_pci.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c index 65ac7fdd361f..af970b372cc2 100644 --- a/drivers/tty/serial/8250/8250_pci.c +++ b/drivers/tty/serial/8250/8250_pci.c @@ -4931,6 +4931,27 @@ static const struct pci_device_id serial_pci_tbl[] = { { PCI_VENDOR_ID_INTASHIELD, PCI_DEVICE_ID_INTASHIELD_IS400, PCI_ANY_ID, PCI_ANY_ID, 0, 0, /* 135a.0dc0 */ pbn_b2_4_115200 }, + /* + * IntaShield IX-100 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x4027, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_1_15625000 }, + /* + * IntaShield IX-200 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x4028, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_2_15625000 }, + /* + * IntaShield IX-400 + */ + { PCI_VENDOR_ID_INTASHIELD, 0x4029, + PCI_ANY_ID, PCI_ANY_ID, + 0, 0, + pbn_oxsemi_4_15625000 }, /* Brainboxes Devices */ /* * Brainboxes UC-101