Re: [BISECTED] - multiport braiboxes serial card broken between 4.8 and 4.9 (and again in 4.14)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andy,

just to be sure, you mean test separately this:
guess this one:
8852   T Feb 02 Andy Shevchenko (  47) [PATCH v1] serial: 8250_pci: Don't fail on multiport card class

and this series:
8853   T Feb 02 Andy Shevchenko (  70) [PATCH v1 1/8] parport: Add support for BrainBoxes PX272/PX306 MIO card
8854   T Feb 02 Andy Shevchenko (  96) [PATCH v1 2/8] parport: PCI core handles power state for us
8855   T Feb 02 Andy Shevchenko (  56) [PATCH v1 3/8] parport: Convert to use managed functions pcim_* and devm_*
8856   T Feb 02 Andy Shevchenko (  49) [PATCH v1 4/8] parport: Don't shadow error codes in ->probe()
8857   T Feb 02 Andy Shevchenko (  46) [PATCH v1 5/8] parport: Convert printk(KERN_WARN) to dev_warn()
8858   T Feb 02 Andy Shevchenko (  39) [PATCH v1 6/8] parport: Switch to use module_pci_driver() macro
8859   T Feb 02 Andy Shevchenko (  37) [PATCH v1 7/8] parport: Sort headers alphabetically
8860   T Feb 02 Andy Shevchenko (  36) [PATCH v1 8/8] parport: Replace short License header by SPDX identifier
right?

I can do that if that's what you want, in the meantime, I've built 4.14.16
with all of them applied and it's almost perfect:

all ports are detected, but there is gap in port numbers (but maybe
it's not really problem of those patches?)

dmesg output:
[    0.418944] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    6.535380] 0000:02:00.0: ttyS4 at I/O 0xe080 (irq = 18, base_baud = 921600) is a TI16750
[    6.536495] 0000:02:00.0: ttyS5 at I/O 0xe088 (irq = 18, base_baud = 921600) is a TI16750
[    6.537598] 0000:02:00.0: ttyS6 at I/O 0xe090 (irq = 18, base_baud = 921600) is a TI16750
[    6.538663] 0000:02:00.0: ttyS7 at I/O 0xe098 (irq = 18, base_baud = 921600) is a TI16750
[    6.539731] 0000:02:00.0: ttyS1 at I/O 0xe0a0 (irq = 18, base_baud = 921600) is a TI16750

# setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16750, Port: 0xe0a0, IRQ: 18
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3
/dev/ttyS4, UART: 16750, Port: 0xe080, IRQ: 18
/dev/ttyS5, UART: 16750, Port: 0xe088, IRQ: 18
/dev/ttyS6, UART: 16750, Port: 0xe090, IRQ: 18
/dev/ttyS7, UART: 16750, Port: 0xe098, IRQ: 18

is it possible to skip those nonexistant ttyS[23] ports
and have ports from the card as S1..S5?

please let me know if you want me to perform more tests...

BR

nik

On Fri, Feb 02, 2018 at 08:41:34PM +0200, Andy Shevchenko wrote:
> On Fri, 2018-02-02 at 16:45 +0200, Andy Shevchenko wrote:
> > On Fri, 2018-02-02 at 15:10 +0100, Nikola Ciprich wrote:
> 
> > Perhaps, you at some point can provide a board data to for these
> > boards
> > to be enumerated automatically.
> 
> Just have done this. It's a series of patches I Cc'ed you where first
> basically should deprecate your script.
> 
> Please, test it (and perhaps entire series).
> 
> > > with proposed patch, it now works for 4.14 as well..
> > 
> > Be aware, it's not final version, I would ask you to test a new one a
> > bit later.
> 
> Just sent it as well, please, test separately.
> 
> -- 
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Intel Finland Oy
> 

-- 
-------------------------------------
Ing. Nikola CIPRICH
LinuxBox.cz, s.r.o.
28. rijna 168, 709 00 Ostrava

tel.:   +420 591 166 214
fax:    +420 596 621 273
mobil:  +420 777 093 799

www.linuxbox.cz

mobil servis: +420 737 238 656
email servis: servis@xxxxxxxxxxx
-------------------------------------

Attachment: pgpqljyHJy62R.pgp
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux