tty: 8250: Brainboxes card additions/fixes
Subsystems (2)
v4 cover tty: 8250: Brainboxes card additions/fixes
In reply to a message not in the archiveThis patch series fixes up various issues and adds additional support for cards from the Brainboxes PCI/e serial range.
This series should be suitable for the stable kernels too, though some of the patches are only applicable for 5.15 LTS and above. The patches where this is the case have a note explaining why.
Thanks to the reviewers for the feedback thus far.
Change from v3 [1][2][3][4][5][6][7][8]:
- Split up patches to have Fixes and Additions separate
- Add Fixes: tags where neccesary
- Add Cc: for stable
[1] https://lore.kernel.org/all/DU0PR02MB789901A0FD8D0A16614B7B01C4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[2] https://lore.kernel.org/all/DU0PR02MB78991BB41F77731BF0BDD777C4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[3] https://lore.kernel.org/all/DU0PR02MB7899EF5899BB15DAF3DB580DC4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[4] https://lore.kernel.org/all/DU0PR02MB7899E6443241E95DCF2D6535C4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[5] https://lore.kernel.org/all/DU0PR02MB7899A8E98A24B0748FA74D59C4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[6] https://lore.kernel.org/all/DU0PR02MB78996091ADEB6B3C952386D2C4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[7] https://lore.kernel.org/all/DU0PR02MB789917A8AB71BE91225DB3F0C4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[8] https://lore.kernel.org/all/DU0PR02MB78998961117757F4750A3AFFC4D0A@DU0PR02MB7899.eurprd02.prod.outlook.com/
Change from v2 [1][2][3][4][5][6][7]:
- No code changes
- Amend patch 1 and 5 commit comment to better clarify what has been
changed and why
- Send using git send-email instead of Mutt so (hopefully) the
threading works OK
[1] https://lore.kernel.org/all/DU0PR02MB7899233A57F6E714C0DD8FF2C4D2A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[2] https://lore.kernel.org/all/DU0PR02MB7899CE749DADBEEE38564F9DC4D2A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[3] https://lore.kernel.org/all/DU0PR02MB789934AD01F657CD108E0999C4D2A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[4] https://lore.kernel.org/all/DU0PR02MB789954113A4F513D4CD65140C4D2A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[5] https://lore.kernel.org/all/DU0PR02MB78993B38B6D95DE0A84DA5E8C4D2A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[6] https://lore.kernel.org/all/DU0PR02MB789945AC3746E79AF2390C73C4D2A@DU0PR02MB7899.eurprd02.prod.outlook.com/
[7] https://lore.kernel.org/all/DU0PR02MB789927949F9C84AACD694F48C4D2A@DU0PR02MB7899.eurprd02.prod.outlook.com/
Change from v1 [1][2][3][4]:
- Split the patch into multiple commits for one subsystem/maintainer
rather than a large series for multiple subsystems.
[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/
Cameron Williams (11):
tty: 8250: Fix IS-200 PCI ID comment
tty: 8250: Remove UC-257 and UC-431
tty: 8250: Add support for additional Brainboxes UC cards
tty: 8250: Add support for Brainboxes UP cards
tty: 8250: Add support for Intashield IS-100
tty: 8250: Fix port count of PX-257
tty: 8250: Fix up PX-803/PX-857
tty: 8250: Add note for PX-835
tty: 8250: Add support for additional Brainboxes PX cards
tty: 8250: Add support for Intashield IX cards
tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
drivers/tty/serial/8250/8250_pci.c | 331 ++++++++++++++++++++++++++++- 1 file changed, 322 insertions(+), 9 deletions(-)
Signature · 1 line
2.42.0
PATCH v4 1/11 tty: 8250: Fix IS-200 PCI ID comment
In reply to a message not in the archiveFix the PCI comment for the IS-200 card. The PCI ID for the IS-200 is 0x0d80, and the definition used (PCI_DEVICE_ID_INTASHIELD_IS200) is indeed 0x0d80, clarify that by fixing the comment as its neighbouring cards are all at 0x0020 offsets.
---
I argue for fixing this rather than removing due to this patch series (and the code already in the kernel) referring to the rest of the cards in the manufacturer's product line by hex ID, makes sense to me to have the hex IDs all displayed correctly one way or another in the one driver as the IS-200 and 400 are the only cards to use a definition instead.
v3 - v4:
Added Fixes: and Cc: tag
Added above note for reviewer.
v2 - v3:
Clarify commit message with better explanation of the change. 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(-)
drivers/tty/serial/8250/8250_pci.c +1 -1
@@ -4917,7 +4917,7 @@ static const struct pci_device_id serial_pci_tbl[] = {* IntaShield IS-200 */ {PCI_VENDOR_ID_INTASHIELD ,PCI_DEVICE_ID_INTASHIELD_IS200 , -PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,/* 135a.0811 */ +PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 ,/* 135a.0d80 */ pbn_b2_2_115200 },/* * IntaShield IS-400
Signature · 1 line
2.42.0
PATCH v4 2/11 tty: 8250: Remove UC-257 and UC-431
In reply to a message not in the archiveThe 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.
---
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(-)
drivers/tty/serial/8250/8250_pci.c +1 -8
@@ -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,
Signature · 1 line
2.42.0
PATCH v4 3/11 tty: 8250: Add support for additional Brainboxes UC cards
In reply to a message not in the archiveAdd device IDs for some more Brainboxes UC cards, namely UC-235/UC-246, UC-253/UC-734, UC-302, UC-313, UC-346, UC-357, UC-607 and UC-836.
---
v3 - v4:
Split patch v3 part 2 into Fixes and Additions
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 | 57 ++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+)
drivers/tty/serial/8250/8250_pci.c +57 -0
@@ -4940,6 +4940,17 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_b2_1_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0AA2, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_1_115200 }, +/* +* Brainboxes UC-253/UC-734 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x0CA1, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 },/* * Brainboxes UC-260/271/701/756 */
@@ -4972,6 +4983,14 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x08E2, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x08E3, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 },/* * Brainboxes UC-310 */
@@ -4982,6 +5001,14 @@ static const struct pci_device_id serial_pci_tbl[] = {/* * Brainboxes UC-313 */ + {PCI_VENDOR_ID_INTASHIELD ,0x08A1 , +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x08A2, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x08A3,PCI_ANY_ID ,PCI_ANY_ID , 0, 0,
@@ -4996,6 +5023,10 @@ static const struct pci_device_id serial_pci_tbl[] = {/* * Brainboxes UC-346 */ + {PCI_VENDOR_ID_INTASHIELD ,0x0B01 , +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_4_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x0B02,PCI_ANY_ID ,PCI_ANY_ID , 0, 0,
@@ -5007,6 +5038,10 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0A82, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, { PCI_VENDOR_ID_INTASHIELD, 0x0A83,PCI_ANY_ID ,PCI_ANY_ID , 0, 0,
@@ -5025,6 +5060,28 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_b2_4_115200 }, +/* +* Brainboxes UC-607 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x09A1, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x09A2, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x09A3, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, +/* +* Brainboxes UC-836 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x0D41, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_4_115200 },/* * Brainboxes PX-101 */
Signature · 1 line
2.42.0
PATCH v4 5/11 tty: 8250: Add support for Intashield IS-100
In reply to a message not in the archiveAdd support for the Intashield IS-100 1 port serial card.
---
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(+)
drivers/tty/serial/8250/8250_pci.c +6 -0
@@ -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 */
Signature · 1 line
2.42.0
PATCH v4 4/11 tty: 8250: Add support for Brainboxes UP cards
In reply to a message not in the archiveAdd support for the Brainboxes UP (powered PCI) range of cards, namely UP-189, UP-200, UP-869 and UP-880.
---
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 | 60 ++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+)
drivers/tty/serial/8250/8250_pci.c +60 -0
@@ -5082,6 +5082,66 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_b2_4_115200 }, +/* +* Brainboxes UP-189 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x0AC1, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0AC2, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0AC3, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, +/* +* Brainboxes UP-200 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x0B21, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0B22, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0B23, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, +/* +* Brainboxes UP-869 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x0C01, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0C02, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0C03, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, +/* +* Brainboxes UP-880 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x0C21, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0C22, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x0C23, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_2_115200 },/* * Brainboxes PX-101 */
Signature · 1 line
2.42.0
PATCH v4 10/11 tty: 8250: Add support for Intashield IX cards
In reply to a message not in the archiveAdd support for the IX-100, IX-200 and IX-400 serial cards.
---
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(+)
drivers/tty/serial/8250/8250_pci.c +21 -0
@@ -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
Signature · 1 line
2.42.0
PATCH v4 6/11 tty: 8250: Fix port count of PX-257
In reply to a message not in the archiveThe port count of the PX-257 Rev3 is actually 2, not 4.
---
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(-)
drivers/tty/serial/8250/8250_pci.c +1 -1
@@ -5180,7 +5180,7 @@ static const struct pci_device_id serial_pci_tbl[] = { {PCI_VENDOR_ID_INTASHIELD ,0x4015 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , - pbn_oxsemi_4_15625000 }, + pbn_oxsemi_2_15625000 },/* * Brainboxes PX-260/PX-701 */
Signature · 1 line
2.42.0
PATCH v4 7/11 tty: 8250: Fix up PX-803/PX-857
In reply to a message not in the archiveThe PX-803/PX-857 are variants of each other, add a note. Additionally fix up the port counts for the card (2, not 1).
---
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(-)
drivers/tty/serial/8250/8250_pci.c +3 -3
@@ -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 */
Signature · 1 line
2.42.0
PATCH v4 11/11 tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
In reply to a message not in the archiveSome of the later revisions of the Brainboxes PX cards are based on the Oxford Semiconductor chipset. Due to the chip's unique setup these cards need to be initialised.
Previously these were tested against a reference card with the same broken baudrate on another PC, cancelling out the effect. With this patch they work and can transfer/receive find against an FTDI-based device.
Add all of the cards which require this setup to the quirks table. Thanks to Maciej W. Rozycki for clarification on this chip.
---
For stable: This patch is only applicable to 5.15 LTS and up, other LTS kernels dont have the quirks available that this patch uses nor do they support the cards these quirks target.
v3 - v4:
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 | 147 +++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+)
drivers/tty/serial/8250/8250_pci.c +147 -0
@@ -2429,6 +2429,153 @@ static struct pci_serial_quirk pci_serial_quirks[] = { .init = pci_oxsemi_tornado_init, .setup = pci_oxsemi_tornado_setup, }, + /* + * Brainboxes devices - all Oxsemi based + */ + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4027, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4028, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4029, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4019, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4016, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4015, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400A, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400E, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400C, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400B, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x400F, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4010, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4011, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x401D, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x401E, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4013, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4017, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, + { + .vendor = PCI_VENDOR_ID_INTASHIELD, + .device = 0x4018, + .subvendor = PCI_ANY_ID, + .subdevice = PCI_ANY_ID, + .init = pci_oxsemi_tornado_init, + .setup = pci_oxsemi_tornado_setup, + }, { .vendor = PCI_VENDOR_ID_INTEL, .device = 0x8811,
Signature · 1 line
2.42.0
PATCH v4 8/11 tty: 8250: Add note for PX-835
In reply to a message not in the archiveThe PX-835 and PX-846 are variants of each other, clarify that in the comment for the card.
This patch makes no functional difference.
---
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(-)
drivers/tty/serial/8250/8250_pci.c +1 -1
@@ -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,
Signature · 1 line
2.42.0
PATCH v4 9/11 tty: 8250: Add support for additional Brainboxes PX cards
In reply to a message not in the archiveAdd support for some more of the Brainboxes PX (PCIe) range of serial cards, namely
PX-275/PX-279, PX-475 (serial port, not LPT), PX-820, PX-803/PX-857 (additional ID).
---
This patch requires patch 11 in this series to have these cards work properly (except the PX-275/279)
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 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
drivers/tty/serial/8250/8250_pci.c +29 -0
@@ -5188,6 +5188,13 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_oxsemi_4_15625000 }, +/* +* Brainboxes PX-275/279 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x0E41, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b2_8_115200 },/* * Brainboxes PX-310 */
@@ -5234,6 +5241,13 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_oxsemi_4_15625000 }, +/* +* Brainboxes PX-475 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x401D, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_oxsemi_1_15625000 },/* * Brainboxes PX-803/PX-857 */
@@ -5241,10 +5255,25 @@ static const struct pci_device_id serial_pci_tbl[] = {PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_b0_2_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x4018, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_oxsemi_2_15625000 }, { PCI_VENDOR_ID_INTASHIELD, 0x401E,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_oxsemi_2_15625000 }, +/* +* Brainboxes PX-820 +*/ + { PCI_VENDOR_ID_INTASHIELD, 0x4002, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_b0_4_115200 }, + { PCI_VENDOR_ID_INTASHIELD, 0x4013, +PCI_ANY_ID ,PCI_ANY_ID , +0 ,0 , + pbn_oxsemi_4_15625000 },/* * Brainboxes PX-835/PX-846 */
Signature · 1 line
2.42.0
Greg KH
maintainerRe: [PATCH v4 01/11] tty: 8250: Fix IS-200 PCI ID comment
In reply to Cameron WilliamsQuoted 8 lines · Cameron Williams
Fix the PCI comment for the IS-200 card. The PCI ID for the IS-200 is
0x0d80, and the definition used (PCI_DEVICE_ID_INTASHIELD_IS200) is indeed0x0d80, clarify that by fixing the comment as its neighbouring cards are all at0x0020offsets.Fixes 737c17561fb2 ("[SERIAL] Support for Intashield 2 port PCI serial card")Signed-off-by Cameron Williams <[email protected]>
Quoted 6 lines
---
I argue for fixing this rather than removing due to this patch series (and the code already in the kernel) referring to the rest of the cards in the manufacturer's product line by hex ID, makes sense to me to have the hex IDs all displayed correctly one way or another in the one driver as the IS-200 and 400 are the only cards to use a definition instead.
I'll take this, but it is obviously not for stable kernels to take, as it has no code functional changes.
thanks,
greg k-h
Re: [PATCH v4 05/11] tty: 8250: Add support for Intashield IS-100
In reply to Cameron WilliamsQuoted 3 lines · Cameron Williams
Add support for the Intashield IS-100 1 port serial card.
Why is this cc stable? I think it should be dropped.
Signature · 1 line
i.
Quoted 39 lines
Signed-off-by Cameron Williams <[email protected]>---
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(+)drivers/tty/serial/8250/8250_pci.c +6
-0@@ -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 */
Re: [PATCH v4 06/11] tty: 8250: Fix port count of PX-257
In reply to Cameron WilliamsQuoted 5 lines · Cameron Williams
The port count of the PX-257 Rev3 is actually 2, not 4.
Fixes ef5a03a26c87 ("tty: 8250: Add support for Brainboxes PX cards.")Signed-off-by Cameron Williams <[email protected]>
Please arrange your series such that the patches with Fixes are first, not in the middle of your series.
Signature · 1 line
i.
Quoted 39 lines
---
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(-)drivers/tty/serial/8250/8250_pci.c +1
-1@@ -5180,7 +5180,7 @@ static const struct pci_device_id serial_pci_tbl[] = { {PCI_VENDOR_ID_INTASHIELD ,0x4015 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , - pbn_oxsemi_4_15625000 }, + pbn_oxsemi_2_15625000 },/* * Brainboxes PX-260/PX-701 */
Greg KH
maintainerRe: [PATCH v4 05/11] tty: 8250: Add support for Intashield IS-100
In reply to Ilpo JärvinenQuoted 7 lines · Ilpo Järvinen
Quoted 3 lines · Cameron Williams
Add support for the Intashield IS-100 1 port serial card.
Why is this cc stable? I think it should be dropped.
It's a new device id, those are allowed for stable.
thanks,
greg k-h
Greg Kroah-Hartman
maintainerRe: [PATCH v4 06/11] tty: 8250: Fix port count of PX-257
In reply to Ilpo JärvinenQuoted 10 lines · Ilpo Järvinen
Quoted 5 lines · Cameron Williams
The port count of the PX-257 Rev3 is actually 2, not 4.
Fixes ef5a03a26c87 ("tty: 8250: Add support for Brainboxes PX cards.")Signed-off-by Cameron Williams <[email protected]>Please arrange your series such that the patches with Fixes are first, not in the middle of your series.
Almost all of these are going to stable, so this was ok.
thanks,
greg k-h
Re: [PATCH v4 06/11] tty: 8250: Fix port count of PX-257
Quoted 12 lines · Greg Kroah-Hartman
Quoted 10 lines · Ilpo Järvinen
Quoted 5 lines · Cameron Williams
The port count of the PX-257 Rev3 is actually 2, not 4.
Fixes ef5a03a26c87 ("tty: 8250: Add support for Brainboxes PX cards.")Signed-off-by Cameron Williams <[email protected]>Please arrange your series such that the patches with Fixes are first, not in the middle of your series.
My apologies, when I was working on this patch series I was going by device product line then fixes and additions. I will keep that in mind for next time.
Quoted 2 lines
Almost all of these are going to stable, so this was ok.
Thank you Greg, I was sure that device IDs/quirks were OK to go into the stable kernel as per the documentation online.
Quoted 3 lines
thanks,
greg k-h