<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-op-linux/drivers, branch v2.6.36-rc5</title>
<subtitle>Talos™ II Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/talos-op-linux/atom?h=v2.6.36-rc5</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-op-linux/atom?h=v2.6.36-rc5'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/'/>
<updated>2010-09-20T23:45:08+00:00</updated>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6</title>
<updated>2010-09-20T23:45:08+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-09-20T23:45:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=6b3d2cc4e07a609fc7354daba2889a260053e5d6'/>
<id>urn:sha1:6b3d2cc4e07a609fc7354daba2889a260053e5d6</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6:
  Staging: vt6655: fix buffer overflow
  Revert: "Staging: batman-adv: Adding netfilter-bridge hooks"
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6</title>
<updated>2010-09-20T23:44:40+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-09-20T23:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=0c4ab3453aae7bba4d76a3eb4b289aa53a9f9a60'/>
<id>urn:sha1:0c4ab3453aae7bba4d76a3eb4b289aa53a9f9a60</id>
<content type='text'>
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
  USB: musb: MAINTAINERS: Fix my mail address
  USB: serial/mos*: prevent reading uninitialized stack memory
  USB: otg: twl4030: fix phy initialization(v1)
  USB: EHCI: Disable langwell/penwell LPM capability
  usb: musb_debugfs: don't use the struct file private_data field with seq_files
</content>
</entry>
<entry>
<title>Staging: vt6655: fix buffer overflow</title>
<updated>2010-09-20T23:31:54+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2010-09-06T12:32:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=dd173abfead903c7df54e977535973f3312cd307'/>
<id>urn:sha1:dd173abfead903c7df54e977535973f3312cd307</id>
<content type='text'>
"param-&gt;u.wpa_associate.wpa_ie_len" comes from the user.  We should
check it so that the copy_from_user() doesn't overflow the buffer.

Also further down in the function, we assume that if
"param-&gt;u.wpa_associate.wpa_ie_len" is set then "abyWPAIE[0]" is
initialized.  To make that work, I changed the test here to say that if
"wpa_ie_len" is set then "wpa_ie" has to be a valid pointer or we return
-EINVAL.

Oddly, we only use the first element of the abyWPAIE[] array.  So I
suspect there may be some other issues in this function.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>Revert: "Staging: batman-adv: Adding netfilter-bridge hooks"</title>
<updated>2010-09-20T23:31:54+00:00</updated>
<author>
<name>Sven Eckelmann</name>
<email>sven.eckelmann@gmx.de</email>
</author>
<published>2010-09-04T23:58:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=350aede603f7db7a9b4c1a340fbe89ccae6523a2'/>
<id>urn:sha1:350aede603f7db7a9b4c1a340fbe89ccae6523a2</id>
<content type='text'>
This reverts commit 96d592ed599434d2d5f339a1d282871bc6377d2c.

The netfilter hook seems to be misused and may leak skbs in situations
when NF_HOOK returns NF_STOLEN. It may not filter everything as
expected. Also the ethernet bridge tables are not yet capable to
understand batman-adv packet correctly.

It was only added for testing purposes and can be removed again.

Reported-by: Vasiliy Kulikov &lt;segooon@gmail.com&gt;
Signed-off-by: Sven Eckelmann &lt;sven.eckelmann@gmx.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>serial: mfd: fix bug in serial_hsu_remove()</title>
<updated>2010-09-20T23:30:00+00:00</updated>
<author>
<name>Feng Tang</name>
<email>feng.tang@intel.com</email>
</author>
<published>2010-09-06T12:41:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=e3671ac429fe50cf0c1b4f1dc4b7237207f1d956'/>
<id>urn:sha1:e3671ac429fe50cf0c1b4f1dc4b7237207f1d956</id>
<content type='text'>
Medfield HSU driver deal with 4 pci devices(3 uart ports + 1 dma controller),
so in pci remove func, we need handle them differently

Signed-off-by: Feng Tang &lt;feng.tang@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>serial: amba-pl010: fix set_ldisc</title>
<updated>2010-09-20T23:30:00+00:00</updated>
<author>
<name>Mika Westerberg</name>
<email>mika.westerberg@iki.fi</email>
</author>
<published>2010-09-04T07:23:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=476f771cb9b6cd4845dcd18f16a2f03a89ee63fc'/>
<id>urn:sha1:476f771cb9b6cd4845dcd18f16a2f03a89ee63fc</id>
<content type='text'>
Commit d87d9b7d1 ("tty: serial - fix tty referencing in set_ldisc") changed
set_ldisc to take ldisc number as parameter. This patch fixes AMBA PL010 driver
according the new prototype.

