<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/tty/serial/uartlite.c, branch v5.9</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v5.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v5.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2020-07-21T18:04:54Z</updated>
<entry>
<title>tty: serial: uartlite: Replace HTTP links with HTTPS ones</title>
<updated>2020-07-21T18:04:54Z</updated>
<author>
<name>Alexander A. Klimov</name>
<email>grandmaster@al2klimov.de</email>
</author>
<published>2020-07-18T10:08:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=82ee0b147cac6111498ae841ab2afbe046a304f1'/>
<id>urn:sha1:82ee0b147cac6111498ae841ab2afbe046a304f1</id>
<content type='text'>
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.

Deterministic algorithm:
For each file:
  If not .svg:
    For each line:
      If doesn't contain `\bxmlns\b`:
        For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:
	  If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`:
            If both the HTTP and HTTPS versions
            return 200 OK and serve the same content:
              Replace HTTP with HTTPS.

Signed-off-by: Alexander A. Klimov &lt;grandmaster@al2klimov.de&gt;
Link: https://lore.kernel.org/r/20200718100807.983-1-grandmaster@al2klimov.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial-uartlite: Move the uart register"</title>
<updated>2019-11-13T22:29:08Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-11-13T22:29:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f4c47547b40a212f4eb017297f9d232ac09f7aaf'/>
<id>urn:sha1:f4c47547b40a212f4eb017297f9d232ac09f7aaf</id>
<content type='text'>
This reverts commit f33cf776617ba3b0f738cd70c31e0f62ea777a8d.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
    https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold &lt;johan@kernel.org&gt;
Cc: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial-uartlite: Add get serial id if not provided"</title>
<updated>2019-11-13T22:28:40Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-11-13T22:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4c516896323109a5096f5049b3dbf04ad99af54d'/>
<id>urn:sha1:4c516896323109a5096f5049b3dbf04ad99af54d</id>
<content type='text'>
This reverts commit 62104b280a5a5d999c562d8e8f4c6c4eb97fb013.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
    https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold &lt;johan@kernel.org&gt;
Cc: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial-uartlite: Do not use static struct uart_driver out of probe()"</title>
<updated>2019-11-13T22:28:15Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-11-13T22:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5d8508aa079a2aa70d1e67f087c47f459c30ca93'/>
<id>urn:sha1:5d8508aa079a2aa70d1e67f087c47f459c30ca93</id>
<content type='text'>
This reverts commit 3b209d253e7f8aa01fde0233d38a7239c8f7beb3.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
    https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold &lt;johan@kernel.org&gt;
Cc: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial-uartlite: Add runtime support"</title>
<updated>2019-11-13T22:25:17Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-11-13T22:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=07e5d4ff125ad0c77b129212801155d9f1bc5bdf'/>
<id>urn:sha1:07e5d4ff125ad0c77b129212801155d9f1bc5bdf</id>
<content type='text'>
This reverts commit 0379b1163e509cfc4c18643b27231c04c78981ab.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
    https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold &lt;johan@kernel.org&gt;
Cc: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial-uartlite: Change logic how console_port is setup"</title>
<updated>2019-11-13T22:22:56Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-11-13T22:22:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5042ffbc95d92e8a282b744e312542d348cef4fe'/>
<id>urn:sha1:5042ffbc95d92e8a282b744e312542d348cef4fe</id>
<content type='text'>
This reverts commit d338838c09dee338dd86f479f554d18401068978.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
    https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold &lt;johan@kernel.org&gt;
Cc: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Revert "serial-uartlite: Use allocated structure instead of static ones"</title>
<updated>2019-11-13T22:20:35Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2019-11-13T22:20:35Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=61ad2a021d1db456a61293927f2879c980e88273'/>
<id>urn:sha1:61ad2a021d1db456a61293927f2879c980e88273</id>
<content type='text'>
This reverts commit a00d9db8952b44f4d165e5200fff03c80a84947f.

As Johan says, this driver needs a lot more work and these changes are
only going in the wrong direction:
	https://lkml.kernel.org/r/20190523091839.GC568@localhost

Reported-by: Johan Hovold &lt;johan@kernel.org&gt;
Cc: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Cc: Michal Simek &lt;michal.simek@xilinx.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial-uartlite: Use allocated structure instead of static ones</title>
<updated>2019-11-13T13:54:15Z</updated>
<author>
<name>Shubhrajyoti Datta</name>
<email>shubhrajyoti.datta@xilinx.com</email>
</author>
<published>2019-11-12T10:41:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a00d9db8952b44f4d165e5200fff03c80a84947f'/>
<id>urn:sha1:a00d9db8952b44f4d165e5200fff03c80a84947f</id>
<content type='text'>
Remove the use of the static uartlite structure.

Signed-off-by: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Signed-off-by: Michal Simek &lt;michal.simek@xilinx.com&gt;
Link: https://lore.kernel.org/r/1573555271-2579-2-git-send-email-shubhrajyoti.datta@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>serial-uartlite: Change logic how console_port is setup</title>
<updated>2019-11-13T13:54:15Z</updated>
<author>
<name>Shubhrajyoti Datta</name>
<email>shubhrajyoti.datta@xilinx.com</email>
</author>
<published>2019-11-12T10:41:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d338838c09dee338dd86f479f554d18401068978'/>
<id>urn:sha1:d338838c09dee338dd86f479f554d18401068978</id>
<content type='text'>
Change logic how console_port is setup by using CON_ENABLED flag
instead of index. There will be unique uart_console
structure that's why code can't use id for console_port
assignment.

Signed-off-by: Shubhrajyoti Datta &lt;shubhrajyoti.datta@xilinx.com&gt;
Link: https://lore.kernel.org/r/1573555271-2579-1-git-send-email-shubhrajyoti.datta@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: serial: uartlite: use clk_disable_unprepare to match clk_prepare_enable</title>
<updated>2019-11-04T16:45:32Z</updated>
<author>
<name>Chuhong Yuan</name>
<email>hslester96@gmail.com</email>
</author>
<published>2019-11-01T08:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=6a7ce07d6cb7345619c89c6aeab9c14ce9d7f354'/>
<id>urn:sha1:6a7ce07d6cb7345619c89c6aeab9c14ce9d7f354</id>
<content type='text'>
The driver uses clk_prepare_enable in ulite_probe but uses clk_unprepare
in ulite_remove, which does not match.
Replace clk_unprepare with clk_disable_unprepare to fix it.

Signed-off-by: Chuhong Yuan &lt;hslester96@gmail.com&gt;
Link: https://lore.kernel.org/r/20191101085433.10399-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
