[PATCH v3 2/2] drivers/mmc: Add realtek pcie sdmmc host driver

2012-08-20 Thread wei_wang
From: Wei WANG Realtek PCI-E SD/MMC card host driver is used to access SD/MMC card, with the help of Realtek PCI-E card reader MFD driver. Signed-off-by: Wei WANG Reviewed-by: Arnd Bergmann Tested-by: Borislav Petkov --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile

[PATCH v3 0/2] Add modules to support realtek PCIE card reader

2012-08-20 Thread wei_wang
From: Wei WANG 1. Fix a bug that DMA out of SW-IOMMU space in Lenovo Thinkpad x121e 2. Tested by Borislav Petkov Wei WANG (2): drivers/mfd: Add realtek pcie card reader driver drivers/mmc: Add realtek pcie sdmmc host driver drivers/mfd/Kconfig |9 + drivers/mfd/Makefile

Re: [PATCH 3/3] writeback: add dirty_ratio_time per bdi variable (NFS write performance)

2012-08-20 Thread Namjae Jeon
2012/8/21, J. Bruce Fields : > On Mon, Aug 20, 2012 at 12:00:04PM +1000, Dave Chinner wrote: >> On Sun, Aug 19, 2012 at 10:57:24AM +0800, Fengguang Wu wrote: >> > On Sat, Aug 18, 2012 at 05:50:02AM -0400, Namjae Jeon wrote: >> > > From: Namjae Jeon >> > > >> > > This patch is based on suggestion

udev 182: response timeout for request_firmware in module_probe path

2012-08-20 Thread Ming Lei
Hi Kay, I found that udev 182 doesn't response for the request_firmware in module_probe path until 30sec later after the 'ADD' event of firmware device, but no such problem in udev175, sounds like a regression of udev? I find there was a related discussion in [1], so CC guys who discussed

Re: [PATCH 0/4] fat: fix ESTALE errors

2012-08-20 Thread Namjae Jeon
2012/8/21, J. Bruce Fields : > On Mon, Aug 20, 2012 at 01:19:51PM +0900, Namjae Jeon wrote: >> 2012/8/18, OGAWA Hirofumi : >> > Al Viro writes: >> > >> >> On Sat, Aug 18, 2012 at 05:41:39AM -0400, Namjae Jeon wrote: >> >>> From: Namjae Jeon >> >>> >> >>> This patch-set eliminates the client side

Re: [PATCH V2 0/6] virtio-trace: Support virtio-trace

2012-08-20 Thread Amit Shah
On (Thu) 09 Aug 2012 [21:30:29], Yoshihiro YUNOMAE wrote: > Hi All, > > The following patch set provides a low-overhead system for collecting kernel > tracing data of guests by a host in a virtualization environment. ACK this series. I ran it through the virtio-serial test suite, and there's no

Re: regression with poll(2)

2012-08-20 Thread Eric Dumazet
On Mon, 2012-08-20 at 16:20 -0700, Andrew Morton wrote: > On Mon, 20 Aug 2012 11:30:59 +0200 > Eric Dumazet wrote: > > > On Mon, 2012-08-20 at 10:04 +0100, Mel Gorman wrote: > > > > > Can the following patch be tested please? It is reported to fix an fio > > > regression that may be similar to

Re: [ 04/16] drm/i915: correctly order the ring init sequence

2012-08-20 Thread Herton Ronaldo Krzesinski
On Sun, Aug 19, 2012 at 08:56:03PM -0700, Greg Kroah-Hartman wrote: > From: Greg KH > > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Daniel Vetter > > commit 0d8957c8a90bbb5d34fab9a304459448a5131e06 upstream. > > We may only

Re: [RFC PATCH 0/6] virtio-trace: Support virtio-trace

2012-08-20 Thread Amit Shah
On (Tue) 21 Aug 2012 [11:47:16], Rusty Russell wrote: > On Thu, 9 Aug 2012 15:46:20 +0530, Amit Shah wrote: > > Hi, > > > > On (Tue) 24 Jul 2012 [11:36:57], Yoshihiro YUNOMAE wrote: > > > Hi All, > > > > > > The following patch set provides a low-overhead system for collecting > > > kernel > >

Re: [RFC PATCH 0/6] virtio-trace: Support virtio-trace

2012-08-20 Thread Rusty Russell
On Thu, 9 Aug 2012 15:46:20 +0530, Amit Shah wrote: > Hi, > > On (Tue) 24 Jul 2012 [11:36:57], Yoshihiro YUNOMAE wrote: > > Hi All, > > > > The following patch set provides a low-overhead system for collecting kernel > > tracing data of guests by a host in a virtualization environment. > > So

linux-next: manual merge of the signal tree with Linus' tree

2012-08-20 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/alpha/kernel/process.c between commit 28d353d9891c ("alpha: take kernel_execve() out of entry.S") from Linus' tree and commit 68f596a7a045 ("alpha: rewrite kernel_execve in C") from the signal tree. These appear to be the

Re: [PATCH v6 1/4] xattr: extract simple_xattr code from tmpfs

2012-08-20 Thread Hugh Dickins
On Mon, 20 Aug 2012, Aristeu Rozanski wrote: > On Mon, Aug 20, 2012 at 12:10:09AM -0700, Hugh Dickins wrote: > > Yes, it looks nice to me. I might have preferred more as inlines in > > the header file to lower the slight init/evict overhead, and I don't > > see why __simple_xattr_set() isn't

Re: root=PARTUUID for MBR/NT disk signatures?

2012-08-20 Thread Will Drewry
On Mon, Aug 20, 2012 at 1:30 PM, Stephen Warren wrote: > On 08/20/2012 12:22 PM, Tejun Heo wrote: >> Hello, >> >> On Fri, Aug 17, 2012 at 04:10:52PM -0600, Stephen Warren wrote: >>> I was considering extending the kernel command-line option >>> root=PARTUUID= to also support MBR (NT disk

Re: [PATCH 71/74] lto, kprobes: Use KSYM_NAME_LEN to size identifier buffers

2012-08-20 Thread Ananth N Mavinakayanahalli
On Sat, Aug 18, 2012 at 07:57:07PM -0700, Andi Kleen wrote: > From: Joe Mario > > Use KSYM_NAME_LEN to size identifier buffers, so that it can > be easier increased. > > Cc: ana...@in.ibm.com > Signed-off-by: Joe Mario > Signed-off-by: Andi Kleen Acked-by: Ananth N Mavinakayanahalli > ---

Re: [PATCH] Fixes for dw_dmac and atmel-mci for AP700x

2012-08-20 Thread viresh kumar
Hi Hein, I have added linux-kernel list in cc as there might be other users of this patch. Also, please try to keep spear-devel list in cc for dw_dmac as we are using this driver for SPEAr. On Sun, Aug 19, 2012 at 9:36 PM, Hein Tibosch wrote: > Hi Hans-Christian, > > Do you know to which list I

RE: [PATCH v3 00/32] provide interfaces to access PCIe capabilities registers

2012-08-20 Thread Cui, Dexuan
Bjorn Helgaas wrote on 2012-08-21: > On Mon, Aug 20, 2012 at 10:10 AM, Bjorn Helgaas > wrote: > >> So I'll try pulling your branch (I'll do something about the tsi721.c >> stuff myself). > > I pulled this into > git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git > pci/jiang-pcie-cap

[PATCH] vme: vme_tsi148.c: fix to use list_for_each_safe() when delete list items

2012-08-20 Thread Wei Yongjun
From: Wei Yongjun Since we will be removing items off the list using list_del() we need to use a safer version of the list_for_each() macro aptly named list_for_each_safe(). Signed-off-by: Wei Yongjun --- drivers/vme/bridges/vme_tsi148.c | 10 +- 1 file changed, 5 insertions(+), 5

[PATCH] vme: vme_ca91cx42.c: use list_for_each_safe() when delete list items

2012-08-20 Thread Wei Yongjun
From: Wei Yongjun Since we will be removing items off the list using list_del() we need to use a safer version of the list_for_each() macro aptly named list_for_each_safe(). We should use the safe macro if the loop involves deletions of items. Signed-off-by: Wei Yongjun ---

[PATCH] spi-topcliff-pch: fix to use list_for_each_entry_safe() when delete items

2012-08-20 Thread Wei Yongjun
From: Wei Yongjun Since we will be removing items off the list using list_del() we need to use a safer version of the list_for_each_entry() macro aptly named list_for_each_entry_safe(). We should use the safe macro if the loop involves deletions of items. Signed-off-by: Wei Yongjun ---

[PATCH 1/1] xhci: Unconditionally switch ports to xHCI on powerup

2012-08-20 Thread manoj . iyer
From: Manoj Iyer USB 3.0 devices show up as high-speed devices on powerup, after an s3 cycle they are correctly recognized as SuperSpeed. At powerup unconditionally switch the port to xHCI like we do when we resume from suspend. BugLink: http://bugs.launchpad.net/bugs/1000424 Signed-off-by:

[PATCH 0/1] xhci: Unconditionally switch ports to xHCI on powerup

2012-08-20 Thread manoj . iyer
From: Manoj Iyer USB 3.0 devices show up as high-speed devices on powerup, after an s3 cycle they are correctly recognized as SuperSpeed. At powerup unconditionally switch the port to xHCI like we do when we resume from suspend. BugLink: http://bugs.launchpad.net/bugs/1000424 Test results:

linux-next: manual merge of the workqueues tree with the hid tree

2012-08-20 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the workqueues tree got a conflict in drivers/hid/hid-picolcd.c between commit fabdbf2fd22f ("HID: picoLCD: split driver code") from the hid tree and commit 43829731dd37 ("workqueue: deprecate flush[_delayed]_work_sync()") from the workqueues tree. The

Re: [PATCH]mm: fix-up zone present pages

2012-08-20 Thread Petr Tesarik
Dne Po 20. srpna 2012 08:38:10 wujianguo napsal(a): > From: Jianguo Wu > > Hi all, > I think zone->present_pages indicates pages that buddy system can > management, it should be: > zone->present_pages = spanned pages - absent pages - bootmem pages, > but now: >

[PATCH] mm/ia64: fix a memory block size bug

2012-08-20 Thread wujianguo
From: Jianguo Wu Hi all, I found following definition in include/linux/memory.h, in my IA64 platform, SECTION_SIZE_BITS is equal to 32, and MIN_MEMORY_BLOCK_SIZE will be 0. #define MIN_MEMORY_BLOCK_SIZE (1 << SECTION_SIZE_BITS) Because MIN_MEMORY_BLOCK_SIZE is

Re: [PATCH 4/8] time: Condense timekeeper.xtime into xtime_sec

2012-08-20 Thread John Stultz
On 08/20/2012 01:04 PM, Andreas Schwab wrote: John Stultz writes: Huh. Yea, that looks fine. And without the __timekeeping_inject_sleeptime() call, the system resumed ok? Yes, it does. So I'm mostly still stumped on this. But I did find one possible related bugfix that maybe you can

Re: [PATCH] regulator: max8907: Properly set pmic pointer in max8907_regulator_remove()

2012-08-20 Thread Axel Lin
2012/8/20 Stephen Warren : > On 08/18/2012 12:33 AM, Axel Lin wrote: >> Add missing platform_get_drvdata() call in max8907_regulator_remove(), this >> fixes below build warning: >> >> CC [M] drivers/regulator/max8907-regulator.o >> drivers/regulator/max8907-regulator.c: In function >>

Re: [GIT PULL 1/2] Btrfs fixes

2012-08-20 Thread Chris Samuel
On 21/08/12 11:55, Linus Torvalds wrote: > Read my -rc2 release notes. Ahh, thanks (I'm not on LKML so didn't see those). > TL;DR: I rejected big pull requests that didn't convince me. Make a > damn good case for it, or send minimal fixes instead. Can't argue with that! > I'm tried of these

[PATCH v6 12/12] KVM: indicate readonly access fault

2012-08-20 Thread Xiao Guangrong
Introduce write_readonly_mem in mmio-exit-info to indicate this exit is caused by write access on readonly memslot Signed-off-by: Xiao Guangrong --- arch/x86/kvm/x86.c | 23 ++- include/linux/kvm.h |3 +++ include/linux/kvm_host.h |1 +

[PATCH v6 11/12] KVM: introduce readonly memslot

2012-08-20 Thread Xiao Guangrong
In current code, if we map a readonly memory space from host to guest and the page is not currently mapped in the host, we will get a fault pfn and async is not allowed, then the vm will crash We introduce readonly memory region to map ROM/ROMD to the guest, read access is happy for readonly

[PATCH v6 09/12] KVM: introduce KVM_HVA_ERR_BAD

2012-08-20 Thread Xiao Guangrong
Then, remove bad_hva and inline kvm_is_error_hva Signed-off-by: Xiao Guangrong --- include/linux/kvm_host.h |8 +++- virt/kvm/kvm_main.c | 13 + 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index

[PATCH v6 10/12] KVM: introduce KVM_HVA_ERR_RO_BAD

2012-08-20 Thread Xiao Guangrong
In the later patch, it indicates failure when we try to get a writable hva from the readonly memslot Signed-off-by: Xiao Guangrong --- include/linux/kvm_host.h |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index

[PATCH v6 08/12] KVM: introduce KVM_PFN_ERR_RO_FAULT

2012-08-20 Thread Xiao Guangrong
In the later patch, it indicates failure when we try to get a writable pfn from the readonly memslot Signed-off-by: Xiao Guangrong --- include/linux/kvm_host.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index

[PATCH v6 07/12] KVM: use 'writable' as a hint to map writable pfn

2012-08-20 Thread Xiao Guangrong
In current code, we always map writable pfn for the read fault, in order to support readonly memslot, we map writable pfn only if 'writable' is not NULL Signed-off-by: Xiao Guangrong --- virt/kvm/kvm_main.c | 24 +++- 1 files changed, 23 insertions(+), 1 deletions(-) diff

[PATCH v6 06/12] KVM: reorganize hva_to_pfn

2012-08-20 Thread Xiao Guangrong
We do too many things in hva_to_pfn, this patch reorganize the code, let it be better readable Signed-off-by: Xiao Guangrong --- virt/kvm/kvm_main.c | 159 +++ 1 files changed, 97 insertions(+), 62 deletions(-) diff --git a/virt/kvm/kvm_main.c

[PATCH v6 05/12] KVM: introduce gfn_to_hva_read/kvm_read_hva/kvm_read_hva_atomic

2012-08-20 Thread Xiao Guangrong
This set of functions is only used to read data from host space, in the later patch, we will only get a readonly hva in gfn_to_hva_read, and the function name is a good hint to let gfn_to_hva_read to pair with kvm_read_hva()/kvm_read_hva_atomic() Signed-off-by: Xiao Guangrong ---

[PATCH v6 04/12] KVM: introduce gfn_to_pfn_memslot_atomic

2012-08-20 Thread Xiao Guangrong
It can instead of hva_to_pfn_atomic Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c |5 + include/linux/kvm_host.h |3 ++- virt/kvm/kvm_main.c | 14 -- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/x86/kvm/mmu.c

[PATCH v6 03/12] KVM: hide KVM_MEMSLOT_INVALID from userspace

2012-08-20 Thread Xiao Guangrong
Quote Avi's comment: | KVM_MEMSLOT_INVALID is actually an internal symbol, not used by | userspace. Please move it to kvm_host.h. Also, we divide the memlsot->flags into two parts, the lower 16 bits are visible for userspace, the higher 16 bits are internally used in kvm Signed-off-by: Xiao

[PATCH v6 02/12] KVM: fix missing check for memslot flags

