[PATCH -stable 3.6.x] pstore: fix ram.c printk format warning

2012-11-26 Thread Randy Dunlap
From: Randy Dunlap Fix printk format warning (on i386) in pstore: fs/pstore/ram.c:409:3: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'size_t' Mainline patch commit ID is: 0427193b691edc81c846c7d0ebd2561cae8709d8 Signed-off-by: Randy Dunlap Acked-by: Kees C

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Zhang Yanfei
于 2012年11月27日 09:49, Eric W. Biederman 写道: > Zhang Yanfei writes: > >> So in summary, >> >> 1. a specific callback function instead of a notifier? > > Yes. > >> 2. Instead of calling vmclear_local_loaded_vmcss, the vmclear operation >>will just call the vmclear on every vmcss loaded on the

RE: [E1000-devel] 82571EB: Detected Hardware Unit Hang

2012-11-26 Thread Mary Mcgrath
Joe Thank you for working this. I would love to find out how they expect a customer to make the modification To "word 0x1A, and see if the 8th bit is 0 or 1, and to change to 0." I have in turn asked the ct for the lspci command on eth3, maybe the incorrect setting is upstream. Again, thank y

Re: [PATCH v3 11/12] memory-hotplug: remove sysfs file of node

2012-11-26 Thread Wen Congyang
At 11/26/2012 10:27 PM, Jianguo Wu Wrote: > On 2012/11/1 17:44, Wen Congyang wrote: >> This patch introduces a new function try_offline_node() to >> remove sysfs file of node when all memory sections of this >> node are removed. If some memory sections of this node are >> not removed, this function

Re: [PATCH 026/270] powerpc/eeh: Lock module while handling EEH event

2012-11-26 Thread Ben Hutchings
On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Gavin Shan > > commit feadf7c0a1a7c08c74bebb4a13b755f8c40e3bbc upstream. > > The EEH core is talking with t

Re: [PATCH 4/4] ext3: Warn if mounting rw on a disk requiring stable page writes

2012-11-26 Thread Darrick J. Wong
On Thu, Nov 22, 2012 at 10:12:40AM +0100, Jan Kara wrote: > On Wed 21-11-12 17:47:55, Darrick J. Wong wrote: > > On Thu, Nov 22, 2012 at 08:47:13AM +1100, NeilBrown wrote: > > > On Wed, 21 Nov 2012 22:33:33 +0100 Jan Kara wrote: > > > > > > > On Wed 21-11-12 13:13:19, Darrick J. Wong wrote: > > >

mm/vmemmap: fix wrong use of virt_to_page

2012-11-26 Thread Jianguo Wu
I enable CONFIG_DEBUG_VIRTUAL and CONFIG_SPARSEMEM_VMEMMAP, when doing memory hotremove, there is a kernel BUG at arch/x86/mm/physaddr.c:20. It is caused by free_section_usemap()->virt_to_page(), virt_to_page() is only used for kernel direct mapping address, but sparse-vmemmap uses vmemmap addres

Re: [PATCH 028/270] ext4: remove erroneous ext4_superblock_csum_set() in update_backups()

2012-11-26 Thread Ben Hutchings
On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Tao Ma > > commit bef53b01faeb791e27605cba1a71ba21364cb23e upstream. > > The update_backups() function is u

[RFC/RFT][PATCH 1/4] regulator: core: Allow specific minimal selector for starting linear mapping

2012-11-26 Thread Axel Lin
Some drivers (at least 3 drivers) have such variant of linear mapping that the first few selectors are invalid and the reset are linear mapping. Let's support this case in core. This patch adds linear_min_sel in struct regulator_desc, so we can allow specific minimal selector for starting linear m

[RFC/RFT][PATCH 2/4] regulator: da9055: Use linear_min_sel and regulator_[map|list]_voltage_linear

2012-11-26 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/da9055-regulator.c | 55 +- 1 file changed, 8 insertions(+), 47 deletions(-) diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c index db59ce7..a4b9cb8 100644 --- a/drivers/regul

Re: [PATCH 11/42] ARM: shmobile: Register PFC platform device

2012-11-26 Thread Simon Horman
On Mon, Nov 26, 2012 at 11:34:36AM +0100, Laurent Pinchart wrote: > Hi Simon, > > On Monday 26 November 2012 10:02:05 Simon Horman wrote: > > On Wed, Nov 21, 2012 at 01:43:15PM +0100, Laurent Pinchart wrote: > > > On Wednesday 21 November 2012 14:16:33 Simon Horman wrote: > > > > On Wed, Nov 21, 2

Re: [PATCH 036/270] kbuild: Do not package /boot and /lib in make tar-pkg

2012-11-26 Thread Ben Hutchings
On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Michal Marek > > commit fe04ddf7c2910362f3817c8156e41cbd6c0ee35d upstream. > > There were reports of users

[RFC/RFT][PATCH 3/4] regulator: palmas: Use linear_min_sel and regulator_[map|list]_voltage_linear

2012-11-26 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c | 37 +- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 3d44592..d5b0408 100644 --- a/drivers/regul

[RFC/RFT][PATCH 4/4] regulator: tps51632: Use linear_min_sel and regulator_[map|list]_voltage_linear

2012-11-26 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/tps51632-regulator.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/regulator/tps51632-regulator.c b/drivers/regulator/tps51632-regulator.c index b22c3f2..523b1e5 100644 --- a/drivers/regulator/tps51632

Re: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-11-26 Thread Ben Hutchings
On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Peng Tao > > commit fe6e1e8d9fad86873eb74a26e80a8f91f9e870b5 upstream. > > If applications use flock to pro

Re: [PATCH 042/270] pnfsblock: fix non-aligned DIO read

2012-11-26 Thread Ben Hutchings
On Mon, 2012-11-26 at 14:55 -0200, Herton Ronaldo Krzesinski wrote: > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Peng Tao > > commit f742dc4a32587bff50b13dde9d8894b96851951a upstream. > > For DIO read, if it is not secto

Re: [PATCHv3] tty: Added a CONFIG_TTY option to allow removal of TTY

2012-11-26 Thread Joe Millenbach
On Mon, Nov 26, 2012 at 3:44 PM, Jiri Slaby wrote: > On 11/27/2012 12:38 AM, Greg Kroah-Hartman wrote: >> Can you rediff this once 3.8-rc1 is out and send it to me then? > > So if you are going to respin, please take care of the newly added > drivers like drivers/staging/fwserial. > > thanks, > --

[PATCH v3] drivers: staging: remove last usage of NIPQUAD and NIP6 in gdm72xx

2012-11-26 Thread Shan Wei
From: Shan Wei commit cf4ca4874fc45 removed the definition of NIPQUAD and NIPQUAD_FMT, and NIP6 also is out of date. Because DEBUG_SDU is not defined in gdm_wimax.h, no error message when compiling this code. And remove constant condition judge. Signed-off-by: Shan Wei --- V3: As suggestio

Re: [PATCH V3 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-26 Thread Viresh Kumar
On 27 November 2012 00:10, Grant Likely wrote: > Ah, so it is configuring the way the device emits interrupts; not how > the interrupt controller processes them. Fair enough. Finally i am able to convince somebody that stmpe is different :) > It would actually be good to ask the interrupt contro

Re: [PATCH update 0/3] HW-latency: hardware latency test 0.10

2012-11-26 Thread Luming Yu
On Mon, Nov 19, 2012 at 3:30 PM, Jon Masters wrote: > On 11/18/2012 04:30 AM, Luming Yu wrote: > >> I'd be glad to do anything to push this tool into upstream. Please >> let me know your thoughts. Thanks /l > > I'm also happy to help test. I'll take a look over the TG holiday at > your lates

Re: [TRIVIAL PATCH] bdi_register: Add __printf verification, fix arg mismatch

2012-11-26 Thread Alex Elder
On 11/22/2012 01:49 PM, Joe Perches wrote: > __printf is useful to verify format and arguments. > > Signed-off-by: Joe Perches Looks good. I can take this into the ceph tree. Thanks. Reviewed-by: Alex Elder > --- > fs/ceph/super.c |2 +- > include/linux/backing-dev.h |1

Re: [RFC PATCH 0/5] enable runnable load avg in load balance

2012-11-26 Thread Preeti U Murthy
Hi everyone, On 11/27/2012 12:33 AM, Benjamin Segall wrote: > So, I've been trying out using the runnable averages for load balance in > a few ways, but haven't actually gotten any improvement on the > benchmarks I've run. I'll post my patches once I have the numbers down, > but it's generally bee

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread wujianguo
On 2012-11-23 18:44, Tang Chen wrote: > [What we are doing] > This patchset provide a boot option for user to specify ZONE_MOVABLE memory > map for each node in the system. > > movablecore_map=nn[KMG]@ss[KMG] > Hi Tang, DMA address can't be set as movable, if some one boot kernel with mo

Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

2012-11-26 Thread Wen Congyang
At 11/27/2012 08:58 AM, Jianguo Wu Wrote: > On 2012/11/26 23:48, H. Peter Anvin wrote: > >> On 11/26/2012 05:15 AM, Tang Chen wrote: >>> >>> Hi Wu, >>> >>> That is really a problem. And, before numa memory got initialized, >>> memblock subsystem would be used to allocate memory. I didn't find any

Re: [PATCH 2/3] KVM: x86: let reexecute_instruction work for tdp

2012-11-26 Thread Xiao Guangrong
On 11/27/2012 06:37 AM, Marcelo Tosatti wrote: > On Tue, Nov 20, 2012 at 07:59:10AM +0800, Xiao Guangrong wrote: >> Currently, reexecute_instruction refused to retry all instructions. If >> nested npt is used, the emulation may be caused by shadow page, it can >> be fixed by dropping the shadow pag

Re: mm/vmemmap: fix wrong use of virt_to_page

