<feed xmlns='http://www.w3.org/2005/Atom'>
<title>BMC/Intel-BMC/linux.git/drivers/tty/serial, branch dev-4.3</title>
<subtitle>Intel OpenBMC Linux kernel source tree (mirror)</subtitle>
<id>https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.3</id>
<link rel='self' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/atom?h=dev-4.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/'/>
<updated>2016-02-12T04:38:57+00:00</updated>
<entry>
<title>serial/aspeed-vuart: Perform enable/disable on driver bind/unbind</title>
<updated>2016-02-12T04:38:57+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2016-02-11T08:26:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=ebbb4eea8a7b65d3e8643ad31da2867a993c1d7c'/>
<id>urn:sha1:ebbb4eea8a7b65d3e8643ad31da2867a993c1d7c</id>
<content type='text'>
Rather than exposing an enable sysfs attribute, we can just set the
VUART enabled bit when we bind to the device, and clear it on unbind.

We don't want to do this on open/release, as the host may be using this
bit to configure serial output modes, which is independent of whether
the devices has been opened by BMC userspace.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>serial/aspeed-vuart: Only disable host tx discard when serial port is in use</title>
<updated>2016-02-12T04:15:21+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2016-02-11T08:26:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5a75991b263a16d994a3f30c5d7f831809dc4894'/>
<id>urn:sha1:5a75991b263a16d994a3f30c5d7f831809dc4894</id>
<content type='text'>
OpenPOWER firmware doesn't like it when the host-side of the VUART's
FIFO is not drained. This change only disables host TX discard mode when
the port has been opened.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Tested-by: Norman James &lt;njames@us.ibm.com&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>serial/aspeed-vuart: Fix typo</title>
<updated>2016-02-10T06:22:03+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2016-02-10T06:22:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=5cda34e6f52b09c4d78415270ddfc15dff2852f6'/>
<id>urn:sha1:5cda34e6f52b09c4d78415270ddfc15dff2852f6</id>
<content type='text'>
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>serial/aspeed-vuart: Disable host TX discard mode during init</title>
<updated>2016-02-10T06:20:56+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2016-02-09T14:25:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=558a38dc28c4423caded7431d957717530326f0b'/>
<id>urn:sha1:558a38dc28c4423caded7431d957717530326f0b</id>
<content type='text'>
If host TX discard mode is enabled, we don't see the LSR[RBR} bit
getting set on new characters written on the host side. This makes the
VUART a little useless.

This change set this bit during VUART initialisation, to disable host
TX discard.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
</content>
</entry>
<entry>
<title>drivers/serial: Add driver for Aspeed virtual UART</title>
<updated>2016-01-30T00:34:18+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2016-01-29T04:55:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=443baf3c2b8204f0e3567394a9441acfa291a327'/>
<id>urn:sha1:443baf3c2b8204f0e3567394a9441acfa291a327</id>
<content type='text'>
This change adds a driver for the 16550-based Aspeed virtual UART
device. We use a similar process to the of_serial driver for device
probe, but expose some VUART-specific functions through sysfs too.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial: 8250_dma: don't bother DMA with small transfers"</title>
<updated>2015-10-18T04:24:46+00:00</updated>
<author>
<name>Frederic Danis</name>
<email>frederic.danis@linux.intel.com</email>
</author>
<published>2015-10-09T15:14:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f967fc8f165fadb72166f2bd4785094b3ca21307'/>
<id>urn:sha1:f967fc8f165fadb72166f2bd4785094b3ca21307</id>
<content type='text'>
This reverts commit 9119fba0cfeda6d415c9f068df66838a104b87cb.

This commit prevents from sending "big" file using Bluetooth.
When sending a lot of data quickly through the Bluetooth interface, and
after a variable amount of data sent, transfer fails with error:
    kernel: [  415.247453] Bluetooth: hci0 hardware error 0x00

Found on T100TA.

After reverting this commit, send works fine for any file size.

