Re: Linux 2.6.32.60

2012-10-11 Thread Greg KH
On Thu, Oct 11, 2012 at 08:29:16AM +0200, Willy Tarreau wrote: > 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

[GIT] TPM bugfixes

2012-10-11 Thread James Morris
Please pull these fixes for the TPM code. The following changes since commit 12250d843e8489ee00b5b7726da855e51694e792: Merge branch 'i2c-embedded/for-next' of git://git.pengutronix.de/git/wsa/linux (2012-10-11 10:27:51 +0900) are available in the git repository at:

[alsa-devel] [PATCH] ASoC: codecs: da9055: DAPMise Headphone and Lineout enable controls

2012-10-11 Thread Ashish Chavan
This patch DAPMises headphone and lineout output enable controls. Earlier these output enable bits were permanently turned on in probe. In da9055 codec, right outmixer is directly connected with right HP and Line out. This resulted in two side effects, (1) When you only want to use lineout,

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-10-11 Thread Nikunj A Dadhania
On Wed, 10 Oct 2012 09:24:55 -0500, Andrew Theurer wrote: > > Below is again 8 x 20-way VMs, but this time I tried out Nikunj's gang > scheduling patches. While I am not recommending gang scheduling, I > think it's a good data point. The performance is 3.88x the PLE result. > >

RE: [PATCH] extcon : register for cable interest by cable name

2012-10-11 Thread Tc, Jenny
> Subject: Re: [PATCH] extcon : register for cable interest by cable name > > > There are some scnearios where a driver/framework needs to register > > interest for a particular cable without specifying the extcon device > > name. One such scenario is charger notifications. The platform will >

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

2012-10-11 Thread Sekhar Nori
On 10/10/2012 5:32 PM, Sekhar Nori wrote: > Hi Murali, > > On 9/26/2012 11:37 PM, Murali Karicheri wrote: >> This is the driver for the main PLL clock hardware found on DM SoCs. >> This driver borrowed code from arch/arm/mach-davinci/clock.c and >> implemented the driver as per common clock

[PATCH] mcs7830: Fix link state detection

2012-10-11 Thread Ondrej Zary
The device had an undocumented "feature": it can provide a sequence of spurious link-down status data even if the link is up all the time. A sequence of 10 was seen so update the link state only after the device reports the same link state 20 times. Signed-off-by: Ondrej Zary Reported-by:

Re: [RESEND PATCH v2 1/2] update mem= option's spec

2012-10-11 Thread Wen Congyang
Hi, HPA When do you have time to review this patchset? Thanks Wen Congyang At 10/11/2012 06:38 PM, we...@cn.fujitsu.com Wrote: > From: Wen Congyang > > Current mem= implementation seems buggy because specification and > implementation doesn't match. Current mem= has been working > for many

[Patch v3 7/7] Onkey: DA9055 Onkey driver

2012-10-11 Thread Ashish Jangam
This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the DA9055 MFD core driver. This patch is functionally tested on SMDK6410 board. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since v3: - used of module_platform_driver macro - add regmap virtual irq

[RESEND PATCH v2 2/2] x86: reimplement mem boot option

2012-10-11 Thread wency
From: Wen Congyang Current mem boot option only can work for non efi environment. If the user specifies add_efi_memmap, it cannot work for efi environment. In the efi environment, we call e820_add_region() to add the memory map. So we can modify __e820_add_region() and the mem boot option can

[PATCH 5/5] efivarfs: efivarfs_fill_super() ensure we clean up correctly on error

2012-10-11 Thread Andy Whitcroft
Ensure we free both the name and inode on error when building the individual variables. Signed-off-by: Andy Whitcroft --- drivers/firmware/efivars.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/drivers/firmware/efivars.c

[PATCH 3/5] efivarfs: efivarfs_fill_super() fix inode reference counts

