[PATCH 06/25] MPILIB: Reinstate mpi_cmp[_ui]() and export for RSA signature verification

2012-08-15 Thread David Howells
Reinstate and export mpi_cmp() and mpi_cmp_ui() from the MPI library for use by RSA signature verification as per RFC3447 section 5.2.2 step 1. Signed-off-by: David Howells --- lib/mpi/Makefile |1 + lib/mpi/mpi-cmp.c | 70 + 2 files ch

[PATCH 01/25] KEYS: Add payload preparsing opportunity prior to key instantiate or update

2012-08-15 Thread David Howells
Give the key type the opportunity to preparse the payload prior to the instantiation and update routines being called. This is done with the provision of two new key type operations: int (*preparse)(struct key_preparsed_payload *prep); void (*free_preparse)(struct key_preparsed_pa

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

2012-08-15 Thread Stephen Rothwell
Hi all, After merging the infiniband tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/net/ethernet/mellanox/mlx4/mr.c: In function 'mlx4_buddy_init': drivers/net/ethernet/mellanox/mlx4/mr.c:134:4: error: implicit declaration of function 'vzalloc' [-Werror=implic

Re: [PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB).

2012-08-15 Thread Matt Turner
On Sat, Aug 11, 2012 at 2:32 AM, Huacai Chen wrote: > Signed-off-by: Huacai Chen > Signed-off-by: Hongliang Tao > Signed-off-by: Hua Yan > Cc: dri-de...@lists.freedesktop.org > --- > include/drm/drm_sarea.h |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/include/

[PATCH V2 0/5] clk: mmp: add clock framework for mmp

2012-08-15 Thread Chao Xie
From: Chao Xie v1->v2: replace __raw_xxx with xxx_relax use ioremap to remap the registers. Finaly it will use device tree to get the physical address. do not use macro to register clocks, and directly call the functions. Chao Xie (5): clk: mmp: add mmp specific clocks clk: mmp: add clock de

[PATCH V2 1/5] clk: mmp: add mmp specific clocks

2012-08-15 Thread Chao Xie
From: Chao Xie add mmp specific clocks including apbc cloks, apmu clocks, and pll2, fraction clocks Signed-off-by: Chao Xie --- drivers/clk/Makefile |3 + drivers/clk/mmp/Makefile |5 ++ drivers/clk/mmp/clk-apbc.c | 152 +++ drivers/clk/

[PATCH V2 5/5] arm: mmp: make all SOCs use common clock by default

2012-08-15 Thread Chao Xie
From: Chao Xie Signed-off-by: Chao Xie --- arch/arm/mach-mmp/Kconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig index 7fddd01..d697d07 100644 --- a/arch/arm/mach-mmp/Kconfig +++ b/arch/arm/mach-mmp/Kconfig @@

[PATCH V2 2/5] clk: mmp: add clock definition for pxa168

2012-08-15 Thread Chao Xie
From: Chao Xie Initialize the clocks for pxa168 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |2 + drivers/clk/mmp/clk-pxa168.c | 414 ++ 2 files changed, 416 insertions(+), 0 deletions(-) create mode 100644 drivers/clk/mmp/clk-pxa168.c

[PATCH V2 4/5] clk: mmp: add clock definition for mmp2

2012-08-15 Thread Chao Xie
From: Chao Xie Initialize the clocks for mmp2 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-mmp2.c | 544 2 files changed, 545 insertions(+), 0 deletions(-) create mode 100644 drivers/clk/mmp/clk-mmp2.c diff

[PATCH V2 3/5] clk: mmp: add clock definition for pxa910

2012-08-15 Thread Chao Xie
From: Chao Xie Initialize the clocks for pxa910 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-pxa910.c | 361 ++ 2 files changed, 362 insertions(+), 0 deletions(-) create mode 100644 drivers/clk/mmp/clk-pxa910.c

[PATCH] MAINTAINERS: update address for Dan Williams

2012-08-15 Thread Dan Williams
Moved to d...@fb.com Cc: Dave Jiang Cc: Vinod Koul Signed-off-by: Dan Williams --- MAINTAINERS | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 94b823f..a728dc0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -827,2

[PATCH] sched: Add time unit suffix to sched sysctl knobs

2012-08-15 Thread Namhyung Kim
From: Namhyung Kim Unlike others, sched_migration_cost, sched_time_avg and sched_shares_window doesn't have time unit as suffix. Add them. Signed-off-by: Namhyung Kim --- kernel/sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c

RE: [PATCH] net: add new QCA alx ethernet driver

2012-08-15 Thread Ren, Cloud
From: Stephen Hemminger [mailto:shemmin...@vyatta.com] Sent: Wednesday, August 15, 2012 11:02 PM >> + strncpy(netdev->name, pci_name(pdev), sizeof(netdev->name) - >1); >> ... >> + strcpy(netdev->name, "eth%d"); >> + retval = register_netdev(netdev); >> >>> >>

Re: NULL pointer dereference in ext4_ext_remove_space on 3.5.1

2012-08-15 Thread Theodore Ts'o
On Wed, Aug 15, 2012 at 09:33:29PM +0300, Marti Raudsepp wrote: > I was moving and deleting some files between two of my ext4 partitions > when it suddenly crashed and dropped me into an kernel oops screen > (below). I'm using ext4 on kernel 3.5.1 (Arch Linux). > BUG: unable to handle kernel NULL

Re: [RFC PATCH 0/5] net: socket bind to file descriptor introduced

2012-08-15 Thread Eric W. Biederman
Stanislav Kinsbursky writes: > This patch set introduces new socket operation and new system call: > sys_fbind(), which allows to bind socket to opened file. > File to bind to can be created by sys_mknod(S_IFSOCK) and opened by > open(O_PATH). > > This system call is especially required for UNIX

[PATCH V3 0/5] clk: mmp: add clock framework for mmp

2012-08-15 Thread Chao Xie
From: Chao Xie v1->v2: replace __raw_xxx with xxx_relax use ioremap to remap the registers. Finaly it will use device tree to get the physical address. do not use macro to register clocks, and directly call the functions. v2->v3: pxa910 will have APB extension clock, so some peripharals will hav

[PATCH V3 1/5] clk: mmp: add mmp specific clocks

2012-08-15 Thread Chao Xie
From: Chao Xie add mmp specific clocks including apbc cloks, apmu clocks, and pll2, fraction clocks Signed-off-by: Chao Xie --- drivers/clk/Makefile |3 + drivers/clk/mmp/Makefile |5 ++ drivers/clk/mmp/clk-apbc.c | 152 +++ drivers/clk/

[PATCH V3 2/5] clk: mmp: add clock definition for pxa168

2012-08-15 Thread Chao Xie
From: Chao Xie Initialize the clocks for pxa168 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |2 + drivers/clk/mmp/clk-pxa168.c | 414 ++ 2 files changed, 416 insertions(+), 0 deletions(-) create mode 100644 drivers/clk/mmp/clk-pxa168.c

[PATCH V3 3/5] clk: mmp: add clock definition for pxa910

2012-08-15 Thread Chao Xie
From: Chao Xie Initialize the clocks for pxa910 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-pxa910.c | 380 ++ 2 files changed, 381 insertions(+), 0 deletions(-) create mode 100644 drivers/clk/mmp/clk-pxa910.c

[PATCH V3 4/5] clk: mmp: add clock definition for mmp2

2012-08-15 Thread Chao Xie
From: Chao Xie Initialize the clocks for mmp2 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-mmp2.c | 544 2 files changed, 545 insertions(+), 0 deletions(-) create mode 100644 drivers/clk/mmp/clk-mmp2.c diff

[PATCH V3 5/5] arm: mmp: make all SOCs use common clock by default

2012-08-15 Thread Chao Xie
From: Chao Xie Signed-off-by: Chao Xie --- arch/arm/mach-mmp/Kconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-mmp/Kconfig b/arch/arm/mach-mmp/Kconfig index 7fddd01..d697d07 100644 --- a/arch/arm/mach-mmp/Kconfig +++ b/arch/arm/mach-mmp/Kconfig @@

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

2012-08-15 Thread Alex Shi
Appreciate for your so detailed review and comments! On 08/15/2012 07:05 PM, Peter Zijlstra wrote: > On Mon, 2012-08-13 at 20:21 +0800, Alex Shi wrote: >> Since there is no power saving consideration in scheduler CFS, I has a >> very rough idea for enabling a new power saving schema in CFS. > >

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

2012-08-15 Thread Alex Shi
On 08/15/2012 09:15 PM, Borislav Petkov wrote: > On Wed, Aug 15, 2012 at 01:05:38PM +0200, Peter Zijlstra wrote: >> On Mon, 2012-08-13 at 20:21 +0800, Alex Shi wrote: >>> Since there is no power saving consideration in scheduler CFS, I has a >>> very rough idea for enabling a new power saving sche

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

2012-08-15 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/infiniband/hw/ehca/ehca_irq.c: In function 'find_next_online_cpu': drivers/infiniband/hw/ehca/ehca_irq.c:672:2: error: expected ';' before 'spin_unlock_irqrestore' Caused by commit 8

Repeated fork() causes SLAB to grow without bound

2012-08-15 Thread Daniel Forrest
I'm hoping someone has seen this before... I've been trying to track down a performance problem with Linux 3.0.4. The symptom is system-mode load increasing over time while user-mode load remains constant while running a data ingest/processing program. Looking at /proc/meminfo I noticed SUnreclai

Re: [PATCH V5 09/18] MIPS: Loongson: Add swiotlb to support big memory (>4GB).

2012-08-15 Thread Huacai Chen
On Thu, Aug 16, 2012 at 4:24 AM, Ralf Baechle wrote: > On Mon, Aug 13, 2012 at 01:54:47PM -0400, Konrad Rzeszutek Wilk wrote: > >> > +static void *loongson_dma_alloc_coherent(struct device *dev, size_t size, >> > + dma_addr_t *dma_handle, gfp_t gfp, struct >> > dma_attrs

Re: [PATCH V5 13/18] drm: Define SAREA_MAX for Loongson (PageSize = 16KB).

2012-08-15 Thread Huacai Chen
On Thu, Aug 16, 2012 at 9:58 AM, Matt Turner wrote: > On Sat, Aug 11, 2012 at 2:32 AM, Huacai Chen wrote: >> Signed-off-by: Huacai Chen >> Signed-off-by: Hongliang Tao >> Signed-off-by: Hua Yan >> Cc: dri-de...@lists.freedesktop.org >> --- >> include/drm/drm_sarea.h |2 ++ >> 1 files chan

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

2012-08-15 Thread Alex Shi
On 08/15/2012 10:43 PM, Peter Zijlstra wrote: > On Wed, 2012-08-15 at 15:15 +0200, Borislav Petkov wrote: >> On Wed, Aug 15, 2012 at 01:05:38PM +0200, Peter Zijlstra wrote: >>> On Mon, 2012-08-13 at 20:21 +0800, Alex Shi wrote: Since there is no power saving consideration in scheduler CFS, I

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-15 Thread Greg Thelen
On Wed, Aug 15 2012, Glauber Costa wrote: > On 08/15/2012 09:12 PM, Greg Thelen wrote: >> On Wed, Aug 15 2012, Glauber Costa wrote: >> >>> On 08/15/2012 08:38 PM, Greg Thelen wrote: On Wed, Aug 15 2012, Glauber Costa wrote: > On 08/14/2012 10:58 PM, Greg Thelen wrote: >> On Mon,

Re: [PATCH V2] MIPS: Fix poweroff failure when HOTPLUG_CPU configured.

2012-08-15 Thread Huacai Chen
On Tue, Aug 14, 2012 at 7:48 PM, Ralf Baechle wrote: > On Mon, Aug 13, 2012 at 08:52:24PM +0800, Huacai Chen wrote: > >> When poweroff machine, kernel_power_off() call disable_nonboot_cpus(). >> And if we have HOTPLUG_CPU configured, disable_nonboot_cpus() is not an >> empty function but attempt t

linux-next: manual merge of the kvm tree with the s390 tree

2012-08-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in arch/s390/include/asm/processor.h between commit 3c011c612acb ("s390/bpf,jit: BPF Just In Time compiler for s390") from the s390 tree and commit 9b7fb990e080 ("s390, /dis: Instruction decoding interface") from the kvm tree. Just c

[PATCH] SGI XPC fails to load when cpu 0 is out of IRQ resources. -v2

2012-08-15 Thread Robin Holt
On many of our larger systems, CPU 0 has had all of its IRQ resources consumed before XPC loads. Worst cases on machines with multiple 10 GigE cards and multiple IB cards have depleted the entire first socket of IRQs. This patch makes selecting the node upon which IRQs are allocated (as well as

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

2012-08-15 Thread Roland Dreier
On Wed, Aug 15, 2012 at 6:44 PM, Stephen Rothwell wrote: > After merging the infiniband tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/net/ethernet/mellanox/mlx4/mr.c: In function 'mlx4_buddy_init': > drivers/net/ethernet/mellanox/mlx4/mr.c:134:4: error: i

RE: [PATCH v3] mmc: card: Skip secure option for MoviNAND.

2012-08-15 Thread IAN CHEN
MMC_QUIRK_SEC_ERASE_TRIM_BROKEN seems quite clear but I might not use "SEC" due to it could be Samsung Electronics Corporation. So, how about MMC_QUIRK_SECDISCARD_BROKEN which was used in mmc_blk_issue_secdiscard_rq() naming, the function we skip. Or, MMC_QUIRK_SECERASE_SECTRIM_BROKEN? Regards, Ia

[ANNOUNCE} 3.5-ck1, BFS scheduler v0.24 for linux-3.5

2012-08-15 Thread Con Kolivas
These are patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but suitable to any commodity hardware workload. Apply to 3.5.x: http://ck.kolivas.org/patches/3.0/3.5/3.5-ck1/patch-3.5-ck1.bz2 or http://ck.kolivas.org/patches/3.0/3.5/3.5-ck1/pat

Re: [PATCH v3] mmc: card: Skip secure option for MoviNAND.

2012-08-15 Thread Jaehoon Chung
On 08/16/2012 01:09 PM, IAN CHEN wrote: > MMC_QUIRK_SEC_ERASE_TRIM_BROKEN seems quite clear but I might not use "SEC" > due to it could be Samsung Electronics Corporation. I didn't think so. MMC developers didn't think that SEC means Samsung Electronics Corporation. Already we used the flags with "

powerpc/perf: hw breakpoints return ENOSPC

2012-08-15 Thread Michael Neuling
Hi, I've been trying to get hardware breakpoints with perf to work on POWER7 but I'm getting the following: % perf record -e mem:0x1000 true Error: sys_perf_event_open() syscall returned with 28 (No space left on device). /bin/dmesg may provide additional information. Fatal: No

Re: [v2.6.34-stable 035/165] md: Fix handling for devices from 2TB to 4TB in 0.90 metadata.

2012-08-15 Thread Ben Hutchings
On Thu, 2012-08-16 at 06:46 +1000, NeilBrown wrote: > On Wed, 15 Aug 2012 15:46:19 -0400 Paul Gortmaker > wrote: > > > From: NeilBrown > > > >--- > > This is a commit scheduled for the next v2.6.34 longterm release. > > > > http://git.kernel.org/?p=l

[PATCH] sched: Remove AFFINE_WAKEUPS feature flag

2012-08-15 Thread Namhyung Kim
From: Namhyung Kim Commit beac4c7e4a1c ("sched: Remove AFFINE_WAKEUPS feature") removed use of the flag but left the definition. Get rid of it. Cc: Mike Galbraith Signed-off-by: Namhyung Kim --- kernel/sched/features.h | 8 1 file changed, 8 deletions(-) diff --git a/kernel/sched/fe

Re: [PATCH] sched: Support compiling out real-time scheduling with REALTIME_SCHED.

2012-08-15 Thread Mike Galbraith
On Wed, 2012-08-15 at 08:10 -0700, Josh Triplett wrote: > On Wed, Aug 15, 2012 at 09:12:20AM +0200, Mike Galbraith wrote: > > On Tue, 2012-08-14 at 13:50 -0700, Trevor Brandt wrote: > > > diff --git a/init/Kconfig b/init/Kconfig > > > index 3f42cd6..768dc76 100644 > > > --- a/init/Kconfig > > > ++

[PATCH] regulator: max8907: Fix n_voltages for MAX8907B SD1

2012-08-15 Thread Axel Lin
For linear voltage mapping, the n_voltages is (max - min) / step + 1 Signed-off-by: Axel Lin --- drivers/regulator/max8907-regulator.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/max8907-regulator.c b/drivers/regulator/max8907-regulator.c index bd3

Re: + lib-vsprintf-optimize-division-by-10000.patch added to -mm tree

2012-08-15 Thread George Spelvin
Thanks for picking this up. (I'm kind of amazed you found it!) I was hoping for an ack from Denys Vlasenko, but he hasn't made any appearances in a while. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 00/14] net: info leaks and other bugs

2012-08-15 Thread David Miller
From: Mathias Krause Date: Wed, 15 Aug 2012 23:31:43 +0200 > this series fixes quite a bunch of info leaks under net/. There is also > one NULL pointer deref fix ("dccp: check ccid before..") that could be > abused for privilege escalation. > > The info leak fixes might be material for stable, t

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

2012-08-15 Thread Alex Shi
On 08/15/2012 10:24 PM, Rakib Mullick wrote: > On 8/13/12, Alex Shi wrote: >> Since there is no power saving consideration in scheduler CFS, I has a >> very rough idea for enabling a new power saving schema in CFS. >> >> It bases on the following assumption: >> 1, If there are many task crowd in

Re: [PATCH v3 2/2] powerpc: Uprobes port to powerpc

2012-08-15 Thread Ananth N Mavinakayanahalli
On Thu, Aug 16, 2012 at 07:41:53AM +1000, Benjamin Herrenschmidt wrote: > On Wed, 2012-08-15 at 18:59 +0200, Oleg Nesterov wrote: > > On 07/26, Ananth N Mavinakayanahalli wrote: > > > > > > From: Ananth N Mavinakayanahalli > > > > > > This is the port of uprobes to powerpc. Usage is similar to x86

[git pull] more drm fixes

2012-08-15 Thread Dave Airlie
Just some intel and nouveau ones this time, intel has more edp panel fixes for macbooks and nouveau has a suspend/resume regression fix in there. Dave. The following changes since commit 7bac6b46607f2f44075cb45dd5b0b4d2e7c80695: Merge branch 'drm-fixes-3.6' of git://people.freedesktop.org/~a

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

2012-08-15 Thread Alex Shi
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 concept and use 2 kind of policy: performance, power. > > Are there workloads in which "power" might provi

Re: [PATCH] add support bluetooth usb 0489:e046 Foxconn / Hon Hai

2012-08-15 Thread Gustavo Padovan
Hi, * koko Aborigines <7aborigin...@gmail.com> [2012-08-16 10:12:44 +0700]: > Hi, Gustavo > > i have error with your patch > > CC [M] drivers/bluetooth/btusb.o > drivers/bluetooth/btusb.c:113:2: error: implicit declaration of function > ‘USB_VENDOR_AND_INTERFACE_INFO’ [-Werror=implicit-functi

linux-next: build failure after merge of the final tree (regulator tree related)

2012-08-15 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/regulator/twl-regulator.c: In function 'twlreg_probe': drivers/regulator/twl-regulator.c:1229:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]

[PATCH v4] mmc: card: Skip secure option for MoviNAND.

2012-08-15 Thread IAN CHEN
For several MoviNAND, there are some known issue with secure option. For these specific MoviNAND device, we skip secure option. You could refer this discussion in XDA developers. http://forum.xda-developers.com/showthread.php?t=1644364 https://plus.google.com/111398485184813224730/posts/21pTYfTsCk

linux-next: build failure after merge of the final tree (hid tree related)

2012-08-15 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/hid/hid-picolcd_fb.c: In function 'picolcd_fb_destroy': drivers/hid/hid-picolcd_fb.c:350:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration] driv

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

2012-08-15 Thread Alex Shi
On 08/15/2012 10:55 PM, Peter Zijlstra wrote: > On Wed, 2012-08-15 at 20:24 +0600, Rakib Mullick wrote: >> How do you plan to test this power saving scheme? Using powertop? Or, >> is there any other tools? > > We should start out simple enough that we can validate it by looking at > task placeme

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

2012-08-15 Thread Matthew Garrett
On Thu, Aug 16, 2012 at 01:03:32PM +0800, Alex Shi wrote: > On 08/16/2012 12:19 AM, Matthew Garrett wrote: > > Are there workloads in which "power" might provide more performance than > > "performance"? If so, don't use these terms. > > Power scheme should no chance has better performance in desi

RE: [PATCH v2] iio: adc: add new lp8788 adc driver

2012-08-15 Thread Jonathan Cameron
"Kim, Milo" wrote: >> > + switch (mask) { >> > + case IIO_CHAN_INFO_RAW: >> > + *val = result; >> > + return IIO_VAL_INT; >> > + case IIO_CHAN_INFO_SCALE: >> > + *val = adc_const[id] * ((result * 1000 + 500) / 1000); >> >> This looks wrong. The IIO_CHAN_INFO_SCALE

linux-next: Tree for Aug 16

2012-08-15 Thread Stephen Rothwell
Hi all, Changes since 20120814: The infiniband tree gained a build failure so I used the version from next-20120814. The regulator tree gained a build failure for which I applied a patch. The l2-mtd tree lost its conflict. The hid tree gained a build failure for which I applied a patch. The t

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

2012-08-15 Thread Alex Shi
On 08/16/2012 01:31 PM, Matthew Garrett wrote: > On Thu, Aug 16, 2012 at 01:03:32PM +0800, Alex Shi wrote: >> On 08/16/2012 12:19 AM, Matthew Garrett wrote: >>> Are there workloads in which "power" might provide more performance than >>> "performance"? If so, don't use these terms. >> >> Power sc

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

2012-08-15 Thread Matthew Garrett
On Thu, Aug 16, 2012 at 01:39:36PM +0800, Alex Shi wrote: > On 08/16/2012 01:31 PM, Matthew Garrett wrote: > > will tend to split them across packages? > > > No, there is still has balance idea in this rough proposal. If a domain > is not overload, it is better to left old tasks unchanged. I shou

RE: [PATCH] rtc: tps65910: Add RTC driver for TPS65910 PMIC RTC

2012-08-15 Thread Venu Byravarasu
Hi Andrew, Already an updated patch v3 (http://lkml.org/lkml/2012/8/8/221 ) was pushed to fix these issues. Plz review and merged that. Thanks, Venu > -Original Message- > From: Andrew Morton [mailto:a...@linux-foundation.org] > Sent: Wednesday, August 15, 2012 5:22 AM > To: Venu Byrav

Re: [patch net-next v2 01/15] net: introduce upper device lists

2012-08-15 Thread Jiri Pirko
Thu, Aug 16, 2012 at 12:15:49AM CEST, da...@davemloft.net wrote: >From: Jiri Pirko >Date: Wed, 15 Aug 2012 09:46:12 +0200 > >> You are probably right. I'm not sure how to handle this correctly >> though. Adding some hard limit number might not be correct. > >I would just use a hard limit of someth

Re: [PATCH v5 00/12] KVM: introduce readonly memslot

2012-08-15 Thread Xiao Guangrong
On 08/14/2012 11:25 PM, Marcelo Tosatti wrote: > On Tue, Aug 14, 2012 at 10:58:07AM +0800, Xiao Guangrong wrote: >> On 08/14/2012 01:39 AM, Marcelo Tosatti wrote: >>> On Sat, Aug 11, 2012 at 11:36:20AM +0800, Xiao Guangrong wrote: On 08/11/2012 02:14 AM, Marcelo Tosatti wrote: > On Tue, Au

[PATCH v4 0/3] Runtime Interpreted Power Sequences

2012-08-15 Thread Alexandre Courbot
Overdue revision of this new feature, some changes required additional thought and rework. The most important change is in the way power sequences are expressed in the device tree. In order to avoid having to specify #address-cells, #size-cells and reg properties, the @ notation in the step names

[PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-15 Thread Alexandre Courbot
Some device drivers (panel backlights especially) need to follow precise sequences for powering on and off, involving gpios, regulators, PWMs with a precise powering order and delays to respect between each steps. These sequences are board-specific, and do not belong to a particular driver - theref

[PATCH v4 3/3] tegra: add pwm backlight device tree nodes

2012-08-15 Thread Alexandre Courbot
Signed-off-by: Alexandre Courbot --- arch/arm/boot/dts/tegra20-ventana.dts | 58 +++ arch/arm/boot/dts/tegra20.dtsi| 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.dts b/arch/arm/boot/dts/tegra20-ven

[PATCH v4 2/3] pwm_backlight: use power sequences

2012-08-15 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data to control how the backlight is powered on and off. Signed-off-by: Alexandre Courbot --- .../bindings/video/backlight/pwm-backlight.txt | 62 ++- drivers/video/backlight/Kconfig| 1 + dri

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-15 Thread Cyrill Gorcunov
On Wed, Aug 15, 2012 at 06:06:23PM -0400, J. Bruce Fields wrote: > On Thu, Aug 16, 2012 at 01:02:37AM +0400, Cyrill Gorcunov wrote: > > On Wed, Aug 15, 2012 at 04:45:46PM -0400, J. Bruce Fields wrote: > > > On Wed, Aug 15, 2012 at 01:21:20PM +0400, Cyrill Gorcunov wrote: > > > > To provide fsnotify

Re: [PATCH 04/13] overlay filesystem

2012-08-15 Thread Eric W. Biederman
Miklos Szeredi writes: Minor nits below. > diff --git a/fs/overlayfs/dir.c b/fs/overlayfs/dir.c > new file mode 100644 > index 000..6b50823 > --- /dev/null > +++ b/fs/overlayfs/dir.c > @@ -0,0 +1,598 @@ > +/* > + * > + * Copyright (C) 2011 Novell Inc. > + * > + * This program is free softwar

Re: [GIT PULL] Update LZO compression

2012-08-15 Thread Markus F.X.J. Oberhumer
On 2012-08-15 16:45, Johannes Stezenbach wrote: > On Wed, Aug 15, 2012 at 02:02:43PM +0200, Markus F.X.J. Oberhumer wrote: >> On 2012-08-14 14:39, Johannes Stezenbach wrote: >>> On Tue, Aug 14, 2012 at 01:44:02AM +0200, Markus F.X.J. Oberhumer wrote: On 2012-07-16 20:30, Markus F.X.J. Oberhume

Re: [PATCH 2/2] Thermal: Add ST-Ericsson db8500 thermal dirver.

2012-08-15 Thread Zhang Rui
On 四, 2012-08-16 at 14:23 +0800, Hongbo Zhang wrote: > Add more people into list. > > > On 10 August 2012 19:20, hongbo.zhang wrote: > From: "hongbo.zhang" > > This diver is based on the thermal management framework in > thermal_sys.c. > A thermal zone d

Re: [PATCH] act_mirred: do not drop packets when fails to mirror it

2012-08-15 Thread Jason Wang
On 08/15/2012 11:10 PM, Jamal Hadi Salim wrote: On Wed, 2012-08-15 at 21:42 +0800, Jason Wang wrote: I met it actually through the following steps: - start a kvm guest with tap and make it to be an interface of the bridge - mirror the ingress traffic of the bridge to the tap - terminate the qe

Re: linux-next: build failure after merge of the final tree (regulator tree related)

2012-08-15 Thread Arnd Bergmann
On Thursday 16 August 2012, Stephen Rothwell wrote: > From: Stephen Rothwell > Date: Thu, 16 Aug 2012 15:11:22 +1000 > Subject: [PATCH] regulator: using kfree() requires including slab.h > > Fixes this build error: > > drivers/regulator/twl-regulator.c: In function 'twlreg_probe': > drivers/regu

Re: [PATCH v3] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-15 Thread Pekka Enberg
On Thu, Aug 16, 2012 at 2:53 AM, Andrew Morton wrote: > On Sun, 12 Aug 2012 10:40:18 -0600 > Shuah Khan wrote: > >> kmem_cache_create() does cache integrity checks when CONFIG_DEBUG_VM >> is defined. These checks interspersed with the regular code path has >> lead to compile time warnings when co

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

2012-08-15 Thread preeti
Hi everyone, >From what I have understood so far,I try to summarise pin pointed differences between the performance and power policies as found relevant to the scheduler-load balancing mechanism.Any thoughts? *Performance policy*: Q1.Who triggers load_balance? Load balance is triggered when a c

Re: [v2.6.34-stable 035/165] md: Fix handling for devices from 2TB to 4TB in 0.90 metadata.

2012-08-15 Thread NeilBrown
On Thu, 16 Aug 2012 05:24:33 +0100 Ben Hutchings wrote: > On Thu, 2012-08-16 at 06:46 +1000, NeilBrown wrote: > > On Wed, 15 Aug 2012 15:46:19 -0400 Paul Gortmaker > > wrote: > > > > > From: NeilBrown > > > > > >--- > > > This is a commit scheduled for

Re: O_DIRECT to md raid 6 is slow

2012-08-15 Thread Roman Mamedov
On Wed, 15 Aug 2012 18:50:44 -0500 Stan Hoeppner wrote: > TTBOMK there are two, and only two, COW filesystems in existence: ZFS and > BTRFS. There is also NILFS2: http://www.nilfs.org/en/ And in general, any https://en.wikipedia.org/wiki/Log-structured_file_system is COW by design, but afaik o

[PATCH 0/2] devfreq: Add sysfs node for representing frequency transition information.

2012-08-15 Thread Jonghwa Lee
This patchset adds sysfs node to devfreq's frame work to measure trasition of frequency on runtime. It will be created under '/sys/class/devfreq//' as the name of 'trans_state'. It contains transition table which represents total number of transition of each frerquency state to others and also t

[PATCH 1/2] devfreq: Add sysfs node for representing frequency transition information.

2012-08-15 Thread Jonghwa Lee
This patch adds sysfs node which can be used to get information of frequency transition. It represents transition table which contains total number of transition of each freqeuncy state and time spent. It is inspired CPUFREQ's status driver. Signed-off-by: Jonghwa Lee --- drivers/devfreq/devfre

[PATCH 2/2] devfreq: exynos4: Support initialization of freq_table and max_state of devfreq's profile.

2012-08-15 Thread Jonghwa Lee
This patch initializes freq_table and max_state of devfreq's profile. They will be used for creating transition table. Signed-off-by: Jonghwa Lee --- drivers/devfreq/exynos4_bus.c | 30 +- 1 files changed, 29 insertions(+), 1 deletions(-) diff --git a/drivers/devfr

[net V2] act_mirred: do not drop packets when fails to mirror it

2012-08-15 Thread Jason Wang
We drop packet unconditionally when we fail to mirror it. This is not intended in some cases. Consdier for kvm guest, we may mirror the traffic of the bridge to a tap device used by a VM. When kernel fails to mirror the packet in conditions such as when qemu crashes or stop polling the tap, it's ha

<    3   4   5   6   7   8