2012-08-20 Thread Xiao Guangrong
Check flags when memslot is registered from userspace as Avi's suggestion Signed-off-by: Xiao Guangrong --- virt/kvm/kvm_main.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index a2e85af..7b94d70 100644 ---

[PATCH v6 01/12] KVM: x86: fix possible infinite loop caused by reexecute_instruction

2012-08-20 Thread Xiao Guangrong
Currently, we reexecute all unhandleable instructions if they do not access on the mmio, however, it can not work if host map the readonly memory to guest. If the instruction try to write this kind of memory, it will fault again when guest retry it, then we will goto a infinite loop: retry

[PATCH v6 00/12] KVM: introduce readonly memslot

2012-08-20 Thread Xiao Guangrong
Changelog: - fix endless retrying for unhandleable instruction which accesses on readonly host memory - divide slot->flags by 16:16, the lower part is visible for userspace, the reset is internally used in kvm, and document this in the code - check slot->flags for gfn_to_hva_memslot The test

Re: [PATCH] serial: add a new helper function

2012-08-20 Thread Huang Shijie
On Sun, Aug 19, 2012 at 11:46 PM, Alan Cox wrote: > On Sat, 18 Aug 2012 23:44:29 -0700 > Greg KH wrote: > >> On Sun, Aug 19, 2012 at 02:27:12PM -0400, Huang Shijie wrote: >> > --- a/include/linux/tty.h >> > +++ b/include/linux/tty.h >> > @@ -43,6 +43,7 @@ >> > #include >> > #include >> >

linux-next: manual merge of the rr tree with Linus' tree

2012-08-20 Thread Stephen Rothwell
Hi Rusty, Today's linux-next merge of the rr tree got a conflict in arch/alpha/Kconfig between commit f2db633d301b ("alpha: Use new generic strncpy_from_user() and strnlen_user()") from Linus' tree and commit d673c23ca730 ("Make most arch asm/module.h files use asm-generic/module.h") from the rr

Re: [GIT PULL 1/2] Btrfs fixes

2012-08-20 Thread Chris Samuel
On 10/08/12 01:50, Chris Mason wrote: > Hi everyone, > > This first pull is the bulk of our changes for the next rc. It is > against the 3.5 kernel so people testing the new features have a stable > point to work against. This was tested against Linus' current tree as > well. [...] This pull

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-20 Thread Fengguang Wu
On Mon, Aug 20, 2012 at 06:46:05PM -0700, John Stultz wrote: > On 08/20/2012 06:31 PM, Fengguang Wu wrote: > >On Mon, Aug 20, 2012 at 06:10:57PM -0700, John Stultz wrote: > >>On 08/20/2012 06:04 PM, Fengguang Wu wrote: > >>>Hi John, > >>> > >>>The below oops happens in v3.5..v3.6-rc2 and it's

Re: [GIT PULL 1/2] Btrfs fixes

2012-08-20 Thread Linus Torvalds
On Mon, Aug 20, 2012 at 6:53 PM, Chris Samuel wrote: > > This pull request with a whole heap of btrfs fixes (46 commits) appears > not to have been merged yet, does anyone know if it was rejected or just > missed ? Read my -rc2 release notes. TL;DR: I rejected big pull requests that didn't

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-20 Thread John Stultz
On 08/20/2012 06:40 PM, Fengguang Wu wrote: On Mon, Aug 20, 2012 at 06:15:00PM -0700, John Stultz wrote: On 08/20/2012 06:10 PM, John Stultz wrote: On 08/20/2012 06:04 PM, Fengguang Wu wrote: Hi John, The below oops happens in v3.5..v3.6-rc2 and it's bisected down to commit 2a8c0883c ("time:

Re: [PATCH v3] pstore/ftrace: Convert to its own enable/disable debugfs knob

2012-08-20 Thread Anton Vorontsov
On Wed, Jul 18, 2012 at 12:30:52PM -0700, Anton Vorontsov wrote: > With this patch we no longer reuse function tracer infrastructure, now > we register our own tracer back-end via a debugfs knob. > > It's a bit more code, but that is the only downside. On the bright side we > have: > > - Ability

[PATCH] [trivial] Fix typo "endianess" in printk

2012-08-20 Thread Masanari Iida
Correct spelling typo "endianess" in various printk Signed-off-by: Masanari Iida --- drivers/firewire/ohci.c| 2 +- drivers/remoteproc/remoteproc_elf_loader.c | 4 ++-- fs/qnx6/inode.c| 2 +- fs/qnx6/qnx6.h | 2 +-

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-20 Thread John Stultz
On 08/20/2012 06:31 PM, Fengguang Wu wrote: On Mon, Aug 20, 2012 at 06:10:57PM -0700, John Stultz wrote: On 08/20/2012 06:04 PM, Fengguang Wu wrote: Hi John, The below oops happens in v3.5..v3.6-rc2 and it's bisected down to commit 2a8c0883c ("time: Move xtime_nsec adjustment underflow

Re: [PATCH] pstore: add missed platform_device_unregister