2012-11-26 Thread Johannes Weiner
On Tue, Nov 27, 2012 at 10:17:13AM +0800, Jianguo Wu wrote: > I enable CONFIG_DEBUG_VIRTUAL and CONFIG_SPARSEMEM_VMEMMAP, when doing memory > hotremove, > there is a kernel BUG at arch/x86/mm/physaddr.c:20. > > It is caused by free_section_usemap()->virt_to_page(), > virt_to_page() is only used f

Re: [PATCH V2] ARM: dt: tegra: cardhu: Add drm components

2012-11-26 Thread Mark Zhang
On 11/27/2012 07:17 AM, Stephen Warren wrote: > On 11/20/2012 12:27 AM, Mark Zhang wrote: >> This patch adds the rgb node which is needed by >> tegra drm driver. > > This doesn't seem to include all the GPIOs/regulators/... required to > enable the panel and backlight. > Yep. Actually I don't kn

Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

2012-11-26 Thread Jianguo Wu
On 2012/11/27 11:19, Wen Congyang wrote: > At 11/27/2012 08:58 AM, Jianguo Wu Wrote: >> On 2012/11/26 23:48, H. Peter Anvin wrote: >> >>> On 11/26/2012 05:15 AM, Tang Chen wrote: Hi Wu, That is really a problem. And, before numa memory got initialized, memblock subsystem w

Re: mm/vmemmap: fix wrong use of virt_to_page

2012-11-26 Thread Yasuaki Ishimatsu
2012/11/27 11:17, Jianguo Wu wrote: I enable CONFIG_DEBUG_VIRTUAL and CONFIG_SPARSEMEM_VMEMMAP, when doing memory hotremove, there is a kernel BUG at arch/x86/mm/physaddr.c:20. It is caused by free_section_usemap()->virt_to_page(), virt_to_page() is only used for kernel direct mapping address,

[PATCH v9 0/2] x86: vmclear vmcss on all cpus when doing kdump if necessary

2012-11-26 Thread Zhang Yanfei
Currently, kdump just makes all the logical processors leave VMX operation by executing VMXOFF instruction, so any VMCSs active on the logical processors may be corrupted. But, sometimes, we need the VMCSs to debug guest images contained in the host vmcore. To prevent the corruption, we should VMCL

Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

2012-11-26 Thread Wen Congyang
At 11/27/2012 11:22 AM, Jianguo Wu Wrote: > On 2012/11/27 11:19, Wen Congyang wrote: > >> At 11/27/2012 08:58 AM, Jianguo Wu Wrote: >>> On 2012/11/26 23:48, H. Peter Anvin wrote: >>> On 11/26/2012 05:15 AM, Tang Chen wrote: > > Hi Wu, > > That is really a problem. And, before

[PATCH v9 1/2] x86/kexec: VMCLEAR VMCSs loaded on all cpus if necessary

2012-11-26 Thread Zhang Yanfei
This patch provides a way to VMCLEAR VMCSs related to guests on all cpus before executing the VMXOFF when doing kdump. This is used to ensure the VMCSs in the vmcore updated and non-corrupted. Signed-off-by: Zhang Yanfei --- arch/x86/include/asm/kexec.h |2 ++ arch/x86/kernel/crash.c |

Re: [PATCH] vfio powerpc: enabled and supported on powernv platform

2012-11-26 Thread Alexey Kardashevskiy
On 27/11/12 05:04, Alex Williamson wrote: On Mon, 2012-11-26 at 08:18 -0700, Alex Williamson wrote: On Fri, 2012-11-23 at 13:02 +1100, Alexey Kardashevskiy wrote: On 22/11/12 22:56, Sethi Varun-B16395 wrote: -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-k

Re: [PATCH V3 3/3] mfd: stmpe: Update DT support in stmpe driver

2012-11-26 Thread Viresh Kumar
On 27 November 2012 08:10, Viresh Kumar wrote: > On 27 November 2012 00:10, Grant Likely wrote: >> It would actually be good to ask the interrupt controller driver what >> kind of interrupt signal it expects for a given interrupt line. That >> should also solve the problem and I think it would be

[PATCH v9 2/2] KVM-INTEL: provide the vmclear function and a bitmap to support VMCLEAR in kdump

2012-11-26 Thread Zhang Yanfei
The vmclear function will be assigned to the callback function pointer when loading kvm-intel module. And the bitmap indicates whether we should do VMCLEAR operation in kdump. The bits in the bitmap are set/unset according to different conditions. Signed-off-by: Zhang Yanfei --- arch/x86/kvm/vmx

Re: [PATCH 3/3] KVM: x86: improve reexecute_instruction

