<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include, branch imx-android-r10.4</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>mmc: Fix pm_notifier obeying deferred resume (part 2)</title>
<updated>2011-11-02T03:13:54+00:00</updated>
<author>
<name>Dmitry Shmidt</name>
<email>dimitrysh@google.com</email>
</author>
<published>2010-10-14T21:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1807ee98b496e9bb275ec328917a3eeff2f41931'/>
<id>1807ee98b496e9bb275ec328917a3eeff2f41931</id>
<content type='text'>
Skip mmc_detect_change() in PM_POST_SUSPEND if Manual resume is used

Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Skip mmc_detect_change() in PM_POST_SUSPEND if Manual resume is used

Signed-off-by: Dmitry Shmidt &lt;dimitrysh@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: fix all hangs related to mmc/sd card insert/removal during suspend/resume</title>
<updated>2011-11-02T03:13:53+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-08-11T01:01:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=24d5b5e1f5c6c730f24461e35d392e40488e8bf0'/>
<id>24d5b5e1f5c6c730f24461e35d392e40488e8bf0</id>
<content type='text'>
commit 4c2ef25fe0b847d2ae818f74758ddb0be1c27d8e upstream.

If you don't use CONFIG_MMC_UNSAFE_RESUME, as soon as you attempt to
suspend, the card will be removed, therefore this patch doesn't change the
behavior of this option.

However the removal will be done by pm notifier, which runs while
userspace is still not frozen and thus can freely use del_gendisk, without
the risk of deadlock which would happen otherwise.

Card detect workqueue is now disabled while userspace is frozen, Therefore
if you do use CONFIG_MMC_UNSAFE_RESUME, and remove the card during
suspend, the removal will be detected as soon as userspace is unfrozen,
again at the moment it is safe to call del_gendisk.

Tested with and without CONFIG_MMC_UNSAFE_RESUME with suspend and hibernate.

[akpm@linux-foundation.org: clean up function prototype]
[akpm@linux-foundation.org: fix CONFIG_PM-n linkage, small cleanups]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: &lt;linux-mmc@vger.kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Lee Jones &lt;lee.jones@canonical.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 4c2ef25fe0b847d2ae818f74758ddb0be1c27d8e upstream.

If you don't use CONFIG_MMC_UNSAFE_RESUME, as soon as you attempt to
suspend, the card will be removed, therefore this patch doesn't change the
behavior of this option.

However the removal will be done by pm notifier, which runs while
userspace is still not frozen and thus can freely use del_gendisk, without
the risk of deadlock which would happen otherwise.

Card detect workqueue is now disabled while userspace is frozen, Therefore
if you do use CONFIG_MMC_UNSAFE_RESUME, and remove the card during
suspend, the removal will be detected as soon as userspace is unfrozen,
again at the moment it is safe to call del_gendisk.

Tested with and without CONFIG_MMC_UNSAFE_RESUME with suspend and hibernate.

[akpm@linux-foundation.org: clean up function prototype]
[akpm@linux-foundation.org: fix CONFIG_PM-n linkage, small cleanups]
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Cc: David Brownell &lt;david-b@pacbell.net&gt;
Cc: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: &lt;linux-mmc@vger.kernel.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Lee Jones &lt;lee.jones@canonical.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: core: Add deferred bus resume policy.</title>
<updated>2011-11-02T03:13:53+00:00</updated>
<author>
<name>San Mehat</name>
<email>san@google.com</email>
</author>
<published>2009-07-30T14:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c1fede45286f3b34f0c208280bd6559330aac966'/>
<id>c1fede45286f3b34f0c208280bd6559330aac966</id>
<content type='text'>
A card driver can now specify that the underlying bus should *not*
auto-resume with the rest of the system. This is useful for reducing resume
latency as well as saving power when the card driver is not using the
bus. In the future, we'll add support for manual suspend

Signed-off-by: San Mehat &lt;san@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A card driver can now specify that the underlying bus should *not*
auto-resume with the rest of the system. This is useful for reducing resume
latency as well as saving power when the card driver is not using the
bus. In the future, we'll add support for manual suspend