2012-08-20 Thread Anton Vorontsov
On Mon, Aug 20, 2012 at 02:58:26PM +0800, Jovi Zhang wrote: > From 152373a6262045d19023cf45de84ad3c69316a45 Mon Sep 17 00:00:00 2001 > From: Jovi Zhang > Date: Mon, 20 Aug 2012 14:20:01 +0800 > Subject: [PATCH] pstore: add missed platform_device_unregister > > we need unregister platform device

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-20 Thread Fengguang Wu
On Mon, Aug 20, 2012 at 06:15:00PM -0700, John Stultz wrote: > On 08/20/2012 06:10 PM, John Stultz wrote: > >On 08/20/2012 06:04 PM, Fengguang Wu wrote: > >>Hi John, > >> > >>The below oops happens in v3.5..v3.6-rc2 and it's bisected down > >>to commit > >>2a8c0883c ("time: Move xtime_nsec

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-20 Thread Fengguang Wu
On Mon, Aug 20, 2012 at 06:10:57PM -0700, John Stultz wrote: > On 08/20/2012 06:04 PM, Fengguang Wu wrote: > >Hi John, > > > >The below oops happens in v3.5..v3.6-rc2 and it's bisected down to commit > >2a8c0883c ("time: Move xtime_nsec adjustment underflow handling > >timekeeping_adjust"). > > >

[PATCH 5/5] X86/XEN: Add few lines explaining simple semantic for x86_init.paging.pagetable_init PVOPS

2012-08-20 Thread Attilio Rao
- Explain the purpose of the PVOPS - Report execution constraints Signed-off-by: Attilio Rao --- arch/x86/include/asm/x86_init.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/x86_init.h b/arch/x86/include/asm/x86_init.h index 995ea5c..7ea4186

[PATCH 4/5] X86/XEN: Retire now unused x86_init.paging.pagetable_setup_start and x86_init.paging.pagetable_setup_done PVOPS

2012-08-20 Thread Attilio Rao
Now that x86_init.paging.pagetable_init PVOPS is implemented just retire the 2 mentioned above and replace their usage with it. Signed-off-by: Attilio Rao --- arch/x86/include/asm/pgtable_types.h |4 --- arch/x86/include/asm/x86_init.h |4 --- arch/x86/kernel/setup.c |

[PATCH 2/5] XEN: Remove the base argument from x86_init.paging.pagetable_setup_start PVOPS

2012-08-20 Thread Attilio Rao
x86_init.paging.pagetable_setup_start for native will however use swapper_pg_dir in the single place where it is used and for native the argument is simply unused. Aditionally, the comments already point to swapper_pg_dir as the sole base touched. Finally, this will help with further merging of

[PATCH 3/5] X86/XEN: Introduce the x86_init.paging.pagetable_init PVOPS

2012-08-20 Thread Attilio Rao
This new PVOPS is responsible to setup the kernel pagetables and replace entirely x86_init.paging.pagetable_setup_start and x86_init.paging.pagetable_setup_done PVOPS work. For performance the x86_64 stub is implemented as a macro to paging_init() rather than an actual function stub.

[PATCH 1/5] XEN: Remove the base argument from x86_init.paging.pagetable_setup_done PVOPS

2012-08-20 Thread Attilio Rao
x86_init.paging.pagetable_setup_done PVOPS does not really need to know about the base argument, thus just remove it. Signed-off-by: Attilio Rao --- arch/x86/include/asm/pgtable_types.h |6 +++--- arch/x86/include/asm/x86_init.h |2 +- arch/x86/kernel/setup.c |2 +-

[PATCH 0/5] X86/XEN: Merge x86_init.paging.pagetable_setup_start and x86_init.paging.pagetable_setup_done PVOPS and document the semantic

2012-08-20 Thread Attilio Rao
Currently the definition of x86_init.paging.pagetable_setup_start and x86_init.paging.pagetable_setup_done is twisted and not really well defined (in terms of prototypes desired). More specifically: pagetable_setup_start: * it is a nop on x86_32 * it is a nop for the XEN case * cleans up the

Re: [PATCH] regulator: max8907: fix compile error when !CONFIG_OF

