<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/s390/char, branch linux-2.6.28.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.28.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-11-14T17:18:52Z</updated>
<entry>
<title>[S390] sclp: emit error message if assign storage fails</title>
<updated>2008-11-14T17:18:52Z</updated>
<author>
<name>Heiko Carstens</name>
</author>
<published>2008-11-14T17:18:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=675be97a32a5f12650b86391b7431f1e10811f1e'/>
<id>urn:sha1:675be97a32a5f12650b86391b7431f1e10811f1e</id>
<content type='text'>
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] tape: disable interrupts in tape_open and tape_release</title>
<updated>2008-10-28T10:12:05Z</updated>
<author>
<name>Frank Munzert</name>
</author>
<published>2008-10-28T10:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b3c21e4919c8598c58faaa0a650dc398baddd993'/>
<id>urn:sha1:b3c21e4919c8598c58faaa0a650dc398baddd993</id>
<content type='text'>
Get tape device lock with interrupts disabled. Otherwise lockdep will issue a
warning similar to:

=================================
[ INFO: inconsistent lock state ]
2.6.27 #1
---------------------------------
inconsistent {in-hardirq-W} -&gt; {hardirq-on-W} usage.
vol_id/2903 [HC0[0]:SC0[0]:HE1:SE1] takes:
 (sch-&gt;lock){++..}, at: [&lt;000003e00004c7a2&gt;] tape_open+0x42/0x1a4 [tape]
{in-hardirq-W} state was registered at:
  [&lt;000000000007ce5c&gt;] __lock_acquire+0x894/0xa74
  [&lt;000000000007d0ce&gt;] lock_acquire+0x92/0xb8
  [&lt;0000000000345154&gt;] _spin_lock+0x5c/0x9c
  [&lt;0000000000202264&gt;] do_IRQ+0x124/0x1f0
  [&lt;0000000000026610&gt;] io_return+0x0/0x8

irq event stamp: 847
hardirqs last  enabled at (847): [&lt;000000000007aca6&gt;] trace_hardirqs_on+0x2a/0x38
hardirqs last disabled at (846): [&lt;0000000000076ca2&gt;] trace_hardirqs_off+0x2a/0x38
softirqs last  enabled at (0): [&lt;000000000004909e&gt;] copy_process+0x43e/0x11f4
softirqs last disabled at (0): [&lt;0000000000000000&gt;] 0x0

other info that might help us debug this:
1 lock held by vol_id/2903:
 #0:  (&amp;bdev-&gt;bd_mutex){--..}, at: [&lt;000000000010e0f4&gt;] do_open+0x78/0x358

stack backtrace:
CPU: 1 Not tainted 2.6.27 #1},
Process vol_id (pid: 2903, task: 000000003d4c0000, ksp: 000000003d4e3b10)
0400000000000000 000000003d4e3830 0000000000000002 0000000000000000
       000000003d4e38d0 000000003d4e3848 000000003d4e3848 00000000000168a8
       0000000000000000 000000003d4e3b10 0000000000000000 0000000000000000
       000000003d4e3830 000000000000000c 000000003d4e3830 000000003d4e38a0
       000000000034aa98 00000000000168a8 000000003d4e3830 000000003d4e3880
Call Trace:
([&lt;000000000001681c&gt;] show_trace+0x138/0x158)
 [&lt;0000000000016902&gt;] show_stack+0xc6/0xf8
 [&lt;00000000000170d4&gt;] dump_stack+0xb0/0xc0
 [&lt;0000000000078810&gt;] print_usage_bug+0x1e8/0x228
 [&lt;000000000007a71c&gt;] mark_lock+0xb14/0xd24
 [&lt;000000000007cd5a&gt;] __lock_acquire+0x792/0xa74
 [&lt;000000000007d0ce&gt;] lock_acquire+0x92/0xb8
 [&lt;0000000000345154&gt;] _spin_lock+0x5c/0x9c
 [&lt;000003e00004c7a2&gt;] tape_open+0x42/0x1a4 [tape]
 [&lt;000003e00005185c&gt;] tapeblock_open+0x98/0xd0 [tape]