Signed-off-by: San Mehat &lt;san@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00000001 Revert "mmc: core: Add deferred bus resume policy for android."</title>
<updated>2011-11-02T03:13:52+00:00</updated>
<author>
<name>Zhang Jiejing</name>
<email>jiejing.zhang@freescale.com</email>
</author>
<published>2011-10-20T11:09:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a762c73803259008fc62a3b3f5ec32c86d51c5b7'/>
<id>a762c73803259008fc62a3b3f5ec32c86d51c5b7</id>
<content type='text'>
This reverts commit 8ac7fbd32b8b72ccfd0511089e4fad2d828d8682.

Conflicts:

	drivers/mmc/card/block.c

Revert this commit because this patch changed in android 2.6.35 branch.
I revert this patch and apply the new patch to avoid misunstanding.

Signed-off-by: Zhang Jiejing &lt;jiejing.zhang@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 8ac7fbd32b8b72ccfd0511089e4fad2d828d8682.

Conflicts:

	drivers/mmc/card/block.c

Revert this commit because this patch changed in android 2.6.35 branch.
I revert this patch and apply the new patch to avoid misunstanding.

Signed-off-by: Zhang Jiejing &lt;jiejing.zhang@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00160401-1 usb: refine android gadget to support USB Accessory</title>
<updated>2011-10-24T05:55:47+00:00</updated>
<author>
<name>Xinyu Chen</name>
<email>b03824@freescale.com</email>
</author>
<published>2011-10-20T01:55:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0cd6cf6a4a33820d5b3f0a281eadfa0d7ecace49'/>
<id>0cd6cf6a4a33820d5b3f0a281eadfa0d7ecace49</id>
<content type='text'>
Support different vendor/product id for different functions.
Support USB connection status switch.

Signed-off-by: Xinyu Chen &lt;xinyu.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Support different vendor/product id for different functions.
Support USB connection status switch.

Signed-off-by: Xinyu Chen &lt;xinyu.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: f_accessory: Add string for accessory's unique serial number</title>
<updated>2011-10-24T05:55:47+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2011-03-14T22:28:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f9205903eb34cbfdb85a4fde9d9a4fe760c1f03b'/>
<id>f9205903eb34cbfdb85a4fde9d9a4fe760c1f03b</id>
<content type='text'>
Change-Id: I475072804e2134c971d45fdf77751791a1372bd6
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
Signed-off-by: Pavankumar Kondeti &lt;pkondeti@codeaurora.org&gt;
Signed-off-by: Shruthi Krishna &lt;skrish@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I475072804e2134c971d45fdf77751791a1372bd6
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
Signed-off-by: Pavankumar Kondeti &lt;pkondeti@codeaurora.org&gt;
Signed-off-by: Shruthi Krishna &lt;skrish@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: f_accessory: Misc improvements and cleanup:</title>
<updated>2011-10-24T05:55:47+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2011-03-10T02:48:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8a32d108ce9e458b5ea93680edecc68aaf0fc2a5'/>
<id>8a32d108ce9e458b5ea93680edecc68aaf0fc2a5</id>
<content type='text'>
- Add URI string

- Replace type string with a description string

- Add a control call to retrieve accessory protocol version (currently 1)

- Driver read() and write() calls now fail after USB disconnect until
  driver file is closed and reopened.

- Misc cleanup work

Change-Id: I966593522367b03613469fb2caed2e7f030fdf9a
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
Signed-off-by: Pavankumar Kondeti &lt;pkondeti@codeaurora.org&gt;
Signed-off-by: Shruthi Krishna &lt;skrish@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Add URI string

- Replace type string with a description string

- Add a control call to retrieve accessory protocol version (currently 1)

- Driver read() and write() calls now fail after USB disconnect until
  driver file is closed and reopened.

- Misc cleanup work

