<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/staging/heci, branch master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/staging/heci?h=master</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/staging/heci?h=master'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2009-09-15T19:02:35Z</updated>
<entry>
<title>Staging: remove heci driver</title>
<updated>2009-09-15T19:02:35Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2009-09-11T16:46:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=0b33559a1adb3b9953503c9b55a61c37db34ffc0'/>
<id>urn:sha1:0b33559a1adb3b9953503c9b55a61c37db34ffc0</id>
<content type='text'>
Intel has officially abandoned this project and does not want to
maintian it or have it included in the main kernel tree, as no one
should use the code, it's not needed anymore.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>staging: add dependencies on PCI for drivers that require it</title>
<updated>2009-08-07T23:12:03Z</updated>
<author>
<name>Jeff Mahoney</name>
<email>jeffm@suse.com</email>
</author>
<published>2009-08-07T23:12:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=5fb4d2525b6dcffbb8bc26a7dfc7ed17ad323a06'/>
<id>urn:sha1:5fb4d2525b6dcffbb8bc26a7dfc7ed17ad323a06</id>
<content type='text'>
This patch adds PCI dependencies to staging drivers that require it.

Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: fix the problem that file_ext-&gt;state should be protected by device_lock</title>
<updated>2009-06-19T18:00:55Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:44:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=afcf462a1fd78cc372aefd9fe352e2dc2f237937'/>
<id>urn:sha1:afcf462a1fd78cc372aefd9fe352e2dc2f237937</id>
<content type='text'>
While access file_ext-&gt;state, we should use device_lock to protect it. The
original codes miss this in some places.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: do not print error when heci_bh_handler is already on workqueue</title>
<updated>2009-06-19T18:00:55Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:43:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=8d1c50e9829442be5bc88979d587af2a5ff07e32'/>
<id>urn:sha1:8d1c50e9829442be5bc88979d587af2a5ff07e32</id>
<content type='text'>
schedule_work returns 0, if the work is already on the work_queue, else
returns non-zero. Do not print error message if heci_bh_handlerwork was
already on queue.

Signed-off-by: Nikanth Karthikesan &lt;knikanth@suse.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: fix setting h_is bit in h_csr register</title>
<updated>2009-06-19T18:00:55Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ad914a3ec5f1b8c4f97a00f94e11bb20f99a901b'/>
<id>urn:sha1:ad914a3ec5f1b8c4f97a00f94e11bb20f99a901b</id>
<content type='text'>
Host software could issue interrupts to ME firmware, using H_IG bit. While
Setting H_IG bit, host software should preserve all the other bits in H_CSR
unchanged. In the original function which sets H_CSR register, they first read
the register, then set some bits, and write the whole 32bits back to the
register. And that the special behavior of H_IS (write-one-to-zero) causes problem.
This patch fixes the issue in the following ways:

 - Modify heci_set_csr_register() function so that it doesn't change H_IS bit.
 - Add interface heci_csr_clear_his() to clear H_IS bit. This function is called
   after H_IS checking (dev-&gt;host_hw_state &amp; H_IS == H_IS).
 - In original heci_csr_disable_interrupts() function, it not only clears H_IE
   bit, sometimes it also clears H_IS bit. This patch separates the two parts.
 - Avoid calling write_heci_register() function to set H_CSR register directly,
   and instead using heci_set_csr_register() function

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: fix typos and add wait after disconnect</title>
<updated>2009-06-19T18:00:55Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=52b855600c5c16c13b6f288f3536d01c2603e78d'/>
<id>urn:sha1:52b855600c5c16c13b6f288f3536d01c2603e78d</id>
<content type='text'>
- Fix typo for enum HECI_WRITE.
 - Fix timeout issue. If the time period is greater or equal 15s, it's timeout.
 - Add 10ms wait time after disconnect, to ensure that hardware is ready.
   Otherwise in the next time connection, hardware resource may be busy.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: fix softirq safe to unsafe spinlock issue</title>
<updated>2009-06-19T18:00:55Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=58b25a63a18e88052c8f5f068e68feaac4c6831d'/>
<id>urn:sha1:58b25a63a18e88052c8f5f068e68feaac4c6831d</id>
<content type='text'>
When spinlock is nested, and the outside one is spin_lock_bh, the inner
spinlock should also be spin_lock_bh, otherwise it will bring softirq-safe
to softirq-unsafe lock conversion.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: fix spinlock order mess of device_lock and read_io_lock</title>
<updated>2009-06-19T18:00:55Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:43:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=72abd2288318a35fbf225b93a31d4623e3b8c872'/>
<id>urn:sha1:72abd2288318a35fbf225b93a31d4623e3b8c872</id>
<content type='text'>
In orginal code, the device_lock and read_io_lock is mess order when nested,
which may bring dead lock. This patch unify the spinlock order of device_lock
and read_io_lock. First acquire device_lock, then read_io_lock.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: fix wrong order of device_lock and file_lock</title>
<updated>2009-06-19T18:00:55Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:43:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=171df6381962b463e5aa8ff936eb3f995a56ce9e'/>
<id>urn:sha1:171df6381962b463e5aa8ff936eb3f995a56ce9e</id>
<content type='text'>
When the two locks are nested, the code should always first acquire file_lock,
and then acquire device_lock in order not to generate dead-lock race.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Staging: heci: fix userspace pointer mess</title>
<updated>2009-06-19T18:00:54Z</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2009-05-31T06:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=36e844671cbdace27f0462a46cedde0a4d6b1001'/>
<id>urn:sha1:36e844671cbdace27f0462a46cedde0a4d6b1001</id>
<content type='text'>
Fix userspace pointer mess.
 - In memcmp(), dest and src pointer should be both in kernel space.
 - Add (void __user *) modification before userspace pointer.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
