<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/tty/synclink.c, branch linux-3.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-09-05T20:28:35Z</updated>
<entry>
<title>serial: add a new helper function</title>
<updated>2012-09-05T20:28:35Z</updated>
<author>
<name>Huang Shijie</name>
</author>
<published>2012-08-23T02:13:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f21ec3d2d46e5f2ffc06f31fe2704fdcea7a58f3'/>
<id>urn:sha1:f21ec3d2d46e5f2ffc06f31fe2704fdcea7a58f3</id>
<content type='text'>
In most of the time, the driver needs to check if the cts flow control
is enabled. But now, the driver checks the ASYNC_CTS_FLOW flag manually,
which is not a grace way. So add a new wraper function to make the code
tidy and clean.

Signed-off-by: Huang Shijie &lt;shijie8@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>TTY: synclink, add tty install</title>
<updated>2012-08-13T23:53:13Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-08-07T19:48:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a3ad1047593f1f6f431140f7dd9748423c51cd1'/>
<id>urn:sha1:8a3ad1047593f1f6f431140f7dd9748423c51cd1</id>
<content type='text'>
This has two outcomes:
* we give the TTY layer a tty_port
* we do not find the info structure every time open is called on that
  tty

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Acked-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: localise the lock</title>
<updated>2012-08-10T19:55:47Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-08-08T15:30:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=89c8d91e31f267703e365593f6bfebb9f6d2ad01'/>
<id>urn:sha1:89c8d91e31f267703e365593f6bfebb9f6d2ad01</id>
<content type='text'>
The termios and other changes mean the other protections needed on the driver
tty arrays should be adequate. Turn it all back on.

This contains pieces folded in from the fixes made to the original patches

| From: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;	(fix m68k)
| From: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;	(fix cris)
| From: Jiri Kosina &lt;jkosina@suze.cz&gt;			(lockdep)
| From: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;		(lockdep)

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: move the termios object into the tty</title>
<updated>2012-07-16T20:00:41Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-07-14T14:31:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=adc8d746caa67fff4b53ba3e5163a6cbacc3b523'/>
<id>urn:sha1:adc8d746caa67fff4b53ba3e5163a6cbacc3b523</id>
<content type='text'>
This will let us sort out a whole pile of tty related races. The
alternative would be to keep points and refcount the termios objects.
However
1. They are tiny anyway
2. Many devices don't use the stored copies
3. We can remove a pty special case

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: revert incorrectly applied lock patch</title>
<updated>2012-07-16T19:58:12Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-07-14T14:31:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d31a88cb2e01d46c0cb74aa5da529e1f92ae3db'/>
<id>urn:sha1:6d31a88cb2e01d46c0cb74aa5da529e1f92ae3db</id>
<content type='text'>
I sent GregKH this after the pre-requisites. He dropped the pre-requesites
for good reason and unfortunately then applied this patch. Without this
reverted you get random kernel memory corruption which will make bisecting
anything between it and the properly applied patches a complete sod.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: localise the lock</title>
<updated>2012-07-06T21:24:52Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-06-29T13:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f5e3bcc504c3c35cc6e06a9ee42efed7c274066b'/>
<id>urn:sha1:f5e3bcc504c3c35cc6e06a9ee42efed7c274066b</id>
<content type='text'>
The termios and other changes mean the other protections needed on the driver
tty arrays should be adequate. Turn it all back on.

This contains pieces folded in from the fixes made to the original patches

| From: Geert Uytterhoeven &lt;geert@linux-m68k.org&gt;	(fix m68k)
| From: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;	(fix cris)
| From: Jiri Kosina &lt;jkosina@suze.cz&gt;			(lockdep)
| From: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;		(lockdep)

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tty: Revert the tty locking series, it needs more work</title>
<updated>2012-06-02T22:21:43Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2012-06-02T22:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f309532bf3e1cc1b787403d84e3039812a7dbe50'/>
<id>urn:sha1:f309532bf3e1cc1b787403d84e3039812a7dbe50</id>
<content type='text'>
This reverts the tty layer change to use per-tty locking, because it's
not correct yet, and fixing it will require some more deep surgery.

The main revert is d29f3ef39be4 ("tty_lock: Localise the lock"), but
there are several smaller commits that built upon it, they also get
reverted here. The list of reverted commits is:

  fde86d310886 - tty: add lockdep annotations
  8f6576ad476b - tty: fix ldisc lock inversion trace
  d3ca8b64b97e - pty: Fix lock inversion
  b1d679afd766 - tty: drop the pty lock during hangup
  abcefe5fc357 - tty/amiserial: Add missing argument for tty_unlock()
  fd11b42e3598 - cris: fix missing tty arg in wait_event_interruptible_tty call
  d29f3ef39be4 - tty_lock: Localise the lock

The revert had a trivial conflict in the 68360serial.c staging driver
that got removed in the meantime.

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>tty_lock: Localise the lock</title>
<updated>2012-05-04T23:58:47Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2012-05-03T21:24:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d29f3ef39be4eec0362b985305fc526d9be318cf'/>
<id>urn:sha1:d29f3ef39be4eec0362b985305fc526d9be318cf</id>
<content type='text'>
In each remaining case the tty_lock is associated with a specific tty. This
means we can now lock on a per tty basis. We do need tty_lock_pair() for
the pty case. Uglier but still a step in the right direction.

[fixed up calls in 3 missing drivers - gregkh]

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Remove all #inclusions of asm/system.h</title>
<updated>2012-03-28T17:30:03Z</updated>
<author>
<name>David Howells</name>
</author>
<published>2012-03-28T17:30:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ffc93f203c18a70623f21950f1dd473c9ec48cd'/>
<id>urn:sha1:9ffc93f203c18a70623f21950f1dd473c9ec48cd</id>
<content type='text'>
Remove all #inclusions of asm/system.h preparatory to splitting and killing
it.  Performed with the following command:

perl -p -i -e 's!^#\s*include\s*&lt;asm/system[.]h&gt;.*\n!!' `grep -Irl '^#\s*include\s*&lt;asm/system[.]h&gt;' *`

Signed-off-by: David Howells &lt;dhowells@redhat.com&gt;
</content>
</entry>
<entry>
<title>TTY: remove unneeded tty-&gt;index checks</title>
<updated>2012-03-08T19:42:21Z</updated>
<author>
<name>Jiri Slaby</name>
</author>
<published>2012-03-05T13:52:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=410235fd4d20b8feaf8930a0575d23acc088aa87'/>
<id>urn:sha1:410235fd4d20b8feaf8930a0575d23acc088aa87</id>
<content type='text'>
Checking if tty-&gt;index is in bounds is not needed. The tty has the
index set in the initial open. This is done in get_tty_driver. And it
can be only in interval &lt;0,driver-&gt;num).

So remove the tests which check exactly this interval. Some are
left untouched as they check against the current backing device count.
(Leaving apart that the check is racy in most of the cases.)

Signed-off-by: Jiri Slaby &lt;jslaby@suse.cz&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