Signed-off-by: Mika Westerberg &lt;mika.westerberg@iki.fi&gt;
Cc: Alan Cox &lt;alan@linux.intel.com&gt;
Cc: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: serial/mos*: prevent reading uninitialized stack memory</title>
<updated>2010-09-20T23:05:00+00:00</updated>
<author>
<name>Dan Rosenberg</name>
<email>drosenberg@vsecurity.com</email>
</author>
<published>2010-09-15T21:44:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=a0846f1868b11cd827bdfeaf4527d8b1b1c0b098'/>
<id>urn:sha1:a0846f1868b11cd827bdfeaf4527d8b1b1c0b098</id>
<content type='text'>
The TIOCGICOUNT device ioctl in both mos7720.c and mos7840.c allows
unprivileged users to read uninitialized stack memory, because the
"reserved" member of the serial_icounter_struct struct declared on the
stack is not altered or zeroed before being copied back to the user.
This patch takes care of it.

Signed-off-by: Dan Rosenberg &lt;dan.j.rosenberg@gmail.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: otg: twl4030: fix phy initialization(v1)</title>
<updated>2010-09-20T23:05:00+00:00</updated>
<author>
<name>Ming Lei</name>
<email>tom.leiming@gmail.com</email>
</author>
<published>2010-09-06T15:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=fc8f2a7608d855b911e35a33e771e6358c705c43'/>
<id>urn:sha1:fc8f2a7608d855b911e35a33e771e6358c705c43</id>
<content type='text'>
Commit 461c317705eca5cac09a360f488715927fd0a927(into 2.6.36-v3)
is put forward to power down phy if no usb cable is connected,
but does introduce the two issues below:

1), phy is not into work state if usb cable is connected
with PC during poweron, so musb device mode is not usable
in such case, follows the reasons:
	-twl4030_phy_resume is not called, so
		regulators are not enabled
		i2c access are not enabled
		usb mode not configurated

2), The kernel warings[1] of regulators 'unbalanced disables'
is caused if poweron without usb cable connected
with PC or b-device.

This patch fixes the two issues above:
	-power down phy only if no usb cable is connected with PC
and b-device
	-do phy initialization(via __twl4030_phy_resume) if usb cable
is connected with PC(vbus event) or another b-device(ID event) in
twl4030_usb_probe.

This patch also doesn't put VUSB3V1 LDO into active mode in
twl4030_usb_ldo_init until VBUS/ID change detected, so we can
save more power consumption than before.

This patch is verified OK on Beagle board either connected with
usb cable or not when poweron.

[1]. warnings of 'unbalanced disables' of regulators.
[root@OMAP3EVM /]# dmesg
------------[ cut here ]------------
WARNING: at drivers/regulator/core.c:1357 _regulator_disable+0x38/0x128()
unbalanced disables for VUSB1V8
Modules linked in:
Backtrace:
[&lt;c0030c48&gt;] (dump_backtrace+0x0/0x110) from [&lt;c034f5a8&gt;] (dump_stack+0x18/0x1c)
 r7:c78179d8 r6:c01ed6b8 r5:c0410822 r4:0000054d
[&lt;c034f590&gt;] (dump_stack+0x0/0x1c) from [&lt;c0057da8&gt;] (warn_slowpath_common+0x54/0x6c)
[&lt;c0057d54&gt;] (warn_slowpath_common+0x0/0x6c) from [&lt;c0057e64&gt;] (warn_slowpath_fmt+0x38/0x40)
 r9:00000000 r8:00000000 r7:c78e6608 r6:00000000 r5:fffffffb
 r4:c78e6c00
[&lt;c0057e2c&gt;] (warn_slowpath_fmt+0x0/0x40) from [&lt;c01ed6b8&gt;] (_regulator_disable+0x38/0x128)
 r3:c0410e53 r2:c0410ad5
[&lt;c01ed680&gt;] (_regulator_disable+0x0/0x128) from [&lt;c01ed87c&gt;] (regulator_disable+0x24/0x38)
 r7:c78e6608 r6:00000000 r5:c78e6c40 r4:c78e6c00
[&lt;c01ed858&gt;] (regulator_disable+0x0/0x38) from [&lt;c02382dc&gt;] (twl4030_phy_power+0x15c/0x17c)
 r5:c78595c0 r4:00000000
[&lt;c0238180&gt;] (twl4030_phy_power+0x0/0x17c) from [&lt;c023831c&gt;] (twl4030_phy_suspend+0x20/0x2c)
 r6:00000000 r5:c78595c0 r4:c78595c0