2012-10-11 Thread Andy Whitcroft
When d_make_root() fails it will automatically drop the reference on the root inode. We should not be doing so as well. Signed-off-by: Andy Whitcroft --- drivers/firmware/efivars.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git

[PATCH 4/5] efivarfs: efivarfs_fill_super() ensure we free our temporary name

2012-10-11 Thread Andy Whitcroft
d_alloc_name() copies the passed name to new storage, once complete we no longer need our name. Signed-off-by: Andy Whitcroft --- drivers/firmware/efivars.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index 79f3e4e..dcb34ae

[RESEND PATCH v2 1/2] update mem= option's spec

2012-10-11 Thread wency
From: Wen Congyang Current mem= implementation seems buggy because specification and implementation doesn't match. Current mem= has been working for many years and it's not buggy, it works as expected. So we should update the specification. Signed-off-by: Wen Congyang

[PATCH 0/5] efivarfs: fixes and cleanups

2012-10-11 Thread Andy Whitcroft
We have recently been looking to backport the efivarfs support as posted, to 3.5.x. Inspired by some searching questions from Tetsuo Handa I have been reviewing this code. The following a first pass at fixing up some of the error handling. As they represent error paths they are hard to truly

[PATCH 1/5] efivarfs: efivarfs_file_read ensure we free data in error paths

2012-10-11 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft --- drivers/firmware/efivars.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index 4b12a8fd..ae50d2f 100644 --- a/drivers/firmware/efivars.c +++ b/drivers/firmware/efivars.c @@

[PATCH 2/5] efivarfs: efivarfs_create() ensure we drop our reference on inode on error

2012-10-11 Thread Andy Whitcroft
Signed-off-by: Andy Whitcroft --- drivers/firmware/efivars.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/firmware/efivars.c b/drivers/firmware/efivars.c index ae50d2f..0bbf742 100644 --- a/drivers/firmware/efivars.c +++

[Patch v3 3/7] RTC: DA9055 RTC driver

2012-10-11 Thread Ashish Jangam
This is the RTC patch for the DA9055 PMIC. This patch has got dependency on the DA9055 MFD core. This patch is functionally tested on Samsung SMDKV6410. Signed-off-by: David Dajun Chen Signed-off-by: Ashish Jangam --- changes since version v3: - use of module_platform_driver macro - add the

Re: [PATCH 1/2] scatterlist: add sg_nents

2012-10-11 Thread Geert Uytterhoeven
On Thu, Oct 11, 2012 at 12:27 PM, Geert Uytterhoeven wrote: > On Wed, Sep 26, 2012 at 11:49 AM, Maxim Levitsky > wrote: >> +int sg_nents(struct scatterlist *sg) > > unsigned int? and "const struct scatterlist *sg"? Ah no, that won't work as sg_next() treats non-const pointers :-( >> +{ >> +

Re: [PATCH 1/2] scatterlist: add sg_nents

2012-10-11 Thread Geert Uytterhoeven
On Wed, Sep 26, 2012 at 11:49 AM, Maxim Levitsky wrote: > +int sg_nents(struct scatterlist *sg) unsigned int? > +{ > + int nents = 0; > + while (sg) { > + nents++; > + sg = sg_next(sg); > + } > + > + return nents; > +} Gr{oetje,eeting}s,

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

2012-10-11 Thread James Bottomley
On Thu, 2012-10-11 at 10:15 +0100, 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

[PATCH] mm: fix null vm_ops dereference in sys_remap_file_pages

2012-10-11 Thread Konstantin Khlebnikov
This fixes bug introduced in commit "mm: kill vma flag VM_CAN_NONLINEAR", vma->vm_ops must be checked before checking vm_ops->remap_pages. Signed-off-by: Konstantin Khlebnikov Reported-by: Sasha Levin --- mm/fremap.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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; +

