<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git, branch jb4.3_1.0.0-ga</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>ENGR00284988 Camera recording kernel crash on WFD source</title>
<updated>2013-10-25T09:20:40+00:00</updated>
<author>
<name>Richard Liu</name>
<email>r66033@freescale.com</email>
</author>
<published>2013-10-25T08:57:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e1c08484abcf7ab12e986a11c01e193e70a9f95f'/>
<id>e1c08484abcf7ab12e986a11c01e193e70a9f95f</id>
<content type='text'>
Fix kernel crash issue meet when do 720p Camera recording
on WFD source side, the crash is related with timer schedule,
fixed by add protection code in gckOS_StartTimer function.

Kernel crash log:
[&lt;c004ffec&gt;] (__bug+0x1c/0x28) from [&lt;c00a7e00&gt;] (queue_delayed_work_on+0x10c/0x148)
[&lt;c00a7e00&gt;] (queue_delayed_work_on+0x10c/0x148) from [&lt;c046f4d0&gt;] (gckOS_StartTimer+0x44/0x84)
[&lt;c046f4d0&gt;] (gckOS_StartTimer+0x44/0x84) from [&lt;c047f4ac&gt;] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c)
[&lt;c047f4ac&gt;] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c) from [&lt;c046e608&gt;] (gckOS_Broadcast+0xb8/0xe8)
[&lt;c046e608&gt;] (gckOS_Broadcast+0xb8/0xe8) from [&lt;c0475734&gt;] (_TryToIdleGPU+0xd8/0x18c)
[&lt;c0475734&gt;] (_TryToIdleGPU+0xd8/0x18c) from [&lt;c0476cdc&gt;] (gckEVENT_Notify+0x2dc/0x4c8)
[&lt;c0476cdc&gt;] (gckEVENT_Notify+0x2dc/0x4c8) from [&lt;c047d494&gt;] (gckHARDWARE_Interrupt+0x58/0x68)
[&lt;c047d494&gt;] (gckHARDWARE_Interrupt+0x58/0x68) from [&lt;c04693a8&gt;] (threadRoutine+0x20/0x78)
[&lt;c04693a8&gt;] (threadRoutine+0x20/0x78) from [&lt;c00ad0c8&gt;] (kthread+0x80/0x88)
[&lt;c00ad0c8&gt;] (kthread+0x80/0x88) from [&lt;c004d408&gt;] (kernel_thread_exit+0x0/0x8)

Signed-off-by: Richard Liu &lt;r66033@freescale.com&gt;
Acked-by: Jason Liu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix kernel crash issue meet when do 720p Camera recording
on WFD source side, the crash is related with timer schedule,
fixed by add protection code in gckOS_StartTimer function.

Kernel crash log:
[&lt;c004ffec&gt;] (__bug+0x1c/0x28) from [&lt;c00a7e00&gt;] (queue_delayed_work_on+0x10c/0x148)
[&lt;c00a7e00&gt;] (queue_delayed_work_on+0x10c/0x148) from [&lt;c046f4d0&gt;] (gckOS_StartTimer+0x44/0x84)
[&lt;c046f4d0&gt;] (gckOS_StartTimer+0x44/0x84) from [&lt;c047f4ac&gt;] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c)
[&lt;c047f4ac&gt;] (gckHARDWARE_SetPowerManagementState+0xa24/0xa5c) from [&lt;c046e608&gt;] (gckOS_Broadcast+0xb8/0xe8)
[&lt;c046e608&gt;] (gckOS_Broadcast+0xb8/0xe8) from [&lt;c0475734&gt;] (_TryToIdleGPU+0xd8/0x18c)
[&lt;c0475734&gt;] (_TryToIdleGPU+0xd8/0x18c) from [&lt;c0476cdc&gt;] (gckEVENT_Notify+0x2dc/0x4c8)
[&lt;c0476cdc&gt;] (gckEVENT_Notify+0x2dc/0x4c8) from [&lt;c047d494&gt;] (gckHARDWARE_Interrupt+0x58/0x68)
[&lt;c047d494&gt;] (gckHARDWARE_Interrupt+0x58/0x68) from [&lt;c04693a8&gt;] (threadRoutine+0x20/0x78)
[&lt;c04693a8&gt;] (threadRoutine+0x20/0x78) from [&lt;c00ad0c8&gt;] (kthread+0x80/0x88)
[&lt;c00ad0c8&gt;] (kthread+0x80/0x88) from [&lt;c004d408&gt;] (kernel_thread_exit+0x0/0x8)

