<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/char/hvsi.c, branch master</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=master</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2011-01-13T20:03:00Z</updated>
<entry>
<title>tty: move hvc drivers to drivers/tty/hvc/</title>
<updated>2011-01-13T20:03:00Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2011-01-13T20:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=728674a7e466628df2aeec6d11a2ae1ef968fb67'/>
<id>urn:sha1:728674a7e466628df2aeec6d11a2ae1ef968fb67</id>
<content type='text'>
As requested by Arnd Bergmann, the hvc drivers are now
moved to the drivers/tty/hvc/ directory.  The virtio_console.c driver
was also moved, as it required the hvc_console.h file to be able to be
built, and it really is a hvc driver.

Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>hvsi: don't use flush_scheduled_work()</title>
<updated>2010-12-24T14:59:07Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2010-12-24T14:59:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=42565999d1e0b8a0c5b4a0d475c26cf3d567e85e'/>
<id>urn:sha1:42565999d1e0b8a0c5b4a0d475c26cf3d567e85e</id>
<content type='text'>
flush_scheduled_work() is deprecated and scheduled to be removed.
Directly cancel hp-&gt;writer and flush hp-&gt;handshaker instead.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>Input: sysrq - drop tty argument form handle_sysrq()</title>
<updated>2010-08-21T07:34:45Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2010-08-18T04:15:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f335397d177c906256ee1bba28e8c49e8ec63817'/>
<id>urn:sha1:f335397d177c906256ee1bba28e8c49e8ec63817</id>
<content type='text'>
Sysrq operations do not accept tty argument anymore so no need to pass
it to us.

[Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;: fix build breakage in drm code
 caused by sysrq using bool but not including linux/types.h]

[Sachin Sant &lt;sachinp@in.ibm.com&gt;: fix build breakage in s390 keyboadr
 driver]

Acked-by: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Acked-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>hvc_console: use "*_console" nomenclature to avoid modpost warning.</title>
<updated>2010-07-09T01:28:24Z</updated>
<author>
<name>Chris Metcalf</name>
<email>cmetcalf@tilera.com</email>
</author>
<published>2010-07-06T08:03:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4455b1191cabbf7ecada800b7cfeccddb0af2b3a'/>
<id>urn:sha1:4455b1191cabbf7ecada800b7cfeccddb0af2b3a</id>
<content type='text'>
The use of "hvc_con_driver" as the name for a file-static "struct
console" with a ".setup" field pointing to an __init function causes
a modpost warning, since a non-initdata structure points to init code.
Using "hvc_console" as the name triggers the hacky "*_console"
workaround in modpost to silence the warning, and is the same thing
that most of the other console drivers already do.

I made the same change in hvsi.c since I happened to notice it was
likely to suffer from the same problem.

Signed-off-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>hvsi: fix messed up error checking getting state name</title>
<updated>2010-05-25T15:07:03Z</updated>
<author>
<name>Phil Carmody</name>
<email>ext-phil.2.carmody@nokia.com</email>
</author>
<published>2010-05-24T21:33:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=08a82c6872ac1d37cb993a52f1b35f97f48295bd'/>
<id>urn:sha1:08a82c6872ac1d37cb993a52f1b35f97f48295bd</id>
<content type='text'>
Handle out-of-range indices before reading what they refer to.  And don't
access the one-past-the-end element of the array either.

Signed-off-by: Phil Carmody &lt;ext-phil.2.carmody@nokia.com&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Cc: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>powerpc/hvsi: Avoid calculating possibly-invalid address</title>
<updated>2009-08-20T00:29:28Z</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-08-06T13:00:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=728656506447b3b349d082a7fb99445f9cb0caaa'/>
<id>urn:sha1:728656506447b3b349d082a7fb99445f9cb0caaa</id>
<content type='text'>
Check whether index is within bounds prior to calculating a
possibly-invalid address.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Cc: Bernd Petrovitsch &lt;bernd@firmix.at&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>hvc_console: Remove tty-&gt;low_latency on pseries backends</title>
<updated>2009-03-10T23:44:26Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2009-03-09T14:36:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=187cfc439f7b1a7c91ff72d561b2a7c9c0b83431'/>
<id>urn:sha1:187cfc439f7b1a7c91ff72d561b2a7c9c0b83431</id>
<content type='text'>
The hvcs and hvsi backends both set tty-&gt;low_latency to one, along
with more or less scary comments regarding bugs or races that would
happen if not doing so.

However, they also both call tty_flip_buffer_push() in conexts where
it's illegal to do so since some recent tty changes (or at least it
may have been illegal always but it nows blows) when low_latency is
set (ie, hard interrupt or with spinlock held and irqs disabled).

This removes the setting for now to get them back to working condition,
we'll have to address the races described in the comments separately
if they are still an issue (some of this might have been fixed already).

Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>tty: Remove some pointless casts</title>
<updated>2009-01-02T18:19:40Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@redhat.com</email>
</author>
<published>2009-01-02T13:47:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b'/>
<id>urn:sha1:c9f19e96a2f33cd56c2bd19f87a0c4982d011c2b</id>
<content type='text'>
disc_data and driver_data are void *

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Make open count variables signed in hvcs/hvsi/hvc_console</title>
<updated>2008-12-03T10:04:13Z</updated>
<author>
<name>roel kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2008-12-02T11:21:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=3d26825ec03f623f20ba860e6e6113ab2d0bb0f1'/>
<id>urn:sha1:3d26825ec03f623f20ba860e6e6113ab2d0bb0f1</id>
<content type='text'>
Otherwise the tests for count &lt; 0 will never be true.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.com&gt;
Signed-off-by: Paul Mackerras &lt;paulus@samba.org&gt;
</content>
</entry>
<entry>
<title>drivers/char: replace remaining __FUNCTION__ occurrences</title>
<updated>2008-04-30T15:29:54Z</updated>
<author>
<name>Harvey Harrison</name>
<email>harvey.harrison@gmail.com</email>
</author>
<published>2008-04-30T07:55:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bf9d89295233ae2ba7b312c78ee5657307b09f4c'/>
<id>urn:sha1:bf9d89295233ae2ba7b312c78ee5657307b09f4c</id>
<content type='text'>
__FUNCTION__ is gcc-specific, use __func__

Signed-off-by: Harvey Harrison &lt;harvey.harrison@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
