<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/fs, branch v3.2-rt10</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>epoll.patch</title>
<updated>2012-01-16T19:00:32+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-07-08T14:35:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e3f1279f784b8de12d17b8155429fb959f36caf7'/>
<id>e3f1279f784b8de12d17b8155429fb959f36caf7</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: ntfs: disable interrupt only on !RT</title>
<updated>2012-01-16T19:00:31+00:00</updated>
<author>
<name>Mike Galbraith</name>
<email>efault@gmx.de</email>
</author>
<published>2009-07-03T13:44:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3c4cfeb6c111a98790f7a85b3993d75a959e00e1'/>
<id>3c4cfeb6c111a98790f7a85b3993d75a959e00e1</id>
<content type='text'>
On Sat, 2007-10-27 at 11:44 +0200, Ingo Molnar wrote:
&gt; * Nick Piggin &lt;nickpiggin@yahoo.com.au&gt; wrote:
&gt;
&gt; &gt; &gt; [10138.175796]  [&lt;c0105de3&gt;] show_trace+0x12/0x14
&gt; &gt; &gt; [10138.180291]  [&lt;c0105dfb&gt;] dump_stack+0x16/0x18
&gt; &gt; &gt; [10138.184769]  [&lt;c011609f&gt;] native_smp_call_function_mask+0x138/0x13d
&gt; &gt; &gt; [10138.191117]  [&lt;c0117606&gt;] smp_call_function+0x1e/0x24
&gt; &gt; &gt; [10138.196210]  [&lt;c012f85c&gt;] on_each_cpu+0x25/0x50
&gt; &gt; &gt; [10138.200807]  [&lt;c0115c74&gt;] flush_tlb_all+0x1e/0x20
&gt; &gt; &gt; [10138.205553]  [&lt;c016caaf&gt;] kmap_high+0x1b6/0x417
&gt; &gt; &gt; [10138.210118]  [&lt;c011ec88&gt;] kmap+0x4d/0x4f
&gt; &gt; &gt; [10138.214102]  [&lt;c026a9d8&gt;] ntfs_end_buffer_async_read+0x228/0x2f9
&gt; &gt; &gt; [10138.220163]  [&lt;c01a0e9e&gt;] end_bio_bh_io_sync+0x26/0x3f
&gt; &gt; &gt; [10138.225352]  [&lt;c01a2b09&gt;] bio_endio+0x42/0x6d
&gt; &gt; &gt; [10138.229769]  [&lt;c02c2a08&gt;] __end_that_request_first+0x115/0x4ac
&gt; &gt; &gt; [10138.235682]  [&lt;c02c2da7&gt;] end_that_request_chunk+0x8/0xa
&gt; &gt; &gt; [10138.241052]  [&lt;c0365943&gt;] ide_end_request+0x55/0x10a
&gt; &gt; &gt; [10138.246058]  [&lt;c036dae3&gt;] ide_dma_intr+0x6f/0xac
&gt; &gt; &gt; [10138.250727]  [&lt;c0366d83&gt;] ide_intr+0x93/0x1e0
&gt; &gt; &gt; [10138.255125]  [&lt;c015afb4&gt;] handle_IRQ_event+0x5c/0xc9
&gt; &gt;
&gt; &gt; Looks like ntfs is kmap()ing from interrupt context. Should be using
&gt; &gt; kmap_atomic instead, I think.
&gt;
&gt; it's not atomic interrupt context but irq thread context - and -rt
&gt; remaps kmap_atomic() to kmap() internally.