Signed-off-by: Richard Liu &lt;r66033@freescale.com&gt;
Acked-by: Jason Liu
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00278452 PU: fix system hang if run Audio loop test</title>
<updated>2013-10-23T10:00:26+00:00</updated>
<author>
<name>Robin Gong</name>
<email>b38343@freescale.com</email>
</author>
<published>2013-10-23T09:42:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d3d6949649c522ae692287de2b12c744676076aa'/>
<id>d3d6949649c522ae692287de2b12c744676076aa</id>
<content type='text'>
cpufreq and pu power management will oprate the same register, it looks should
keep them operating in order not concurrent. Then use the cpufreq mutex in xPU
driver to make sure.
Another code bug is in pu power management which base regulator framework, we
set the reister directly not regulator, then there is the chance set_volatage
will miss the chance if this time voltage setting as the last time setting
before PU disable, but we have to do this, so add regulator_sync_voltage to
force sync the voltage setting. The drawback is setting twice...

Note:
This patch is temporary and supposed to be replaced it once we find the
root cause.

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
Acked-by: Jason Liu
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cpufreq and pu power management will oprate the same register, it looks should
keep them operating in order not concurrent. Then use the cpufreq mutex in xPU
driver to make sure.
Another code bug is in pu power management which base regulator framework, we
set the reister directly not regulator, then there is the chance set_volatage
will miss the chance if this time voltage setting as the last time setting
before PU disable, but we have to do this, so add regulator_sync_voltage to
force sync the voltage setting. The drawback is setting twice...

Note:
This patch is temporary and supposed to be replaced it once we find the
root cause.

Signed-off-by: Robin Gong &lt;b38343@freescale.com&gt;
Acked-by: Jason Liu
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00275869 wifi: update new rtl8723as wifi driver</title>
<updated>2013-10-15T09:59:49+00:00</updated>
<author>
<name>Jianzheng Zhou</name>
<email>jianzheng.zhou@freescale.com</email>
</author>
<published>2013-10-15T09:32:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5be7e0e0b0f4f1039ecf07aeef7346fe2285e053'/>
<id>5be7e0e0b0f4f1039ecf07aeef7346fe2285e053</id>
<content type='text'>
Base on rtl8723as driver(v4.1.8_9180.20130927_BTCOEX20130528_ver3.3_beta)
still do the following changes for imx6:
1.add imx6 in Makefile.
2.fix suspend/resume issue.Just refactor runtime_pm in suspend.

Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Base on rtl8723as driver(v4.1.8_9180.20130927_BTCOEX20130528_ver3.3_beta)
still do the following changes for imx6:
1.add imx6 in Makefile.
2.fix suspend/resume issue.Just refactor runtime_pm in suspend.

Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00277333 gpu: Enable OT limitation for gc880</title>
<updated>2013-10-15T08:49:35+00:00</updated>
<author>
<name>Loren HUANG</name>
<email>b02279@freescale.com</email>
</author>
<published>2013-09-04T07:58:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e47c5c2627d3b7e0cb429a512842843f0a781e3b'/>
<id>e47c5c2627d3b7e0cb429a512842843f0a781e3b</id>
<content type='text'>
Enable OT limitation for gc880, without this limitation
3D core may stall system bus when it is running at a very low clock.

Signed-off-by: Loren HUANG &lt;b02279@freescale.com&gt;
Acked-by: Shawn Guo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enable OT limitation for gc880, without this limitation
3D core may stall system bus when it is running at a very low clock.

Signed-off-by: Loren HUANG &lt;b02279@freescale.com&gt;
Acked-by: Shawn Guo
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: qtaguid: rate limit some of the printks</title>
<updated>2013-09-26T01:51:33+00:00</updated>
<author>
<name>JP Abgrall</name>
<email>jpa@google.com</email>
</author>
<published>2013-04-08T22:09:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ca6106478052bf30664b89767d9a2b51807882b6'/>
<id>ca6106478052bf30664b89767d9a2b51807882b6</id>
<content type='text'>
Some of the printks are in the packet handling path.
We now ratelimit the very unlikely errors to avoid
kmsg spamming.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of the printks are in the packet handling path.
We now ratelimit the very unlikely errors to avoid
kmsg spamming.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: xt_qtaguid: Allow tracking loopback</title>
<updated>2013-09-26T01:51:21+00:00</updated>
<author>
<name>JP Abgrall</name>
<email>jpa@google.com</email>
</author>
<published>2013-02-07T01:40:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=700501a792013e10c2cb6fd2d8d5f2342c3671fc'/>
<id>700501a792013e10c2cb6fd2d8d5f2342c3671fc</id>
<content type='text'>
In the past it would always ignore interfaces with loopback addresses.
Now we just treat them like any other.
This also helps with writing tests that check for the presence
of the qtaguid module.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the past it would always ignore interfaces with loopback addresses.
Now we just treat them like any other.
This also helps with writing tests that check for the presence
of the qtaguid module.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: xt_qtaguid: extend iface stat to report protocols</title>
<updated>2013-09-26T01:51:13+00:00</updated>
<author>
<name>JP Abgrall</name>
<email>jpa@google.com</email>
</author>
<published>2013-01-29T00:50:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8cf4f856ccdf785d12e27fa8c7888d8a6df12f60'/>
<id>8cf4f856ccdf785d12e27fa8c7888d8a6df12f60</id>
<content type='text'>
In the past the iface_stat_fmt would only show global bytes/packets
for the skb-based numbers.
For stall detection in userspace, distinguishing tcp vs other protocols
makes it easier.
Now we report
  ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes
  total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets}