2012-11-26 Thread Xiao Guangrong
On 11/27/2012 06:41 AM, Marcelo Tosatti wrote: >> >> -return false; >> +again: >> +page_fault_count = ACCESS_ONCE(vcpu->kvm->arch.page_fault_count); >> + >> +/* >> + * if emulation was due to access to shadowed page table >> + * and it failed try to unshadow page and re-enter t

Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

2012-11-26 Thread Wen Congyang
At 11/26/2012 11:48 PM, H. Peter Anvin Wrote: > On 11/26/2012 05:15 AM, Tang Chen wrote: >> >> Hi Wu, >> >> That is really a problem. And, before numa memory got initialized, >> memblock subsystem would be used to allocate memory. I didn't find any >> approach that could fully address it when I mak

Re: [PATCH v3 0/3] ACPI: container hot remove support.

2012-11-26 Thread Tang Chen
On 11/27/2012 09:08 AM, Hanjun Guo wrote: On 2012/11/26 14:06, Tang Chen wrote: On 11/26/2012 01:42 PM, Hanjun Guo wrote: Hi all, I think Yasuaki mentioned the key point for the container device remove, that is dependency. Currently, container, processor, and memory hotpulg are managed by dif

Re: mm/vmemmap: fix wrong use of virt_to_page

2012-11-26 Thread Wen Congyang
At 11/27/2012 10:17 AM, Jianguo Wu Wrote: > I enable CONFIG_DEBUG_VIRTUAL and CONFIG_SPARSEMEM_VMEMMAP, when doing memory > hotremove, > there is a kernel BUG at arch/x86/mm/physaddr.c:20. > > It is caused by free_section_usemap()->virt_to_page(), > virt_to_page() is only used for kernel direct m

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alexey Kardashevskiy
On 27/11/12 05:20, Alex Williamson wrote: On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: VFIO implements platform independent stuff such as a PCI driver, BAR access (via read/write on a file descriptor or direct mapping when possible) and IRQ signaling. The platform dependent pa

[PATCH] staging: gdm72xx: fix unused variable warning in gdm_usb_send

2012-11-26 Thread Ben Chan
This patch fixes an unused variable warning in gdm_usb_send (when CONFIG_WIMAX_GDM72XX_K_MODE=n), which was introduced in commit 1a276b80466bbd195cf94ec7178f68f2ab351467 (staging: gdm72xx: protect access of rx / tx structs). Signed-off-by: Ben Chan --- drivers/staging/gdm72xx/gdm_usb.c |5 ++

Re: [PATCH] vfio powerpc: enabled and supported on powernv platform

2012-11-26 Thread Alex Williamson
On Tue, 2012-11-27 at 14:28 +1100, Alexey Kardashevskiy wrote: > On 27/11/12 05:04, Alex Williamson wrote: > > On Mon, 2012-11-26 at 08:18 -0700, Alex Williamson wrote: > >> On Fri, 2012-11-23 at 13:02 +1100, Alexey Kardashevskiy wrote: > >>> On 22/11/12 22:56, Sethi Varun-B16395 wrote: > > >>

Re: Re: [GIT PULL] extcon for Linux 3.8

2012-11-26 Thread Greg KH
On Tue, Nov 27, 2012 at 12:54:30AM +, MyungJoo Ham wrote: > > On Thu, Nov 22, 2012 at 01:51:10PM +0900, MyungJoo Ham wrote: > > > Please pull extcon patches for Linux 3.8. > > > > This is not a signed-tag pull request, which I thought I asked for > > previously. > > > > Please create that, so

linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/spear1340.dtsi between commit b47394911c26 ("ARM: SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree and commit 8113ba917dfa ("ARM: SPEAr: DT: Update device nodes") from the arm-soc tree.

linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/boot/dts/spear13xx.dtsi between commit 6d7b42a447f9 ("mtd: fsmc_nand: pass the ale and cmd resource via resource") from the l2-mtd tree and commit f631b984ee10 ("ARM: SPEAr: DT: Fix existing DT support") from the arm-s

[patch] Add IVB model 3e support to /drivers/idle/intel_idle.c

2012-11-26 Thread Ethan Zhao
Hi, Len Please help to review and apply the patch if it is OK. I didn't go through all the related code, simply add the model 3e to the id list, I have tested it with stable branch kernel 3.6.7 on my Server with Intel ES0 installed. Thanks, Ethan commit 59b90976a0d93d1656583c7a807ec9c8909b077

Re: [PATCH 2/2] vfio powerpc: enabled on powernv platform

2012-11-26 Thread Alex Williamson
On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: > This patch initializes IOMMU groups based on the IOMMU > configuration discovered during the PCI scan on POWERNV > (POWER non virtualized) platform. The IOMMU groups are > to be used later by VFIO driver (PCI pass through). > > It al

RE: [patch] Add IVB model 3e support to /drivers/idle/intel_idle.c

2012-11-26 Thread Brown, Len
> diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index > e872617..b0f6b4c 100644 > --- a/drivers/idle/intel_idle.c > +++ b/drivers/idle/intel_idle.c > @@ -413,6 +413,7 @@ static const struct x86_cpu_id intel_idle_ids[] = { > ICPU(0x2a, idle_cpu_snb), > ICPU(0x2d

linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-spear13xx/spear1310.c between commit b47394911c26 ("ARM: SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree and commit 300a6856324a ("ARM: SPEAr1310: Fix AUXDATA for compact flash controller")

linux-next: manual merge of the arm-soc tree with the tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-spear13xx/spear13xx.c between commit b47394911c26 ("ARM: SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree and commit 3e270ba6e915 ("ARM: SPEAr13xx: Remove fields not required for ssp control

linux-next: manual merge of the arm-soc tree with the battery tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/power/Kconfig between commit bd9e8ab2d58d ("ab8500: Add devicetree support for btemp") from the battery tree and commit 96ff0f5c7efd ("power: Add simple poweroff-gpio driver") from the arm-soc tree. I fixed it up (see

Re: [PATCH 0/3] fix missing rb_subtree_gap updates on vma insert/erase

2012-11-26 Thread Michel Lespinasse
[ 1556.480036] PGD 31739067 PUD 4fbc4067 PMD 1c936067 PTE 0 > [ 1556.480036] Oops: [#1] PREEMPT SMP DEBUG_PAGEALLOC > [ 1556.480036] Dumping ftrace buffer: > [ 1556.480036](ftrace buffer empty) > [ 1556.480036] CPU 0 > [ 1556.480036] Pid: 10274, comm: trinity-child29 Tainte

Re: [PATCH] ioat: remove chanerr mask setting for IOAT v3.x

2012-11-26 Thread Dan Williams
On Fri, Nov 16, 2012 at 3:26 PM, Dave Jiang wrote: > The CHANERRMSK_INT register should be 0. The existing code set a value > for a workaround to address a pre-silicon bug on the Intel 5520 IO hub that > has been fixed when the hardware was released. There is no need for this > code. > > Signed-of

Re: [PATCH 2/2] uprobes/powerpc: Make use of generic routines to enable single step

2012-11-26 Thread Suzuki K. Poulose
On 11/26/2012 10:31 PM, Oleg Nesterov wrote: On 11/26, Suzuki K. Poulose wrote: @@ -121,8 +125,11 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe, struct pt_regs *regs) * to be executed. */ regs->nip = utask->vaddr + MAX_UINSN_BYTES; + regs->msr = utask-