2012-08-20 Thread Axel Lin
> + > +static inline struct regulator_init_data *match_init_data(int index) > +{ > + return NULL; > +} > + Now match_init_data() returns NULL if !CONFIG_OF, so idata may be NULL. Then I think we may hit NULL pointer dereference here: switch (pmic->desc[i].id) {

Re: [PATCH 2/3] ARM: OMAP: hwmod: revise deassert sequence

2012-08-20 Thread Omar Ramirez Luna
Hi Benoit, On 20 August 2012 05:21, Benoit Cousson wrote: > Hi Omar, > > On 08/03/2012 05:52 PM, Omar Ramirez Luna wrote: >> On 3 August 2012 00:24, Vaibhav Hiremath wrote: >>> On 8/3/2012 3:50 AM, Omar Ramirez Luna wrote: So in _enable: _enable_clocks(oh);

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-20 Thread John Stultz
On 08/20/2012 06:10 PM, John Stultz wrote: On 08/20/2012 06:04 PM, Fengguang Wu wrote: Hi John, The below oops happens in v3.5..v3.6-rc2 and it's bisected down to commit 2a8c0883c ("time: Move xtime_nsec adjustment underflow handling timekeeping_adjust"). However linux-next is working

Re: [PATCH 1/3] ARM: OMAP: hwmod: partially un-reset hwmods might not be properly enabled

2012-08-20 Thread Omar Ramirez Luna
Hi Benoit, On 20 August 2012 09:49, Benoit Cousson wrote: > On 07/16/2012 09:21 PM, Omar Ramirez Luna wrote: >> Some IP blocks might not be using/controlling more than one >> reset line, this check loosens the restriction to fully use >> hwmod framework for those drivers. >> >> E.g.: ipu has

Re: BUG: NULL pointer dereference in shmem_evict_inode()

2012-08-20 Thread John Stultz
On 08/20/2012 06:04 PM, Fengguang Wu wrote: Hi John, The below oops happens in v3.5..v3.6-rc2 and it's bisected down to commit 2a8c0883c ("time: Move xtime_nsec adjustment underflow handling timekeeping_adjust"). However linux-next is working fine. Do you have any fixes not yet sent to Linus?

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-20 Thread Alex Shi
On 08/20/2012 11:47 PM, Vincent Guittot wrote: > On 16 August 2012 07:03, Alex Shi wrote: >> On 08/16/2012 12:19 AM, Matthew Garrett wrote: >> >>> On Mon, Aug 13, 2012 at 08:21:00PM +0800, Alex Shi wrote: >>> power aware scheduling), this proposal will adopt the sched_balance_policy

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-20 Thread Randy Dunlap
On 08/20/2012 05:23 PM, Dave Airlie wrote: > On Tue, Aug 21, 2012 at 8:45 AM, Randy Dunlap wrote: >> On 08/19/2012 10:22 PM, Dave Airlie wrote: >> >>> On Mon, Aug 20, 2012 at 3:13 PM, Randy Dunlap wrote: On 08/17/12 15:55, Dave Airlie wrote: > On Sat, Aug 18, 2012 at 8:54 AM, Dave

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-20 Thread Alex Shi
On 08/20/2012 11:36 PM, Vincent Guittot wrote: >> > What you want it to keep track of a per-cpu utilization level (inverse >> > of idle-time) and using PJTs per-task runnable avg see if placing the >> > new task on will exceed the utilization limit. >> > >> > I think some of the Linaro people

Re: [PATCH 0/7] zram/zsmalloc promotion

2012-08-20 Thread Minchan Kim
On Thu, Aug 16, 2012 at 10:47:58PM -0700, Nitin Gupta wrote: > On 08/13/2012 11:22 PM, Minchan Kim wrote: > > Hi Greg, > > > > On Mon, Aug 13, 2012 at 07:35:30PM -0700, Greg Kroah-Hartman wrote: > >> On Wed, Aug 08, 2012 at 03:12:13PM +0900, Minchan Kim wrote: > >>> This patchset promotes

Re: [PATCH 0/2][resend] genirq: export patches

2012-08-20 Thread Kuninori Morimoto
Hi all > These are "resend" of genirq export patches. > > Kuninori Morimoto (2): > genirq: export irq_set_chip_and_handler_name() > genirq: export dummy_irq_chip get_maintainer.pl showed me that Thomas is the maintainer of ${LINUX}/kernel/irq/, but am I wrong ? I think there is no

RE: [PATCH 09/20] staging: comedi: adv_pci1723: fix initial dio subdevice state and io_bits