Bug: 6818637
Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the past the iface_stat_fmt would only show global bytes/packets
for the skb-based numbers.
For stall detection in userspace, distinguishing tcp vs other protocols
makes it easier.
Now we report
  ifname total_skb_rx_bytes total_skb_rx_packets total_skb_tx_bytes
  total_skb_tx_packets {rx,tx}_{tcp,udp,ohter}_{bytes,packets}

Bug: 6818637
Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: xt_qtaguid: remove AID_* dependency for access control</title>
<updated>2013-09-26T01:50:59+00:00</updated>
<author>
<name>JP Abgrall</name>
<email>jpa@google.com</email>
</author>
<published>2013-01-05T02:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4064de97087bd76cdec96dfaf73a8e1f6107b23d'/>
<id>4064de97087bd76cdec96dfaf73a8e1f6107b23d</id>
<content type='text'>
qtaguid limits what can be done with /ctrl and /stats based on group
membership.
This changes removes AID_NET_BW_STATS and AID_NET_BW_ACCT, and picks
up the groups from the gid of the matching proc entry files.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Change-Id: I42e477adde78a12ed5eb58fbc0b277cdaadb6f94
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
qtaguid limits what can be done with /ctrl and /stats based on group
membership.
This changes removes AID_NET_BW_STATS and AID_NET_BW_ACCT, and picks
up the groups from the gid of the matching proc entry files.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
Change-Id: I42e477adde78a12ed5eb58fbc0b277cdaadb6f94
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: qtaguid: Don't BUG_ON if create_if_tag_stat fails</title>
<updated>2013-09-26T01:49:31+00:00</updated>
<author>
<name>Pontus Fuchs</name>
<email>pontus.fuchs@gmail.com</email>
</author>
<published>2012-11-19T19:44:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4ad55e17c70bc7d948f8e626f31ca4659d73d7c7'/>
<id>4ad55e17c70bc7d948f8e626f31ca4659d73d7c7</id>
<content type='text'>
If create_if_tag_stat fails to allocate memory (GFP_ATOMIC) the
following will happen:

qtaguid: iface_stat: tag stat alloc failed
...
kernel BUG at xt_qtaguid.c:1482!

Signed-off-by: Pontus Fuchs &lt;pontus.fuchs@gmail.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If create_if_tag_stat fails to allocate memory (GFP_ATOMIC) the
following will happen:

qtaguid: iface_stat: tag stat alloc failed
...
kernel BUG at xt_qtaguid.c:1482!

Signed-off-by: Pontus Fuchs &lt;pontus.fuchs@gmail.com&gt;
Signed-off-by: Jianzheng Zhou &lt;jianzheng.zhou@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>netfilter: xt_qtaguid: fix error exit that would keep a spinlock.</title>
<updated>2013-09-26T01:44:10+00:00</updated>
<author>
<name>JP Abgrall</name>
<email>jpa@google.com</email>
</author>
<published>2012-10-10T03:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=34ed2574b5c3c1b74e40075768a7bfece7726aa6'/>
<id>34ed2574b5c3c1b74e40075768a7bfece7726aa6</id>
<content type='text'>
qtudev_open() could return with a uid_tag_data_tree_lock held
when an kzalloc(..., GFP_ATOMIC) would fail.
Very unlikely to get triggered AND survive the mayhem of running out of mem.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
qtudev_open() could return with a uid_tag_data_tree_lock held
when an kzalloc(..., GFP_ATOMIC) would fail.
Very unlikely to get triggered AND survive the mayhem of running out of mem.

Signed-off-by: JP Abgrall &lt;jpa@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
