<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/tty/serial/8250, branch linux-5.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-11-10T10:34:10Z</updated>
<entry>
<title>8250-men-mcb: fix error checking when get_num_ports returns -ENODEV</title>
<updated>2019-11-10T10:34:10Z</updated>
<author>
<name>Colin Ian King</name>
</author>
<published>2019-10-13T22:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae4399c1afde926fe98878b1b5bc7041e696966d'/>
<id>urn:sha1:ae4399c1afde926fe98878b1b5bc7041e696966d</id>
<content type='text'>
[ Upstream commit f50b6805dbb993152025ec04dea094c40cc93a0c ]

The current checking for failure on the number of ports fails when
-ENODEV is returned from the call to get_num_ports. Fix this by making
num_ports and loop counter i signed rather than unsigned ints. Also
add check for num_ports being less than zero to check for -ve error
returns.

Addresses-Coverity: ("Unsigned compared against 0")
Fixes: e2fea54e4592 ("8250-men-mcb: add support for 16z025 and 16z057")
Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Reviewed-by: Michael Moese &lt;mmoese@suse.de&gt;
Link: https://lore.kernel.org/r/20191013220016.9369-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250_omap: Fix gpio check for auto RTS/CTS</title>
<updated>2019-11-06T12:08:18Z</updated>
<author>
<name>Adam Ford</name>
</author>
<published>2019-10-06T16:33:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=622df2b29ba57809c83210f56451fa3cc6b1ec16'/>
<id>urn:sha1:622df2b29ba57809c83210f56451fa3cc6b1ec16</id>
<content type='text'>
[ Upstream commit fc64f7abbef2dae7ee4c94702fb3cf9a2be5431a ]

There are two checks to see if the manual gpio is configured, but
these the check is seeing if the structure is NULL instead it
should check to see if there are CTS and/or RTS pins defined.

This patch uses checks for those individual pins instead of
checking for the structure itself to restore auto RTS/CTS.

Signed-off-by: Adam Ford &lt;aford173@gmail.com&gt;
Reviewed-by: Yegor Yefremov &lt;yegorslists@googlemail.com&gt;
Link: https://lore.kernel.org/r/20191006163314.23191-2-aford173@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250: 8250_core: Fix missing unlock on error in serial8250_register_8250_port()</title>
<updated>2019-07-03T17:28:40Z</updated>
<author>
<name>Wei Yongjun</name>
</author>
<published>2019-07-03T05:59:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7a8f766482fa5893ca95cbf83195e60e96e389e'/>
<id>urn:sha1:b7a8f766482fa5893ca95cbf83195e60e96e389e</id>
<content type='text'>
Add the missing unlock before return from function serial8250_register_8250_port()
in the error handling case.

Signed-off-by: Wei Yongjun &lt;weiyongjun1@huawei.com&gt;
Link: https://lore.kernel.org/r/20190703055908.141294-1-weiyongjun1@huawei.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial: 8250: Don't service RX FIFO if interrupts are disabled"</title>
<updated>2019-06-21T09:07:34Z</updated>
<author>
<name>Oliver Barta</name>
</author>
<published>2019-06-19T08:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f2640ed7be838c3f05c0d2b0f7c7508e7431e48'/>
<id>urn:sha1:3f2640ed7be838c3f05c0d2b0f7c7508e7431e48</id>
<content type='text'>
This reverts commit 2e9fe539108320820016f78ca7704a7342788380.

Reading LSR unconditionally but processing the error flags only if
UART_IIR_RDI bit was set before in IIR may lead to a loss of transmission
error information on UARTs where the transmission error flags are cleared
by a read of LSR. Information are lost in case an error is detected right
before the read of LSR while processing e.g. an UART_IIR_THRI interrupt.

Signed-off-by: Oliver Barta &lt;o.barta89@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Fixes: 2e9fe5391083 ("serial: 8250: Don't service RX FIFO if interrupts are disabled")
Cc: stable &lt;stable@vger.kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty/serial/8250: use mctrl_gpio helpers</title>
<updated>2019-06-21T08:18:43Z</updated>
<author>
<name>Yegor Yefremov</name>
</author>
<published>2019-06-20T06:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a96895f74c9633b51427fd080ab70fa62b65bc4'/>
<id>urn:sha1:4a96895f74c9633b51427fd080ab70fa62b65bc4</id>
<content type='text'>
This patch permits the usage for GPIOs to control
the CTS/RTS/DTR/DSR/DCD/RI signals.