Signed-off-by: Frank Munzert &lt;munzert@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[S390] tape block: complete request with correct locking</title>
<updated>2008-10-28T10:12:04Z</updated>
<author>
<name>Frank Munzert</name>
</author>
<published>2008-10-28T10:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a4a1ccd44c85c7d92b20a361e3854431c6935e0'/>
<id>urn:sha1:7a4a1ccd44c85c7d92b20a361e3854431c6935e0</id>
<content type='text'>
__blk_end_request must be called with request queue lock held. We need to use
blk_end_request rather than  __blk_end_request.

Signed-off-by: Frank Munzert &lt;munzert@de.ibm.com&gt;
Signed-off-by: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] switch tape_block</title>
<updated>2008-10-21T11:48:44Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-03-02T15:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e999af9b25d30461ae54debce92803f1b064383'/>
<id>urn:sha1:4e999af9b25d30461ae54debce92803f1b064383</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] beginning of methods conversion</title>
<updated>2008-10-21T11:47:32Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2008-03-02T14:09:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d4430d62fa77208824a37fe6f85ab2831d274769'/>
<id>urn:sha1:d4430d62fa77208824a37fe6f85ab2831d274769</id>
<content type='text'>
To keep the size of changesets sane we split the switch by drivers;
to keep the damn thing bisectable we do the following:
	1) rename the affected methods, add ones with correct
prototypes, make (few) callers handle both.  That's this changeset.
	2) for each driver convert to new methods.  *ALL* drivers
are converted in this series.
	3) kill the old (renamed) methods.

Note that it _is_ a flagday; all in-tree drivers are converted and by the
end of this series no trace of old methods remain.  The only reason why
we do that this way is to keep the damn thing bisectable and allow per-driver
debugging if anything goes wrong.

New methods:
	open(bdev, mode)
	release(disk, mode)
	ioctl(bdev, mode, cmd, arg)		/* Called without BKL */
	compat_ioctl(bdev, mode, cmd, arg)
	locked_ioctl(bdev, mode, cmd, arg)	/* Called with BKL, legacy */

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>device create: s390: convert device_create_drvdata to device_create</title>
<updated>2008-10-16T16:24:44Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2008-07-22T03:03:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ea9e42f627a45f979b4977009724eb114406e3c7'/>
<id>urn:sha1:ea9e42f627a45f979b4977009724eb114406e3c7</id>
<content type='text'>
Now that device_create() has been audited, rename things back to the
original call to be sane.

Cc: Martin Schwidefsky &lt;schwidefsky@de.ibm.com&gt;
Cc: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>fs3270: Correct error returns</title>
<updated>2008-10-13T16:51:44Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-10-13T09:46:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a18992d4652553f65469ac72b54b7fdd4f058277'/>
<id>urn:sha1:a18992d4652553f65469ac72b54b7fdd4f058277</id>
<content type='text'>
Drop the kernel lock further and also correct cases where we set rc to an
error code, and then return 0

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>fs3270: remove extra locks</title>
<updated>2008-10-13T16:51:44Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-10-13T09:45:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a90610e50b98e18385d4fbea2c9eaefb12c5a75c'/>
<id>urn:sha1:a90610e50b98e18385d4fbea2c9eaefb12c5a75c</id>
<content type='text'>
get_current_tty now does internal locking and returns a referenced object,
thus our use of tty_mutex here can go away.

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>tty: Redo current tty locking</title>
<updated>2008-10-13T16:51:41Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-10-13T09:40:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=934e6ebf96e8c1a0f299e64129fdaebc1132a427'/>
<id>urn:sha1:934e6ebf96e8c1a0f299e64129fdaebc1132a427</id>
<content type='text'>
Currently it is sometimes locked by the tty mutex and sometimes by the
sighand lock. The latter is in fact correct and now we can hand back referenced
objects we can fix this up without problems around sleeping functions.

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>tty: Make get_current_tty use a kref</title>
<updated>2008-10-13T16:51:41Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2008-10-13T09:39:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=452a00d2ee288f2cbc36f676edd06cb14d2878c1'/>
<id>urn:sha1:452a00d2ee288f2cbc36f676edd06cb14d2878c1</id>
<content type='text'>
We now return a kref covered tty reference. That ensures the tty structure
doesn't go away when you have a return from get_current_tty. This is not
enough to protect you from most of the resources being freed behind your
back - yet.

[Updated to include fixes for SELinux problems found by Andrew Morton and
 an s390 leak found while debugging the former]

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
</feed>
