<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/ntb, branch v3.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=v3.9</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v3.9'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2013-01-21T22:34:21Z</updated>
<entry>
<title>NTB: Fix Sparse Warnings</title>
<updated>2013-01-21T22:34:21Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-21T22:28:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=74465645cdb4391b9fc95d12fd750a88012ad479'/>
<id>urn:sha1:74465645cdb4391b9fc95d12fd750a88012ad479</id>
<content type='text'>
Address the sparse warnings and resulting fallout

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: disable x86_32 support</title>
<updated>2013-01-21T22:34:21Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-21T22:28:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=719234f9444552a8b3ac30a7c373db62e13c14f4'/>
<id>urn:sha1:719234f9444552a8b3ac30a7c373db62e13c14f4</id>
<content type='text'>
Atomic readq and writeq do not exist by default on some 32bit
architectures, thus causing compile errors due to non-existent symbols.
Since NTB has not been tested 32bit, disable x86_32 support until such
time as this and any other issues can be properly discovered.

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: Update Version</title>
<updated>2013-01-20T23:48:13Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=50228c5505fee2c836e1f3895d82f9cf5f89174f'/>
<id>urn:sha1:50228c5505fee2c836e1f3895d82f9cf5f89174f</id>
<content type='text'>
Update NTB version to 0.25

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: Out of free receive entries issue</title>
<updated>2013-01-20T23:45:52Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=448c6fb3a39bf4d0b644f5b942b7aa9473b0f597'/>
<id>urn:sha1:448c6fb3a39bf4d0b644f5b942b7aa9473b0f597</id>
<content type='text'>
If the NTB client driver enqueues the maximum number of rx buffers, it
will not be able to re-enqueue another in its callback handler due to a
lack of free entries.  This can be avoided by adding the current entry
to the free queue prior to calling the client callback handler.  With
this change, ntb_netdev will no longer encounter a rx error on its first
packet.

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: Remove reads across NTB</title>
<updated>2013-01-20T23:45:51Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:26Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=793c20e9c924e6bc91bc9b1c98e2f6b8e1bf2fae'/>
<id>urn:sha1:793c20e9c924e6bc91bc9b1c98e2f6b8e1bf2fae</id>
<content type='text'>
CPU reads across NTB are slow(er) and can hang the local system if an
ECC error is encountered on the remote.  To work around the need for a
read, have the remote side write its current position in the rx buffer
to the local system's buffer and use that to see if there is room when
transmitting.

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: correct stack usage warning in debugfs_read</title>
<updated>2013-01-20T23:45:51Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d7237e22bbcffc3237a234fdf165fde4c2b0a22d'/>
<id>urn:sha1:d7237e22bbcffc3237a234fdf165fde4c2b0a22d</id>
<content type='text'>
Correct gcc warning of using too much stack debugfs_read.  This is done
by kmallocing the buffer instead of using the char array on stack.
Also, shrinking the buffer to something closer to what is currently
being used.

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: whitespace cleanups</title>
<updated>2013-01-20T23:45:51Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f766755c3057c36dc0796d2b0c633611dde6eccf'/>
<id>urn:sha1:f766755c3057c36dc0796d2b0c633611dde6eccf</id>
<content type='text'>
Whitespace cleanups found via `indent`

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: namespacecheck cleanups</title>
<updated>2013-01-20T23:45:51Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=170d35a57cf2c87bbfdfe6ec0485f678bdb53737'/>
<id>urn:sha1:170d35a57cf2c87bbfdfe6ec0485f678bdb53737</id>
<content type='text'>
Declare ntb_bus_type static to remove it from name space, and remove
unused ntb_get_max_spads function.  Found via `make namespacecheck`.

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: use simple_open for debugfs</title>
<updated>2013-01-20T23:45:51Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:20Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d66d7ac2e09f26dbcd3bfbd8bb05e658de89719a'/>
<id>urn:sha1:d66d7ac2e09f26dbcd3bfbd8bb05e658de89719a</id>
<content type='text'>
Use simple_open for debugfs instead of recreating it in the NTB driver.
Caught by coccicheck.

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NTB: No sleeping in interrupt context</title>
<updated>2013-01-20T23:45:51Z</updated>
<author>
<name>Jon Mason</name>
<email>jon.mason@intel.com</email>
</author>
<published>2013-01-19T09:02:19Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7b4f2d3c3b8285fe63cae6b92c7b7030d1d1aa7c'/>
<id>urn:sha1:7b4f2d3c3b8285fe63cae6b92c7b7030d1d1aa7c</id>
<content type='text'>
Move all cancel_delayed_work_sync to a work thread to prevent sleeping
in interrupt context (when the NTB link goes down).  Caught via
'Sleep inside atomic section checking'

Signed-off-by: Jon Mason &lt;jon.mason@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
