Re: [PATCH V3 1/5] powerpc, perf: Add new BHRB related instructions for POWER8

2013-04-21 Thread Anshuman Khandual
On 04/22/2013 05:11 AM, Michael Ellerman wrote: > On Thu, Apr 18, 2013 at 05:56:12PM +0530, Anshuman Khandual wrote: >> This patch adds new POWER8 instruction encoding for reading >> the BHRB buffer entries and also clearing it. Encoding for >> "clrbhrb" instruction is straight forward. > > Which

Re: [PATCH 0/10] Reduce system disruption due to kswapd V2

2013-04-21 Thread Zlatko Calusic
On 22.04.2013 08:43, Simon Jeons wrote: Hi Zlatko, On 04/22/2013 02:37 PM, Zlatko Calusic wrote: On 12.04.2013 22:07, Zlatko Calusic wrote: On 12.04.2013 21:40, Mel Gorman wrote: On Thu, Apr 11, 2013 at 10:55:13PM +0200, Zlatko Calusic wrote: On 09.04.2013 13:06, Mel Gorman wrote: - The onl

Re: [PATCH 1/1] intel-iommu: Disable DMA Remapping when intel_iommu=off

2013-04-21 Thread Wei Hu
On Sun, Apr 21, 2013 at 10:31 PM, Takao Indoh wrote: > (2013/04/20 15:58), Wei Hu wrote: >> On a VT-d capable machine Linux will enable IOMMU by default. If it >> then kexec's a second kernel with intel_iommu=off, this second kernel >> will leave the DMA remapping engine on with no code handling i

Re: [PATCH 1/2] smp: use '|=' for csd_lock

2013-04-21 Thread Sedat Dilek
On Mon, Apr 22, 2013 at 8:30 AM, Sedat Dilek wrote: > On Mon, Apr 22, 2013 at 8:22 AM, li guang wrote: >> 在 2013-04-22一的 08:18 +0200,Sedat Dilek写道: >>> On Mon, Apr 22, 2013 at 7:47 AM, liguang wrote: >>> > originally, 'data->flags = CSD_FLAG_LOCK', >>> > and we use 'data->flags &= ~CSD_FLAG_LOCK

Re: [PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-04-21 Thread Viresh Kumar
On 9 April 2013 14:05, Viresh Kumar wrote: > On 5 April 2013 12:16, Viresh Kumar wrote: >> On 4 April 2013 18:24, Viresh Kumar wrote: >>> This patch moves cpufreq driver of powerpc platform to drivers/cpufreq. >>> >>> Cc: Benjamin Herrenschmidt >>> Cc: Paul Mackerras >>> Cc: Olof Johansson >>

Re: [PATCH 0/10] Reduce system disruption due to kswapd V2

2013-04-21 Thread Simon Jeons
Hi Zlatko, On 04/22/2013 02:37 PM, Zlatko Calusic wrote: On 12.04.2013 22:07, Zlatko Calusic wrote: On 12.04.2013 21:40, Mel Gorman wrote: On Thu, Apr 11, 2013 at 10:55:13PM +0200, Zlatko Calusic wrote: On 09.04.2013 13:06, Mel Gorman wrote: - The only slightly negative thing I observed is t

Re: [PATCH 0/10] Reduce system disruption due to kswapd V2

2013-04-21 Thread Zlatko Calusic
On 12.04.2013 22:07, Zlatko Calusic wrote: On 12.04.2013 21:40, Mel Gorman wrote: On Thu, Apr 11, 2013 at 10:55:13PM +0200, Zlatko Calusic wrote: On 09.04.2013 13:06, Mel Gorman wrote: - The only slightly negative thing I observed is that with the patch applied kswapd burns 10x - 20x more CPU

Re: [PATCH 1/2] smp: use '|=' for csd_lock

2013-04-21 Thread Sedat Dilek
On Mon, Apr 22, 2013 at 8:22 AM, li guang wrote: > 在 2013-04-22一的 08:18 +0200,Sedat Dilek写道: >> On Mon, Apr 22, 2013 at 7:47 AM, liguang wrote: >> > originally, 'data->flags = CSD_FLAG_LOCK', >> > and we use 'data->flags &= ~CSD_FLAG_LOCK' >> > for csd_unlock, they are not symmetrix operations >>

Re: mdadm raid1 regression

2013-04-21 Thread Vasiliy Tolstov
2013/4/22 NeilBrown : >> Hello. I'm using linux 3.8.6 and mdadm 3.2.6 (from git). >> I have many raid1 arrays that have data offset 2048 (metadata 1.2, >> created with various mdadm versions but mostly 3.2.1 on linux 2.6.32). >> If i create raid1 with never mdadm on 3.8.6 i have data offset 8192??

Re: [PATCH v2 0/5] dmaengine: add ACPI DMA helpers and use them in dw_dmac

2013-04-21 Thread Vinod Koul
On Tue, Apr 16, 2013 at 08:11:57PM +0200, Rafael J. Wysocki wrote: > On Tuesday, April 16, 2013 03:14:47 PM Andy Shevchenko wrote: > > On Mon, 2013-04-15 at 22:06 +0530, Vinod Koul wrote: > > > On Tue, Apr 09, 2013 at 02:05:42PM +0300, Andy Shevchenko wrote: > > > > There is a patch series which i

Re: [PATCH 1/2] smp: use '|=' for csd_lock

2013-04-21 Thread li guang
在 2013-04-22一的 08:18 +0200,Sedat Dilek写道: > On Mon, Apr 22, 2013 at 7:47 AM, liguang wrote: > > originally, 'data->flags = CSD_FLAG_LOCK', > > and we use 'data->flags &= ~CSD_FLAG_LOCK' > > for csd_unlock, they are not symmetrix operations > > so use '|=' instead of '='. > > though, now data->flag

Re: [PATCH V4 3/4] block: queue work on unbound wq

2013-04-21 Thread Viresh Kumar
On 10 April 2013 00:00, Tejun Heo wrote: > On Tue, Apr 09, 2013 at 01:00:59PM +0530, Viresh Kumar wrote: >> +#ifdef CONFIG_WQ_POWER_EFFICIENT >> +static bool wq_power_efficient = 0; >> +module_param_named(power_efficient, wq_power_efficient, bool, 0444); >> +#endif > > I don't think we need to ma

Re: [PATCH] sched: wake-affine throttle

2013-04-21 Thread Michael Wang
Hi, Mike Thanks for your reply :) On 04/22/2013 01:27 PM, Mike Galbraith wrote: > On Mon, 2013-04-22 at 12:21 +0800, Michael Wang wrote: >> On 04/10/2013 11:30 AM, Michael Wang wrote: >>> Log since RFC: >>> 1. Throttle only when wake-affine failed. (thanks to PeterZ) >>> 2. Do throttle i

