<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/vme, branch v4.2.1</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>vme: tsi148: depend on HAS_DMA for Kconfig</title>
<updated>2015-06-13T00:31:05+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5c10439849f75e408112d5f1696623b2fae5a500'/>
<id>5c10439849f75e408112d5f1696623b2fae5a500</id>
<content type='text'>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: ca91cx42: fix LM_CTL address mask</title>
<updated>2015-06-13T00:29:37+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5a2f8831243337dd05df42174b4d7b1e01daacda'/>
<id>5a2f8831243337dd05df42174b4d7b1e01daacda</id>
<content type='text'>
Universe II datasheet defines following address space values
for LM_CTL[16:18]

000=A16
001=A24
010=A32
011,100,101=Reserved
110=User1
111=User2

Mask 5&lt;&lt;16 is not the right one for matching [16:18], instead we should
use 7&lt;&lt;16.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Universe II datasheet defines following address space values
for LM_CTL[16:18]

000=A16
001=A24
010=A32
011,100,101=Reserved
110=User1
111=User2

Mask 5&lt;&lt;16 is not the right one for matching [16:18], instead we should
use 7&lt;&lt;16.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: ca91cx42: return error code on DMA error</title>
<updated>2015-06-13T00:29:37+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1cfb645c8b7c82bbce4d77240754fcf5559cc82c'/>
<id>1cfb645c8b7c82bbce4d77240754fcf5559cc82c</id>
<content type='text'>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: export vme_check_window()</title>
<updated>2015-06-13T00:26:57+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ef73f886b53548d83d71a439f51a0c13ea6c1dae'/>
<id>ef73f886b53548d83d71a439f51a0c13ea6c1dae</id>
<content type='text'>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: check for A64 overflow in vme_check_window()</title>
<updated>2015-06-13T00:26:57+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e7fd80cbb4a788b2f8b081ab8564752073c30505'/>
<id>e7fd80cbb4a788b2f8b081ab8564752073c30505</id>
<content type='text'>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: stop DMA transfer on interruption</title>
<updated>2015-06-13T00:26:57+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=75c66b6db7baacf592268d5d5c4c9ecb6e2bcae7'/>
<id>75c66b6db7baacf592268d5d5c4c9ecb6e2bcae7</id>
<content type='text'>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: tsi148: fix first DMA item mapping</title>
<updated>2015-06-13T00:26:57+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b2383c90a9d691201b9aee557776694cde86a935'/>
<id>b2383c90a9d691201b9aee557776694cde86a935</id>
<content type='text'>
This moves DMA mapping of the first list element to vme_list_add, the
same place where other elements mappings occur. This prevents extra
mapping or over-unmapping in the cases when vme_list_exec is called more
or less than one time respectively.

Also adds dma_mapping_error check.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves DMA mapping of the first list element to vme_list_add, the
same place where other elements mappings occur. This prevents extra
mapping or over-unmapping in the cases when vme_list_exec is called more
or less than one time respectively.

Also adds dma_mapping_error check.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: tsi148: fix DMA lists longer that one item</title>
<updated>2015-06-13T00:26:56+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-05-28T12:06:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f656eaee6368198f596ae5b8754494ec2b179a16'/>
<id>f656eaee6368198f596ae5b8754494ec2b179a16</id>
<content type='text'>
DMA lists on tsi148 weren't processed further than the first item
because of the broken logic. This regression was introduced in:

ac1a4f2caf7b071 "Staging: VME: Ensure TSI148 link list descriptors..."

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DMA lists on tsi148 weren't processed further than the first item
because of the broken logic. This regression was introduced in:

ac1a4f2caf7b071 "Staging: VME: Ensure TSI148 link list descriptors..."

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vme: tsi148: Master windows support USERx and CR/CSR accesses, not slaves</title>
<updated>2015-03-07T01:03:22+00:00</updated>
<author>
<name>Martyn Welch</name>
<email>martyn.welch@ge.com</email>
</author>
<published>2015-02-26T15:53:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=08e03c268e3af302649bb85f79fb7c78c9e22ec8'/>
<id>08e03c268e3af302649bb85f79fb7c78c9e22ec8</id>
<content type='text'>
The tsi148 driver is registering the slave images as supporting the "USER"
access modes and CR/CSR access mode rather than the master images as it
should.

Remove the incorrect case entries for these modes from the
tsi148_slave_set() function, stop registering slave_images as supporting
these modes and instead register master windows as supporting these modes.

Signed-off-by: Martyn Welch &lt;martyn.welch@ge.com&gt;
Acked-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tsi148 driver is registering the slave images as supporting the "USER"
access modes and CR/CSR access mode rather than the master images as it
should.

Remove the incorrect case entries for these modes from the
tsi148_slave_set() function, stop registering slave_images as supporting
these modes and instead register master windows as supporting these modes.

Signed-off-by: Martyn Welch &lt;martyn.welch@ge.com&gt;
Acked-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>staging: vme: mmap() support for vme_user</title>
<updated>2015-03-07T01:03:22+00:00</updated>
<author>
<name>Dmitry Kalinkin</name>
<email>dmitry.kalinkin@gmail.com</email>
</author>
<published>2015-02-26T15:53:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c74a804f115bdedcac72ea52ca33f46cfae3b74f'/>
<id>c74a804f115bdedcac72ea52ca33f46cfae3b74f</id>
<content type='text'>
We also make sure that user won't be able to reconfigure the window while it is
mmap'ed.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Martyn Welch &lt;martyn.welch@ge.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We also make sure that user won't be able to reconfigure the window while it is
mmap'ed.

Signed-off-by: Dmitry Kalinkin &lt;dmitry.kalinkin@gmail.com&gt;
Cc: Martyn Welch &lt;martyn.welch@ge.com&gt;
Cc: Igor Alekseev &lt;igor.alekseev@itep.ru&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