[&lt;c02382fc&gt;] (twl4030_phy_suspend+0x0/0x2c) from [&lt;c0238638&gt;] (twl4030_usb_irq+0x11c/0x16c)
 r5:c78595c0 r4:00000040
[&lt;c023851c&gt;] (twl4030_usb_irq+0x0/0x16c) from [&lt;c034ec18&gt;] (twl4030_usb_probe+0x2c4/0x32c)
 r6:00000000 r5:00000000 r4:c78595c0
[&lt;c034e954&gt;] (twl4030_usb_probe+0x0/0x32c) from [&lt;c02152a0&gt;] (platform_drv_probe+0x20/0x24)
 r7:00000000 r6:c047d49c r5:c78e6608 r4:c047d49c
[&lt;c0215280&gt;] (platform_drv_probe+0x0/0x24) from [&lt;c0214244&gt;] (driver_probe_device+0xd0/0x190)
[&lt;c0214174&gt;] (driver_probe_device+0x0/0x190) from [&lt;c02143d4&gt;] (__device_attach+0x44/0x48)
 r7:00000000 r6:c78e6608 r5:c78e6608 r4:c047d49c
[&lt;c0214390&gt;] (__device_attach+0x0/0x48) from [&lt;c0213694&gt;] (bus_for_each_drv+0x50/0x90)
 r5:c0214390 r4:00000000
[&lt;c0213644&gt;] (bus_for_each_drv+0x0/0x90) from [&lt;c0214474&gt;] (device_attach+0x70/0x94)
 r6:c78e663c r5:c78e6608 r4:c78e6608
[&lt;c0214404&gt;] (device_attach+0x0/0x94) from [&lt;c02134fc&gt;] (bus_probe_device+0x2c/0x48)
 r7:00000000 r6:00000002 r5:c78e6608 r4:c78e6600
[&lt;c02134d0&gt;] (bus_probe_device+0x0/0x48) from [&lt;c0211e48&gt;] (device_add+0x340/0x4b4)
[&lt;c0211b08&gt;] (device_add+0x0/0x4b4) from [&lt;c021597c&gt;] (platform_device_add+0x110/0x16c)
[&lt;c021586c&gt;] (platform_device_add+0x0/0x16c) from [&lt;c0220cb0&gt;] (add_numbered_child+0xd8/0x118)
 r7:00000000 r6:c045f15c r5:c78e6600 r4:00000000
[&lt;c0220bd8&gt;] (add_numbered_child+0x0/0x118) from [&lt;c001c618&gt;] (twl_probe+0x3a4/0x72c)
[&lt;c001c274&gt;] (twl_probe+0x0/0x72c) from [&lt;c02601ac&gt;] (i2c_device_probe+0x7c/0xa4)
[&lt;c0260130&gt;] (i2c_device_probe+0x0/0xa4) from [&lt;c0214244&gt;] (driver_probe_device+0xd0/0x190)
 r5:c7856e20 r4:c047c860
[&lt;c0214174&gt;] (driver_probe_device+0x0/0x190) from [&lt;c02143d4&gt;] (__device_attach+0x44/0x48)
 r7:c7856e04 r6:c7856e20 r5:c7856e20 r4:c047c860
[&lt;c0214390&gt;] (__device_attach+0x0/0x48) from [&lt;c0213694&gt;] (bus_for_each_drv+0x50/0x90)
 r5:c0214390 r4:00000000
[&lt;c0213644&gt;] (bus_for_each_drv+0x0/0x90) from [&lt;c0214474&gt;] (device_attach+0x70/0x94)
 r6:c7856e54 r5:c7856e20 r4:c7856e20
[&lt;c0214404&gt;] (device_attach+0x0/0x94) from [&lt;c02134fc&gt;] (bus_probe_device+0x2c/0x48)
 r7:c7856e04 r6:c78fd048 r5:c7856e20 r4:c7856e20
[&lt;c02134d0&gt;] (bus_probe_device+0x0/0x48) from [&lt;c0211e48&gt;] (device_add+0x340/0x4b4)
[&lt;c0211b08&gt;] (device_add+0x0/0x4b4) from [&lt;c0211fd8&gt;] (device_register+0x1c/0x20)
[&lt;c0211fbc&gt;] (device_register+0x0/0x20) from [&lt;c0260aa8&gt;] (i2c_new_device+0xec/0x150)
 r5:c7856e00 r4:c7856e20
[&lt;c02609bc&gt;] (i2c_new_device+0x0/0x150) from [&lt;c0260dc0&gt;] (i2c_register_adapter+0xa0/0x1c4)
 r7:00000000 r6:c78fd078 r5:c78fd048 r4:c781d5c0