Signed-off-by: Frederic Danis &lt;frederic.danis@linux.intel.com&gt;
Fixes: 9119fba0cfed (serial: 8250_dma: don't bother DMA with small transfers)
Cc: stable@vger.kernel.org
Reviewed-by: Heikki Krogerus &lt;heikki.krogerus@linux.intel.com&gt;
Acked-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250: add uart_config entry for PORT_RT2880</title>
<updated>2015-10-04T18:16:12+00:00</updated>
<author>
<name>Mans Rullgard</name>
<email>mans@mansr.com</email>
</author>
<published>2015-10-02T16:50:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=3c5a0357fdb3a9116a48dbdb0abb91fd23fbff80'/>
<id>urn:sha1:3c5a0357fdb3a9116a48dbdb0abb91fd23fbff80</id>
<content type='text'>
This adds an entry to the uart_config table for PORT_RT2880
enabling rx/tx FIFOs.  The UART is actually a Palmchip BK-3103
which is found in several devices from Alchemy/RMI, Ralink, and
Sigma Designs.

Signed-off-by: Mans Rullgard &lt;mans@mansr.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: atmel: fix error path of probe function</title>
<updated>2015-10-04T17:51:42+00:00</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2015-09-23T06:57:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=8f1bd8f2ad2358d6a88c115481ff3e69817d1bde'/>
<id>urn:sha1:8f1bd8f2ad2358d6a88c115481ff3e69817d1bde</id>
<content type='text'>
If atmel_init_gpios fails the port has already been marked as busy (in
line 2629), so this must be undone in the error path.

This bug was introduced because I created the patch that finally
became 722ccf416ac2 ("serial: atmel: fix error handling when
mctrl_gpio_init fails") on top of 3.19 which didn't have commit
6fbb9bdf0f3f ("tty/serial: at91: fix error handling in
atmel_serial_probe()") yet.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Fixes: 722ccf416ac2 ("serial: atmel: fix error handling when mctrl_gpio_init fails")
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial: imx: remove unbalanced clk_prepare"</title>
<updated>2015-10-04T17:51:42+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2015-08-18T15:43:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=0c727a42043f79db210cdde0366f9137b9c6bf5a'/>
<id>urn:sha1:0c727a42043f79db210cdde0366f9137b9c6bf5a</id>
<content type='text'>
This reverts commit 9e7b399d6528eac33a6fbfceb2b92af209c3454d.

Commit ("9e7b399d6528ea") causes the following warning and sometimes
also hangs the system:

------------[ cut here ]------------
 WARNING: CPU: 0 PID: 0 at kernel/locking/mutex.c:868 mutex_trylock+0x20c/0x22c()
 DEBUG_LOCKS_WARN_ON(in_interrupt())
 Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.2.0-rc7-next-20150818-00001-g14418a6 #4
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
Backtrace:
[&lt;80012f08&gt;] (dump_backtrace) from [&lt;800130a4&gt;] (show_stack+0x18/0x1c)
r6:00000364 r5:00000000 r4:00000000 r3:00000000
[&lt;8001308c&gt;] (show_stack) from [&lt;807902b8&gt;] (dump_stack+0x88/0xa4)
[&lt;80790230&gt;] (dump_stack) from [&lt;8002a604&gt;] (warn_slowpath_common+0x80/0xbc)
r5:807945c4 r4:80ab3b50
[&lt;8002a584&gt;] (warn_slowpath_common) from [&lt;8002a6e4&gt;] (warn_slowpath_fmt+0x38/0x40)
r8:00000000 r7:8131100c r6:8054c3cc r5:8131300c r4:80b0a570
[&lt;8002a6b0&gt;] (warn_slowpath_fmt) from [&lt;807945c4&gt;] (mutex_trylock+0x20c/0x22c)
r3:8095d0d8 r2:8095ab28
[&lt;807943b8&gt;] (mutex_trylock) from [&lt;8054c3cc&gt;] (clk_prepare_lock+0x14/0xf4)
r7:8131100c r6:be3f0c80 r5:00000037 r4:be3f0c80
[&lt;8054c3b8&gt;] (clk_prepare_lock) from [&lt;8054dbfc&gt;] (clk_prepare+0x18/0x30)
r5:00000037 r4:be3f0c80
[&lt;8054dbe4&gt;] (clk_prepare) from [&lt;8036a600&gt;] (imx_console_write+0x30/0x244)
r4:812d0bc8 r3:8132b9a4

To reproduce the problem we only need to let the board idle for something
like 30 seconds.

Tested on a imx6q-sabresd.

Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Reviewed-by: Eduardo Valentin &lt;edubezval@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: serial: Add missing module license for 8250_base.ko</title>
<updated>2015-09-22T16:09:15+00:00</updated>
<author>
<name>Jonathan McDowell</name>
<email>noodles@earth.li</email>
</author>
<published>2015-09-21T20:23:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/BMC/Intel-BMC/linux.git/commit/?id=f7a7651fcd40a2bf29357ffeaee176fb159bcddb'/>
<id>urn:sha1:f7a7651fcd40a2bf29357ffeaee176fb159bcddb</id>
<content type='text'>
The split of the 8250 driver into a 8250_base/8250.ko resulted in a
lack of a license for the 8250_base.ko module. This caused the module
to fail to load and the kernel to be tainted. Add the appropriate
MODULE_LICENSE to 8250_port.c, which is always compiled into
8250_base.ko

Signed-off-by: Jonathan McDowell &lt;noodles@earth.li&gt;
Reported-by: Mikael Pettersson &lt;mikpelinux@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