Hm.  Looking at the change to mm/bounce.c, perhaps I should do this
instead?

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Sat, 2007-10-27 at 11:44 +0200, Ingo Molnar wrote:
&gt; * Nick Piggin &lt;nickpiggin@yahoo.com.au&gt; wrote:
&gt;
&gt; &gt; &gt; [10138.175796]  [&lt;c0105de3&gt;] show_trace+0x12/0x14
&gt; &gt; &gt; [10138.180291]  [&lt;c0105dfb&gt;] dump_stack+0x16/0x18
&gt; &gt; &gt; [10138.184769]  [&lt;c011609f&gt;] native_smp_call_function_mask+0x138/0x13d
&gt; &gt; &gt; [10138.191117]  [&lt;c0117606&gt;] smp_call_function+0x1e/0x24
&gt; &gt; &gt; [10138.196210]  [&lt;c012f85c&gt;] on_each_cpu+0x25/0x50
&gt; &gt; &gt; [10138.200807]  [&lt;c0115c74&gt;] flush_tlb_all+0x1e/0x20
&gt; &gt; &gt; [10138.205553]  [&lt;c016caaf&gt;] kmap_high+0x1b6/0x417
&gt; &gt; &gt; [10138.210118]  [&lt;c011ec88&gt;] kmap+0x4d/0x4f
&gt; &gt; &gt; [10138.214102]  [&lt;c026a9d8&gt;] ntfs_end_buffer_async_read+0x228/0x2f9
&gt; &gt; &gt; [10138.220163]  [&lt;c01a0e9e&gt;] end_bio_bh_io_sync+0x26/0x3f
&gt; &gt; &gt; [10138.225352]  [&lt;c01a2b09&gt;] bio_endio+0x42/0x6d
&gt; &gt; &gt; [10138.229769]  [&lt;c02c2a08&gt;] __end_that_request_first+0x115/0x4ac
&gt; &gt; &gt; [10138.235682]  [&lt;c02c2da7&gt;] end_that_request_chunk+0x8/0xa
&gt; &gt; &gt; [10138.241052]  [&lt;c0365943&gt;] ide_end_request+0x55/0x10a
&gt; &gt; &gt; [10138.246058]  [&lt;c036dae3&gt;] ide_dma_intr+0x6f/0xac
&gt; &gt; &gt; [10138.250727]  [&lt;c0366d83&gt;] ide_intr+0x93/0x1e0
&gt; &gt; &gt; [10138.255125]  [&lt;c015afb4&gt;] handle_IRQ_event+0x5c/0xc9
&gt; &gt;
&gt; &gt; Looks like ntfs is kmap()ing from interrupt context. Should be using
&gt; &gt; kmap_atomic instead, I think.
&gt;
&gt; it's not atomic interrupt context but irq thread context - and -rt
&gt; remaps kmap_atomic() to kmap() internally.

