linux-next: no tree for July 11

2012-07-10 Thread Stephen Rothwell
Normal service will resume tomorrow. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpmJyBkrt8nJ.pgp Description: PGP signature

Re: [PATCH] iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next

2012-07-10 Thread Lars-Peter Clausen
On 07/11/2012 06:05 AM, Gerard Snitselaar wrote: > ad5064_init() calls ad5064_spi_unregister_driver() which is annotated > __exit. > > Signed-off-by: Gerard Snitselaar Thanks, Acked-by: Lars-Peter Clausen > --- > drivers/iio/dac/ad5064.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-

Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Yasuaki Ishimatsu
Hi Wen, 2012/07/11 15:25, Wen Congyang wrote: > At 07/11/2012 01:52 PM, Yasuaki Ishimatsu Wrote: >> 2012/07/11 14:06, Wen Congyang wrote: >> Hi Wen, >> >>> At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: I don't think that all pages of virtual mapping in removed memory can be freed, sin

[PATCH] fs/ioctl.c: set local var past_eof to true instead of integer 1 in __generic_block_fiemap

2012-07-10 Thread Wang Sheng-Hui
In function __generic_block_fiemap, local var past_eof is declared as bool, so use 'true' instead of number 1 here. Signed-off-by: Wang Sheng-Hui --- fs/ioctl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ioctl.c b/fs/ioctl.c index 29167be..e42abb0 100644 --- a/f

Re: [PATCH] mei: module version

2012-07-10 Thread Ortwin Glück
On 07/10/2012 05:28 PM, Alan Cox wrote: On Tue, 10 Jul 2012 12:10:27 +0200 Ortwin Glück wrote: The LMS daemon expects a /sys/modules/mei/version file with, a four digit version number. see http://software.intel.com/en-us/articles/download-the-latest-intel-amt-open-source-drivers/ Just get t

Re: [RFC PATCH 05/14] PCI: add access functions for PCIe capabilities to hide PCIe spec differences

2012-07-10 Thread Jiang Liu
On 2012-7-11 11:40, Bjorn Helgaas wrote: >> Good point. Return success when reading unimplemented registeres, that >> may simplify code. For we still should return -EINVAL when writing >> unimplemented registers, right? > > Yeah, I guess it's OK to return -EINVAL when *writing* to an > unimplemen

[patch] tty: double unlock on error in ptmx_open()

2012-07-10 Thread Dan Carpenter
The problem here is that we called mutex_unlock(&devpts_mutex) on the error path when we weren't holding the lock. Signed-off-by: Dan Carpenter diff --git a/drivers/tty/pty.c b/drivers/tty/pty.c index d855883..a0ca083 100644 --- a/drivers/tty/pty.c +++ b/drivers/tty/pty.c @@ -618,13 +618,12 @@ s

Re: [PATCH] mm/slob: avoid type warning about alignment value

2012-07-10 Thread Arnd Bergmann
On Wednesday 11 July 2012, David Rientjes wrote: > Wouldn't it be better to avoid this problem more generally by casting the > __alignof__ for ARCH_{KMALLOC,SLAB}_MINALIGN to int in slab.h? All > architectures that define these themselves will be using plain integers, > the problem is __alignof

Re: [PATCH] pwm: fix used-uninitialized warning in pwm_get()

2012-07-10 Thread Thierry Reding
On Thu, Jul 05, 2012 at 09:56:50AM -0600, Stephen Warren wrote: > On 07/03/2012 11:58 PM, Thierry Reding wrote: > > On Tue, Jul 03, 2012 at 02:34:21PM -0600, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> This fixes: drivers/pwm/core.c: In function 'pwm_get': > >> drivers/pwm/core.c:5

Re: linux-next: build failure after merge of the net-next tree

2012-07-10 Thread David Miller
From: Stephen Rothwell Date: Tue, 10 Jul 2012 13:08:48 +1000 > I added the following merge fix patch: > > From: Stephen Rothwell > Date: Tue, 10 Jul 2012 13:06:01 +1000 > Subject: [PATCH] net: fix for qmi_wwan_unbind_shared changes > > Signed-off-by: Stephen Rothwell Thanks Stephen, I'll inc

[patch] Extcon: Arizona: unlock on an error in arizona_micdet()

2012-07-10 Thread Dan Carpenter
Smatch complains about this. I don't have a way to test this, but it does look like we should unlock on error here. Signed-off-by: Dan Carpenter diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index b068bc9..4782884 100644 --- a/drivers/extcon/extcon-arizona.c +++