[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 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 > *

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

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

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;

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 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: [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

[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: [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;

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 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 affect arm,

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: [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

[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: [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

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 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 works for your

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 > > > Signed-off-by: Lee Jones

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

2012-10-11 Thread David Howells
Tabi Timur-B04825 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: [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 wrote: > On Tuesday 09 October 2012, Michael Leun wrote: > > On Tue, 9 Oct 2012 09:21:31 +0200 > > > > Ondrej Zary wrote: > > > On Tuesday 09 October 2012, Michael Leun wrote: > > > > On Thu, 27 Sep 2012 10:39:05 -0700 > > > > > > > > Greg KH

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

2012-10-11 Thread David Howells
Stephen Rothwell 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, it is assumed that

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

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. > > > > > > > >

[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 --- Note I haven't tested compilation on openrisc. I'd appreciate if somebody

[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 --- Note I haven't tested compilation on cris. I'd appreciate if somebody could

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

[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

[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

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

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

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

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 > > > Signed-off-by: Lee Jones > > > --- > > >

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 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 =

[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

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

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 Shulyupin >>> >>> Remove USB configuration in arch/arm/mach-davinci/usb.c

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

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

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

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

2012-10-11 Thread Vineet.Gupta1
From: Vineet Gupta 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 forced to CS8 (for

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

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 wrote: > Mauro Carvalho Chehab wrote: >> Em Tue, 09 Oct 2012 14:30:24 +0100 >> David Howells escreveu: >> >> > Can you merge the following branch into the media tree please. >> > >> > This is to complete part of the Userspace API (UAPI)

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

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" wrote: > > > > > Some back lights perform poorly when driven by a PWM with a short > > > duty-cycle. For such

Re: [RFC net-next] treewide: s/ipv4_is_()/ipv4_addr_/

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_(__be32) > > ipv6_addr_(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. > >

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

2012-10-11 Thread Oliver Endriss
Mauro Carvalho Chehab wrote: > Em Tue, 09 Oct 2012 14:30:24 +0100 > David Howells 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 preparatory patches were pulled

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 > > wrote: > > > > > +#ifdef CONFIG_RMI4_DEBUG > > > +/** > > > + * Utility routine to handle writes to read-only attributes. Hopefully > > > + * this

[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 Signed-off-by: David Dajun Chen --- sound/soc/codecs/da9055.c | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff

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

RE: [RFC net-next] treewide: s/ipv4_is_()/ipv4_addr_/

2012-10-11 Thread David Laight
> ipv4 and ipv6 use different styles for these tests. > > ipv4_is_(__be32) > ipv6_addr_(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: [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); > +

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 Date: Wed Jul 4 09:18:03 2012 +0200 usbdevfs: Use scatter-gather lists for large bulk transfers breaks an usb programming cable over here. The

[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 --- drivers/power/generic-adc-battery.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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 wrote: > > On Tuesday 09 October 2012, Michael Leun wrote: > > > On Thu, 27 Sep 2012 10:39:05 -0700 > > > > > > Greg KH wrote: > > > > On Tue, Jul 24, 2012 at 01:36:34AM +0200, Michael Leun wrote:

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 > > wrote: > > > > > > + > > > +/** This is here because all those casts made for some ugly code. > > > + */ > > >

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: 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

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

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

[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 wrote: > > From: David Howells [mailto:dhowe...@redhat.com] > > > > Can you merge the following branch into the wimax

[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

[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 Signed-off-by: David Dajun Chen --- sound/soc/codecs/da9055.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/da9055.c b/sound/soc/codecs/da9055.c index

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 > 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

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 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: [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 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 cost alone

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 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 you route

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 > > Signed-off-by: Lee Jones > > --- > > arch/arm/mach-ux500/cpu-db8500.c | 14 ++ > > 1 file

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: [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 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 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 > > Signed-off-by: Lee Jones > > --- > > arch/arm/boot/dts/u9540.dts | 13

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

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

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: [ 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

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 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: [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 >

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 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 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 implements the function to remove

[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 diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 4c69326..cfe1283 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -1027,7

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