[patch] [SCSI] bfa: cleanup a memcpy()

2012-10-11 Thread Dan Carpenter
Smatch complains that we are writing more data than ->srlid_base member can hold. In fact, we are over writing the whole struct. I've re-written it to be a bit more clear and to silence the static checker warning. Signed-off-by: Dan Carpenter diff --git a/drivers/scsi/bfa/bfa_ioc.c

[patch] [SCSI] bfa: unlock on error in bfad_iocmd_cfg_trunk()

2012-10-11 Thread Dan Carpenter
We added a new return but forgot to drop the lock first. Signed-off-by: Dan Carpenter --- Bug introduced in e353546e "[SCSI] bfa: Add diagnostic port (D-Port) support". diff --git a/drivers/scsi/bfa/bfad_bsg.c b/drivers/scsi/bfa/bfad_bsg.c index 555e7db..91465b2 100644 ---

[patch] gpio-timberdale: fix a potential wrapping issue

2012-10-11 Thread Dan Carpenter
->last_ier is an unsigned long but the high bits can't be used int the original code because the shift wraps. Signed-off-by: Dan Carpenter diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c index 031c6ad..1a3e2b9 100644 --- a/drivers/gpio/gpio-timberdale.c +++

Re: REGRESSION: usbdevfs: Use-scatter-gather-lists-for-large-bulk-transfers

2012-10-11 Thread Peter Stuge
Henrik Rydberg wrote: > > What is the programming cable and software that uses it? > > The programmer is impact, using libusbx-1.0.14-1. Do you know for a fact that your version calls libusb-1.0? Did you establish this with e.g. strace? ISE 11.1 impact uses only libusb.so, ie. libusb-0.1.

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-11 Thread Julia Lawall
I found 6 cases where there are more than 2 messages in the array. I didn't check how many cases where there are two messages but there is something other than one read and one write. Perhaps a reasonable option would be to use I2C_MSG_READ I2C_MSG_WRITE I2C_MSG_READ_OP I2C_MSG_WRITE_OP The

Re: RE: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-11 Thread Heiko Schocher
Hello Manjunathappa On 11.10.2012 07:42, Manjunathappa, Prakash wrote: Hi, On Mon, Oct 08, 2012 at 18:47:07, Constantine Shulyupin wrote: From: Constantine Shulyupin Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly CONFIG_USB_MUSB_OTG CONFIG_USB_MUSB_PERIPHERAL

[PATCH] [SCSI] virtio-scsi: Add real 2-clause BSD license to header

2012-10-11 Thread Bryan Venteicher
This is analogous to commit a1b383870a made by Rusty Russell to all the VirtIO headers at the time. This eases the use of the header as is by other OSes. Signed-off-by: Bryan Venteicher --- include/linux/virtio_scsi.h | 28 ++-- 1 file changed, 26 insertions(+), 2

Re: Linux 2.6.32.60

2012-10-11 Thread Willy Tarreau
Hi Romain, On Wed, Oct 10, 2012 at 04:05:32PM +0200, Romain Francoise wrote: > Hi Willy, > > Willy Tarreau writes: > > > I've just released Linux 2.6.32.60. > > > This release contains, among others, a number of fixes for random and NTP, > > including for the NTP leap second bug. Users should

[Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-11 Thread Ashish Jangam
This is the Regulator patch for the DA9055 PMIC and has got dependency on the DA9055 MFD core. This patch support all of the DA9055 regulators. The output voltages are fully programmable through I2C interface only. The platform data with regulation constraints is passed down from the board to the

Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-11 Thread Takao Indoh
(2012/10/11 5:08), Khalid Aziz wrote: Please see comments inline: On Wed, 2012-10-10 at 16:51 +0900, Takao Indoh wrote: This patch resets PCIe devices at boot time by hot reset when "reset_devices" is specified. Signed-off-by: Takao Indoh --- arch/x86/include/asm/pci-direct.h |1

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-10-11 Thread Yinghai Lu
On Wed, Oct 10, 2012 at 9:40 AM, Stefano Stabellini wrote: > > So you are missing the Xen patches entirely in this iteration of the > series? please check updated for-x86-mm branch. [PATCH -v4 00/15] x86: Use BRK to pre mapping page table to make xen happy on top of current linus/master and

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-10-11 Thread Yinghai Lu
On Wed, Oct 10, 2012 at 9:40 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: So you are missing the Xen patches entirely in this iteration of the series? please check updated for-x86-mm branch. [PATCH -v4 00/15] x86: Use BRK to pre mapping page table to make xen happy on top

Re: [PATCH v3 1/2] x86, pci: Reset PCIe devices at boot time

2012-10-11 Thread Takao Indoh
(2012/10/11 5:08), Khalid Aziz wrote: Please see comments inline: On Wed, 2012-10-10 at 16:51 +0900, Takao Indoh wrote: This patch resets PCIe devices at boot time by hot reset when reset_devices is specified. Signed-off-by: Takao Indoh indou.ta...@jp.fujitsu.com ---

[Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-11 Thread Ashish Jangam
This is the Regulator patch for the DA9055 PMIC and has got dependency on the DA9055 MFD core. This patch support all of the DA9055 regulators. The output voltages are fully programmable through I2C interface only. The platform data with regulation constraints is passed down from the board to the

Re: Linux 2.6.32.60

2012-10-11 Thread Willy Tarreau
Hi Romain, On Wed, Oct 10, 2012 at 04:05:32PM +0200, Romain Francoise wrote: Hi Willy, Willy Tarreau w...@1wt.eu writes: I've just released Linux 2.6.32.60. This release contains, among others, a number of fixes for random and NTP, including for the NTP leap second bug. Users should

[PATCH] [SCSI] virtio-scsi: Add real 2-clause BSD license to header

2012-10-11 Thread Bryan Venteicher
This is analogous to commit a1b383870a made by Rusty Russell to all the VirtIO headers at the time. This eases the use of the header as is by other OSes. Signed-off-by: Bryan Venteicher bry...@daemoninthecloset.org --- include/linux/virtio_scsi.h | 28 ++-- 1 file

Re: RE: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-11 Thread Heiko Schocher
Hello Manjunathappa On 11.10.2012 07:42, Manjunathappa, Prakash wrote: Hi, On Mon, Oct 08, 2012 at 18:47:07, Constantine Shulyupin wrote: From: Constantine Shulyupinco...@makelinux.com Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly CONFIG_USB_MUSB_OTG

Re: [PATCH 13/13] drivers/media/tuners/e4000.c: use macros for i2c_msg initialization

2012-10-11 Thread Julia Lawall
I found 6 cases where there are more than 2 messages in the array. I didn't check how many cases where there are two messages but there is something other than one read and one write. Perhaps a reasonable option would be to use I2C_MSG_READ I2C_MSG_WRITE I2C_MSG_READ_OP I2C_MSG_WRITE_OP The

Re: REGRESSION: usbdevfs: Use-scatter-gather-lists-for-large-bulk-transfers

2012-10-11 Thread Peter Stuge
Henrik Rydberg wrote: What is the programming cable and software that uses it? The programmer is impact, using libusbx-1.0.14-1. Do you know for a fact that your version calls libusb-1.0? Did you establish this with e.g. strace? ISE 11.1 impact uses only libusb.so, ie. libusb-0.1. Depending

[patch] gpio-timberdale: fix a potential wrapping issue

2012-10-11 Thread Dan Carpenter
-last_ier is an unsigned long but the high bits can't be used int the original code because the shift wraps. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c index 031c6ad..1a3e2b9 100644 ---

[patch] [SCSI] bfa: unlock on error in bfad_iocmd_cfg_trunk()

2012-10-11 Thread Dan Carpenter
We added a new return but forgot to drop the lock first. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Bug introduced in e353546e [SCSI] bfa: Add diagnostic port (D-Port) support. diff --git a/drivers/scsi/bfa/bfad_bsg.c b/drivers/scsi/bfa/bfad_bsg.c index 555e7db..91465b2 100644 ---

[patch] [SCSI] bfa: cleanup a memcpy()

2012-10-11 Thread Dan Carpenter
Smatch complains that we are writing more data than -srlid_base member can hold. In fact, we are over writing the whole struct. I've re-written it to be a bit more clear and to silence the static checker warning. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git

[patch] irq: potential integer wrapping __setup_irq()

2012-10-11 Thread Dan Carpenter
thread_mask is an unsigned long. It's better to use 1UL here so we can take advantage of the high bits as well. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 4c69326..cfe1283 100644 --- a/kernel/irq/manage.c +++

Re: [PATCH 2/10] memory-hotplug : remove /sys/firmware/memmap/X sysfs

2012-10-11 Thread Yasuaki Ishimatsu
2012/10/06 4:36, KOSAKI Motohiro wrote: On Thu, Oct 4, 2012 at 10:26 PM, Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com wrote: When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code to remove these files. The patch

Re: [RFC] regulator: core: Support for continuous voltage range

2012-10-11 Thread Mark Brown
On Mon, Sep 24, 2012 at 06:56:53PM +0100, Pawel Moll wrote: Some regulators can set any voltage within the constraints range, not being limited to specified operating points. This patch makes it possible to describe such regulator and makes the regulator_is_supported_voltage() function

Re: [PATCH v3] regulator: Versatile Express regulator driver

2012-10-11 Thread Mark Brown
On Mon, Sep 24, 2012 at 06:56:54PM +0100, Pawel Moll wrote: Implementation of the regulator framework driver for the Versatile Express voltage control. Devices without voltage constraints (ie. regulator-[min|max]-microvolt properties in the DT node) are treated as fixed (or rather read-only)

Re: REGRESSION: usbdevfs: Use-scatter-gather-lists-for-large-bulk-transfers

2012-10-11 Thread Peter Stuge
Xiaofan Chen wrote: On Thu, Oct 11, 2012 at 2:50 PM, Peter Stuge pe...@stuge.se wrote: But it isn't certain that is is involved at all. If your impact version uses libusb.so like in ISE 11.1 then it will not be. One way to test is by trying to generate a libusb debug log. See

Re: [ 60/84] r8169: fix wake on lan setting for non-8111E.

2012-10-11 Thread Jonathan Nieder
Hi Greg, Greg Kroah-Hartman wrote: commit d4ed95d796e5126bba51466dc07e287cebc8bd19 upstream. Only 8111E needs enable RxConfig bit 0 ~ 3 when suspending or shutdowning for wake on lan. Sounds sensible to me, but I haven't reviewed this --- e.g., I don't know what symptoms this addresses or

Re: [alsa-devel] [PATCH] ASoC: codecs: da9055: Minor improvements

2012-10-11 Thread Mark Brown
On Wed, Oct 10, 2012 at 05:24:53PM +0530, Ashish Chavan wrote: This patch includes two minor improvements for da9055 codec driver (1) Adding support for DSP mode of AIF (2) Muting Mic PGAs during ALC calibration process Send one patch per change. I suspect the second change is a bug fix

Re: Meaningless load?

2012-10-11 Thread Simon Klinkert
On 10.10.2012, at 18:22, Peter Zijlstra wrote: On Wed, 2012-10-10 at 17:44 +0200, Simon Klinkert wrote: I'm just wondering if the 'load' is really meaningful in this scenario. The machine is the whole time fully responsive and looks fine to me but maybe I didn't understand correctly what

Re: [PATCH 5/6] ARM: ux500: Enable SDI4 port on the u9540 when booting with Device Tree

2012-10-11 Thread Lee Jones
On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:18 Wed 10 Oct , Lee Jones wrote: Here we add the device node for the SDI4 (MMC) port to the u9540 Device Tree source file. This will allow successful probing of the internal MMC storage device when booting with DT

Re: [PATCH 4/6] ARM: ux500: Add UART support to the u9540 Device Tree

2012-10-11 Thread Lee Jones
On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:18 Wed 10 Oct , Lee Jones wrote: Add the 3 UART nodes required to enable serial ports on the u9540. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org ---

Re: [alsa-devel] [PATCH V7 12/15] ALSA: HDA: Make hda sound card usable for Loongson

2012-10-11 Thread Huacai Chen
On Mon, Oct 8, 2012 at 4:22 PM, Takashi Iwai ti...@suse.de wrote: At Fri, 5 Oct 2012 21:25:09 +0800, Huacai Chen wrote: Lemote A1004(Laptop) and A1205(All-In-One) use Conexant's hda codec, this patch modify patch_conexant.c to add Lemote specific code. Both A1004 and A1205 use the same pin

Re: [PATCH V2 4/5] regmap: add API to get irq_domain from regmap irq

2012-10-11 Thread Mark Brown
On Wed, Oct 10, 2012 at 10:49:04PM +0530, Laxman Dewangan wrote: Add API regmap_irq_get_irq_domain() for getting the irq domain from regmap irq. The irq domain created on result of regmap_add_irq_chip() from driver. Applied, thanks. I'll push out a signed tag

Re: [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC

2012-10-11 Thread Lee Jones
On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:18 Wed 10 Oct , Lee Jones wrote: First level board support for the u9540. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones lee.jo...@linaro.org --- arch/arm/mach-ux500/cpu-db8500.c |

Re: DEBUG_STACKOVERFLOW issue on ARM

2012-10-11 Thread vaibhav shinde
Hi Russel, On Fri, Oct 5, 2012 at 2:01 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Oct 03, 2012 at 05:18:56PM +0530, trisha yad wrote: I wish to know how can I support this function in 3.0 ? If your description is correct, then all you need to do is to ensure that

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-11 Thread Martin Schwidefsky
On Wed, 10 Oct 2012 14:28:32 -0700 (PDT) Hugh Dickins hu...@google.com wrote: But perhaps these machines aren't much into heavy swapping. Now, if Martin would send me a nice little zSeries netbook for Xmas, I could then test that end of it myself ;) Are you sure about that? The electricity

Re: [PATCH] mm: Fix XFS oops due to dirty pages without buffers on s390

2012-10-11 Thread Martin Schwidefsky
On Thu, 11 Oct 2012 08:56:00 +1100 Dave Chinner da...@fromorbit.com wrote: On Tue, Oct 09, 2012 at 07:19:09PM -0700, Hugh Dickins wrote: On Tue, 9 Oct 2012, Jan Kara wrote: On Mon 08-10-12 21:24:40, Hugh Dickins wrote: On Mon, 1 Oct 2012, Jan Kara wrote: On s390 any write to a

Re: DEBUG_STACKOVERFLOW issue on ARM

2012-10-11 Thread Russell King - ARM Linux
On Thu, Oct 11, 2012 at 01:09:46PM +0530, vaibhav shinde wrote: Hi Russel, On Fri, Oct 5, 2012 at 2:01 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Oct 03, 2012 at 05:18:56PM +0530, trisha yad wrote: I wish to know how can I support this function in 3.0 ? If

[alsa-devel] [PATCH] ASoC: codecs: da9055: Add support for DSP mode of AIF

2012-10-11 Thread Ashish Chavan
This patch adds AIF DSP mode support for da9055 codec driver. Signed-off-by: Ashish Chavan ashish.cha...@kpitcummins.com Signed-off-by: David Dajun Chen david.c...@diasemi.com --- sound/soc/codecs/da9055.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[PATCH] panic: fix incomplete panic log in panic()

2012-10-11 Thread Qing Zhu
Panic log should be printed on the console, but if someone lock the console when panic, console won't print out panic log. The incomplete panic log issue will happen in below scenarios: 1. One task call console_lock(), then panic happend before it call console_unlock(). No panic log can be

[GIT PULL] Disintegrate UAPI for wimax

2012-10-11 Thread David Howells
Hi Dave, Can you pull wimax as well? Sorry about this, but it seems like the majority of the non-arch trees need to go through the networking tree. Perez-Gonzalez, Inaky inaky.perez-gonza...@intel.com wrote: From: David Howells [mailto:dhowe...@redhat.com] Can you merge the following

RE: [PATCH net-next?] pktgen: Use simpler test for non-zero ipv6 address

2012-10-11 Thread David Laight
- if (pkt_dev-min_in6_daddr.s6_addr32[0] == 0 - pkt_dev-min_in6_daddr.s6_addr32[1] == 0 - pkt_dev-min_in6_daddr.s6_addr32[2] == 0 - pkt_dev-min_in6_daddr.s6_addr32[3] == 0) ; - else { + if

Re: [PATCH 07/10] input: Enable STMPE keypad driver for Device Tree

2012-10-11 Thread Lee Jones
On Wed, 10 Oct 2012, Dmitry Torokhov wrote: Hi Lee, On Fri, Oct 05, 2012 at 04:31:43PM +0100, Lee Jones wrote: This patch allows the STMPE driver to be successfully probed and initialised when Device Tree support is enabled. Besides the usual platform data changes, we also separate the

Re: Meaningless load?

2012-10-11 Thread Mike Galbraith
On Thu, 2012-10-11 at 09:19 +0200, Simon Klinkert wrote: On 10.10.2012, at 18:22, Peter Zijlstra wrote: On Wed, 2012-10-10 at 17:44 +0200, Simon Klinkert wrote: I'm just wondering if the 'load' is really meaningful in this scenario. The machine is the whole time fully responsive and looks

Re: [alsa-devel] [PATCH] ASoC: codecs: da9055: Add support for DSP mode of AIF

2012-10-11 Thread Mark Brown
On Thu, Oct 11, 2012 at 01:44:39PM +0530, Ashish Chavan wrote: This patch adds AIF DSP mode support for da9055 codec driver. Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-10-11 Thread Dmitry Torokhov
On Thu, Oct 11, 2012 at 04:15:56AM +, Christopher Heiny wrote: On Thursday, October 11, 2012 02:21:53 AM you wrote: On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heiny che...@synaptics.com wrote: + +/** This is here because all those casts made for some ugly code. + */

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-10-11 Thread Ondrej Zary
On Tuesday 09 October 2012, Michael Leun wrote: On Tue, 9 Oct 2012 09:21:31 +0200 Ondrej Zary li...@rainbow-software.org wrote: On Tuesday 09 October 2012, Michael Leun wrote: On Thu, 27 Sep 2012 10:39:05 -0700 Greg KH gre...@linuxfoundation.org wrote: On Tue, Jul 24, 2012 at

[PATCH] power: generic-adc-battery: Fix checking return value of request_any_context_irq

2012-10-11 Thread Axel Lin
On failure, request_any_context_irq() returns a negative value. On success, it returns either IRQC_IS_HARDIRQ or IRQC_IS_NESTED. Signed-off-by: Axel Lin axel@ingics.com --- drivers/power/generic-adc-battery.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: REGRESSION: usbdevfs: Use-scatter-gather-lists-for-large-bulk-transfers

2012-10-11 Thread Hans de Goede
Hi, On 10/10/2012 10:31 PM, Henrik Rydberg wrote: Hi Hans, Alan, Greg, commit 3d97ff63f8997761f12c8fbe8082996c6eeaba1a Author: Hans de Goede hdego...@redhat.com Date: Wed Jul 4 09:18:03 2012 +0200 usbdevfs: Use scatter-gather lists for large bulk transfers breaks an usb programming

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-11 Thread Dmitry Torokhov
On Fri, Oct 05, 2012 at 09:09:58PM -0700, Christopher Heiny wrote: + + int (*write_block)(struct rmi_phys_device *phys, u16 addr, u8 *buf, +int len); + int (*read_block)(struct rmi_phys_device *phys, u16 addr, u8 *buf, + int len); + If

RE: [RFC net-next] treewide: s/ipv4_is_foo()/ipv4_addr_foo/

2012-10-11 Thread David Laight
ipv4 and ipv6 use different styles for these tests. ipv4_is_foo(__be32) ipv6_addr_foo(struct in6_addr *) I presume there is a 'const' in there ... Perhaps it'd be good to convert the ipv4 tests to the ipv6 style. You don't want to force an IPv4 address (which might be in a register) be

Re: [PATCH 4/4] mtd: nand: omap2: Add data correction support

2012-10-11 Thread Ivan Djelic
On Thu, Oct 11, 2012 at 06:27:13AM +0100, Philip, Avinash wrote: (...) Another simple strategy could use the fact that you add a 14th zero byte to the 13 BCH bytes for RBL compatibility: RBL compatibility (14th byte) is applicable only for BCH8 ecc scheme. So I am planning adding an

[alsa-devel] [PATCH] ASoC: codecs: da9055: Minor improvement in ALC calibration process

2012-10-11 Thread Ashish Chavan
This patch slightly improves ALC calibration process of da9055 codec driver by muting Mic PGAs during calibration. Signed-off-by: Ashish Chavan ashish.cha...@kpitcummins.com Signed-off-by: David Dajun Chen david.c...@diasemi.com --- sound/soc/codecs/da9055.c | 22 +- 1

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-11 Thread Dmitry Torokhov
On Thu, Oct 11, 2012 at 03:41:41AM +, Christopher Heiny wrote: Linus Walleij wrote: On Sat, Oct 6, 2012 at 6:09 AM, Christopher Heiny che...@synaptics.com wrote: +#ifdef CONFIG_RMI4_DEBUG +/** + * Utility routine to handle writes to read-only attributes. Hopefully + *

Re: Re: [GIT PULL] Disintegrate UAPI for media

2012-10-11 Thread Oliver Endriss
Mauro Carvalho Chehab mche...@infradead.org wrote: Em Tue, 09 Oct 2012 14:30:24 +0100 David Howells dhowe...@redhat.com escreveu: Can you merge the following branch into the media tree please. This is to complete part of the Userspace API (UAPI) disintegration for which the

Re: [RFC net-next] treewide: s/ipv4_is_foo()/ipv4_addr_foo/

2012-10-11 Thread Joe Perches
On Thu, 2012-10-11 at 09:11 +0100, David Laight wrote: ipv4 and ipv6 use different styles for these tests. ipv4_is_foo(__be32) ipv6_addr_foo(struct in6_addr *) I presume there is a 'const' in there ... Perhaps it'd be good to convert the ipv4 tests to the ipv6 style. You don't

RE: [PATCH v3] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-10-11 Thread Philip, Avinash
On Fri, Sep 28, 2012 at 11:15:48, Thierry Reding wrote: On Thu, Sep 27, 2012 at 02:33:09PM -0700, Andrew Morton wrote: On Wed, 26 Sep 2012 20:17:07 +0530 Philip, Avinash avinashphi...@ti.com wrote: Some back lights perform poorly when driven by a PWM with a short duty-cycle. For such

Re: [RFC] Common clock framework for external clock generators

2012-10-11 Thread Daniel Mack
Hi Sebastian, On 10.05.2012 03:11, Sebastian Hesselbarh wrote: first of all I apologize for the quite long attachment but I think it is useful for the following discussion. I recently read about the newly introduced common clock framework (ccf) and wondered if this could be also used for

Re: Re: [GIT PULL] Disintegrate UAPI for media

2012-10-11 Thread Manu Abraham
On Thu, Oct 11, 2012 at 1:53 PM, Oliver Endriss o.endr...@gmx.de wrote: Mauro Carvalho Chehab mche...@infradead.org wrote: Em Tue, 09 Oct 2012 14:30:24 +0100 David Howells dhowe...@redhat.com escreveu: Can you merge the following branch into the media tree please. This is to complete

Re: [alsa-devel] [PATCH] ASoC: codecs: da9055: Minor improvement in ALC calibration process

2012-10-11 Thread Mark Brown
On Thu, Oct 11, 2012 at 02:04:37PM +0530, Ashish Chavan wrote: This patch slightly improves ALC calibration process of da9055 codec driver by muting Mic PGAs during calibration. Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[RESEND PATCH v3] serial/arc-uart: Add new driver

2012-10-11 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi, Please find following ARC UART driver with all the review comments incorporated. It's rebased off of current tip (commit 12250d843e) Please consider merging. Thx, -Vineet v3: * Removed empty arc_serial_set_ldisc() * More set_termios fixes - CSIZE

[RESEND PATCH v3] serial/arc-uart: Add new driver

2012-10-11 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig| 25 ++ drivers/tty/serial/Makefile |1 +

Re: [RFC PATCH] memcg: oom: fix totalpages calculation for swappiness==0

2012-10-11 Thread Michal Hocko
On Wed 10-10-12 13:50:21, David Rientjes wrote: On Wed, 10 Oct 2012, Michal Hocko wrote: Hi, I am sending the patch below as an RFC because I am not entirely happy about myself and maybe somebody can come up with a different approach which would be less hackish. I don't see this as

Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-11 Thread Sekhar Nori
On 10/11/2012 12:05 PM, Heiko Schocher wrote: Hello Manjunathappa On 11.10.2012 07:42, Manjunathappa, Prakash wrote: Hi, On Mon, Oct 08, 2012 at 18:47:07, Constantine Shulyupin wrote: From: Constantine Shulyupinco...@makelinux.com Remove USB configuration in arch/arm/mach-davinci/usb.c

kswapd0: wxcessive CPU usage

2012-10-11 Thread Jiri Slaby
Hi, with 3.6.0-next-20121008, kswapd0 is spinning my CPU at 100% for 1 minute or so. If I try to suspend to RAM, this trace appears: kswapd0 R running task0 577 2 0x 00c0 cccd 8801c4146800 8801c4b15c88

[PATCH] memcg: oom: fix totalpages calculation for memory.swappiness==0

2012-10-11 Thread Michal Hocko
oom_badness takes totalpages argument which says how many pages are available and it uses it as a base for the score calculation. The value is calculated by mem_cgroup_get_limit which considers both limit and total_swap_pages (resp. memsw portion of it). This is usually correct but since fe35004f

Re: [PATCH 6/6] mfd: Differentiate between u8500 and u9540 TCDM address mapping

2012-10-11 Thread Lee Jones
On Wed, 10 Oct 2012, Arnd Bergmann wrote: On Wednesday 10 October 2012, Lee Jones wrote: @@ -2688,7 +2688,11 @@ void __init db8500_prcmu_early_init(void) iounmap(tcpm_base); } - tcdm_base = __io_address(U8500_PRCMU_TCDM_BASE); +

Re: [RFC][CFT][CFReview] execve and kernel_thread unification work

2012-10-11 Thread Paul Mackerras
I just looked through the powerpc: split ret_from_fork commit in your for-next branch, and I have a couple of comments. First, on 64-bit powerpc, if kernel_thread() is called on a function in a module, and that function returns, we'll then jump to do_exit with r2 pointing to the module's TOC

Re: [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC

2012-10-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:38 Thu 11 Oct , Lee Jones wrote: On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:18 Wed 10 Oct , Lee Jones wrote: First level board support for the u9540. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lee Jones

RE: [PATCH 4/4] mtd: nand: omap2: Add data correction support

2012-10-11 Thread Philip, Avinash
On Thu, Oct 11, 2012 at 13:51:49, Ivan Djelic wrote: On Thu, Oct 11, 2012 at 06:27:13AM +0100, Philip, Avinash wrote: (...) Another simple strategy could use the fact that you add a 14th zero byte to the 13 BCH bytes for RBL compatibility: RBL compatibility (14th byte) is

Re: [PATCH] memcg: oom: fix totalpages calculation for memory.swappiness==0

2012-10-11 Thread Michal Hocko
On Thu 11-10-12 10:57:39, Michal Hocko wrote: oom_badness takes totalpages argument which says how many pages are available and it uses it as a base for the score calculation. The value is calculated by mem_cgroup_get_limit which considers both limit and total_swap_pages (resp. memsw portion

ondemand 'regression' after firmware upgrade on MBA

2012-10-11 Thread Daniel Wagner
Hi, I updated the firmware of Macbook Air Mid 2012 model to version 2.5. The changelog from Apple http://support.apple.com/kb/DL1592 This update fixes an issue where Turbo Boost does not activate when using Boot Camp indicates that they changed stuff on the ACPI tables. Now I have noticed

[GIT PULL] late pinctrl patches for v3.7

2012-10-11 Thread Linus Walleij
Hi Linus, here is a late pinctrl pull request with stuff that wasn't quite tested at the first pull request. The main reason to not hold off is that the modifications to irq_domain_add_simple() as reviewed by Rob Herring introduce new infrastructure for irqdomains that will be useful for the

[RESEND PATCH] scsi: make struct scsi_varlen_cdb_hdr packed

2012-10-11 Thread James Hogan
The struct scsi_varlen_cdb_hdr is expected to be exactly 10 bytes when used in struct osd_cdb_head, but it isn't marked as packed. Some architectures will round the struct size up which triggers BUILD_BUG_ON compile errors in osd_initiator.c when the outer structs are unexpected sizes. This is

Re: [PATCH 6/6] mfd: Differentiate between u8500 and u9540 TCDM address mapping

2012-10-11 Thread Arnd Bergmann
On Thursday 11 October 2012, Lee Jones wrote: From what I understand, this code has to be called before Device Tree kicks in. Actually, this code is mearly a stand-in until Loic has finished with the PRCMU re-vamp. Once that's complete, this stuff will be passed from init_IRQ(), which is

[PATCH] cris: use kbuild.h instead of defining macros in asm-offset.c

2012-10-11 Thread James Hogan
This is modelled on commits such as the one below: Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e (sh: use kbuild.h instead of defining macros in asm-offsets.c) introduced in v2.6.26. Signed-off-by: James Hogan james.ho...@imgtec.com --- Note I haven't tested compilation on cris. I'd appreciate

[PATCH] openrisc: use kbuild.h instead of defining macros in asm-offset.c

2012-10-11 Thread James Hogan
This is modelled on commits such as the one below: Commit fc1c3a003edb8a6778e64e10ef671a38c76c969e (sh: use kbuild.h instead of defining macros in asm-offsets.c) introduced in v2.6.26. Signed-off-by: James Hogan james.ho...@imgtec.com --- Note I haven't tested compilation on openrisc. I'd

Re: [PATCH 3/6] ARM: ux500: Add support for ST-Ericsson's u9540 SoC

2012-10-11 Thread Lee Jones
On Thu, 11 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 08:38 Thu 11 Oct , Lee Jones wrote: On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:18 Wed 10 Oct , Lee Jones wrote: First level board support for the u9540. Acked-by: Linus Walleij

Re: [PATCH 4/6] ARM: ux500: Add UART support to the u9540 Device Tree

2012-10-11 Thread Lee Jones
On Thu, 11 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 08:29 Thu 11 Oct , Lee Jones wrote: On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:18 Wed 10 Oct , Lee Jones wrote: Add the 3 UART nodes required to enable serial ports on the u9540.

Re: linux-next: manual merge of the kvm-ppc tree with the powerpc-merge tree

2012-10-11 Thread David Howells
Stephen Rothwell s...@canb.auug.org.au wrote: I just removed epapr_hcalls.h from the Kbuild file as I am not sure how it should be broken up. David, can you have a look at this, please? Files should be broken up along around __KERNEL__ conditionals. If there are no __KERNEL__ conditionals,

Re: [3.5 regression / mcs7830 / bisected] bridge constantly toggeling between disabled and forwarding

2012-10-11 Thread Michael Leun
On Thu, 11 Oct 2012 10:14:14 +0200 Ondrej Zary li...@rainbow-software.org wrote: On Tuesday 09 October 2012, Michael Leun wrote: On Tue, 9 Oct 2012 09:21:31 +0200 Ondrej Zary li...@rainbow-software.org wrote: On Tuesday 09 October 2012, Michael Leun wrote: On Thu, 27 Sep 2012

Re: linux-next: manual merge of the kvm-ppc tree with the powerpc-merge tree

2012-10-11 Thread David Howells
Tabi Timur-B04825 b04...@freescale.com wrote: What is include/uapi? Take a look at http://lwn.net/Articles/507794/ David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 4/6] ARM: ux500: Add UART support to the u9540 Device Tree

2012-10-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:29 Thu 11 Oct , Lee Jones wrote: On Wed, 10 Oct 2012, Jean-Christophe PLAGNIOL-VILLARD wrote: On 16:18 Wed 10 Oct , Lee Jones wrote: Add the 3 UART nodes required to enable serial ports on the u9540. Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by:

Re: [git pull] IOMMU Updates for v3.7-rc1

2012-10-11 Thread Joerg Roedel
On Wed, Oct 10, 2012 at 11:02:31PM +0100, Andrew Oakley wrote: On Wed, 10 Oct 2012 20:11:31 +0100 Andrew Oakley and...@ado.is-a-geek.net wrote: I'm not sure if the fix I've got is safe or if it's really a good idea to enable interrupt remapping with a broken BIOS. Sadly it is not. Your patch

RE: [PATCHv4 1/4] modem_shm: Add Modem Access Framework

2012-10-11 Thread Arun MURTHY
On Tue, Oct 09, 2012 at 07:37:02AM +0200, Arun MURTHY wrote: Any further comments? I was waiting for you to address all of the previous ones with a new set of patches before burdening you with anything new :) There are not any changes in the code, this review was more like just explaining

[GIT PULL] OpenRISC updates for 3.7

2012-10-11 Thread Jonas Bonn
Hi Linus, Here are some OpenRISC updates for 3.7. These have been in linux-next (for-upstream branch) for a while; the signed tag is on the for-upstream-fixed branch where the only difference is the fact that I missed a sign-off on one of the commits and corrected that here. Thanks, Jonas

Re: [Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-11 Thread Ashish Jangam
Recalling this post. Wrong patch version got included. On Thu, 2012-10-11 at 12:06 +0530, Ashish Jangam wrote: This is the Regulator patch for the DA9055 PMIC and has got dependency on the DA9055 MFD core. This patch support all of the DA9055 regulators. The output voltages are fully

Re: Linux 3.0+ Disk performance problem - wrong pdflush behaviour

2012-10-11 Thread Viktor Nagy
Hi, On 2012.10.10. 22:27, Jan Kara wrote: On Wed 10-10-12 22:44:41, Viktor Nagy wrote: On 10/10/2012 06:57 PM, Jan Kara wrote: Hello, On Tue 09-10-12 11:41:16, Viktor Nagy wrote: Since Kernel version 3.0 pdflush blocks writes even the dirty bytes are well below /proc/sys/vm/dirty_bytes

Re:

2012-10-11 Thread Will Deacon
On Sun, Oct 07, 2012 at 07:36:20AM +0100, Geert Uytterhoeven wrote: On Sun, Oct 7, 2012 at 1:15 AM, David Howells dhowe...@redhat.com wrote: (3) m68k turned out to have a header installation problem due to it lacking a kvm_para.h file. Sh also. and arm64 iirc. It should also

Re: [REMINDER: PATCH 1/1] mtd:nand:clk: preparation for switch to common clock framework

2012-10-11 Thread Artem Bityutskiy
On Fri, 2012-09-28 at 16:10 +, Karicheri, Muralidharan wrote: -Original Message- From: Karicheri, Muralidharan Sent: Monday, September 17, 2012 12:38 PM To: dw...@infradead.org; artem.bityuts...@linux.intel.com; h...@denx.de; miked...@newsguy.com;

[Patch v3 2/7] Regulator: DA9055 Regulator driver

2012-10-11 Thread Ashish Jangam
This is the Regulator patch for the DA9055 PMIC and has got dependency on the DA9055 MFD core. This patch support all of the DA9055 regulators. The output voltages are fully programmable through I2C interface only. The platform data with regulation constraints is passed down from the board to the

Re: [RESEND PATCH] scsi: make struct scsi_varlen_cdb_hdr packed

2012-10-11 Thread Bart Van Assche
On 10/11/12 11:15, James Hogan wrote: The struct scsi_varlen_cdb_hdr is expected to be exactly 10 bytes when used in struct osd_cdb_head, but it isn't marked as packed. Some architectures will round the struct size up which triggers BUILD_BUG_ON compile errors in osd_initiator.c when the outer

Re: [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc

2012-10-11 Thread Constantine Shulyupin
I've tested gadget mode on DM365 without HW changes. On Thu, Oct 11, 2012 at 10:50 AM, Sekhar Nori nsek...@ti.com wrote: On 10/11/2012 12:05 PM, Heiko Schocher wrote: Hello Manjunathappa On 11.10.2012 07:42, Manjunathappa, Prakash wrote: Hi, On Mon, Oct 08, 2012 at 18:47:07, Constantine

Re: [REMINDER: PATCH 1/1] mtd:nand:clk: preparation for switch to common clock framework

2012-10-11 Thread Sekhar Nori
Hi Artem, On 10/11/2012 3:27 PM, Artem Bityutskiy wrote: On Fri, 2012-09-28 at 16:10 +, Karicheri, Muralidharan wrote: -Original Message- From: Karicheri, Muralidharan Sent: Monday, September 17, 2012 12:38 PM To: dw...@infradead.org; artem.bityuts...@linux.intel.com;

Re: [REMINDER: PATCH 1/1] mtd:nand:clk: preparation for switch to common clock framework

2012-10-11 Thread Artem Bityutskiy
On Thu, 2012-10-11 at 15:37 +0530, Sekhar Nori wrote: Hi Artem, On 10/11/2012 3:27 PM, Artem Bityutskiy wrote: On Fri, 2012-09-28 at 16:10 +, Karicheri, Muralidharan wrote: -Original Message- From: Karicheri, Muralidharan Sent: Monday, September 17, 2012 12:38 PM To:

Re: Linux 3.0+ Disk performance problem - wrong pdflush behaviour

2012-10-11 Thread Jan Kara
On Thu 11-10-12 11:52:54, Viktor Nagy wrote: On 2012.10.10. 22:27, Jan Kara wrote: On Wed 10-10-12 22:44:41, Viktor Nagy wrote: On 10/10/2012 06:57 PM, Jan Kara wrote: Hello, On Tue 09-10-12 11:41:16, Viktor Nagy wrote: Since Kernel version 3.0 pdflush blocks writes even the dirty bytes

Re: [PATCH v4 04/14] kmem accounting basic infrastructure

2012-10-11 Thread Michal Hocko
On Mon 08-10-12 14:06:10, Glauber Costa wrote: This patch adds the basic infrastructure for the accounting of the slab caches. To control that, the following files are created: * memory.kmem.usage_in_bytes * memory.kmem.limit_in_bytes * memory.kmem.failcnt *

[PATCH v2] acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-10-11 Thread Yasuaki Ishimatsu
acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when dev argument is NULL. Thus even if device cannot be removed correctly, acpi_bus_trim() ignores and continues

Re: [PATCH 01/13] calk: davinci - add Main PLL clock driver

2012-10-11 Thread Sekhar Nori
On 10/10/2012 8:04 PM, Karicheri, Muralidharan wrote: +struct clk *clk_register_davinci_pll(struct device *dev, const char *name, + const char *parent_name, + struct clk_davinci_pll_data *pll_data) { + struct clk_init_data init; + struct clk_davinci_pll

<    1   2   3   4   5   6   7   8   9   10   >