Re: [PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-10 Thread Hans Verkuil
Hi Federico! A few small remarks: On Wed July 11 2012 04:34:46 Federico Vaga wrote: > Signed-off-by: Federico Vaga > --- > drivers/media/video/adv7180.c | 221 > + > 1 file changed, 90 insertions(+), 131 deletions(-) > > diff --git a/drivers/media/vide

[patch] tracing: check for allocation failure

2012-07-10 Thread Dan Carpenter
Clean up and return -ENOMEM on if the kzalloc() fails. Signed-off-by: Dan Carpenter diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 814ff30..a120f98 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2390,6 +2390,9 @@ __tracing_open(struct inode *inode, struct file *

[PATCH] staging/gdm72xx: use kthread APIs

2012-07-10 Thread Devendra Naga
This patch modifies the kthread usage in the gdm_usb code, and tries to use the kthread APIs better. Actually the task_struct is taken as global as the limitation of priv. we run the kthread before we allocate the priv. did only compilation test, but not the insmod, check ps ax for kthread and rm

Re: mmotm 2012-07-10-16-59 uploaded

2012-07-10 Thread Artem Bityutskiy
Andrew, thanks for picking my changes! On Tue, 2012-07-10 at 17:01 -0700, a...@linux-foundation.org wrote: > * hfs-get-rid-of-hfs_sync_super-checkpatch-fixes.patch > * hfsplus-get-rid-of-write_super-checkpatch-fixes.patch I sent updated versions which would fix checkpatch.pl complaints. I guess

Re: [PATCH resend 0/3] pstore/ram: Configurable ECC size

2012-07-10 Thread Anton Vorontsov
On Tue, Jul 10, 2012 at 01:17:48PM -0700, Kees Cook wrote: > On Mon, Jul 9, 2012 at 4:45 PM, Anton Vorontsov > wrote: > > Just a few patches left from the series that used to add configurable > > ECC size for pstore/ram backend. Most patches were merged into -next, > > and this is just a resend of

Re: [PATCH 0/4] Calxeda xgmac fixes and performance improvements

2012-07-10 Thread David Miller
From: Rob Herring Date: Mon, 9 Jul 2012 19:16:06 -0500 > From: Rob Herring > > A few fixes and performance improvements for the Calxeda xgmac driver for > 3.6. It would be nice to get the 2 fixes into 3.5, but since it is a bit > late in the cycle they can wait. All applied to net-nex, thanks

[PATCH V3] perf/x86: Add Intel Nehalem-EX/Westmere-EX uncore support

2012-07-10 Thread Yan, Zheng
From: "Yan, Zheng" The uncore subsystem in Nehalem-EX/Westmere-EX consists of 7 components (U-Box, C-Box, B-Box, S-Box, R-Box, M-Box and W-Box). This patch is large because the way to program these boxes is diverse. Signed-off-by: Yan, Zheng --- Changes since v2: -Add code to explicit specify

Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Wen Congyang
At 07/11/2012 01:52 PM, Yasuaki Ishimatsu Wrote: > 2012/07/11 14:06, Wen Congyang wrote: > Hi Wen, > >> At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: >>> I don't think that all pages of virtual mapping in removed memory can be >>> freed, since page which type is MIX_SECTION_INFO is difficult to

Re: [PATCH 05/13] rbtree: performance and correctness test

2012-07-10 Thread Michel Lespinasse
On Tue, Jul 10, 2012 at 5:27 AM, Michal Nazarewicz wrote: > On Tue, 10 Jul 2012 01:35:15 +0200, Michel Lespinasse > wrote: >> + u32 prev_key = 0; >> + >> + for (rb = rb_first(&root); rb; rb = rb_next(rb)) { >> + struct test_node *node = rb_entry(rb, struct test_node, >>

Re: Logitech HD Webcam C525 does not work when connected to USB 2 port, works on USB 3

2012-07-10 Thread Heinz Diehl
Hi, I have exactly the same webcam, lsusb says "Bus 002 Device 004: ID 046d:0826 Logitech, Inc."... On 06.07.2012, Alan Stern wrote: > On Thu, 5 Jul 2012, Frederik Himpe wrote: > > I tried setting to on again, and then this appears in the logs: > > Jul 5 21:21:59 piranha kernel: [ 9788.223118

[PATCH V2] staging/slicoss: disable pci device at remove

2012-07-10 Thread Devendra Naga
at probe we enabled the device, and we should disable it at remove. Signed-off-by: Devendra Naga --- changes v2: nothing, just a resend, incremented patch version count for maintainer to have notified the latest change easily. drivers/staging/slicoss/slicoss.c |1 + 1 file changed

Re: [PATCH v2] mm: Warn about costly page allocation

2012-07-10 Thread Minchan Kim
On 07/11/2012 02:33 PM, David Rientjes wrote: > On Wed, 11 Jul 2012, Minchan Kim wrote: > >>> Should we consider enabling CONFIG_COMPACTION in defconfig? If not, would >> >> I hope so but Mel didn't like it because some users want to have a smallest >> kernel if they don't care of high-order all

Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Yasuaki Ishimatsu
2012/07/11 14:06, Wen Congyang wrote: Hi Wen, > At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: >> I don't think that all pages of virtual mapping in removed memory can be >> freed, since page which type is MIX_SECTION_INFO is difficult to free. >> So, the patch only frees page which type is SECT

Re: linux-next: Tree for July 10 (iio)

2012-07-10 Thread Randy Dunlap
On 07/10/2012 12:43 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20120709: > on x86_64: drivers/iio/dac/ad5064.c: In function 'ad5064_i2c_write': drivers/iio/dac/ad5064.c:132:2: error: implicit declaration of function 'i2c_master_send' -- ~Randy -- To unsubscribe from this

Re: [PATCH] of: mtd: nuke useless const qualifier

2012-07-10 Thread Bityutskiy, Artem
On Tue, 2012-07-10 at 10:35 -0500, Rob Herring wrote: > > Remove also the unnecessary "extern" qualifier to be consistent with other > > declarations in this file. > > > > Signed-off-by: Artem Bityutskiy > > --- > > Applied. Next time please don't PGP sign patches. Thanks. Sure, I'll try. --

Re: linux-next: Tree for July 10 (gpio/gpio-tps65910.c)

2012-07-10 Thread Randy Dunlap
On 07/10/2012 12:43 AM, Stephen Rothwell wrote: > Hi all, > > Changes since 20120709: > on i386: when CONFIG_OF_GPIO is not enabled: drivers/gpio/gpio-tps65910.c: In function 'tps65910_gpio_probe': drivers/gpio/gpio-tps65910.c:152:26: error: 'struct gpio_chip' has no member named 'of_node'

Re: [RFC PATCH -tip ] tracing: make a snapshot feature available from userspace.

2012-07-10 Thread Hiraku Toyooka
Hello, Rob, Thank you very much for your advice. (2012/07/05 10:01), Rob Landley wrote: On 07/04/2012 05:47 AM, Hiraku Toyooka wrote: Hello, Steven, I've sent below RFC patch, but still have no responses. This patch can be applied to current tip tree. If you have time, could you give any com

Re: [PATCH v2] mm: Warn about costly page allocation

2012-07-10 Thread David Rientjes
On Wed, 11 Jul 2012, Minchan Kim wrote: > > Should we consider enabling CONFIG_COMPACTION in defconfig? If not, would > > I hope so but Mel didn't like it because some users want to have a smallest > kernel if they don't care of high-order allocation. > CONFIG_COMPACTION adds 0.1% to my kerne

Re: [PATCH] [powerpc] Export memory limit via device tree

2012-07-10 Thread Benjamin Herrenschmidt
> diff --git a/arch/powerpc/kernel/machine_kexec.c > b/arch/powerpc/kernel/machine_kexec.c > index c957b12..0c9695d 100644 > --- a/arch/powerpc/kernel/machine_kexec.c > +++ b/arch/powerpc/kernel/machine_kexec.c > @@ -207,6 +207,12 @@ static struct property crashk_size_prop = { > .value = &cr

Re: [PATCH RFT] watchdog: Convert orion_wdt driver to watchdog core

2012-07-10 Thread Axel Lin
於 一,2012-06-18 於 16:01 +0200,Andrew Lunn 提到: > On Fri, Jun 15, 2012 at 03:22:44PM +0800, Axel Lin wrote: > > Convert the orion_wdt driver to the watchdog framework API. > > > > Signed-off-by: Axel Lin > > Hi Axel > > Tested-by: Andrew Lunn Hi Wim, This patch has been tested by Andrew Lunn. I

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-10 Thread Rusty Russell
On Tue, 10 Jul 2012 16:52:18 +, Arnd Bergmann wrote: > On Tuesday 10 July 2012, Alan Cox wrote: > > > In the AArch32 kernel port many implementation decisions newer > > > architectures were made in a way that preserves backwards compatibility > > > to over 15 years ago (and for good reasons, A

Re: [PATCH v3] PWM: add lpc32xx PWM support

2012-07-10 Thread Thierry Reding
On Tue, Jul 10, 2012 at 11:38:10AM -0300, Alexandre Pereira da Silva wrote: > Add lpc32xx SOC PWM driver. > > Signed-off-by: Alexandre Pereira da Silva > --- > Changes since v2: > * Update commit message > * Change the driver to handle the two PWM's of the SOC > * Disable clock on removal > > Ch

Re: [PATCH] perf: fix perf-lock report coredump

2012-07-10 Thread Jovi Zhang
On Wed, Jul 11, 2012 at 10:20 AM, David Ahern wrote: > On 7/10/12 7:06 PM, Jovi Zhang wrote: >> >> From 4b363bf16c12b76788fbace1475123b7214ae58d Mon Sep 17 00:00:00 2001 >> From: Jovi Zhang >> Date: Wed, 11 Jul 2012 16:53:57 +0800 >> Subject: [PATCH] perf: fix perf-lock report coredump >> >> Che

[PATCH v3 8/8] bluetooth: Added /proc/net/sco via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/sco.c |9 + 1 file changed, 9 insertions(+) diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c index 40bbe25..85efd9f 100644 --- a/net/bluetooth/sco.c +++ b/net/bluetooth/sco.c @@ -1026,6 +1026,13 @@ int __init sco_init(void)

[PATCH v3 7/8] bluetooth: Added /proc/net/rfcomm via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/rfcomm/sock.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/rfcomm/sock.c b/net/bluetooth/rfcomm/sock.c index 7e1e596..260821a 100644 --- a/net/bluetooth/rfcomm/sock.c +++ b/net/bluetooth/rfcomm

Re: [PATCH 2/3] staging/slicoss: disable pci device at remove

2012-07-10 Thread devendra.aaru
On Wed, Jul 11, 2012 at 12:13 AM, Greg Kroah-Hartman wrote: >> I haven't see this? Why don't you want to disable a device at remove >> time? Because we put the disable in the generic pci layer? > > For some reason, I thought we didn't do this because of other > "interfaces" on the same card migh

[PATCH v3 6/8] bluetooth: Added /proc/net/l2cap via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/l2cap_sock.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c index a4bb27e..c9a9f1c 100644 --- a/net/bluetooth/l2cap_sock.c +++ b/net/bluetooth/l2ca

Re: 82571EB: Detected Hardware Unit Hang

2012-07-10 Thread Joe Jin
On 07/11/12 12:05, Dave, Tushar N wrote: > When you said you had this issue with RHEL5 and RHEL6 drivers, have you > install RHEl5/6 kernel and reproduced it? If so I think I should install > RHEL6 and try reproduce it locally! > Yes I reproduced this on both RHEL5 and RHEL6. So far I tried to

[PATCH v3 5/8] bluetooth: Added /proc/net/hidp via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/hidp/sock.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/net/bluetooth/hidp/sock.c b/net/bluetooth/hidp/sock.c index 18b3f68..a481f8d 100644 --- a/net/bluetooth/hidp/sock.c +++ b/net/bluetooth/hidp/so

[PATCH v3 4/8] bluetooth: Added /proc/net/hci via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/hci_sock.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index a7f04de..7c3d6c7 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c @@ -1100

[PATCH v3 3/8] bluetooth: Added /proc/net/cmtp via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/cmtp/sock.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/cmtp/sock.c b/net/bluetooth/cmtp/sock.c index 311668d..d5cacef 100644 --- a/net/bluetooth/cmtp/sock.c +++ b/net/bluetooth/cmtp/

Re: [RFC PATCH v3 11/13] memory-hotplug : free memmap of sparse-vmemmap

2012-07-10 Thread Wen Congyang
At 07/09/2012 06:33 PM, Yasuaki Ishimatsu Wrote: > I don't think that all pages of virtual mapping in removed memory can be > freed, since page which type is MIX_SECTION_INFO is difficult to free. > So, the patch only frees page which type is SECTION_INFO at first. > > CC: David Rientjes > CC: Ji

[PATCH v3 2/8] bluetooth: Added /proc/net/bnep via bt_procfs_init()

2012-07-10 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- net/bluetooth/bnep/sock.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/net/bluetooth/bnep/sock.c b/net/bluetooth/bnep/sock.c index 5e5f5b4..5b6cc0b 100644 --- a/net/bluetooth/bnep/sock.c +++ b/net/bluetooth/bnep/s

[PATCH v3 1/8] bluetooth: /proc/net/ entries for bluetooth protocols

2012-07-10 Thread Masatake YAMATO
(The patch sets are rebased to bluetooth-next. Unnecessary white spaces are trimmed.) lsof command can tell the type of socket processes are using. Internal lsof uses inode numbers on socket fs to resolve the type of sockets. Files under /proc/net/, such as tcp, udp, unix, etc provides such inode

Re: [PATCH] alarmtimer: add .remove_dev hook to put device

2012-07-10 Thread John Stultz
On 07/10/2012 08:46 PM, Shawn Guo wrote: Hi John, Is this patch a valid fix or just a noise? Sorry! This is on my list, but I've not had a chance to get to it. I'll try to get a closer look later this week! Thanks for reminding me, and sorry again! -john Regards, Shawn On Thu, Jul 05, 20

Re: general protection fault on ttm_init()

2012-07-10 Thread Fengguang Wu
On Sat, Jul 07, 2012 at 11:31:42PM +0800, Fengguang Wu wrote: > On Sat, Jul 07, 2012 at 10:08:47AM +0800, Fengguang Wu wrote: > > On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > > > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang

Re: [PATCH] fat: Support fallocate on fat.

2012-07-10 Thread Namjae Jeon
2012/7/9, OGAWA Hirofumi : > Namjae Jeon writes: > >> 2012/7/9, OGAWA Hirofumi : >>> Namjae Jeon writes: >>> >> +/* >> + * calculate i_blocks and mmu_private from the actual number of >> + * allocated clusters instead of doing it from file size.This >> ensu

Re: [PATCH 3/4] [SCSI] ufs: Add AMBA glue driver to ufshcd

2012-07-10 Thread vinayak holikatti
On Mon, Jul 2, 2012 at 8:50 PM, Arnd Bergmann wrote: > On Monday 02 July 2012, Vinayak Holikatti wrote: >> +static struct amba_id ufshcd_amba_ids[] = { >> + { >> + /* Fake id for Primecell.*/ >> + .id = 0x00041FF0, >> + .mask = 0x000f, >> +

Re: [PATCH 2/4] [SCSI] ufs: Add Platform glue driver for ufshcd

2012-07-10 Thread vinayak holikatti
On Mon, Jul 2, 2012 at 8:57 PM, Arnd Bergmann wrote: > On Monday 02 July 2012, Vinayak Holikatti wrote: >> +static struct platform_driver ufshcd_pltfrm_driver = { >> + .probe = ufshcd_pltfrm_probe, >> + .remove = __devexit_p(ufshcd_pltfrm_remove), >> +#ifdef CONFIG_PM >> + .susp

Re: [PATCH 1/4] [SCSI] ufs: Separate PCI glue driver for ufshcd

2012-07-10 Thread vinayak holikatti
On Mon, Jul 2, 2012 at 8:47 PM, Arnd Bergmann wrote: > On Monday 02 July 2012, Vinayak Holikatti wrote: >> >> This patch separates PCI and core UFS host controller driver. >> In the current implementation PCI specific code is with ufshcd.c. >> To provide way for adding multiple bus glue driver, th

Re: [PATCH] nfs-util: Add cache_flush in mountd UMNT procedure.

2012-07-10 Thread Namjae Jeon
2012/7/10, J. Bruce Fields : > On Sat, Jul 07, 2012 at 11:17:39PM -0400, Namjae Jeon wrote: >> For removing storage device - user needs to safely un-mount the device >> and then eject. But if 'EBUSY' occurs in umount then it will create >> confusion for the user as it will mean some I/O is in progr

RE: 82571EB: Detected Hardware Unit Hang

2012-07-10 Thread Dave, Tushar N
>-Original Message- >From: Joe Jin [mailto:joe@oracle.com] >Sent: Tuesday, July 10, 2012 8:29 PM >To: Dave, Tushar N >Cc: e1000-de...@lists.sf.net; net...@vger.kernel.org; linux- >ker...@vger.kernel.org >Subject: Re: 82571EB: Detected Hardware Unit Hang > >On 07/11/12 11:22, Dave, Tusha

[PATCH] iio: dac: ad5064: fix section mismatch in ad5064_init() in linux-next

2012-07-10 Thread Gerard Snitselaar
ad5064_init() calls ad5064_spi_unregister_driver() which is annotated __exit. Signed-off-by: Gerard Snitselaar --- drivers/iio/dac/ad5064.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/ad5064.c b/drivers/iio/dac/ad5064.c index aa739c4..6ec1319 100644 --- a/

[PATCH] mm/hugetlb_cgroup: Add list_del to remove unused page from hugepage_activelist when hugepage migration

2012-07-10 Thread Wanpeng Li
From: Wanpeng Li hugepage_activelist is used to track currently used HugeTLB pages. We can find the in-use HugeTLB pages to support HugeTLB cgroup removal. Don't keep unused page in hugetlb_activelist too long. Otherwise, on cgroup removal we should update the unused page's charge to parent coun

Re: [PATCH] alarmtimer: add .remove_dev hook to put device

2012-07-10 Thread Shawn Guo
Hi John, Is this patch a valid fix or just a noise? Regards, Shawn On Thu, Jul 05, 2012 at 12:13:07AM +0800, Shawn Guo wrote: > The following is a test sequence that installs a rtc module, remove it > and installs it again. > > $ insmod rtc-snvs.ko > snvs_rtc 20cc034.snvs-rtc-lp: rtc core: regi

Re: [RFC PATCH 05/14] PCI: add access functions for PCIe capabilities to hide PCIe spec differences

2012-07-10 Thread Bjorn Helgaas
On Tue, Jul 10, 2012 at 9:07 PM, Jiang Liu wrote: > On 2012-7-11 2:35, Bjorn Helgaas wrote: >>> diff --git a/drivers/pci/access.c b/drivers/pci/access.c >>> index ba91a7e..80ae022 100644 >>> --- a/drivers/pci/access.c >>> +++ b/drivers/pci/access.c >>> @@ -469,3 +469,91 @@ void pci_cfg_access_unlo

Re: 82571EB: Detected Hardware Unit Hang

2012-07-10 Thread Joe Jin
On 07/11/12 11:22, Dave, Tushar N wrote: > Thanks for info. I see that hang occurs right when HW processing first TX > descriptor with TSO. > Would you be able to reproduce issue with TSO off? Disable TSO by 'ethtool > -K ethx tso off' > Let all debug enabled as it is, that will help us debug f

Re: [PATCH] crypto: twofish-avx - remove useless instruction

2012-07-10 Thread Herbert Xu
On Thu, Jul 05, 2012 at 08:43:58PM +0200, Johannes Goetzfried wrote: > The register %rdx is written, but never read till the end of the encryption > routine. Therefore let's delete the useless instruction. > > Signed-off-by: Johannes Goetzfried > Patch applied. Thanks! -- Email: Herbert Xu H

Re: [PATCH 0/5] AT91SAM9G46/M11: add crypto drivers

2012-07-10 Thread Herbert Xu
On Sun, Jul 01, 2012 at 07:19:42PM +0200, Eric Bénard wrote: > This patch serie adds the support for the crypto engine available in > the Atmel SAM9G46 http://www.atmel.com/devices/SAM9G46.aspx and SAM9M11 > http://www.atmel.com/devices/SAM9M11.aspx > > For each driver the choice between PDC/DMA o

Re: [PATCH v4] Exynos : Add support for Exynos random number generator

2012-07-10 Thread Herbert Xu
On Fri, Jun 29, 2012 at 09:43:26AM +0900, Jonghwa Lee wrote: > This patch supports Exynos SOC's PRNG driver. Exynos's PRNG has 5 seeds and > 5 random number outputs. Module is excuted under runtime power management > control, > so it activates only while it's in use. Otherwise it will be suspended

[PATCH] mm/hugetlb_cgroup: Add huge_page_order check to avoid incorrectly uncharge

2012-07-10 Thread Wanpeng Li
From: Wanpeng Li Against linux-next: Function alloc_huge_page will call hugetlb_cgroup_charge_cgroup to charge pages, the compound page have less than 3 pages will not charge to hugetlb cgroup. When alloc_huge_page fails it will call hugetlb_cgroup_uncharge_cgroup to uncharge pages, however, hug

Re: [RFC PATCH 05/14] PCI: add access functions for PCIe capabilities to hide PCIe spec differences

2012-07-10 Thread Jiang Liu
On 2012-7-11 2:35, Bjorn Helgaas wrote: >> diff --git a/drivers/pci/access.c b/drivers/pci/access.c >> index ba91a7e..80ae022 100644 >> --- a/drivers/pci/access.c >> +++ b/drivers/pci/access.c >> @@ -469,3 +469,91 @@ void pci_cfg_access_unlock(struct pci_dev *dev) >> raw_spin_unlock_irqrest

Re: [PATCH RFC V2 2/2] kvm PLE handler: Choose better candidate for directed yield

2012-07-10 Thread Raghavendra K T
On 07/11/2012 02:20 AM, Ingo Molnar wrote: * Raghavendra K T wrote: --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1595,6 +1595,9 @@ void kvm_vcpu_on_spin(struct kvm_vcpu *me) continue; if (waitqueue_active(&vcpu->wq))

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Wen Congyang
At 07/11/2012 09:52 AM, Wen Congyang Wrote: > At 07/09/2012 06:21 PM, Yasuaki Ishimatsu Wrote: >> This patch series aims to support physical memory hot-remove. >> >> [RFC PATCH v3 1/13] memory-hotplug : rename remove_memory to offline_memory >> [RFC PATCH v3 2/13] memory-hotplug : add physical

Re: [RFC PATCH 06/14] PCI: use PCIe cap access functions to simplify PCI core implementation

2012-07-10 Thread Jiang Liu
On 2012-7-11 2:35, Bjorn Helgaas wrote: >> @@ -2042,7 +1994,6 @@ void pci_free_cap_save_buffers(struct pci_dev *dev) >> */ >> void pci_enable_ari(struct pci_dev *dev) >> { >> - int pos; >> u32 cap; >> u16 ctrl; >> struct pci_dev *bridge; >> @@ -2050,8 +2001,7 @@ vo

Re: [PATCH] mm: Warn about costly page allocation

2012-07-10 Thread Cong Wang
On Mon, Jul 9, 2012 at 10:12 PM, Minchan Kim wrote: > > Embedded can use CONFIG_PRINTK and !CONFIG_BUG for size optimization > and printk(pr_xxx) + dump_stack is common technic used in all over kernel > sources. Do you have any reason you don't like it? > No, I am just feeling like it is a kind o

Re: [PATCH 4/4] perf kvm: fix bug resolving guest kernel syms

2012-07-10 Thread Namhyung Kim
On Tue, 10 Jul 2012 20:16:15 -0600, David Ahern wrote: > On 7/10/12 6:54 PM, Namhyung Kim wrote: >> On Tue, 10 Jul 2012 15:48:14 -0600, David Ahern wrote: >>> diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c >>> index 641377e..da3411b 100644 >>> --- a/tools/perf/util/map.c >>> +++ b/tools

[PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-10 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 221 + 1 file changed, 90 insertions(+), 131 deletions(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 174bffa..7705456 100644 --- a/drivers/media/video/a

Re: [PATCH 4/4] perf kvm: fix bug resolving guest kernel syms

2012-07-10 Thread David Ahern
On 7/10/12 6:54 PM, Namhyung Kim wrote: Hi, David On Tue, 10 Jul 2012 15:48:14 -0600, David Ahern wrote: Guest kernel symbols are not resolved despite passing the information needed to resolve them. e.g., perf kvm --guest --guestmount=/tmp/guest-mount record -a -- sleep 1 perf kvm --guest --gu

Re: [PATCH v2] mm: Warn about costly page allocation

2012-07-10 Thread Minchan Kim
Hi David, On Tue, Jul 10, 2012 at 06:02:06PM -0700, David Rientjes wrote: > On Tue, 10 Jul 2012, Minchan Kim wrote: > > > > So I dunno, this all looks like we have a kernel problem and we're > > > throwing our problem onto hopelessly ill-equipped users of that kernel? > > > > As you know, this p

Re: [PATCH] perf: fix perf-lock report coredump

2012-07-10 Thread David Ahern
On 7/10/12 7:06 PM, Jovi Zhang wrote: From 4b363bf16c12b76788fbace1475123b7214ae58d Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 11 Jul 2012 16:53:57 +0800 Subject: [PATCH] perf: fix perf-lock report coredump Check sample type event raw_data is existed in perf.data firstly, then invoke

Re: [PATCH] resource: make sure requested range intersects root range

2012-07-10 Thread Ram Pai
On Tue, Jul 10, 2012 at 02:33:48PM -0700, Andrew Morton wrote: > On Sat, 30 Jun 2012 15:00:57 +0300 > Octavian Purdila wrote: > > > When the requested and root ranges do not intersect the logic in > > __reserve_region_with_split will cause an infinite recursion which > > will overflow the stack a

[PATCH] mfd: Remove unneeded io_mutex from struct twl6040

2012-07-10 Thread Axel Lin
Current code has been converted to use regmap APIs, the io_mutex is not needed. Thus remove the io_mutex. Signed-off-by: Axel Lin --- drivers/mfd/twl6040-core.c | 23 +++ include/linux/mfd/twl6040.h |1 - 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/

Re: [PATCH V2 5/5] perf/x86: Add Intel Nehalem-EX uncore support

2012-07-10 Thread Yan, Zheng
On 07/10/2012 08:17 PM, Peter Zijlstra wrote: > On Thu, 2012-07-05 at 14:32 +0800, Yan, Zheng wrote: >> The uncore subsystem in Nehalem-EX consists of 7 components >> (U-Box, C-Box, B-Box, S-Box, R-Box, M-Box and W-Box). This >> patch is large because the way to program these boxes is >> diverse. >

[PATCH v2] mfd: Remove __devexit annotation for pm80x_deinit

2012-07-10 Thread Axel Lin
This fixes below section mismatch warning: LD drivers/mfd/built-in.o WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in reference from the function pm800_probe() to the function .devexit.text:pm80x_deinit() The function __devinit pm800_probe() references a function

Re: [PATCH] mfd: Remove __devexit annotation for pm80x_deinit

2012-07-10 Thread Qiao Zhou
On 07/11/2012 09:48 AM, Axel Lin wrote: This fixes below section mismatch warning: LD drivers/mfd/built-in.o WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in reference from the function pm800_probe() to the function .devexit.text:pm80x_deinit() The function __d

Re: [PATCH] mfd: Fix checking return value of regmap_read()

2012-07-10 Thread Qiao Zhou
On 07/11/2012 09:27 AM, Axel Lin wrote: Check the return value of regmap_read() rather than the read value. Signed-off-by: Axel Lin --- drivers/mfd/88pm800.c | 16 +--- drivers/mfd/88pm805.c |5 +++-- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/

[PATCH] mfd: Remove __devexit annotation for pm80x_deinit

2012-07-10 Thread Axel Lin
This fixes below section mismatch warning: LD drivers/mfd/built-in.o WARNING: drivers/mfd/built-in.o(.devinit.text+0x46c): Section mismatch in reference from the function pm800_probe() to the function .devexit.text:pm80x_deinit() The function __devinit pm800_probe() references a function

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Wen Congyang
At 07/09/2012 06:21 PM, Yasuaki Ishimatsu Wrote: > This patch series aims to support physical memory hot-remove. > > [RFC PATCH v3 1/13] memory-hotplug : rename remove_memory to offline_memory > [RFC PATCH v3 2/13] memory-hotplug : add physical memory hotplug code to > acpi_memory_device_remo

Re: [PATCH v2] net: cgroup: fix access the unallocated memory in netprio cgroup

2012-07-10 Thread Gao feng
于 2012年07月10日 19:08, Eric Dumazet 写道: > On Tue, 2012-07-10 at 13:05 +0200, Eric Dumazet wrote: >> On Tue, 2012-07-10 at 18:44 +0800, Gao feng wrote: >>> there are some out of bound accesses in netprio cgroup. >> >>> - update_netdev_tables(); >>> + ret = extend_netdev_table(dev, max_len); >>> +

Re: [ 26/48] udf: Avoid run away loop when partition table length is corrupted

2012-07-10 Thread Ben Hutchings
On Tue, 2012-07-10 at 18:04 +0200, Jan Kara wrote: > On Tue 10-07-12 16:52:26, Ben Hutchings wrote: > > On Mon, Jul 09, 2012 at 03:31:42PM +0100, Ben Hutchings wrote: > > > 3.2-stable review patch. If anyone has any objections, please let me > > > know. > > > > > > -- > > > > >

Re: [ 00/48] 3.2.23-stable review

2012-07-10 Thread Ben Hutchings
Sorry for the delay; here's the full diff: diff --git a/Makefile b/Makefile index 9a7d921..f83eeab 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 2 -SUBLEVEL = 22 -EXTRAVERSION = +SUBLEVEL = 23 +EXTRAVERSION = -rc1 NAME = Saber-toothed Squirrel # *DOCUMENTATION

[PATCH] mfd: Fix checking return value of regmap_read()

2012-07-10 Thread Axel Lin
Check the return value of regmap_read() rather than the read value. Signed-off-by: Axel Lin --- drivers/mfd/88pm800.c | 16 +--- drivers/mfd/88pm805.c |5 +++-- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/88pm800.c b/drivers/mfd/88pm800.c index e

Re: [PATCH] resource: make sure requested range intersects root range

2012-07-10 Thread Joe Perches
On Tue, 2012-07-10 at 14:33 -0700, Andrew Morton wrote: > On Sat, 30 Jun 2012 15:00:57 +0300 > Octavian Purdila wrote: > > > When the requested and root ranges do not intersect the logic in > > __reserve_region_with_split will cause an infinite recursion which > > will overflow the stack as seen

RE: 82571EB: Detected Hardware Unit Hang

2012-07-10 Thread Dave, Tushar N
>-Original Message- >From: Joe Jin [mailto:joe@oracle.com] >Sent: Tuesday, July 10, 2012 5:35 PM >To: Dave, Tushar N >Cc: e1000-de...@lists.sf.net; net...@vger.kernel.org; linux- >ker...@vger.kernel.org >Subject: Re: 82571EB: Detected Hardware Unit Hang > >On 07/11/12 03:02, Dave, Tush

Re: [PATCH] mm/slob: avoid type warning about alignment value

2012-07-10 Thread David Rientjes
On Tue, 10 Jul 2012, Arnd Bergmann wrote: > diff --git a/mm/slob.c b/mm/slob.c > index 95d1c7d..51d6a27 100644 > --- a/mm/slob.c > +++ b/mm/slob.c > @@ -426,7 +426,7 @@ out: > void *__kmalloc_node(size_t size, gfp_t gfp, int node) > { > unsigned int *m; > - int align = max(ARCH_KMALLOC

[PATCH 0/1] Check for eCryptfs cipher support at mount time.

2012-07-10 Thread Tim Sally
eCryptfs will mount with any cipher supported by the crypto subsystem, even if the cipher is not supported by eCryptfs itself. An error will not occur until a write. This change checks for eCryptfs cipher support at mount time and will not mount the filesystem if the cipher is not supported. The c

[PATCH 1/1] eCryptfs: check for eCryptfs cipher support at mount

2012-07-10 Thread Tim Sally
The issue occurs when eCryptfs is mounted with a cipher supported by the crypto subsystem but not by eCryptfs. The mount succeeds and an error does not occur until a write. This change checks for eCryptfs cipher support at mount time. Resolves Launchpad issue #338914, reported by Tyler Hicks in 03

[PATCH] perf: fix perf-lock report coredump

2012-07-10 Thread Jovi Zhang
>From 4b363bf16c12b76788fbace1475123b7214ae58d Mon Sep 17 00:00:00 2001 From: Jovi Zhang Date: Wed, 11 Jul 2012 16:53:57 +0800 Subject: [PATCH] perf: fix perf-lock report coredump Check sample type event raw_data is existed in perf.data firstly, then invoke process_raw_event, otherwise it will co

Re: [PATCH v2] mm: Warn about costly page allocation

2012-07-10 Thread David Rientjes
On Tue, 10 Jul 2012, Minchan Kim wrote: > > So I dunno, this all looks like we have a kernel problem and we're > > throwing our problem onto hopelessly ill-equipped users of that kernel? > > As you know, this patch isn't for solving regular high-order allocations. > As I wrote down, The problem i

Re: [PATCH 4/4] perf kvm: fix bug resolving guest kernel syms

2012-07-10 Thread Namhyung Kim
Hi, David On Tue, 10 Jul 2012 15:48:14 -0600, David Ahern wrote: > Guest kernel symbols are not resolved despite passing the information > needed to resolve them. e.g., > > perf kvm --guest --guestmount=/tmp/guest-mount record -a -- sleep 1 > perf kvm --guest --guestmount=/tmp/guest-mount report -

Re: [RFC PATCH v3 0/13] memory-hotplug : hot-remove physical memory

2012-07-10 Thread Yasuaki Ishimatsu
Hi Jiang, 2012/07/11 9:21, Jiang Liu wrote: On 07/11/2012 08:09 AM, Yasuaki Ishimatsu wrote: Hi Jiang, 2012/07/11 1:50, Jiang Liu wrote: On 07/10/2012 05:58 PM, Yasuaki Ishimatsu wrote: Hi Christoph, 2012/07/10 0:18, Christoph Lameter wrote: On Mon, 9 Jul 2012, Yasuaki Ishimatsu wrote:

Re: 82571EB: Detected Hardware Unit Hang

2012-07-10 Thread Joe Jin
On 07/11/12 03:02, Dave, Tushar N wrote: >> -Original Message- >> From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] >> On Behalf Of Joe Jin >> Sent: Tuesday, July 10, 2012 12:40 AM >> To: Joe Jin >> Cc: e1000-de...@lists.sf.net; net...@vger.kernel.org; linux- >> ker..

Re: [PATCH] apple-gmux: Restore switch registers on suspend/resume

2012-07-10 Thread Andreas Heider
Thanks for adding me, seeing the gmux driver progress is always great. Regarding the original patch: This is probably only useful when the gmux was switched in GRUB and there's already a solution for the resume problem in userspace (http://ubuntuforums.org/showpost.php?p=10695119&postcount=26

[PATCH] usb/host/ehci-hub: Fix the issue EG20T USB host controller has long resuming time, when pen drive is attached.

2012-07-10 Thread Tomoya MORINAGA
Signed-off-by: Tomoya MORINAGA --- drivers/usb/host/ehci-hub.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c index fc9e7cc..d596d0f 100644 --- a/drivers/usb/host/ehci-hub.c +++ b/drivers/usb/host/ehci-hub.c @

[PATCH 83/83] staging: comedi: rtd520: cleanup the boardinfo

2012-07-10 Thread H Hartley Sweeten
Remove a couple unnecessary comments. For aesthetic reasons, add some whitespace to the boardinfo to improve readability. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 38 +++-- 1 file changed, 1

[PATCH 82/83] staging: comedi: rtd520: cleanup the range tables

2012-07-10 Thread H Hartley Sweeten
Change the whitespace of the range tables to avoid the > 80 character lines and the ugly line breaks. Convert a couple of the RANGE() values into the appropriate {UNI,BIP}_RANGE(). Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.

[PATCH 81/83] staging: comedi: rtd520: cleanup the "find pci device" code

2012-07-10 Thread H Hartley Sweeten
Use for_each_pci_dev() instead of open-coding the for loop. Create local variables for the bus and slot options as well as the thisboard pointer in order to clarify the code. Consolidate the printk's when a supported board is not found into one dev_warn message. Signed-off-by: H Hartley Sweeten C

[PATCH 80/83] staging: comedi: rtd520: factor out the "find pci device" code

2012-07-10 Thread H Hartley Sweeten
Factor the "find pci device" code out of the attach function. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 74 ++--- 1 file changed, 40 insertions(+), 34 deletions(-) diff --git a/drivers/stagi

  1   2   3   4   5   6   >