[&lt;c0260d20&gt;] (i2c_register_adapter+0x0/0x1c4) from [&lt;c0260f80&gt;] (i2c_add_numbered_adapter+0x9c/0xb4)
 r7:00000a28 r6:c04600a8 r5:c78fd048 r4:00000000
[&lt;c0260ee4&gt;] (i2c_add_numbered_adapter+0x0/0xb4) from [&lt;c034efa4&gt;] (omap_i2c_probe+0x324/0x3e8)
 r5:00000000 r4:c78fd000
[&lt;c034ec80&gt;] (omap_i2c_probe+0x0/0x3e8) from [&lt;c02152a0&gt;] (platform_drv_probe+0x20/0x24)
[&lt;c0215280&gt;] (platform_drv_probe+0x0/0x24) from [&lt;c0214244&gt;] (driver_probe_device+0xd0/0x190)
[&lt;c0214174&gt;] (driver_probe_device+0x0/0x190) from [&lt;c021436c&gt;] (__driver_attach+0x68/0x8c)
 r7:c78b2140 r6:c047e214 r5:c04600e4 r4:c04600b0
[&lt;c0214304&gt;] (__driver_attach+0x0/0x8c) from [&lt;c021399c&gt;] (bus_for_each_dev+0x50/0x84)
 r7:c78b2140 r6:c047e214 r5:c0214304 r4:00000000
[&lt;c021394c&gt;] (bus_for_each_dev+0x0/0x84) from [&lt;c0214068&gt;] (driver_attach+0x20/0x28)
 r6:c047e214 r5:c047e214 r4:c00270d0
[&lt;c0214048&gt;] (driver_attach+0x0/0x28) from [&lt;c0213274&gt;] (bus_add_driver+0xa8/0x228)
[&lt;c02131cc&gt;] (bus_add_driver+0x0/0x228) from [&lt;c02146a4&gt;] (driver_register+0xb0/0x13c)
[&lt;c02145f4&gt;] (driver_register+0x0/0x13c) from [&lt;c0215744&gt;] (platform_driver_register+0x4c/0x60)
 r9:00000000 r8:c001f688 r7:00000013 r6:c005b6fc r5:c00083dc
r4:c00270d0
[&lt;c02156f8&gt;] (platform_driver_register+0x0/0x60) from [&lt;c001f69c&gt;] (omap_i2c_init_driver+0x14/0x1c)
[&lt;c001f688&gt;] (omap_i2c_init_driver+0x0/0x1c) from [&lt;c002c460&gt;] (do_one_initcall+0xd0/0x1a4)
[&lt;c002c390&gt;] (do_one_initcall+0x0/0x1a4) from [&lt;c0008478&gt;] (kernel_init+0x9c/0x154)
[&lt;c00083dc&gt;] (kernel_init+0x0/0x154) from [&lt;c005b6fc&gt;] (do_exit+0x0/0x688)
 r5:c00083dc r4:00000000
---[ end trace 1b75b31a2719ed1d ]---

Signed-off-by: Ming Lei &lt;tom.leiming@gmail.com&gt;
Cc: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Felipe Balbi &lt;me@felipebalbi.com&gt;
Cc: Anand Gadiyar &lt;gadiyar@ti.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>USB: EHCI: Disable langwell/penwell LPM capability</title>
<updated>2010-09-20T23:04:59+00:00</updated>
<author>
<name>Alek Du</name>
<email>alek.du@intel.com</email>
</author>
<published>2010-09-06T13:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=fc9282506114d4be188a464af2d373db31dd781c'/>
<id>urn:sha1:fc9282506114d4be188a464af2d373db31dd781c</id>
<content type='text'>
We have to do so due to HW limitation.

Signed-off-by: Alek Du &lt;alek.du@intel.com&gt;
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;


</content>
</entry>
<entry>
<title>usb: musb_debugfs: don't use the struct file private_data field with seq_files</title>
<updated>2010-09-20T23:04:56+00:00</updated>
<author>
<name>Mathias Nyman</name>
<email>mathias.nyman@nokia.com</email>
</author>
<published>2010-09-06T10:52:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-op-linux/commit/?id=024cfa5943a7e89565c60b612d698c2bfb3da66a'/>
<id>urn:sha1:024cfa5943a7e89565c60b612d698c2bfb3da66a</id>
<content type='text'>
seq_files use the private_data field of a file struct for storing a seq_file structure,
data should be stored in seq_file's own private field (e.g. file-&gt;private_data-&gt;private)
Otherwise seq_release() will free the private data when the file is closed.

Signed-off-by: Mathias Nyman &lt;mathias.nyman@nokia.com&gt;
Cc: stable &lt;stable@kernel.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

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