[PATCH 21/25] MODSIGN: Module signature verification

2012-08-15 Thread David Howells
Apply signature checking to modules on module load, checking the signature against the ring of public keys compiled into the kernel (if enabled by CONFIG_MODULE_SIG). There are several reasons why these patches are useful, amongst which are: (1) to prevent accidentally corrupted modules from

[PATCH 22/25] MODSIGN: Automatically generate module signing keys if missing

2012-08-15 Thread David Howells
Automatically generate keys for module signing if they're absent so that allyesconfig doesn't break. The builder should consider generating their own keyrings, however, so that the keys are appropriately named and any extra keys required get imported. Also change the names of the keyring files

[PATCH 23/25] MODSIGN: Panic the kernel if FIPS is enabled upon module signing failure

2012-08-15 Thread David Howells
If module signing fails when the kernel is running with FIPS enabled then the kernel should panic lest the crypto layer be compromised. Possibly a panic shouldn't happen on cases like ENOMEM. Reported-by: Stephan Mueller stephan.muel...@atsec.com Signed-off-by: David Howells dhowe...@redhat.com

[PATCH 24/25] MODSIGN: Allow modules to be signed with an unknown key unless enforcing

2012-08-15 Thread David Howells
Currently we fail the loading of modules that are signed with a public key that is not in the modsign keyring even if we are not in enforcing mode. This is somewhat at odds with the fact that we allow a completely unsigned module to load in such a case. We should allow modules signed with an

[PATCH 25/25] MODSIGN: Fix documentation of signed-nokey behavior when not enforcing.

2012-08-15 Thread David Howells
jwboyer's previous commit changes the behavior of module signing when there's a valid signature but we don't know the public key and are in permissive mode. This updates the documentation to match. Signed-off-by: Peter Jones pjo...@redhat.com Acked-by: Josh Boyer jwbo...@redhat.com

[PATCH 02/25] MPILIB: Provide count_leading/trailing_zeros() based on arch functions

2012-08-15 Thread David Howells
Provide count_leading/trailing_zeros() macros based on extant arch bit scanning functions rather than reimplementing from scratch in MPILIB. Whilst we're at it, turn count_foo_zeros(n, x) into n = count_foo_zeros(x). Also move the definition to asm-generic as other people may be interested in

[PATCH 09/25] PGPLIB: PGP definitions (RFC 4880)

2012-08-15 Thread David Howells
Provide some useful PGP definitions from RFC 4880. These describe details of public key crypto as used by crypto keys for things like signature verification. Signed-off-by: David Howells dhowe...@redhat.com --- include/linux/pgp.h | 206 +++ 1