2012-08-20 Thread H Hartley Sweeten
On Monday, August 20, 2012 2:51 PM, H Hartley Sweeten wrote: > On Monday, August 20, 2012 2:49 PM, Dan Carpenter wrote: >> On Fri, Aug 17, 2012 at 06:17:38PM -0700, H Hartley Sweeten wrote: >>> + if (this_board->n_diochan) { >>> + s = dev->subdevices + subdev; >> >> This pointer math

Linux 2.6.34.13

2012-08-20 Thread Paul Gortmaker
I'm announcing the release of the 2.6.34.13 kernel. All 2.6.34 users are strongly encouraged to update. The updated 2.6.34.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-2.6.34.y and can be browsed at the normal kernel.org git web

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-20 Thread Dave Airlie
On Tue, Aug 21, 2012 at 8:45 AM, Randy Dunlap wrote: > On 08/19/2012 10:22 PM, Dave Airlie wrote: > >> On Mon, Aug 20, 2012 at 3:13 PM, Randy Dunlap wrote: >>> On 08/17/12 15:55, Dave Airlie wrote: >>> On Sat, Aug 18, 2012 at 8:54 AM, Dave Airlie wrote: > On Sat, Aug 18, 2012 at 8:28

Re: changing timeslice in linux

2012-08-20 Thread Namhyung Kim
On Mon, 20 Aug 2012 07:51:52 -0700, Xin Tong wrote: > On Sun, Aug 19, 2012 at 10:54 PM, Mike Galbraith wrote: >> On Sun, 2012-08-19 at 11:58 -0700, Xin Tong wrote: >>> I have 2 questions about linux 2.6 x86_64 scheduler. >>> >>> 1. is the default scheduling algorithm SCHED_NORMAL in linux ? >> >>

Re: BUG: unable to handle kernel paging request at 00010016

2012-08-20 Thread Dave Haywood
On 19/08/2012 09:21, Artem Savkov wrote: On Sat, Aug 18, 2012 at 11:25:43PM -0500, Shaun Ruffell wrote: Adding linux-net to the CC list. On Fri, Aug 17, 2012 at 11:57:56PM +0100, Dave Haywood wrote: [1.] One line summary of the problem: BUG: unable to handle kernel paging request at 00010016

Re: [PATCH 3/3] netfilter: replace list_for_each_continue_rcu with new interface

2012-08-20 Thread Paul E. McKenney
On Fri, Aug 17, 2012 at 12:33:39PM +0800, Michael Wang wrote: > From: Michael Wang > > This patch replaces list_for_each_continue_rcu() with > list_for_each_entry_continue_rcu() to allow removing > list_for_each_continue_rcu(). > > Signed-off-by: Michael Wang Reviewed-by: Paul E. McKenney >

Re: [PATCH 2/3] kmemleak: replace list_for_each_continue_rcu with new interface

2012-08-20 Thread Paul E. McKenney
On Fri, Aug 17, 2012 at 12:33:34PM +0800, Michael Wang wrote: > From: Michael Wang > > This patch replaces list_for_each_continue_rcu() with > list_for_each_entry_continue_rcu() to save a few lines > of code and allow removing list_for_each_continue_rcu(). > > Signed-off-by: Michael Wang

Re: [PATCH 1/3] raid: replace list_for_each_continue_rcu with new interface

2012-08-20 Thread Paul E. McKenney
On Fri, Aug 17, 2012 at 12:33:29PM +0800, Michael Wang wrote: > From: Michael Wang > > This patch replaces list_for_each_continue_rcu() with > list_for_each_entry_continue_rcu() to save a few lines > of code and allow removing list_for_each_continue_rcu(). > > Signed-off-by: Michael Wang

[GIT PULL] PCI updates for v3.6

2012-08-20 Thread Bjorn Helgaas
The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:38:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git for-linus for you to fetch changes up to

Re: [GIT PULL] x86, microcode, AMD: Per-family patches cache

2012-08-20 Thread H. Peter Anvin
On 08/17/2012 07:30 AM, Borislav Petkov wrote: Hi guys, please pull, thanks. The following changes since commit d9875690d9b89a866022ff49e3fcea892345ad92: Linux 3.6-rc2 (2012-08-16 14:51:24 -0700) are available in the git repository at:

Re: regression with poll(2)

2012-08-20 Thread Andrew Morton
On Mon, 20 Aug 2012 11:30:59 +0200 Eric Dumazet wrote: > On Mon, 2012-08-20 at 10:04 +0100, Mel Gorman wrote: > > > Can the following patch be tested please? It is reported to fix an fio > > regression that may be similar to what you are experiencing but has not > > been picked up yet. > > > >

Re: Bug report

2012-08-20 Thread Alan Cox
On Mon, 20 Aug 2012 15:43:35 -0700 Randy Dunlap wrote: > (cc-ing linux-ide mailing list) Classic "no IRQ being delivered" - looks like a platform IRQ routing problem -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: 3.5.x boot hang after conflicting fb hw usage vs VESA VGA - removing generic driver

2012-08-20 Thread Randy Dunlap
On 08/19/2012 10:22 PM, Dave Airlie wrote: > On Mon, Aug 20, 2012 at 3:13 PM, Randy Dunlap wrote: >> On 08/17/12 15:55, Dave Airlie wrote: >> >>> On Sat, Aug 18, 2012 at 8:54 AM, Dave Airlie wrote: On Sat, Aug 18, 2012 at 8:28 AM, Randy Dunlap wrote: > On 08/17/2012 03:25 PM, Justin

Re: Bug report

2012-08-20 Thread Randy Dunlap
(cc-ing linux-ide mailing list) On 08/20/2012 03:31 PM, mr.shroom wrote: > SATA for kernel(s) 3.5+ has an issue with IRQ Balancing on AMD SB710 > with motherboard ASRock m3a770d3. > > The problem started while using Arch linux, after going back to Debian > it persisted. I had tried to find

Bug report

2012-08-20 Thread mr.shroom
SATA for kernel(s) 3.5+ has an issue with IRQ Balancing on AMD SB710 with motherboard ASRock m3a770d3. The problem started while using Arch linux, after going back to Debian it persisted. I had tried to find problems with the bug but couldn't find any direct help online. I had a break when

Re: [PATCH v3 3/9] rbtree: place easiest case first in rb_erase()

2012-08-20 Thread Andrew Morton
On Mon, 20 Aug 2012 15:05:25 -0700 Michel Lespinasse wrote: > In rb_erase, move the easy case (node to erase has no more than > 1 child) first. I feel the code reads easier that way. Well. For efficiency we should put the commonest case first. Is that the case here? > --- a/lib/rbtree.c >

the 3.4 kernel tree will be -longterm

2012-08-20 Thread Greg KH
As I'm getting a few questions about this, and I realized that I never sent out an email about this, yes, the 3.4 kernel tree will be the next -longterm kernel that I will be maintaining for at least 2 years. Currently I'm maintaining the following stable kernel trees for the following amount of

Re: [RFC PATCH 1/1] fair.c: Add/Export find_idlest_perfer_cpu API

2012-08-20 Thread Shirley Ma
On Mon, 2012-08-20 at 14:00 +0200, Peter Zijlstra wrote: > On Fri, 2012-08-17 at 12:46 -0700, Shirley Ma wrote: > > Add/Export a new API for per-cpu thread model networking device > driver > > to choose a preferred idlest cpu within allowed cpumask. > > > > The receiving CPUs of a networking

Re: [PATCH v3 2/9] rbtree: add __rb_change_child() helper function

2012-08-20 Thread Andrew Morton
On Mon, 20 Aug 2012 15:05:24 -0700 Michel Lespinasse wrote: > Add __rb_change_child() as an inline helper function to replace code that > would otherwise be duplicated 4 times in the source. > > No changes to binary size or speed. > > ... > > --- a/lib/rbtree.c > +++ b/lib/rbtree.c > @@ -66,6

Re: [PATCH v3 00/32] provide interfaces to access PCIe capabilities registers

2012-08-20 Thread Bjorn Helgaas
On Mon, Aug 20, 2012 at 10:10 AM, Bjorn Helgaas wrote: > So I'll try pulling your branch (I'll do something about the tsi721.c > stuff myself). I pulled this into git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git pci/jiang-pcie-cap with the following changes: - Dropped some