Re: [PATCH 1/2] smp: use '|=' for csd_lock

2013-04-21 Thread Sedat Dilek
On Mon, Apr 22, 2013 at 7:47 AM, liguang wrote: > originally, 'data->flags = CSD_FLAG_LOCK', > and we use 'data->flags &= ~CSD_FLAG_LOCK' > for csd_unlock, they are not symmetrix operations > so use '|=' instead of '='. > though, now data->flags only hold CSD_FLAG_LOCK, > it's not so meaningful to

Re: [RFC/PATCH 1/4] arm64: Provide default implementation for dma_{alloc, free}_attrs

2013-04-21 Thread Lars-Peter Clausen
On 04/22/2013 07:09 AM, Damian Hobson-Garcia wrote: > Most architectures that define CONFIG_HAVE_DMA, have implementations for > both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do > not define CONFIG_HAVE_DMA also have both of these definitions provided by > dma-mapping-broken.h

RE: [RFC PATCH 0/2] cpufreq/regulator: Limit minimum voltage only

2013-04-21 Thread Bedia, Vaibhav
(removing Anil's email-id since it's no longer valid) On Sat, Apr 20, 2013 at 05:54:10, Kondratiuk, Taras wrote: > On 04/19/2013 07:21 PM, Nishanth Menon wrote: > > On 14:55-20130419, Taras Kondratiuk wrote: > >> Using a "voltage tolerance" for doing DVFS is not a proper way. > >> It leads to a fe

Re: [PATCH v3 1/6] drivers: phy: add generic PHY framework

2013-04-21 Thread Kishon Vijay Abraham I
Hi, On Friday 19 April 2013 02:39 PM, Grant Likely wrote: On Tue, 16 Apr 2013 15:48:07 +0530, Kishon Vijay Abraham I wrote: On Tuesday 16 April 2013 01:20 AM, Grant Likely wrote: On Mon, 15 Apr 2013 17:56:10 +0530, Kishon Vijay Abraham I wrote: On Monday 15 April 2013 05:04 PM, Grant Like

Re: Preemptable Ticket Spinlock

2013-04-21 Thread Raghavendra K T
On 04/22/2013 04:37 AM, Jiannan Ouyang wrote: On Sun, Apr 21, 2013 at 5:12 PM, Rik van Riel wrote: Your algorithm is very clever, and very promising. However, it does increase the size of the struct spinlock, and adds an additional atomic operation to spin_unlock, neither of which I suspect ar

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

2013-04-21 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got a conflict in kernel/trace/ftrace.c between commit b67bfe0d42ca ("hlist: drop the node parameter from iterators") from Linus' tree and commit f1943977e664 ("tracing: Get rid of unneeded key calculation in ftrace_hash_move()") and e1df4cb68

Re: Preemptable Ticket Spinlock

2013-04-21 Thread Raghavendra K T
On 04/21/2013 03:42 AM, Jiannan Ouyang wrote: Hello Everyone, I recently came up with a spinlock algorithm that can adapt to preemption, which you may be interested in. It is overall a great and clever idea as Rik mentioned already. The intuition is to downgrade a fair lock to an unfair loc

Re: [PATCH 4/6] arm: mach-omap2: remove "OMAP_DEVICE_NO_IDLE_ON_SUSPEND" check

2013-04-21 Thread Sourav Poddar
Hi Kevin, On Friday 19 April 2013 08:22 PM, Kevin Hilman wrote: Sourav Poddar writes: [...] Yes, got your point. omap_device_idle should not be called only for console uart. Just did a quick testing by including the following hunk on top of my patch series.. diff --git a/arch/arm/mach-omap2

[PATCH 2/2] smp: remove 'priv' of call_single_data

2013-04-21 Thread liguang
the 'priv' field seems a little redundant, because we can pass data via 'info'. Signed-off-by: liguang --- include/linux/smp.h |1 - kernel/softirq.c|6 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/linux/smp.h b/include/linux/smp.h index 3e07a7d..e656

[PATCH 1/2] smp: use '|=' for csd_lock