Change-Id: I966593522367b03613469fb2caed2e7f030fdf9a
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
Signed-off-by: Pavankumar Kondeti &lt;pkondeti@codeaurora.org&gt;
Signed-off-by: Shruthi Krishna &lt;skrish@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: f_accessory: New gadget driver for android USB accesories</title>
<updated>2011-10-24T05:55:46+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2011-10-18T06:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c61af332a2c50b122b4e61245ae280d1ae41b0a0'/>
<id>c61af332a2c50b122b4e61245ae280d1ae41b0a0</id>
<content type='text'>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
[resolved conflicts in drivers/usb/gadget/Kconfig]
Signed-off-by: Pavankumar Kondeti &lt;pkondeti@codeaurora.org&gt;

Change-Id: I6da592d9b3e69c818fcd0c7cf223b52faaaed080
Signed-off-by: Shruthi Krishna &lt;skrish@codeaurora.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
[resolved conflicts in drivers/usb/gadget/Kconfig]
Signed-off-by: Pavankumar Kondeti &lt;pkondeti@codeaurora.org&gt;

Change-Id: I6da592d9b3e69c818fcd0c7cf223b52faaaed080
Signed-off-by: Shruthi Krishna &lt;skrish@codeaurora.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: Reorder incoming packets in PPPoLAC and PPPoPNS.</title>
<updated>2011-09-05T02:01:19+00:00</updated>
<author>
<name>Chia-chi Yeh</name>
<email>chiachi@android.com</email>
</author>
<published>2011-04-15T22:22:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c1e09e5cce158d76e0a641c5bd829c142ee686c8'/>
<id>c1e09e5cce158d76e0a641c5bd829c142ee686c8</id>
<content type='text'>
PPP handles packet loss but does not work with out of order packets.
This change performs reordering of incoming data packets within a
sliding window of one second. Since sequence number is optional,
receiving a packet without it will drop all queued packets.

Currently the logic is triggered by incoming packets, so queued
packets have to wait till another packet is arrived. It is done for
simplicity since no additional locks or threads are required. For
reliable protocols, a retransmission will kick it. For unreliable
protocols, queued packets just seem like packet loss. Time-critical
protocols might be broken, but they never work with queueing anyway.

Signed-off-by: Chia-chi Yeh &lt;chiachi@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PPP handles packet loss but does not work with out of order packets.
This change performs reordering of incoming data packets within a
sliding window of one second. Since sequence number is optional,
receiving a packet without it will drop all queued packets.

Currently the logic is triggered by incoming packets, so queued
packets have to wait till another packet is arrived. It is done for
simplicity since no additional locks or threads are required. For
reliable protocols, a retransmission will kick it. For unreliable
protocols, queued packets just seem like packet loss. Time-critical
protocols might be broken, but they never work with queueing anyway.

Signed-off-by: Chia-chi Yeh &lt;chiachi@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net: New iface_stat module to monitor persistent network stats</title>
<updated>2011-09-05T02:01:06+00:00</updated>
<author>
<name>Ashish Sharma</name>
<email>ashishsharma@google.com</email>
</author>
<published>2011-09-05T02:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=212444012a74e08c922b7ad22430efe60cb870b8'/>
<id>212444012a74e08c922b7ad22430efe60cb870b8</id>
<content type='text'>
Adding a new module that tracks the number of bytes/packets transfered
by a network interface, even after the interface has been
removed. This is relevant to track the total data usage in mobile
devices whose interfaces are added and removed quite frequently (WiFi,
Bluetooth, 3G,..).

Monitoring is done only for devices that are configured with a valid
IP address (check to exclude virtual/loopback/tunnel interfaces).

Change-Id: I8ac642af1990433ebd0784e8dbd72bf0714b5bf6
Signed-off-by: Ashish Sharma &lt;ashishsharma@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adding a new module that tracks the number of bytes/packets transfered
by a network interface, even after the interface has been
removed. This is relevant to track the total data usage in mobile
devices whose interfaces are added and removed quite frequently (WiFi,
Bluetooth, 3G,..).

Monitoring is done only for devices that are configured with a valid
IP address (check to exclude virtual/loopback/tunnel interfaces).

Change-Id: I8ac642af1990433ebd0784e8dbd72bf0714b5bf6
Signed-off-by: Ashish Sharma &lt;ashishsharma@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