Changed by Stefan:
Only call mctrl_gpio_init(), if the device has no ACPI companion device
to not break existing ACPI based systems. Also only use the mctrl_gpio_
functions when "gpios" is available.

Use MSR / MCR &lt;-&gt; TIOCM wrapper functions.

Signed-off-by: Yegor Yefremov &lt;yegorslists@googlemail.com&gt;
Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Reviewed-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Tested-by: Yegor Yefremov &lt;yegorslists@googlemail.com&gt;
Cc: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Cc: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Cc: Giulio Benetti &lt;giulio.benetti@micronovasrl.com&gt;
Cc: Yegor Yefremov &lt;yegorslists@googlemail.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250: pericom_do_set_divisor can be static</title>
<updated>2019-06-18T11:37:57Z</updated>
<author>
<name>kbuild test robot</name>
</author>
<published>2019-06-18T11:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=607ea69d2621b08b03a5c87de099be68a4e2bcf7'/>
<id>urn:sha1:607ea69d2621b08b03a5c87de099be68a4e2bcf7</id>
<content type='text'>
Fixes: 6bf4e42f1d19 ("serial: 8250: Add support for higher baud rates to Pericom chips")
Signed-off-by: kbuild test robot &lt;lkp@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250: Add MSR/MCR TIOCM conversion wrapper functions</title>
<updated>2019-06-18T07:36:56Z</updated>
<author>
<name>Stefan Roese</name>
</author>
<published>2019-06-13T15:45:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42912081481c6303d880f315223f725ee813c8f1'/>
<id>urn:sha1:42912081481c6303d880f315223f725ee813c8f1</id>
<content type='text'>
This patch adds wrapper functions to convert MSR &lt;-&gt; TIOCM and also
MCR &lt;-&gt; TIOCM. These functions are used now in serial8250_do_set_mctrl()
and serial8250_do_get_mctrl().

Signed-off-by: Stefan Roese &lt;sr@denx.de&gt;
Suggested-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Cc: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Cc: Yegor Yefremov &lt;yegorslists@googlemail.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Giulio Benetti &lt;giulio.benetti@micronovasrl.com&gt;
Reviewed-by: Mika Westerberg &lt;mika.westerberg@linux.intel.com&gt;
Reviewed-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: factor out serial8250_{set,clear}_THRI() helpers</title>
<updated>2019-06-18T07:36:55Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2019-06-17T13:53:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e267b2956f122b3b86c09447e8791727f9d2624'/>
<id>urn:sha1:7e267b2956f122b3b86c09447e8791727f9d2624</id>
<content type='text'>
Factor out similar code pieces that set or clear UART_IER_THRI bit to
serial8250_{set,clear}_THRI() helpers.

Signed-off-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 support for higher baud rates to Pericom chips</title>
<updated>2019-06-18T07:32:04Z</updated>
<author>
<name>Jay Dolan</name>
</author>
<published>2019-06-11T11:47:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6bf4e42f1d19de10800f4483b4bb7945aab283cb'/>
<id>urn:sha1:6bf4e42f1d19de10800f4483b4bb7945aab283cb</id>
<content type='text'>
The Pericom chips can achieve additional baud rates by programming the
sample clock register. The baud rates can be described as
921600 * 16 / (16 - scr) for scr values 5 to 15. The divisor is set to 1
for these baud rates.

Adds new quirk for Pericom chips other than the four port chips to use
the

Signed-off-by: Jay Dolan &lt;jay.dolan@accesio.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial: 8250: Fix TX interrupt handling condition</title>
<updated>2019-06-10T17:14:01Z</updated>
<author>
<name>Rautkoski Kimmo EXT</name>
</author>
<published>2019-05-24T09:19:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db1b5bc047b3cadaedab3826bba82c3d9e023c4b'/>
<id>urn:sha1:db1b5bc047b3cadaedab3826bba82c3d9e023c4b</id>
<content type='text'>
Interrupt handler checked THRE bit (transmitter holding register
empty) in LSR to detect if TX fifo is empty.
In case when there is only receive interrupts the TX handling
got called because THRE bit in LSR is set when there is no
transmission (FIFO empty). TX handling caused TX stop, which in
RS-485 half-duplex mode actually resets receiver FIFO. This is not
desired during reception because of possible data loss.

The fix is to check if THRI is set in IER in addition of the TX
fifo status. THRI in IER is set when TX is started and cleared
when TX is stopped.
This ensures that TX handling is only called when there is really
transmission on going and an interrupt for THRE and not when there
are only RX interrupts.

Signed-off-by: Kimmo Rautkoski &lt;ext-kimmo.rautkoski@vaisala.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