2013-04-21 Thread liguang
originally, 'data->flags = CSD_FLAG_LOCK', and we use 'data->flags &= ~CSD_FLAG_LOCK' for csd_unlock, they are not symmetrix operations so use '|=' instead of '='. though, now data->flags only hold CSD_FLAG_LOCK, it's not so meaningful to use '|=' to set 1 bit, and '&= ~' to clear 1 bit. Signed-of

Re: [RFC PATCH v3 5/6] sched: pack the idle load balance

2013-04-21 Thread Preeti U Murthy
Hi Vincent, On 04/05/2013 04:38 PM, Vincent Guittot wrote: > Peter, > > After some toughts about your comments,I can update the buddy cpu > during ILB or periofdic LB to a new idle core and extend the packing > mechanism Does this additional mechanism sound better for you ? If the primary goal

[PATCH 1/3 v2] iommu: Move swap_pci_ref function to pci.h.

2013-04-21 Thread Varun Sethi
swap_pci_ref function is used by the IOMMU API code for swapping pci device pointers, while determining the iommu group for the device. Currently this function was being implemented for different IOMMU drivers. This patch moves the function to a new file, drivers/iommu/pci.h so that the implementat

[PATCH 2/3 v13] iommu/fsl: Add additional iommu attributes required by the PAMU driver.

2013-04-21 Thread Varun Sethi
Added the following domain attributes for the FSL PAMU driver: 1. Added new iommu stash attribute, which allows setting of the LIODN specific stash id parameter through IOMMU API. 2. Added an attribute for enabling/disabling DMA to a particular memory window. 3. Added domain attribute to chec