[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 dhowe...@redhat.com --- lib/mpi/Makefile |1 + lib/mpi/mpi-cmp.c | 70

[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

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'

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 chenhua...@gmail.com wrote: Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com Cc: dri-de...@lists.freedesktop.org --- include/drm/drm_sarea.h |2 ++ 1 files

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com 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

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

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

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Signed-off-by: Chao Xie xiechao.m...@gmail.com --- 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 ---

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for pxa168 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |2 + drivers/clk/mmp/clk-pxa168.c | 414 ++ 2 files changed, 416 insertions(+), 0 deletions(-)

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for mmp2 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-mmp2.c | 544 2 files changed, 545 insertions(+), 0 deletions(-) create

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for pxa910 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-pxa910.c | 361 ++ 2 files changed, 362 insertions(+), 0 deletions(-)

[PATCH] MAINTAINERS: update address for Dan Williams

2012-08-15 Thread Dan Williams
Moved to d...@fb.com Cc: Dave Jiang dave.ji...@intel.com Cc: Vinod Koul vinod.k...@linux.intel.com Signed-off-by: Dan Williams d...@fb.com --- MAINTAINERS | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

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

2012-08-15 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com 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 namhy...@kernel.org --- kernel/sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

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); The strcpy is unnecessary,

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 skinsbur...@parallels.com 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

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com 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

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

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

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for pxa168 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |2 + drivers/clk/mmp/clk-pxa168.c | 414 ++ 2 files changed, 416 insertions(+), 0 deletions(-)

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for pxa910 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-pxa910.c | 380 ++ 2 files changed, 381 insertions(+), 0 deletions(-)

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for mmp2 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-mmp2.c | 544 2 files changed, 545 insertions(+), 0 deletions(-) create

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

2012-08-15 Thread Chao Xie
From: Chao Xie chao@marvell.com Signed-off-by: Chao Xie xiechao.m...@gmail.com --- 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 ---

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

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

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

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 r...@linux-mips.org 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

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 matts...@gmail.com wrote: On Sat, Aug 11, 2012 at 2:32 AM, Huacai Chen chenhua...@gmail.com wrote: Signed-off-by: Huacai Chen che...@lemote.com Signed-off-by: Hongliang Tao ta...@lemote.com Signed-off-by: Hua Yan y...@lemote.com Cc:

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

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, Aug 13 2012, Glauber

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 r...@linux-mips.org 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

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

[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 s...@canb.auug.org.au 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':

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

[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

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 paul.gortma...@windriver.com wrote: From: NeilBrown ne...@suse.de --- This is a commit scheduled for the next v2.6.34 longterm release.

[PATCH] sched: Remove AFFINE_WAKEUPS feature flag

2012-08-15 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Commit beac4c7e4a1c (sched: Remove AFFINE_WAKEUPS feature) removed use of the flag but left the definition. Get rid of it. Cc: Mike Galbraith efa...@gmx.de Signed-off-by: Namhyung Kim namhy...@kernel.org --- kernel/sched/features.h | 8 1 file

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 axel@gmail.com --- drivers/regulator/max8907-regulator.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/max8907-regulator.c

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 mini...@googlemail.com 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

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 alex@intel.com 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

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 ana...@in.ibm.com This is the port of uprobes to powerpc. Usage is similar to

[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

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

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’

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'

[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

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]

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

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 design. Power

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

2012-08-15 Thread Jonathan Cameron
Kim, Milo milo@ti.com 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

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 scheme should no

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 should

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

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 j...@resnulli.us 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

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, Aug 07, 2012 at

Re: [PATCH net-next 0/7] sctp: network namespace support Part 2: per net tunables

2012-08-15 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Tue, 07 Aug 2012 10:17:02 -0700 > > Since I am motivated to get things done, and since there has been much > grumbling about my patches not implementing tunables, I have added > tunable support on top of my last patchset. > > I have

v3.5 nfsd4 regression; utime sometimes takes 40+ seconds to return

2012-08-15 Thread Jamie Heilman
I really wish I could have nailed this down better, but I've had a hard time reliably reproducing the problem during bisection, and I haven't seen anyone report a similar sounding problem. Here's what I've seen: since 3.5 I've been having spurious delays on my nfs clients, noticable particularly

Re: [PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-15 Thread Hiroshi Doyu
Hi, Thank you for review. Already sent the another version of patch(v2: *1), but I tried to answer the remaining questions inlined. On Wed, 8 Aug 2012 17:31:02 +0200 Felipe Balbi wrote: > * PGP Signed by an unknown key > > Hi, > > On Wed, Aug 08, 2012 at 06:11:29PM +0300, Felipe Balbi

Re: [REGRESION] Suspend hangs with 3.6-rc1 on Lenovo T60 notebook

2012-08-15 Thread Hans de Goede
Hi, On 08/15/2012 07:13 AM, Miklos Szeredi wrote: Suspend oopses in generic_ide_suspend() because dev_get_drvdata() returns NULL (dev->p->driver_data == NULL) and this function is not prepared for this. I bisected it to 0998d063 (device-core: Ensure drvdata = NULL when no driver is bound).

Re: [PATCH v2 1/2] drivers/mfd: Add realtek pcie card reader driver

2012-08-15 Thread Arnd Bergmann
On Tuesday 14 August 2012, wei_w...@realsil.com.cn wrote: > + > +void rtsx_pci_start_run(struct rtsx_pcr *pcr) > +{ > + /* If pci device removed, don't queue idle work any more */ > + if (pcr->remove_pci) > + return; > + > + if (pcr->state != PDEV_STAT_RUN) { > +

[PATCH] extcon-max8997: remove usage of ret in max8997_muic_handle_charger_type_detach

2012-08-15 Thread Devendra Naga
actually we can do returns with error or success with out ret in this function, so remove the ret variable, and reduce a very little (4byte) space on stack of this function Signed-off-by: Devendra Naga --- compile tested. drivers/extcon/extcon-max8997.c | 6 ++ 1 file changed, 2

Re: [Nouveau] [bisected] nouveau: "Failed to idle channel x" after resume

2012-08-15 Thread Maarten Maathuis
On Mon, Aug 13, 2012 at 9:49 PM, Maxim Levitsky wrote: > On Mon, 2012-08-13 at 18:22 +0200, Sven Joachim wrote: >> On 2012-08-08 08:18 +0200, Sven Joachim wrote: >> >> > On 2012-08-08 08:08 +0200, Ben Skeggs wrote: >> > >> >> On Wed, Aug 08, 2012 at 08:00:21AM +0200, Sven Joachim wrote: >> >>>

Re: [PATCH] mtd: kill MTD_NAND_VERIFY_WRITE

2012-08-15 Thread Shmulik Ladkani
Hi Huang, On Tue, 14 Aug 2012 22:38:45 -0400 Huang Shijie wrote: > diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig > index 588e989..0ca7257 100644 > --- a/drivers/mtd/nand/Kconfig > +++ b/drivers/mtd/nand/Kconfig > @@ -22,15 +22,6 @@ menuconfig MTD_NAND > > if MTD_NAND > >

Re: [PATCH 2/2] iommu/tegra: smmu: Use __debugfs_create_dir

2012-08-15 Thread Felipe Balbi
Hi, On Wed, Aug 15, 2012 at 09:34:21AM +0300, Hiroshi Doyu wrote: > > > @@ -892,6 +909,164 @@ static struct iommu_ops smmu_iommu_ops = { > > > .pgsize_bitmap = SMMU_IOMMU_PGSIZES, > > > }; > > > > > > +/* Should be in the order of enum */ > > > +static const char * const smmu_debugfs_mc[]

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

2012-08-15 Thread Mike Galbraith
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 > +++ b/init/Kconfig > @@ -27,6 +27,13 @@ config IRQ_WORK > bool > depends on HAVE_IRQ_WORK > > +config REALTIME_SCHED > + bool

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-15 Thread Éric Piel
On 07-08-12 20:49, Daniel Mack wrote: : I fixed all these issues now and attached a v4. Sorry for the late reply, I had read the v3 but didn't find time to send comments. They are all addressed in v4. For both [PATCH v4 1/2] and [PATCH v3 2/2], here is my: Reviewed-by: Éric Piel Cheers,

Re: [patch net-next v2 00/15] net: introduce upper device lists and remove dev->master

2012-08-15 Thread Jiri Pirko
Tue, Aug 14, 2012 at 10:32:53PM CEST, bhutchi...@solarflare.com wrote: >On Tue, 2012-08-14 at 16:19 -0400, Andy Gospodarek wrote: >> On Tue, Aug 14, 2012 at 05:05:33PM +0200, Jiri Pirko wrote: >> > Hi all. >> > >> > Recent discussion around >> > "[net-next] bonding: don't allow the master to

Re: [patch 3/8] procfs: Add ability to plug in auxiliary fdinfo providers

2012-08-15 Thread Cyrill Gorcunov
On Wed, Aug 15, 2012 at 01:07:03AM +0100, Al Viro wrote: > On Wed, Aug 15, 2012 at 02:21:47AM +0400, Cyrill Gorcunov wrote: > > > Hmm, in very first versions I've been using one ->show method, but > > > then I thought that this is not very correlate with seq-files idea > > > where for each record

[no subject]

2012-08-15 Thread David Miller
Please pull to get these two bug fixes. Thanks! The following changes since commit 1a9b4993b70fb1884716902774dc9025b457760d: Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus (2012-08-01 16:47:15 -0700) are available in the git repository at:

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

2012-08-15 Thread Jiri Pirko
Wed, Aug 15, 2012 at 12:33:44AM CEST, bhutchi...@solarflare.com wrote: >On Tue, 2012-08-14 at 17:05 +0200, Jiri Pirko wrote: >> This lists are supposed to serve for storing pointers to all upper devices. >> Eventually it will replace dev->master pointer which is used for >> bonding, bridge, team

Re: [PATCH V2 2/2] apple_gmux: Add support for newer hardware

2012-08-15 Thread Bernhard Froemel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/14/2012 07:11 PM, Bernhard Froemel wrote: > Need to play around further.. I think I solved the communication problems concerning byte writes to the gmux device. This: http://luna.vmars.tuwien.ac.at/~froemel/rmbp/patch-apple-gmux_v2.txt works

[GIT] Sparc

2012-08-15 Thread David Miller
From: David Miller Date: Wed, 15 Aug 2012 00:44:57 -0700 (PDT) > Please pull to get these two bug fixes. > > Thanks! Sorry, I botched the original Subject, fixed now. > The following changes since commit 1a9b4993b70fb1884716902774dc9025b457760d: > > Merge branch 'upstream' of >

Re: [PATCH v2] SubmittingPatches: clarify SOB tag usage when evolving submissions

2012-08-15 Thread Luis R. Rodriguez
On Sun, Aug 12, 2012 at 4:49 PM, Rob Landley wrote: > The analogy I made was with a magazine editor, fighting off sturgeon's > law in the slush pile, cherry-picking a few submissions to polish up and > include in the next issue of the magazine. In this context, a > personalized rejection letter

RE: [PATCH v7 0/8] Raid: enable talitos xor offload for improving performance

2012-08-15 Thread Liu Qiang-B32616
> -Original Message- > From: dan.j.willi...@gmail.com [mailto:dan.j.willi...@gmail.com] On > Behalf Of Dan Williams > Sent: Wednesday, August 15, 2012 4:02 AM > To: Liu Qiang-B32616 > Cc: dan.j.willi...@intel.com; vinod.k...@intel.com; a...@arndb.de; > herb...@gondor.apana.org.au;

Re: yama_ptrace_access_check(): possible recursive locking detected

2012-08-15 Thread Peter Zijlstra
On Tue, 2012-08-14 at 22:56 -0700, Kees Cook wrote: > So Oleg's suggestion of removing the locking around the reading of > ->comm is wrong since it really does need the lock. There's tons of code reading comm without locking.. you're saying that all is broken? -- To unsubscribe from this list:

Re: [PATCH 2/2] s390: Always use "long" for ssize_t to match size_t

2012-08-15 Thread Heiko Carstens
On Sun, Aug 12, 2012 at 12:01:34PM +0200, Geert Uytterhoeven wrote: > On s390x-linux-gcc, __SIZE_TYPE__ expands to "long unsigned int" for both > 32-bit s390 and 64-bit s390x, as > gcc-4.6.3-nolibc/s390x-linux/lib/gcc/s390x-linux/4.6.3/plugin/include/config/s390/linux.h > has > > #define

Re: [RFC 0/2] USB gadget - configfs

2012-08-15 Thread Joel Becker
On Tue, Jul 10, 2012 at 10:54:44AM +0200, Andrzej Pietrasiewicz wrote: > Dear Joel, > > Thank you for your review. > > @Sebastian, Alan, Felipe: Thank you, too. > > On Monday, July 02, 2012 11:09 AM Joel Becker wrote: > > > > > > > > As a prerequisite it adds an operation to configfs. The

Re: [PATCH 6/7] HID: picoLCD: disable version check during probe

2012-08-15 Thread Jiri Kosina
On Mon, 30 Jul 2012, Bruno Prémont wrote: > Commit 4ea5454203d991ec85264f64f89ca8855fce69b0 > [HID: Fix race condition between driver core and ll-driver] introduced > new locking around proce/remove functions that prevent any report/reply > from hardware to reach driver until it returned from

Re: [PATCH 15/21] net sched: Pass the skb into change so it can access NETLINK_CB

2012-08-15 Thread Jamal Hadi Salim
On Mon, 2012-08-13 at 13:18 -0700, Eric W. Biederman wrote: > From: "Eric W. Biederman" > > cls_flow.c plays with uids and gids. Unless I misread that > code it is possible for classifiers to depend on the specific uid and > gid values. Therefore I need to know the user namespace of the >

Re: [tip:auto-latest 18/37] kernel/sched/core.c:6460:1: error: 'SD_PREFER_LOCAL' undeclared (first use in this function)

2012-08-15 Thread Peter Zijlstra
On Wed, 2012-08-15 at 08:57 +0800, Alex Shi wrote: > Sorry for this mistaken! > The following is fixing patch > Thanks! -- 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

Re: [PATCH v3 1/2] lis3: add generic DT matching code

2012-08-15 Thread Daniel Mack
On 15.08.2012 09:13, Éric Piel wrote: > On 07-08-12 20:49, Daniel Mack wrote: > : >> >> I fixed all these issues now and attached a v4. >> > Sorry for the late reply, I had read the v3 but didn't find time to send > comments. They are all addressed in v4. > > For both [PATCH v4 1/2] and [PATCH

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

2012-08-15 Thread Peter Zijlstra
On Tue, 2012-08-14 at 15:35 +0800, Alex Shi wrote: > > Any comments for this rough proposal, specially for the assumptions? > Let me read it first ;-) -- 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] SubmittingPatches: clarify SOB tag usage when evolving submissions

2012-08-15 Thread Dan Carpenter
I think it would be nice to have another tag for people who fix bugs in the original patch. The Reviewed-by tag implies approval of the whole patch and anyway reviewers don't normally comment unless they see a bug. Maybe something like: Contributor: Your Name So the tags for developers would

Re: [PATCH 0/7] HID: picoLCD updates

2012-08-15 Thread Jiri Kosina
On Mon, 30 Jul 2012, Bruno Prémont wrote: > Hi, > > This series updates picoLCD driver: > - split the driver functions into separate files which get included > depending on Kconfig selection > (implementation for CIR using RC_CORE will follow later) > - drop private framebuffer refcounting

Re: 3.5-rc6 configfs BUG_ON

2012-08-15 Thread Joel Becker
On Sun, Jul 15, 2012 at 07:58:31PM -0400, Dave Jones wrote: > On Sun, Jul 15, 2012 at 01:58:46PM -0700, Joel Becker wrote: > > > > Call Trace: > > > [] d_kill+0xaf/0x120 > > > [] dput+0xe2/0x1d0 > > > [] path_put+0x1a/0x30 > > > [] vfs_fstatat+0x55/0x70 > > > [] vfs_lstat+0x1e/0x20 >

Re: [PATCH] MIPS: fix module.c build for 32 bit

2012-08-15 Thread David Howells
Rusty Russell wrote: > For a build fix Linux hasn't pulled the asm-generic cleanup patch yet - you missed the merge window, I think. Jonas detected the problem in linux-next. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] HID: multitouch: Add support for eGalax 0x73f7

2012-08-15 Thread Jiri Kosina
On Thu, 9 Aug 2012, Thierry Reding wrote: > Signed-off-by: Thierry Reding > --- > drivers/hid/hid-ids.h| 1 + > drivers/hid/hid-multitouch.c | 3 +++ > 2 files changed, 4 insertions(+) > > diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h > index 5a91bf6..9614a65 100644 > ---

Re: [PATCH v3 1/1] HID:hid-multitouch: Add ELAN production request when resume.

2012-08-15 Thread Jiri Kosina
On Tue, 14 Aug 2012, Scott Liu wrote: > Add ELAN production request when resume It would be nice to have some more explanation in the changelog (some variation of the comment in mt_resume() just before usb_control_msg() is issued should be sufficient). Thanks. > > Signed-off-by: Scott Liu

<    3   4   5   6   7   8   9   10   11   12   >