RE: [RFC][PATCH v2 1/3] efivars: Disable external interrupt while holding efivars->lock

2012-08-20 Thread Seiji Aguchi
> -Original Message- > From: Mike Waychison [mailto:mi...@google.com] > Sent: Monday, August 20, 2012 3:17 PM > To: Seiji Aguchi > Cc: linux-kernel@vger.kernel.org; Luck, Tony (tony.l...@intel.com); Matthew > Garrett (m...@redhat.com); dzic...@redhat.com; dle- >

[PATCH v3 1/9] rbtree test: fix sparse warning about 64-bit constant

2012-08-20 Thread Michel Lespinasse
Just a small fix to make sparse happy. Signed-off-by: Michel Lespinasse Reported-by: Fengguang Wu Acked-by: Rik van Riel --- lib/rbtree_test.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 19dfca9ff7d7..fd09465d82ca

[PATCH v3 3/9] rbtree: place easiest case first in rb_erase()

2012-08-20 Thread Michel Lespinasse
In rb_erase, move the easy case (node to erase has no more than 1 child) first. I feel the code reads easier that way. Signed-off-by: Michel Lespinasse Reviewed-by: Rik van Riel --- lib/rbtree.c | 35 ++- 1 files changed, 18 insertions(+), 17 deletions(-)

[PATCH v3 4/9] rbtree: handle 1-child recoloring in rb_erase() instead of rb_erase_color()

2012-08-20 Thread Michel Lespinasse
An interesting observation for rb_erase() is that when a node has exactly one child, the node must be black and the child must be red. An interesting consequence is that removing such a node can be done by simply replacing it with its child and making the child black, which we can do efficiently

[PATCH v3 7/9] rbtree: faster augmented rbtree manipulation

2012-08-20 Thread Michel Lespinasse
Introduce new augmented rbtree APIs that allow minimal recalculation of augmented node information. A new callback is added to the rbtree insertion and erase rebalancing functions, to be called on each tree rotations. Such rotations preserve the subtree's root augmented value, but require

[PATCH v3 8/9] rbtree: remove prior augmented rbtree implementation

2012-08-20 Thread Michel Lespinasse
convert arch/x86/mm/pat_rbtree.c to the proposed augmented rbtree api and remove the old augmented rbtree implementation. Signed-off-by: Michel Lespinasse Acked-by: Rik van Riel --- arch/x86/mm/pat_rbtree.c | 65 + include/linux/rbtree.h |8

[PATCH v3 9/9] rbtree: add RB_DECLARE_CALLBACKS() macro

2012-08-20 Thread Michel Lespinasse
As proposed by Peter Zijlstra, this makes it easier to define the augmented rbtree callbacks. Signed-off-by: Michel Lespinasse --- arch/x86/mm/pat_rbtree.c | 37 ++--- include/linux/rbtree.h | 30 ++ lib/rbtree_test.c|

[PATCH v3 6/9] rbtree: augmented rbtree test

2012-08-20 Thread Michel Lespinasse
Small test to measure the performance of augmented rbtrees. Signed-off-by: Michel Lespinasse Acked-by: Rik van Riel --- lib/rbtree_test.c | 103 +++- 1 files changed, 101 insertions(+), 2 deletions(-) diff --git a/lib/rbtree_test.c

[PATCH v3 5/9] rbtree: low level optimizations in rb_erase()

2012-08-20 Thread Michel Lespinasse
Various minor optimizations in rb_erase(): - Avoid multiple loading of node->__rb_parent_color when computing parent and color information (possibly not in close sequence, as there might be further branches in the algorithm) - In the 1-child subcase of case 1, copy the __rb_parent_color field

[PATCH v3 2/9] rbtree: add __rb_change_child() helper function

2012-08-20 Thread Michel Lespinasse
Add __rb_change_child() as an inline helper function to replace code that would otherwise be duplicated 4 times in the source. No changes to binary size or speed. Signed-off-by: Michel Lespinasse Reviewed-by: Rik van Riel --- lib/rbtree.c | 46 +-

[PATCH v3 0/9] faster augmented rbtree interface

2012-08-20 Thread Michel Lespinasse
These are my proposed changes for a faster augmented rbtree interface. Patches 1-8 are unchanged from my v2 send (in v2 they were called patches 1 and 3-9 - patch 2 from v2 already got applied into andrew's -mm tree). Patch 9 wasn't part of the original v2 send, I had posted it later on as a

[PATCH 3/3] staging: comedi: comedi_test: convert attach message to dev_info

2012-08-20 Thread H Hartley Sweeten
Convert the 'attach' message from a printk to a dev_info. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Cc: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/comedi_test.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git

  1   2   3   4   5   6   7   8   9   10   >