linux-next: manual merge of the arm-soc tree with the usb tree

2012-11-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/usb/host/ehci-orion.c between commit 41ac7b3ab7fe ("usb: remove use of __devinit") from the usb tree and commit 77dae54ab385 ("ARM: Kirkwood: ehci-orion: Add device tree binding") from the arm-soc tree. I fixed it u

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alexey Kardashevskiy
On 27/11/12 15:29, Alex Williamson wrote: On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: On 27/11/12 05:20, Alex Williamson wrote: On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: VFIO implements platform independent stuff such as a PCI driver, BAR access (via rea

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alex Williamson
On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: > On 27/11/12 05:20, Alex Williamson wrote: > > On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: > >> VFIO implements platform independent stuff such as > >> a PCI driver, BAR access (via read/write on a file descriptor >

Re: [PATCH 1/2] zram: force disksize setting before using zram

2012-11-26 Thread Nitin Gupta
On 11/22/2012 06:42 PM, Minchan Kim wrote: Now zram document syas "set disksize is optional" but partly it's wrong. When you try to use zram firstly after booting, you must set disksize, otherwise zram can't work because zram gendisk's size is 0. But once you do it, you can use zram freely after

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alex Williamson
On Tue, 2012-11-27 at 15:58 +1100, Alexey Kardashevskiy wrote: > On 27/11/12 15:29, Alex Williamson wrote: > > On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: > >> On 27/11/12 05:20, Alex Williamson wrote: > >>> On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: > VF

Re:digital duplicator machine

2012-11-26 Thread Shibakawa ink
Riso ink,Ricoh ink, Gestetner ink, Duplo ink-all models. Duplicator ink and master, copier toner and printer cartridge, spare parts and used machineone package service If you need, call me pls then we talk details. (*^__^*). Skype: luckyme991 Yahoo! Messenger: l

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread David Gibson
On Tue, Nov 27, 2012 at 03:58:14PM +1100, Alexey Kardashevskiy wrote: > On 27/11/12 15:29, Alex Williamson wrote: > >On Tue, 2012-11-27 at 15:06 +1100, Alexey Kardashevskiy wrote: > >>On 27/11/12 05:20, Alex Williamson wrote: > >>>On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: > >>>

Re: [PATCH 2/2] zram: allocate metadata when disksize is set up

2012-11-26 Thread Nitin Gupta
On 11/22/2012 06:42 PM, Minchan Kim wrote: Lockdep complains about recursive deadlock of zram->init_lock. Because zram_init_device could be called in reclaim context and it requires a page with GFP_KERNEL. We can fix it via replacing GFP_KERNEL with GFP_NOIO. But more big problem is vzalloc in z

[RFC PATCH] Fix abnormal rcu dynticks_nesting values related to async page fault

2012-11-26 Thread Li Zhong
I noticed some warnings complaining about dynticks_nesting value, like [ 267.545032] [ cut here ] [ 267.545032] WARNING: at kernel/rcutree.c:382 rcu_eqs_enter+0xab/0xc0() [ 267.545032] Hardware name: Bochs [ 267.545032] Modules linked in: [ 267.545032] Pid: 0, comm: s

[PATCH] serial:ifx6x60:Delete SPI timer when shut down port

2012-11-26 Thread chao bi
When shut down SPI port, it's possible that MRDY has been asserted and a SPI timer was activated waiting for SRDY assert, in the case, it needs to delete this timer. Signed-off-by: Chen Jun Signed-off-by: channing --- drivers/tty/serial/ifx6x60.c |1 + 1 files changed, 1 insertions(+), 0 d

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2012-11-26 Thread Viresh Kumar
Hi Tejun, On 26 November 2012 22:45, Tejun Heo wrote: > On Tue, Nov 06, 2012 at 04:08:45PM +0530, Viresh Kumar wrote: > I'm pretty skeptical about this. queue_work() w/o explicit CPU > assignment has always guaranteed that the work item will be executed > on the same CPU. I don't think there a

RE: [PATCH 2/2] platform / ACPI: Attach/detach ACPI PM during probe/remove/shutdown

2012-11-26 Thread Zheng, Lv
It looks cleanest unless more abstractions are introduced for other power management providers. Best regards/Lv Zheng > -Original Message- > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Sunday, November 25, 2012 10:58 PM > To: LKML > Cc: Greg Kroah-Hartman; Linux PM list; ACPI D

Re: [PATCH] watchdog: da9052: Fix invalid free of devm_ allocated data

2012-11-26 Thread Tushar Behera
On 11/26/2012 06:31 PM, Shubhrajyoti Datta wrote: > On Thu, Nov 22, 2012 at 10:13 AM, Tushar Behera > wrote: >> It is not required to free devm_ allocated data. Since kref_put >> needs a valid release function, da9052_wdt_release_resources() >> is not deleted. >> >> Fixes following warning. >> dri

Re: [PATCH v2 5/5] page_alloc: Bootmem limit with movablecore_map

2012-11-26 Thread H. Peter Anvin
On 11/26/2012 07:15 PM, Wen Congyang wrote: Hi, hpa The problem is that: node1 address rang: [18G, 34G), and the user specifies movable map is [8G, 24G). We don't know node1's address range before numa init. So we can't prevent allocating boot memory in the range [24G, 34G). The movable memory

Re: linux-next: manual merge of the arm-soc tree with the slave-dma tree

2012-11-26 Thread Viresh Kumar
On 27 November 2012 10:14, Stephen Rothwell wrote: > Today's linux-next merge of the arm-soc tree got a conflict in > arch/arm/mach-spear13xx/spear1310.c between commit b47394911c26 ("ARM: > SPEAr13xx: Pass DW DMAC platform data from DT") from the slave-dma tree > and commit 300a6856324a ("ARM: SP

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread Tang Chen
On 11/27/2012 11:10 AM, wujianguo wrote: On 2012-11-23 18:44, Tang Chen wrote: [What we are doing] This patchset provide a boot option for user to specify ZONE_MOVABLE memory map for each node in the system. movablecore_map=nn[KMG]@ss[KMG] Hi Tang, DMA address can't be set as movable

linux-next: manual merge of the drop-experimental tree with the net-next tree

2012-11-26 Thread Stephen Rothwell
Hi Kees, Today's linux-next merge of the drop-experimental tree got a conflict in net/dsa/Kconfig between commit b3422a314c27 ("dsa: Hide core config options; make drivers select what they need") from the net-next tree and commit b8e8d99e4ee8 ("net/dsa: remove depends on CONFIG_EXPERIMENTAL") from

Re: [PATCH] vhost: fix length for cross region descriptor

2012-11-26 Thread Jason Wang
On 11/26/2012 11:57 PM, Michael S. Tsirkin wrote: If a single descriptor crosses a region, the second chunk length should be decremented by size translated so far, instead it includes the full descriptor length. Signed-off-by: Michael S. Tsirkin --- drivers/vhost/vhost.c | 2 +- 1 file chang

Re: [PATCH v3 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-11-26 Thread Jianguo Wu
On 2012/11/1 17:44, Wen Congyang wrote: > From: Yasuaki Ishimatsu > > All pages of virtual mapping in removed memory cannot be freed, since some > pages > used as PGD/PUD includes not only removed memory but also other memory. So the > patch checks whether page can be freed or not. > > How to

Re: [PATCH 1/2] ASoC: davinci-mcasp: Add pinctrl support

2012-11-26 Thread Peter Korsgaard
> "Mark" == Mark Brown writes: Hi, Mark> On Thu, Nov 22, 2012 at 09:34:58AM +0530, Hebbar, Gururaja wrote: >> + pinctrl = devm_pinctrl_get_select_default(&pdev->dev); >> + if (IS_ERR(pinctrl)) >> + dev_warn(&pdev->dev, >> + "pins are not configured from t

Re: Recent kernel "mount" slow

2012-11-26 Thread Jeff Chua
On Sun, Nov 25, 2012 at 7:23 AM, Jeff Chua wrote: > On Sun, Nov 25, 2012 at 5:09 AM, Mikulas Patocka wrote: >> So it's better to slow down mount. > > I am quite proud of the linux boot time pitting against other OS. Even > with 10 partitions. Linux can boot up in just a few seconds, but now > you

[PATCH rcu] use new nesting value for rcu_dyntick trace in rcu_eqs_enter_common

2012-11-26 Thread Li Zhong
This patch uses the real new value of dynticks_nesting instead of 0 in rcu_eqs_enter_common(). Signed-off-by: Li Zhong --- kernel/rcutree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 7733eb5..6b7e314 100644 --- a/kernel/rcutree.

[PATCH] media: fix a typo CONFIG_HAVE_GENERIC_DMA_COHERENT in videobuf2-dma-contig.c

2012-11-26 Thread Prabhakar Lad
From: Lad, Prabhakar from commit 93049b9368a2e257ace66252ab2cc066f3399cad, which adds a check HAVE_GENERIC_DMA_COHERENT for dma ops, the check was wrongly made it should have been HAVE_GENERIC_DMA_COHERENT but it was CONFIG_HAVE_GENERIC_DMA_COHERENT. This patch fixes the typo, which was causing f

[PATCH 0/3] power: bq2415x_charger: Some cleanup

2012-11-26 Thread Sachin Kamat
This series is build tested againt the linux-next tree (20121126) Sachin Kamat (3): power: bq2415x_charger: Remove unneeded version.h inclusion power: bq2415x_charger: Use module_i2c_driver power: bq2415x_charger: Use devm_kzalloc() drivers/power/bq2415x_charger.c | 28

[PATCH 1/3] power: bq2415x_charger: Remove unneeded version.h inclusion

2012-11-26 Thread Sachin Kamat
is not required here. Signed-off-by: Sachin Kamat --- drivers/power/bq2415x_charger.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index ee842b3..2d1b568 100644 --- a/drivers/power/bq2415x_charger.c ++

[PATCH 2/3] power: bq2415x_charger: Use module_i2c_driver

2012-11-26 Thread Sachin Kamat
module_i2c_driver() makes the code simpler by eliminating module_init and module_exit calls. Signed-off-by: Sachin Kamat --- drivers/power/bq2415x_charger.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415

[PATCH 3/3] power: bq2415x_charger: Use devm_kzalloc()

2012-11-26 Thread Sachin Kamat
devm_kzalloc is device managed and makes error handling and code cleanup a bit simpler. Signed-off-by: Sachin Kamat --- drivers/power/bq2415x_charger.c | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_c

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-26 Thread Len Brown
On 11/15/2012 04:04 AM, Preeti Murthy wrote: > Hi all, > > The code looks correct and inviting to me as it has led to good cleanups. > I dont think passing 0 as the argument to the function > sched_clock_idle_wakeup_event() > should lead to problems,as it does not do anything useful with the > pas

[PATCH v4] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2012-11-26 Thread Ilya Zykov
Sorry. More correct. Regression 'tty: fix "IRQ45: nobody cared"' Regression commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). At the time of request we can have full buffers and throttled driver too. If we don't unthrot

Re: [PATCH] cpuidle: Measure idle state durations with monotonic clock

2012-11-26 Thread Len Brown
>> drivers/idle/intel_idle.c | 14 +- Acked-by: Len Brown thanks! -Len -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [RFC PATCH 0/5] enable runnable load avg in load balance

2012-11-26 Thread Alex Shi
On 11/27/2012 11:08 AM, Preeti U Murthy wrote: > Hi everyone, > > On 11/27/2012 12:33 AM, Benjamin Segall wrote: >> So, I've been trying out using the runnable averages for load balance in >> a few ways, but haven't actually gotten any improvement on the >> benchmarks I've run. I'll post my patche

Re: [PATCH v2 0/5] Add movablecore_map boot option

2012-11-26 Thread H. Peter Anvin
On 11/26/2012 09:43 PM, Tang Chen wrote: And about how to fix it, as you said, we can handle the situation if user specified DMA address as movable. But how to handle "too little memory for kernel to start" case ? Is there any info about how much at least memory kernel needs ? Not really, an

Re: [PATCH] ioat: remove chanerr mask setting for IOAT v3.x

2012-11-26 Thread Jiang, Dave
On Nov 26, 2012, at 9:56 PM, "Dan Williams" wrote: > On Fri, Nov 16, 2012 at 3:26 PM, Dave Jiang wrote: >> The CHANERRMSK_INT register should be 0. The existing code set a value >> for a workaround to address a pre-silicon bug on the Intel 5520 IO hub that >> has been fixed when the hardware wa

Re: [PATCH V2 Resend 0/4] Create sched_select_cpu() and use it for workqueues and timers

2012-11-26 Thread Viresh Kumar
Hi Steven, Thanks for sharing your opinion. :) As, this went out to be a long thread of discussion (thanks Paul), i will try to answer everything here. On 26 November 2012 22:10, Steven Rostedt wrote: > This is a really bad time of year to post new patches :-/ > A lot of people are trying to ge

RE: [PATCH v3 03/10] ARM: OMAP: AM33xx hwmod: Add parent-child relationship for PWM subsystem

2012-11-26 Thread Philip, Avinash
On Mon, Nov 26, 2012 at 16:37:36, Bedia, Vaibhav wrote: > Hi Benoit, > > On Mon, Nov 26, 2012 at 14:32:59, Cousson, Benoit wrote: > > Hi Vaibhav, > > > > On 11/26/2012 06:19 AM, Bedia, Vaibhav wrote: > > > On Fri, Nov 23, 2012 at 16:36:06, Philip, Avinash wrote: > > >> On Tue, Nov 20, 2012 at 10:

linux-next: Tree for Nov 27

2012-11-26 Thread Stephen Rothwell
Hi all, Changes since 20121126: New tree: f2fs The powerpc tree still had its build failure for which I applied a patch. The v4l-dvb tree lost its build failure. The net-next tree gained a conflict against the infiniband tree. The modules tree still had its build failure so I used the

Re: [RFC v2 5/8] ARM: tegra: Add auxiliary data for nvhost

2012-11-26 Thread Terje Bergström
On 27.11.2012 01:39, Stephen Warren wrote: > Clock names shouldn't be passed in platform data; instead, clk_get() > should be passed the device object and device-relative (i.e. not global) > clock name. I expect if the driver is fixed to make this change, the > changes to tegra*_clocks_data.c won't

Re: [PATCH] acer-wmi: add Aspire 5741G touchpad toggle key

2012-11-26 Thread joeyli
於 一,2012-11-26 於 21:35 +0300,Sergey Senozhatsky 提到: > Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing > "acer_wmi: Unknown key number - 0x85" error. > > > Signed-off-by: Sergey Senozhatsky Signed-off-by: Lee, Chun-Yi Thanks for you resend your patch. Joey Lee > > --- > >

[PATCH 1/4 v7] AMD64 EDAC: Add multi-domain support

2012-11-26 Thread Daniel J Blueman
Fix get_node_id to match northbridge IDs from the array of detected ones, allowing multi-server support such as with Numascale's NumaConnect, renaming to 'amd_get_node_id' for consistency. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/amd_nb.h |

[PATCH 2/4 v7] AMD64 EDAC: Consistently use u16 for northbridge IDs in amd_get_nb_id

2012-11-26 Thread Daniel J Blueman
Change amd_get_nb_id to return u16 to support >255 memory controllers, and related consistency fixes. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/processor.h |2 +- arch/x86/kernel/cpu/amd.c|4 ++-- drivers/edac/amd64_edac.c

[PATCH 3/4 v7] AMD64 EDAC: Fix PCI function lookup

2012-11-26 Thread Daniel J Blueman
Fix locating sibling memory controller PCI functions by using the correct PCI domain. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- drivers/edac/amd64_edac.c | 40 +--- 1 file changed, 21 insertions(+), 19 deletions(-) diff --gi

Re: [PATCH] extcon: arizona: Only set GPIO if it has been requested

2012-11-26 Thread Mark Brown
On Tue, Nov 27, 2012 at 08:26:35AM +0900, Chanwoo Choi wrote: > On 11/26/2012 08:28 PM, Mark Brown wrote: > > + if (arizona->pdata.micd_pol_gpio > 0) > > + gpio_set_value_cansleep(arizona->pdata.micd_pol_gpio, > > + info->micd_modes[mode].gpio); > Why

[PATCH 4/4 v7] AMD64 EDAC: Fix type usage in NB IDs and memory ranges

2012-11-26 Thread Daniel J Blueman
Use appropriate types for northbridge IDs and memory ranges. v7: Refactor patches grouping changes Signed-off-by: Daniel J Blueman --- arch/x86/include/asm/amd_nb.h |2 +- drivers/edac/amd64_edac.c | 20 ++-- drivers/edac/amd64_edac.h |6 +++--- 3 files changed

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-11-26 Thread Jason Wang
On 11/27/2012 01:37 AM, Stephen Hemminger wrote: On Mon, 26 Nov 2012 15:56:52 +0800 Jason Wang wrote: Some deivces do not free the old tx skbs immediately after it has been sent (usually in tx interrupt). One such example is virtio-net which optimizes for virt and only free the possible old tx

Re: [Qemu-devel] [PATCH 0/4] AER-KVM: Error containment of PCI pass-thru devices assigned to KVM guests

2012-11-26 Thread Gleb Natapov
On Mon, Nov 26, 2012 at 09:46:12PM -0200, Marcelo Tosatti wrote: > On Tue, Nov 20, 2012 at 02:09:46PM +, Pandarathil, Vijaymohan R wrote: > > > > > > > -Original Message- > > > From: Stefan Hajnoczi [mailto:stefa...@gmail.com] > > > Sent: Tuesday, November 20, 2012 5:41 AM > > > To: P

Re: linux-next: manual merge of the net-next tree with the infiniband tree

2012-11-26 Thread Or Gerlitz
On 27/11/2012 02:47, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/mellanox/mlx4/en_rx.c between commit 08ff32352d6f ("mlx4: 64-byte CQE/EQE support") from the infiniband tree and commit f1d29a3fa68b ("mlx4_en: Remove remnant

<    2   3   4   5   6   7   8   9   10   >