Re: [PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-21 Thread Prabhakar Lad
On Fri, Apr 19, 2013 at 4:48 PM, Mauro Carvalho Chehab wrote: > Em Fri, 19 Apr 2013 15:16:56 +0530 > Prabhakar lad escreveu: > >> From: Lad, Prabhakar >> >> From commit 068a0df76023926af958a336a78bef60468d2033 >> "[media] media: vb2: add length check for mmap" >> patch verifies that the mmap() s

Re: [PATCH 1/1] intel-iommu: Disable DMA Remapping when intel_iommu=off

2013-04-21 Thread Takao Indoh
(2013/04/20 15:58), Wei Hu wrote: > On a VT-d capable machine Linux will enable IOMMU by default. If it > then kexec's a second kernel with intel_iommu=off, this second kernel > will leave the DMA remapping engine on with no code handling it. The > symptom is at least USB and SATA drives stop worki

Re: [PATCH] sched: wake-affine throttle

2013-04-21 Thread Mike Galbraith
On Mon, 2013-04-22 at 12:21 +0800, Michael Wang wrote: > On 04/10/2013 11:30 AM, Michael Wang wrote: > > Log since RFC: > > 1. Throttle only when wake-affine failed. (thanks to PeterZ) > > 2. Do throttle inside wake_affine(). (thanks to PeterZ) > > 3. Other small fix. > > > > Recently

[RFC/PATCH 4/4] s390: Provide default implementation for dma_{alloc,free}_attrs

2013-04-21 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on s390.

[RFC/PATCH 3/4] parisc: Provide default implementation for dma_{alloc,free}_attrs

2013-04-21 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on parisc

[RFC/PATCH 2/4] c6x: Provide default implementation for dma_{alloc,free}_attrs

2013-04-21 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on c6x.

[RFC/PATCH 1/4] arm64: Provide default implementation for dma_{alloc,free}_attrs

2013-04-21 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Add default implementations for these functions on arm64.

[PATCH] ARM64: kernel: compiling issue, define cmpxchg64 and cmpxchg64_local for outside using.

2013-04-21 Thread Chen Gang
drivers use cmpxchg64, cmpxchg64_local ... to perform 64-bit operation, so they can cross 32-bit and 64-bit platforms (it is a standard way). Signed-off-by: Chen Gang --- arch/arm64/include/asm/cmpxchg.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm64/

Re: [Suggestion] ARM64: kernel: compiling issue, need implement cmpxchg64 with assembler language.

2013-04-21 Thread Chen Gang
On 2013年04月20日 15:32, Arnd Bergmann wrote: > On Saturday 20 April 2013 10:28:55 Chen Gang wrote: >> >> ---patch >> begin-- >> >> diff --git a/arch/arm64/include/asm/cmpxchg.h >> b/arch/arm64/include/asm/cmpxchg.h >> index 968b5cb..b5

[RFC/PATCH 0/4] dma-mapping: Define dma_{alloc,free}_attrs() for all archs

2013-04-21 Thread Damian Hobson-Garcia
Most architectures that define CONFIG_HAVE_DMA=y, have implementations for both dma_alloc_attrs() and dma_free_attrs(). All achitectures that do not define CONFIG_HAVE_DMA also have both of these definitions provided by dma-mapping-broken.h. Provide a default definition for the archs that define

Re: [PATCH 0/3] Add boot_enable attribute to eMMC device for boot mode operation selection

2013-04-21 Thread Namjae Jeon
2013/4/19, Neil Armstrong : > Since eMMC 4.3 a special boot mode operation was introduced to retrieve > data from the eMMC device with a very simple procedure. Since the Linux > kernel exports these device boot partitions, it may be useful to select > the boot partition from the user space. > > The

Re: [PATCH v3] X.509: Support parse long form of length octets in Authority Key Identifier

2013-04-21 Thread joeyli
於 一,2013-04-22 於 11:37 +0930,Rusty Russell 提到: > "Lee, Chun-Yi" writes: > > From: Chun-Yi Lee > > > > Per X.509 spec in 4.2.1.1 section, the structure of Authority Key > > Identifier Extension is: > > > >AuthorityKeyIdentifier ::= SEQUENCE { > > keyIdentifier [0] KeyIdentifi

Re: [PATCH] sched: wake-affine throttle

2013-04-21 Thread Michael Wang
On 04/10/2013 11:30 AM, Michael Wang wrote: > Log since RFC: > 1. Throttle only when wake-affine failed. (thanks to PeterZ) > 2. Do throttle inside wake_affine(). (thanks to PeterZ) > 3. Other small fix. > > Recently testing show that wake-affine stuff cause regression on pgbench

Re: [PATCH v3] X.509: Support parse long form of length octets in Authority Key Identifier

2013-04-21 Thread Rusty Russell
"Lee, Chun-Yi" writes: > From: Chun-Yi Lee > > Per X.509 spec in 4.2.1.1 section, the structure of Authority Key > Identifier Extension is: > >AuthorityKeyIdentifier ::= SEQUENCE { > keyIdentifier [0] KeyIdentifier OPTIONAL, > authorityCertIssuer [1] Ge

Re: [PATCH 66/72] mtdchar: fix offset overflow detection

2013-04-21 Thread Ben Hutchings
On Thu, 2013-04-18 at 10:16 +0100, Luis Henriques wrote: > 3.5.7.11 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Linus Torvalds > > commit 9c603e53d380459fb62fec7cd085acb0b74ac18f upstream. [...] There are further problems with mt

Re: [PATCH 35/72] KVM: x86: Convert MSR_KVM_SYSTEM_TIME to use gfn_to_hva_cache functions (CVE-2013-1797)

2013-04-21 Thread Ben Hutchings
On Thu, 2013-04-18 at 10:16 +0100, Luis Henriques wrote: > 3.5.7.11 -stable review patch. If anyone has any objections, please let me > know. > > -- > > From: Andy Honig > > commit 0b79459b482e85cb7426aa7da683a9f2c97aeae1 upstream. > > There is a potential use after free issu

Re: [PATCH] ext4: fix a big-endian bug when an extent is zeroed out

2013-04-21 Thread CAI Qian
Hi Ted, - Original Message - > From: "Theodore Ts'o" > To: "CAI Qian" > Cc: "Eric Whitney" , "Dmitry Monakhov" > , "Christian Kujau" > nerdbynature.de>, "LKML" , "linux-s390" > , "Steve > Best" , linux-e...@vger.kernel.org > Sent: Saturday, April 20, 2013 11:19:45 PM > Subject: Re: [PA

Re: [PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-21 Thread Namjae Jeon
2013/4/22, Jaegeuk Kim : > 2013-04-20 (토), 01:27 +0900, Namjae Jeon: >> From: Namjae Jeon >> >> Adding REQ_META for all the metadata requests can help in improving the >> FS performance, if the underlying device supports TAGGING. >> So, when considering the submit_bio path for all the f2fs request

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

2013-04-21 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/net/ethernet/ibm/ehea/ehea_main.c: In function 'ehea_proc_rwqes': drivers/net/ethernet/ibm/ehea/ehea_main.c:728:5: error: too few arguments to function '__vlan_hwaccel_put_tag' i

Re: [PATCH v2 06/15] powerpc/85xx: add support to JOG feature using cpufreq interface

2013-04-21 Thread Viresh Kumar
On Fri, Apr 19, 2013 at 4:17 PM, Zhao Chenhui wrote: > diff --git a/drivers/cpufreq/mpc85xx-cpufreq.c > b/drivers/cpufreq/mpc85xx-cpufreq.c > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include Would be better to keep them in alphabetical order,

Re: OOM-killer and strange RSS value in 3.9-rc7

2013-04-21 Thread Han Pingtian
On Sun, Apr 21, 2013 at 02:49:31AM +0200, Jiri Kosina wrote: > On Wed, 17 Apr 2013, Han Pingtian wrote: > > > > > On a power7 system, we have installed 3.9-rc7 and crash 6.1.6. If I run > > > > something like "make -j 64" to compile linux kernel from source, sooner > > > > or latter, oom-killer wi

Re: linux-next: Tree for Apr 9 [cpufreq: NULL pointer deref]

2013-04-21 Thread Viresh Kumar
On 22 April 2013 05:00, Rafael J. Wysocki wrote: > Applied to linux-pm.git/linux-next, although please check the result, because > the patchwork version of the patch wasn't quite applicable and I fixed it up > manually. Yes it looks fine and that's why i have attached the patch with my email earl

RE: [PATCHv5 00/11] Remove ARM local timer API

2013-04-21 Thread Barry Song
> -Original Message- > From: Stephen Boyd [mailto:sb...@codeaurora.org] > Sent: Saturday, April 20, 2013 12:20 AM > To: linux-arm-ker...@lists.infradead.org > Cc: linux-kernel@vger.kernel.org; linux-arm-...@vger.kernel.org; Mark > Rutland; Marc Zyngier; Kukjin Kim; Barry Song; Daniel Walker

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-21 Thread Anup Patel
On 22 April 2013 06:51, Rusty Russell wrote: > > Pranavkumar Sawargaonkar writes: > > On 18 April 2013 12:21, Rusty Russell wrote: > >> > >> PranavkumarSawargaonkar writes: > >> > From: Pranavkumar Sawargaonkar > >> > > >> > This patch implements early printk support for virtio-mmio console >

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

2013-04-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in include/net/scm.h between commit 83f1b4ba917d ("net: fix incorrect credentials passing") from Linus' tree and commit 6b0ee8c036ec ("scm: Stop passing struct cred") from the net-next tree. I fixed it up (see below) and can car

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

2013-04-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/ipv4/tcp_input.c between commit 12fb3dd9dc3c ("tcp: call tcp_replace_ts_recent() from tcp_ack()") from Linus' tree and commit 9b717a8d2450 ("tcp: TLP loss detection") from the net-next tree. I fixed it up (see below) and

PCB Solid Carbide Drills and Routers from China

2013-04-21 Thread Archer
Dear Manager, We are a professional producer of tungsten carbide cutters. Our products include standard solid PCB drills (dia 3.20mm-6.50mm) and special PCB drills with chip-removal groove and reground chisel edge (dia 1.5mm-6.5mm). By adopting a world famous brand of micro-grain tungsten car

Re: [PATCH v3 00/15] KVM: MMU: fast zap all shadow pages

2013-04-21 Thread Xiao Guangrong
On 04/21/2013 11:24 PM, Marcelo Tosatti wrote: > On Sun, Apr 21, 2013 at 10:09:29PM +0800, Xiao Guangrong wrote: >> On 04/21/2013 09:03 PM, Gleb Natapov wrote: >>> On Tue, Apr 16, 2013 at 02:32:38PM +0800, Xiao Guangrong wrote: This patchset is based on my previous two patchset: [PATCH 0/

Re: [PATCH 2/2] f2fs: add REQ_META about metadata requests for submit bio

2013-04-21 Thread Jaegeuk Kim
2013-04-20 (토), 01:27 +0900, Namjae Jeon: > From: Namjae Jeon > > Adding REQ_META for all the metadata requests can help in improving the > FS performance, if the underlying device supports TAGGING. > So, when considering the submit_bio path for all the f2fs requests. We can > add REQ_META for al

Re: [PATCH V3 1/5] powerpc, perf: Add new BHRB related instructions for POWER8

2013-04-21 Thread Michael Neuling
Michael Ellerman wrote: > On Mon, Apr 22, 2013 at 11:13:43AM +1000, Michael Neuling wrote: > > Michael Ellerman wrote: > > > > > On Thu, Apr 18, 2013 at 05:56:12PM +0530, Anshuman Khandual wrote: > > > > This patch adds new POWER8 instruction encoding for reading > > > > the BHRB buffer entries

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

2013-04-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/intel/igb/igb_main.c between commit f9d40f6a9921 ("igb: Revert support for build_skb in igb") from Linus' tree and commit b980ac18c95f ("igb: Fix code comments and whitespace") from the net-next tree. I f

Re: [PATCH V3 1/5] powerpc, perf: Add new BHRB related instructions for POWER8

2013-04-21 Thread Michael Ellerman
On Mon, Apr 22, 2013 at 11:13:43AM +1000, Michael Neuling wrote: > Michael Ellerman wrote: > > > On Thu, Apr 18, 2013 at 05:56:12PM +0530, Anshuman Khandual wrote: > > > This patch adds new POWER8 instruction encoding for reading > > > the BHRB buffer entries and also clearing it. Encoding for >

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

2013-04-21 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/ethernet/emulex/benet/be_main.c between commit f11a869d4e38 ("be2net: take care of __vlan_put_tag return value") from Linus' tree and commit 86a9bad3ab6b ("net: vlan: add protocol argument to packet tagging functio

Re: [PATCH 00/30] thermal: cpu_cooling: code improvements

2013-04-21 Thread amit daniel kachhap
Hi Eduardo, I looked at your whole series and they certainly looks useful, so for the entire series, Acked-by: Amit Daniel Kachhap Thanks, Amit Daniel Kachhap On Thu, Apr 18, 2013 at 2:02 AM, Eduardo Valentin wrote: > On 17-04-2013 13:11, Eduardo Valentin wrote: >> >> Rui, > > > > Looks like I

Re: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-21 Thread Guenter Roeck
On Mon, Apr 22, 2013 at 01:14:26AM +, Opensource [Anthony Olech] wrote: > > -Original Message- > > From: Guenter Roeck [mailto:li...@roeck-us.net] > > Sent: 20 April 2013 18:35 > > To: Lars-Peter Clausen > > Cc: Opensource [Anthony Olech]; Jean Delvare; Mark Brown; Randy Dunlap; > > lm-

RE: [RESEND][PATCH] ARM: PL011: add support for extended FIFO-size of PL011-r1p5

2013-04-21 Thread Jongsung Kim
Thank you for your comments, Russell. I'll happily apply your recommendation just after it come up to the merge window. Or, do you want me to send it by now? -Original Message- From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] Sent: Friday, April 19, 2013 11:18 PM To: Jongsun

Re: [PATCH 03/30] thermal: cpu_cooling: fix kernel_doc for cpufreq_cooling_device

2013-04-21 Thread amit kachhap
On Wed, Apr 17, 2013 at 10:41 PM, Eduardo Valentin wrote: > Simple fixes for making kernel_doc happy about > struct cpufreq_cooling_device. Includes also a minor > spelling fix. > > Cc: Zhang Rui > Cc: linux...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Eduardo Valentin

Re: [PATCH 01/30] thermal: cpu_cooling: remove unused headers

2013-04-21 Thread amit daniel kachhap
Hi, On Wed, Apr 17, 2013 at 10:41 PM, Eduardo Valentin wrote: > As this code is not a module nor a platform device driver, > this patch removes some unused header files. > > Cc: Zhang Rui > Cc: linux...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Eduardo Valentin Review

[PATCH 1/5] ibmebus: convert of_platform_driver to platform_driver

2013-04-21 Thread Rob Herring
From: Rob Herring ibmebus is the last remaining user of of_platform_driver and the conversion to a regular platform driver is trivial. Signed-off-by: Rob Herring Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Hoang-Nam Nguyen Cc: Christoph Raisch Cc: Roland Dreier Cc: Sean Hefty Cc: Ha

[PATCH 3/5] of: remove of_platform_driver

2013-04-21 Thread Rob Herring
From: Rob Herring The last user of of_platform_driver is converted to a regular platform_driver, so of_platform_driver can be removed now. Signed-off-by: Rob Herring Cc: Grant Likely --- include/linux/of_platform.h | 21 - 1 file changed, 21 deletions(-) diff --git a/in

[PATCH 2/5] driver core: move to_platform_driver to platform_device.h

2013-04-21 Thread Rob Herring
From: Rob Herring In converting the last remaining of_platform_driver (ibmebus) to a regular platform driver, to_platform_driver is needed to replace to_of_platform_driver. Signed-off-by: Rob Herring Cc: Greg Kroah-Hartman Cc: Grant Likely --- drivers/base/platform.c |3 --- incl

[PATCH 0/5] of_platform_driver and OF_DEVICE removal

2013-04-21 Thread Rob Herring
From: Rob Herring This series is a relatively straight-forward removal of the last remaining user of of_platform_driver (ibmebus) and removal of CONFIG_OF_DEVICE which is always enabled when CONFIG_OF is enabled. Compile tested on powerpc and sparc. Rob Rob Herring (5): ibmebus: convert of_p

[PATCH 4/5] usb: chipidea: depend on CONFIG_OF instead of CONFIG_OF_DEVICE

2013-04-21 Thread Rob Herring
From: Rob Herring CONFIG_OF_DEVICE is going away, so use CONFIG_OF instead. It does not appear that CONFIG_OF_DEVICE was the correct dependency either. Signed-off-by: Rob Herring Cc: Alexander Shishkin Cc: Greg Kroah-Hartman Cc: Grant Likely Cc: linux-...@vger.kernel.org --- drivers/usb/chi

[PATCH 5/5] of: remove CONFIG_OF_DEVICE

2013-04-21 Thread Rob Herring
From: Rob Herring CONFIG_OF_DEVICE is always selected when CONFIG_OF is enabled, so remove it and simplify of_platform.h and of_device.h headers. This also fixes !OF compiles using of_platform_populate. Signed-off-by: Rob Herring Cc: Grant Likely --- drivers/of/Kconfig |3 --- dr

Re: [PATCH v9 00/12] Driver for Si476x series of chips

2013-04-21 Thread Andrey Smirnov
On Sun, Apr 21, 2013 at 2:33 AM, Mauro Carvalho Chehab wrote: > Em 21-04-2013 02:53, Andrey Smirnov escreveu: > >>> I applied all the MFD patches from this patchset (All 4 first ones), plus >>> a >>> follow up one for fixing the i2c related warning. >>> I also squashed the REGMAP_I2C dependency in

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-21 Thread Rusty Russell
Pranavkumar Sawargaonkar writes: > On 18 April 2013 12:21, Rusty Russell wrote: >> >> PranavkumarSawargaonkar writes: >> > From: Pranavkumar Sawargaonkar >> > >> > This patch implements early printk support for virtio-mmio console devices >> > without using any hypercalls. >> >> This makes som

Re: [ 10/11] mtdchar: fix offset overflow detection

2013-04-21 Thread Ben Hutchings
On Mon, 2013-04-15 at 21:55 +0100, David Woodhouse wrote: > On Sun, 2013-04-14 at 19:17 -0700, Greg Kroah-Hartman wrote: > > 3.0-stable review patch. If anyone has any objections, please let me know. > > Please use f5cf8f07423b2677cebebcebc863af77223a4972 instead (for 3.4 > too). I've queued tha

Re: [PATCH 2/2] dma:of: Use a mutex to protect the of_dma_list

2013-04-21 Thread Jon Hunter
On 04/19/2013 06:13 PM, Arnd Bergmann wrote: > On Saturday 20 April 2013, Jon Hunter wrote: >> Change also means that of_dma_request_slave_channel() cannot be called >> from a context where it is not possible to sleep too, right? May be >> worth mentioning this in the changelog as well. > > You a

Re: [PATCH 2/2] dma:of: Use a mutex to protect the of_dma_list

2013-04-21 Thread Jon Hunter
On 04/20/2013 05:38 AM, Arnd Bergmann wrote: > On Saturday 20 April 2013, Lars-Peter Clausen wrote: >> On 04/20/2013 12:45 AM, Jon Hunter wrote: >>> I think that there is a problem here. For controllers using the >>> of_dma_simple_xlate(), this will call dma_request_channel() which also >>> uses a

RE: [NEW DRIVER V6 6/7] drivers/hwmon: DA9058 HWMON driver

2013-04-21 Thread Opensource [Anthony Olech]
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: 20 April 2013 18:35 > To: Lars-Peter Clausen > Cc: Opensource [Anthony Olech]; Jean Delvare; Mark Brown; Randy Dunlap; > lm-sens...@lm-sensors.org; LKML; David Dajun Chen > Subject: Re: [NEW DRIVER V6 6/7] driver

Re: [PATCH V3 1/5] powerpc, perf: Add new BHRB related instructions for POWER8

2013-04-21 Thread Michael Neuling
Michael Ellerman wrote: > On Thu, Apr 18, 2013 at 05:56:12PM +0530, Anshuman Khandual wrote: > > This patch adds new POWER8 instruction encoding for reading > > the BHRB buffer entries and also clearing it. Encoding for > > "clrbhrb" instruction is straight forward. > > Which is "clear branch hi

Re: [PATCH 1/3] Tools: hv: fix warnings in hv_vss_daemon

2013-04-21 Thread Greg KH
On Sun, Apr 21, 2013 at 10:32:45PM +, KY Srinivasan wrote: > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Friday, April 19, 2013 7:24 PM > > To: Olaf Hering > > Cc: KY Srinivasan; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH 1/3] Tools:

[PATCH V1] fs/buffer.c: Remove unnecessary init operation after, allocating buffer_head.

2013-04-21 Thread majianpeng
Because alloc 'struct buffer_head' using kmem_cache_zalloc,so it doesn't need to call 'init_buffer(bh, NULL, NULL)' and other set-zero-operation. Signed-off-by: Jianpeng Ma --- fs/buffer.c | 2 -- fs/jbd/journal.c | 2 -- fs/jbd2/journal.c | 2 -- 3 files changed, 6 deletions(-) diff --g

Re: [PATCH 3.8.y] drm/i915: add quirk to invert brightness on eMachines e725

2013-04-21 Thread Ben Hutchings
On Wed, 2013-04-10 at 12:37 +0300, Jani Nikula wrote: > On Wed, 10 Apr 2013, Ben Hutchings wrote: > > I cherry-picked the following series for Debian: > > > > [pre-3.8] > > 7bd90909bbf9 drm/i915: panel: invert brightness via parameter > > 4dca20efb1a9 drm/i915: panel: invert brightness via quirk >

Re: [PATCH] fs/buffer.c: Remove the unnecessary init operation after allocating buffer_head.

2013-04-21 Thread majianpeng
On 04/19/2013 10:48 PM, Jan Kara wrote: > On Fri 19-04-13 10:29:36, majianpeng wrote: >> Because alloc struct buffer_head using kmem_cache_zalloc,so it's not need to >> call 'init_buffer(bh, NULL, NULL)'. >> >> Signed-off-by: Jianpeng Ma >> --- >> fs/buffer.c | 2 -- >> fs/jbd/journal.c |

Re: [PATCH 3.8-stable] thermal: return an error on failure to register thermal

2013-04-21 Thread Ben Hutchings
On Wed, 2013-04-03 at 15:47 +0100, Luis Henriques wrote: > On Wed, Apr 03, 2013 at 09:38:55AM +0900, Jonghwan Choi wrote: > > 3.8-stable review patch. If anyone has any objections, please let me know. > > I believe this is applicable to all the other stable kernels. Queued up for 3.2, thanks. B

RE: [PATCH v2] NMI: fix NMI period is not correct when cpu frequency changes issue.

2013-04-21 Thread Pan, Zhenjie
> I believe it mattered to the Chrome folks. They want the watchdog to be as > tight as possible so the user experience isn't a hang but a quick reboot > instead. They like setting the watchdog to something like 2 seconds. > > There was a patch a few months ago that tried to hack around this issu

Re: Crypto Fixes for 3.9

2013-04-21 Thread Herbert Xu
Hi Linus: This push fixes a kernel memory leak in the algif interface. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git or master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git Mathias Krause (1): crypto: algif - suppress sending sourc

Re: [PATCH v3 00/15] KVM: MMU: fast zap all shadow pages

2013-04-21 Thread Marcelo Tosatti
On Sun, Apr 21, 2013 at 04:03:46PM +0300, Gleb Natapov wrote: > On Tue, Apr 16, 2013 at 02:32:38PM +0800, Xiao Guangrong wrote: > > This patchset is based on my previous two patchset: > > [PATCH 0/2] KVM: x86: avoid potential soft lockup and unneeded mmu reload > > (https://lkml.org/lkml/2013/4/1/2

Re: [PATCH v3 00/15] KVM: MMU: fast zap all shadow pages

2013-04-21 Thread Marcelo Tosatti
On Sun, Apr 21, 2013 at 10:09:29PM +0800, Xiao Guangrong wrote: > On 04/21/2013 09:03 PM, Gleb Natapov wrote: > > On Tue, Apr 16, 2013 at 02:32:38PM +0800, Xiao Guangrong wrote: > >> This patchset is based on my previous two patchset: > >> [PATCH 0/2] KVM: x86: avoid potential soft lockup and unnee

Re: [PATCH v3 00/15] KVM: MMU: fast zap all shadow pages

2013-04-21 Thread Marcelo Tosatti
On Sun, Apr 21, 2013 at 12:27:51PM -0300, Marcelo Tosatti wrote: > On Sun, Apr 21, 2013 at 04:03:46PM +0300, Gleb Natapov wrote: > > On Tue, Apr 16, 2013 at 02:32:38PM +0800, Xiao Guangrong wrote: > > > This patchset is based on my previous two patchset: > > > [PATCH 0/2] KVM: x86: avoid potential

Re: [PATCH V3 1/5] powerpc, perf: Add new BHRB related instructions for POWER8

2013-04-21 Thread Michael Ellerman
On Thu, Apr 18, 2013 at 05:56:12PM +0530, Anshuman Khandual wrote: > This patch adds new POWER8 instruction encoding for reading > the BHRB buffer entries and also clearing it. Encoding for > "clrbhrb" instruction is straight forward. Which is "clear branch history rolling buffer" ? > But "mfbhrb

Re: [PATCH 1/2] cpufreq: ARM big LITTLE: put DT nodes after using them

2013-04-21 Thread Rafael J. Wysocki
On Monday, April 15, 2013 12:35:24 PM Viresh Kumar wrote: > DT nodes should be put using of_node_put() to balance their usage counts. This > is not done properly in ARM's big LITTLE driver. Fix it. > > Signed-off-by: Viresh Kumar > --- > Hi Rafael, > > These are fixes for 3.10 Both applied. Th

Re: [PATCH] cpufreq: cpu0: Put cpu parent node after using it

2013-04-21 Thread Rafael J. Wysocki
On Tuesday, April 16, 2013 04:40:15 PM Shawn Guo wrote: > On Mon, Apr 15, 2013 at 12:39:37PM +0530, Viresh Kumar wrote: > > Parent node must be put after using it to balance its usage count. This was > > missing in cpufreq-cpu0 driver. Fix it. > > > > Signed-off-by: Viresh Kumar > > Acked-by: Sh

Re: [PATCH] cpufreq: exynos5440: Protect opp search calls with rcu lock

2013-04-21 Thread Rafael J. Wysocki
On Monday, April 15, 2013 11:54:47 AM Amit Daniel Kachhap wrote: > As per the OPP library documentation(Documentation/power/opp.txt) all > opp find/get calls should be protected by rcu locks. > > Signed-off-by: Amit Daniel Kachhap > --- > > This patch is created against linux-next tree and is su

Re: linux-next: Tree for Apr 9 [cpufreq: NULL pointer deref]

2013-04-21 Thread Rafael J. Wysocki
On Monday, April 15, 2013 10:52:28 PM Viresh Kumar wrote: > On 15 April 2013 21:37, Dirk Brandewie wrote: > > If the intel_pstate driver is being used __cpufreq_governor() should NOT be > > called intel_pstate does not implement the target() callback. > > > > Nathan's commit 5800043b2 changed the

Re: [PATCH] [media] uvcvideo: quirk PROBE_DEF for Dell Studio / OmniVision webcam

2013-04-21 Thread Laurent Pinchart
Hi Kamal, On Wednesday 17 April 2013 09:38:43 Kamal Mostafa wrote: > On Wed, 2013-04-17 at 01:05 +0200, Laurent Pinchart wrote: > > Hi Kamal, > > > > On Monday 15 April 2013 12:01:51 Kamal Mostafa wrote: > > > BugLink: https://bugs.launchpad.net/bugs/1168430 > > > > > > OminiVision webcam 0x05a9

Re: Preemptable Ticket Spinlock

2013-04-21 Thread Jiannan Ouyang
On Sun, Apr 21, 2013 at 5:12 PM, Rik van Riel wrote: > Your algorithm is very clever, and very promising. > > However, it does increase the size of the struct spinlock, and adds > an additional atomic operation to spin_unlock, neither of which I > suspect are necessary. > > If we always incremente

Re: [PATCH] x86: Fix AMD K6 indirect call check v2

2013-04-21 Thread Borislav Petkov
On Sun, Apr 21, 2013 at 03:35:41PM -0700, H. Peter Anvin wrote: > Looks like it is just trying to sense the bug... but then it doesn't > actually do anything about it. At least it should taint the kernel. Yeah, I was thinking of asking my old contacts about it but it is simply not worth it. Those

Re: [PATCH RFC] media: videobuf2: fix the length check for mmap

2013-04-21 Thread Laurent Pinchart
Hi Mauro, On Friday 19 April 2013 08:18:01 Mauro Carvalho Chehab wrote: > Em Fri, 19 Apr 2013 15:16:56 +0530 Prabhakar lad escreveu: > > From: Lad, Prabhakar > > > > From commit 068a0df76023926af958a336a78bef60468d2033 > > "[media] media: vb2: add length check for mmap" > > patch verifies that t

Re: mdadm raid1 regression

2013-04-21 Thread NeilBrown
On Thu, 18 Apr 2013 14:38:53 +0400 Vasiliy Tolstov wrote: > Hello. I'm using linux 3.8.6 and mdadm 3.2.6 (from git). > I have many raid1 arrays that have data offset 2048 (metadata 1.2, > created with various mdadm versions but mostly 3.2.1 on linux 2.6.32). > If i create raid1 with never mdadm o

Re: [PATCH] x86: Fix AMD K6 indirect call check v2

2013-04-21 Thread H. Peter Anvin
On 04/21/2013 10:44 AM, Borislav Petkov wrote: > > But I have hard time understanding what that test with the 10^6 loop > iterations is supposed to achieve. And what makes sure that the RDTSCs > don't get reordered? Or maybe K6 wasn't reordering that aggressively... > > Erratum says "unpredictabl

RE: [PATCH 1/3] Tools: hv: fix warnings in hv_vss_daemon

2013-04-21 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, April 19, 2013 7:24 PM > To: Olaf Hering > Cc: KY Srinivasan; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 1/3] Tools: hv: fix warnings in hv_vss_daemon > > On Tue, Mar 26, 2013 at 04:28:27PM +0

Re: irq 16: nobody cared

2013-04-21 Thread Borislav Petkov
On Sun, Apr 21, 2013 at 03:00:15PM -0700, Paul E. McKenney wrote: > Cool!!! Note that there is no need for expediting TINY_RCU because > its grace periods are already maximally expedited. There is only one > CPU, so if you are following the rules, when you call synchronize_rcu(), > by definition

  1   2   >