On Thu, 02 Jun 2016 14:57:51 +0200, matwey@sai.msu.ru wrote:
From: "Matwey V. Kornilov"
Hello,
Please, consider applying this series to openSUSE-42.2 branch. The following patch series is to enable RS485 support for BeagleBone Black (armv7l architecture).
When we moved from deprecated BeagleBone Black serial driver (ttyOx) to new one (ttySx) in master branch, TIOCSRS485 ioctl support in user-space disappeared due to this migration. The support has been brought back in 4.6 using new implementation. The following patches are taken from 4.6 linux kernel release:
Well, I really would like to avoid openSUSE-42.2 specific kernel patches. One of the important point in Leap is the sharing of the code base with SLE. And for 42.2, the kernel code is shared with SLE12-SP2. The difference is only the config. The code is very much same. 42.1 was an individual kernel because of the timing, but 42.2 is a different story. That said, these should go through SLE12-SP2, if they are really mandatory. It's not only about this patchset, but any patches to 42.2 kernel in general. Though, I'm not entirely sure which path would work most effectively. For any bugs, usually Bugzilla would be the best place. Furthermore, it sounds like that it's a kernel regression that dropped the support. If so, they should be merged through stable 4.4.x branch as well. thanks, Takashi
Matwey V. Kornilov (5): tty: Move serial8250_stop_rx() in front of serial8250_start_tx() tty: Add software emulated RS485 support for 8250 tty: 8250_omap: Use software emulated RS485 direction control tty: serial: Use GFP_ATOMIC instead of GFP_KERNEL in serial8250_em485_init() tty: serial: 8250: Cleanup p->em485 in serial8250_unregister_port
Yegor Yefremov (1): tty/serial/8250: fix RS485 half-duplex RX
drivers/tty/serial/8250/8250.h | 2 + drivers/tty/serial/8250/8250_core.c | 9 ++ drivers/tty/serial/8250/8250_omap.c | 31 +++++ drivers/tty/serial/8250/8250_port.c | 252 ++++++++++++++++++++++++++++++++++-- include/linux/serial_8250.h | 8 ++ 5 files changed, 288 insertions(+), 14 deletions(-)
-- 2.1.4
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org