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

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

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

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

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

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 =

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,

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

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

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

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

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

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

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

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

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:

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

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

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

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

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,

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

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,

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

[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

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:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

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

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 #

[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

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,

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 =

[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

[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

[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

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

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

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=261). Maybe

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

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

[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

[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

[PATCH 79/83] staging: comedi: rtd520: remove thisboard macro

2012-07-10 Thread H Hartley Sweeten
The macro 'thisboard' relies on a local variable having a specific name and yeilds a pointer derived from that local variable. Replace the macro with a local variable where used and use the comedi_board() helper to get the pointer. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg

[PATCH 78/83] staging: comedi: rtd520: remove devpriv macro

2012-07-10 Thread H Hartley Sweeten
The macro 'devpriv' relies on a local variable having a specific name and yeilds a pointer derived from that local variable. Replace the macro with a local variable where used. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c |

[PATCH 77/83] staging: comedi: rtd520: remove RtdDma1Status macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 6 -- 1 file changed, 6 deletions(-)

[PATCH 76/83] staging: comedi: rtd520: remove RtdDma1Control macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. Plus it's just a wrapper around a simple 'writeb'. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 8 +++- 1

[PATCH 75/83] staging: comedi: rtd520: remove RtdDma0Status macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 74/83] staging: comedi: rtd520: remove RtdDma0Control macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. Plus it's just a wrapper around a simple 'writeb'. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 39

[PATCH 73/83] staging: comedi: rtd520: remove RtdDma1Next macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

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

2012-07-10 Thread Jiang Liu
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: > Even if you

[PATCH 72/83] staging: comedi: rtd520: remove RtdDma1Count macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 71/83] staging: comedi: rtd520: remove RtdDma1LocalAddr macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 70/83] staging: comedi: rtd520: remove RtdDma1PciAddr macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 69/83] staging: comedi: rtd520: remove RtdDma1Mode macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 68/83] staging: comedi: rtd520: remove RtdDma0Next macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. Plus it's just a wrapper around a simple 'writel'. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 9 +++-- 1

[PATCH 67/83] staging: comedi: rtd520: remove RtdDma0Count macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

Re: 3.5-rc6 printk formatting problem during oom-kill.

2012-07-10 Thread Greg Kroah-Hartmann
On Tue, Jul 10, 2012 at 08:11:45PM -0400, Dave Jones wrote: > On Mon, Jul 09, 2012 at 01:56:31PM -0700, Greg Kroah-Hartman wrote: > > > > > That single patch doesn't apply cleanly to Linus' > > > > > 8c84bf4166a4698296342841a549bbee03860ac0 > > > > > > > > > > What else is necessary? > > > >

[PATCH 66/83] staging: comedi: rtd520: remove RtdDma0LocalAddr macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 65/83] staging: comedi: rtd520: remove RtdDma0PciAddr macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 64/83] staging: comedi: rtd520: remove RtdDma0Mode macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. Plus it's just a wrapper around a simple 'writel'. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 8 ++-- 1

[PATCH 63/83] staging: comedi: rtd520: remove RtdPlxInterruptWrite macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. Plus it's just a wrapper around a simple 'writel'. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 41

[PATCH 62/83] staging: comedi: rtd520: remove RtdPlxInterruptRead macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. Plus it's just a wrapper around a simple 'readl'. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 38

[PATCH 61/83] staging: comedi: rtd520: remove RtdDma1Reset macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. It's also not used. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 4 1 file changed, 4 deletions(-) diff

[PATCH 60/83] staging: comedi: rtd520: remove RtdDma0Reset macro

2012-07-10 Thread H Hartley Sweeten
This macro uses the 'devpriv' macro which relies on a local variable having a specific name. Plus it's just a wrapper around a simple 'writel'. Remove the macro. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/rtd520.c | 6 +- 1

  1   2   3   4   5   6   7   8   9   10   >