Hm.  Looking at the change to mm/bounce.c, perhaps I should do this
instead?

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>fs-block-rt-support.patch</title>
<updated>2012-01-16T19:00:31+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-06-14T15:05:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b46c9ed13d632f2112b43edcf66737c77ca14d4f'/>
<id>b46c9ed13d632f2112b43edcf66737c77ca14d4f</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mm-protect-activate-switch-mm.patch</title>
<updated>2012-01-16T19:00:31+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-07-04T07:48:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a8820a8bcde002a026d6bb432e661d72bd851572'/>
<id>a8820a8bcde002a026d6bb432e661d72bd851572</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fs: namespace preemption fix</title>
<updated>2012-01-16T19:00:31+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2009-07-19T13:44:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fcf7138285273ef3137167cbbdeae08ba9476678'/>
<id>fcf7138285273ef3137167cbbdeae08ba9476678</id>
<content type='text'>
On RT we cannot loop with preemption disabled here as
mnt_make_readonly() might have been preempted. We can safely enable
preemption while waiting for MNT_WRITE_HOLD to be cleared. Safe on !RT
as well.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On RT we cannot loop with preemption disabled here as
mnt_make_readonly() might have been preempted. We can safely enable
preemption while waiting for MNT_WRITE_HOLD to be cleared. Safe on !RT
as well.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>buffer_head: Replace bh_uptodate_lock for -rt</title>
<updated>2012-01-16T19:00:15+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-03-18T08:18:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=25331ba2e3ad6586d9c631e47adba1e952354fd5'/>
<id>25331ba2e3ad6586d9c631e47adba1e952354fd5</id>
<content type='text'>
Wrap the bit_spin_lock calls into a separate inline and add the RT
replacements with a real spinlock.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrap the bit_spin_lock calls into a separate inline and add the RT
replacements with a real spinlock.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>locking-various-init-fixes.patch</title>
<updated>2012-01-16T19:00:11+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2011-07-17T19:25:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f989a76ca44c28b0254df05f0f19399ead0386d7'/>
<id>f989a76ca44c28b0254df05f0f19399ead0386d7</id>
<content type='text'>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minixfs: misplaced checks lead to dentry leak</title>
<updated>2012-01-04T23:03:06+00:00</updated>
<author>
<name>Al Viro</name>
<email>viro@ZenIV.linux.org.uk</email>
</author>
<published>2012-01-04T10:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d6042eac44b54dc5c7cb839175eb51dfd03d7633'/>
<id>d6042eac44b54dc5c7cb839175eb51dfd03d7633</id>
<content type='text'>
bitmap size sanity checks should be done *before* allocating -&gt;s_root;
there their cleanup on failure would be correct.  As it is, we do iput()
on root inode, but leak the root dentry...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Acked-by: Josh Boyer &lt;jwboyer@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bitmap size sanity checks should be done *before* allocating -&gt;s_root;
there their cleanup on failure would be correct.  As it is, we do iput()
on root inode, but leak the root dentry...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Acked-by: Josh Boyer &lt;jwboyer@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[CIFS] default ntlmv2 for cifs mount delayed to 3.3</title>
<updated>2012-01-04T13:54:40+00:00</updated>
<author>
<name>Steve French</name>
<email>smfrench@gmail.com</email>
</author>
<published>2012-01-04T05:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=225de11e31c1cecd04839b859a0b8f81d490a50b'/>
<id>225de11e31c1cecd04839b859a0b8f81d490a50b</id>
<content type='text'>
Turned out the ntlmv2 (default security authentication)
upgrade was harder to test than expected, and we ran
out of time to test against Apple and a few other servers
that we wanted to.  Delay upgrade of default security
from ntlm to ntlmv2 (on mount) to 3.3.  Still works
fine to specify it explicitly via "sec=ntlmv2" so this
should be fine.

Acked-by: Jeff Layton &lt;jlayton@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turned out the ntlmv2 (default security authentication)
upgrade was harder to test than expected, and we ran
out of time to test against Apple and a few other servers
that we wanted to.  Delay upgrade of default security
from ntlm to ntlmv2 (on mount) to 3.3.  Still works
fine to specify it explicitly via "sec=ntlmv2" so this
should be fine.

Acked-by: Jeff Layton &lt;jlayton@samba.org&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cifs: fix bad buffer length check in coalesce_t2</title>
<updated>2012-01-04T02:34:17+00:00</updated>
<author>
<name>Jeff Layton</name>
<email>jlayton@redhat.com</email>
</author>
<published>2012-01-01T15:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=497728e11a9deeaea18be19fadcf7f1c85efbcf7'/>
<id>497728e11a9deeaea18be19fadcf7f1c85efbcf7</id>
<content type='text'>
The current check looks to see if the RFC1002 length is larger than
CIFSMaxBufSize, and fails if it is. The buffer is actually larger than
that by MAX_CIFS_HDR_SIZE.

This bug has been around for a long time, but the fact that we used to
cap the clients MaxBufferSize at the same level as the server tended
to paper over it. Commit c974befa changed that however and caused this
bug to bite in more cases.

Reported-and-Tested-by: Konstantinos Skarlatos &lt;k.skarlatos@gmail.com&gt;
Tested-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current check looks to see if the RFC1002 length is larger than
CIFSMaxBufSize, and fails if it is. The buffer is actually larger than
that by MAX_CIFS_HDR_SIZE.

This bug has been around for a long time, but the fact that we used to
cap the clients MaxBufferSize at the same level as the server tended
to paper over it. Commit c974befa changed that however and caused this
bug to bite in more cases.

Reported-and-Tested-by: Konstantinos Skarlatos &lt;k.skarlatos@gmail.com&gt;
Tested-by: Shirish Pargaonkar &lt;shirishpargaonkar@gmail.com&gt;
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Steve French &lt;smfrench@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
