Re: [PATCH] rcu: Eliminate softirq processing from rcutree

2013-12-22 Thread Mike Galbraith
On Sun, 2013-12-22 at 04:07 +0100, Mike Galbraith wrote: > On Sat, 2013-12-21 at 20:39 +0100, Sebastian Andrzej Siewior wrote: > > From: "Paul E. McKenney" > > > > Running RCU out of softirq is a problem for some workloads that would > > like to manage RCU core processing independently of other

Re: [PATCH] drivers: target: target_core_mod: use div64_u64_rem() instead of operator '%' for u64

2013-12-22 Thread Chen Gang
On 12/22/2013 10:56 AM, Nicholas A. Bellinger wrote: > Hi Chen, > > On Sat, 2013-12-21 at 10:08 +0800, Chen Gang wrote: >> In kernel, need use div64_u64_rem() instead of operator '%' for u64, or >> can not pass compiling (with allmodconfig under metag): >> >> MODPOST 2909 modules >> ERROR: "

Re: [PATCH 4/5] drivers: net: APM X-Gene SoC Ethernet driver error handling

2013-12-22 Thread Arnd Bergmann
On Saturday 21 December 2013, Iyappan Subramanian wrote: > +#define CFG_RSIF_FPBUFF_TIMEOUT_EN_WR(src) \ > + (((u32)(src)<<31) & 0x8000) > +#define RSIF_LCL_RXBUF_FIFO_OVERFL_INTR_RXPRT10_MASK > 0x2000 > +#define RSIF_LCL_RXBUF_FIFO_OVERFL_INTR_RXPRT10_RD(src) \ > +

Re: [PATCH 0/5] drivers: net: Adding support for APM X-Gene SoC Ethernet base driver

2013-12-22 Thread Arnd Bergmann
On Saturday 21 December 2013, Iyappan Subramanian wrote: > Iyappan Subramanian (5): > Documentation: APM X-Gene SoC Ethernet DTS binding documentation > arm64: dts: APM X-Gene SoC Ethernet device tree nodes > drivers: net: APM X-Gene SoC Ethernet base driver > drivers: net: APM X-Gene SoC E

Re: [PATCH 1/5] Documentation: APM X-Gene SoC Ethernet DTS binding documentation

2013-12-22 Thread Arnd Bergmann
On Saturday 21 December 2013, Iyappan Subramanian wrote: > @@ -0,0 +1,67 @@ > +APM X-Gene SoC Ethernet nodes > + > +Ethernet nodes are defined to describe on-chip ethernet interfaces in > +APM X-Gene SoC. Ethernet subsystem communicates with a central Queue Manager > +(QMTM) using messages for tran

[PATCH 2/2] binder: implement namepsace support for Android binder driver

2013-12-22 Thread Oren Laadan
Add namespaces support for the Android binder driver. As binder is an IPC mechanism, tie its namespace to IPC_NS. In binder, the first process to call BINDER_SET_CONTEXT_MGR ioctl becomes the manager with context 0, and thereafter IPC is realized through binder handles obtained from this manager.

[PATCH 0/2] Namespace support for Android binder (under ipc-ns)

2013-12-22 Thread Oren Laadan
Hi, This patch-duo adds namespaces support for the Android binder driver. As discussed in Plumbers 2013, binder is a form of IPC and therefore will be tied to ipc namespace. On the ipc-ns side, the implementation is modelled after generic net-ns pointers (see commit dec827d), but simplified to su

[PATCH 1/2] ipc namespace: a generic per-ipc pointer and peripc_ops

2013-12-22 Thread Oren Laadan
Add a void * pointer to struct ipc_namespace. The access rules are: 1. (un)register ops with (un)register_peripc_operations() 2. call ipc_assign_generic() to put private data on the ipc_namespace 3. call ipc_access_generic() to access the private data 4. do not change the pointer during the lifetim

Re: Re: [RFCv4 06/11] misc: Introduce Nokia CMT driver

2013-12-22 Thread Linus Walleij
On Wed, Dec 18, 2013 at 12:25 AM, Sebastian Reichel wrote: > I had a look at both ofono's and freesmartphone.org's implementation > for the GPIO handling and both implementations are very similar. I > think it should be possible to move the state machine described in > [0] into the kernel and pro

[PATCH] docs: Update FireWire debugging documentation

2013-12-22 Thread Lubomir Rintel
The old firewire stack is long dead now and a new version firescope has been released with support for current kernels. Cc: Rob Landley Cc: Justin P. Mattock Cc: Bernhard Kaindl Signed-off-by: Lubomir Rintel --- Documentation/debugging-via-ohci1394.txt | 24 +--- Documen

[PATCH] ohci: Turn remote DMA support into a module parameter

2013-12-22 Thread Lubomir Rintel
This makes it possible to debug kernel over FireWire without the need to recompile it. Cc: Stefan Richter Cc: Dave Hansen Signed-off-by: Lubomir Rintel --- Documentation/debugging-via-ohci1394.txt | 4 +--- drivers/firewire/ohci.c | 19 +++ lib/Kconfig.debug

Re: [PATCH 2/2] binder: implement namepsace support for Android binder driver

2013-12-22 Thread Stefan Beller
> #include > #include > #include > +#include > #include > > #include "binder.h" > #include "binder_trace.h" > > +/* > + * Using a private context manager for each binder namespace is sufficient > + * to isolate between namespaces, because in binder all IPC must be realized > + * via

fff4068cba48: +82.0% vm-scalability.throughput

2013-12-22 Thread fengguang . wu
Johannes, I'm glad to report that the below commit results in large increase of performance in our vm-scalability/1T-anon-w-seq testcase. commit fff4068cba484e6b0abe334ed6b15d5a215a3b25 Author: Johannes Weiner Date: Fri Dec 20 14:54:12 2013 + mm: page_alloc: revert NUMA aspect of fair

Re: [PATCHSET 00/17] tracing/uprobes: Add support for more fetch methods (v9)

2013-12-22 Thread Namhyung Kim
Hi Steve, 2013-12-21 (토), 00:22 -0500, Steven Rostedt: > I applied all the patches and started testing and it failed to build, > with this error: > > > /home/rostedt/work/git/linux-trace.git/kernel/trace/trace_kprobe.c: In > function ‘kprobe_trace_self_tests_init’: > /home/rostedt/work/git/linu

[GIT PULL] RAS for 3.14, p2

2013-12-22 Thread Borislav Petkov
Hi guys, this is a second set of smallish stuff for 3.14. Please pull. Thanks. -- The following changes since commit 42139eb356e3384759ca143ae04d82376346eb4c: ACPI, eMCA: Combine eMCA/EDAC event reporting priority (2013-12-11 19:04:37 +0100) are available in the git repository at: git:/

[git pull] FireWire fixlet

2013-12-22 Thread Stefan Richter
Linus, please pull from the tag "firewire-fix" at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git firewire-fix to receive a one-liner fix/ revert. This reenables WRITE SAME over SBP-2 like in v3.8...v3.12 (or v3.8-rc1...v3.13-rc2 to be overly precise). Buggy targets wh

Re: [PATCH] dma-buf: avoid using IS_ERR_OR_NULL

2013-12-22 Thread Mauro Carvalho Chehab
Em Sat, 21 Dec 2013 07:42:17 -0500 Rob Clark escreveu: > On Fri, Dec 20, 2013 at 7:43 PM, Colin Cross wrote: > > dma_buf_map_attachment and dma_buf_vmap can return NULL or > > ERR_PTR on a error. This encourages a common buggy pattern in > > callers: > > sgt = dma_buf_map_attachment(att

Re: [PATCH] secure unlock_task_sighand() call

2013-12-22 Thread Oleg Nesterov
Naveen, sorry for the terse and neglectful reply yesterday. Actually, when I re-read the Linus's email, I think he already explained everything, so let me repeat: On 12/21, Linus Torvalds wrote: > > Did you actually *see* the problem, or was this just from looking at the code? Yes. Because this

Re: [PATCH] skip increamenting nr for TASK_UNINTERRUPTIBLE

2013-12-22 Thread Oleg Nesterov
Vaibhav, again, I think that everything was explained by Linus, let me add some details. > > In coredump case, where thread_1 faults while thread_2 is in > > TASK_UNINTERRUPTIBLE state, it cannot handle the SIGKILL. > > Thus the process hangs on event. > > The coredump routine freezes until the t

[PATCH v7 0/7] Optimize jump label implementation for ARM64

2013-12-22 Thread Jiang Liu
This patchset tries to optimize arch specfic jump label implementation for ARM64 by dynamic kernel text patching. To enable this feature, your toolchain must support "asm goto" extension and "%c" constraint extesion. Current GCC for AARCH64 doesn't support "%c", and there's a patch for it now: htt

[PATCH v7 1/7] arm64: introduce basic aarch64 instruction decoding helpers

2013-12-22 Thread Jiang Liu
Introduce basic aarch64 instruction decoding helper aarch64_get_insn_class() and aarch64_insn_hotpatch_safe(). Reviewed-by: Will Deacon Signed-off-by: Jiang Liu --- arch/arm64/include/asm/insn.h | 77 arch/arm64/kernel/Makefile| 2 +- arch/arm64/kernel/

[PATCH v7 3/7] arm64: move encode_insn_immediate() from module.c to insn.c

2013-12-22 Thread Jiang Liu
Function encode_insn_immediate() will be used by other instruction manipulate related functions, so move it into insn.c and rename it as aarch64_insn_encode_immediate(). Reviewed-by: Will Deacon Signed-off-by: Jiang Liu --- arch/arm64/include/asm/insn.h | 13 arch/arm64/kernel/insn.c

[PATCH v7 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-12-22 Thread Jiang Liu
Introduce three interfaces to patch kernel and module code: aarch64_insn_patch_text_nosync(): patch code without synchronization, it's caller's responsibility to synchronize all CPUs if needed. aarch64_insn_patch_text_sync(): patch code and always synchronize with stop_machi

[PATCH v7 4/7] arm64: introduce aarch64_insn_gen_{nop|branch_imm}() helper functions

2013-12-22 Thread Jiang Liu
Introduce aarch64_insn_gen_{nop|branch_imm}() helper functions, which will be used to implement jump label on ARM64. Reviewed-by: Will Deacon Signed-off-by: Jiang Liu --- arch/arm64/include/asm/insn.h | 10 ++ arch/arm64/kernel/insn.c | 40

[PATCH v7 6/7] arm64, jump label: optimize jump label implementation

2013-12-22 Thread Jiang Liu
Optimize jump label implementation for ARM64 by dynamically patching kernel text. Signed-off-by: Jiang Liu --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/jump_label.h | 51 arch/arm64/kernel/Makefile | 1 + arch/arm64/kernel/jump

[PATCH v7 5/7] arm64, jump label: detect %c support for ARM64

2013-12-22 Thread Jiang Liu
As commit a9468f30b5eac6 "ARM: 7333/2: jump label: detect %c support for ARM", this patch detects the same thing for ARM64 because some ARM64 GCC versions have the same issue. Some versions of ARM64 GCC which do support asm goto, do not support the %c specifier. Since we need the %c to support jum

[PATCH v7 7/7] jump_label: use defined macros instead of hard-coding for better readability

2013-12-22 Thread Jiang Liu
Use macro JUMP_LABEL_TRUE_BRANCH instead of hard-coding for better readability. Acked-by: Steven Rostedt Acked-by: Jason Baron Signed-off-by: Jiang Liu --- include/linux/jump_label.h | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/include/linux/jump_lab

Re: [PATCH v2 2/2] gpio: davinci: reuse for Keystone SoC

2013-12-22 Thread Sekhar Nori
Rob, On Wednesday 18 December 2013 03:37 PM, Grygorii Strashko wrote: > The similar GPIO HW block is used by keystone SoCs as > in Davinci SoCs. > Hence, reuse Davinci GPIO driver for Keystone taking into > account that Keystone contains ARM GIC IRQ controller which > is implemented using IRQ Chip

Re: [PATCH v2 2/2] gpio: davinci: reuse for Keystone SoC

2013-12-22 Thread Sekhar Nori
On Wednesday 18 December 2013 03:37 PM, Grygorii Strashko wrote: > The similar GPIO HW block is used by keystone SoCs as > in Davinci SoCs. > Hence, reuse Davinci GPIO driver for Keystone taking into > account that Keystone contains ARM GIC IRQ controller which > is implemented using IRQ Chip. > >

Re: [PATCH v2 1/2] gpio: davinci: don't create irq_domain in case of unbanked irqs

2013-12-22 Thread Sekhar Nori
On Wednesday 18 December 2013 03:37 PM, Grygorii Strashko wrote: > The system may crash if: > - there are more then 1 bank s/then/than > - unbanked irqs are enabled > - someone will call gpio_to_irq() for GPIO from bank2 or above > > Hence, fix it by not creating irq_domain if unbanked irqs are

Re: [PATCH] pid: change task_struct::pid to read-only

2013-12-22 Thread Oleg Nesterov
On 12/20, Peter Zijlstra wrote: > > On Fri, Dec 20, 2013 at 08:01:57PM +0100, Oleg Nesterov wrote: > > The only problem is that > > > > #define ASSIGN_CONST(l, r) (*(typeof(r) *)&(l) = (r)) > > > > obviously can't work in this case ;) We need something more clever. > > Hmm indeed, C++ has

Re: [PATCH 1/5] iio: ti_am335x_adc: Adjust the closing bracket in tiadc_read_raw()

2013-12-22 Thread Jonathan Cameron
On 12/19/13 15:28, Sebastian Andrzej Siewior wrote: > It somehow looks like the ending bracket belongs to the if statement but > it does belong to the while loop. This patch moves the bracket where it > belongs. > > Reviewed-by: Lee Jones > Signed-off-by: Sebastian Andrzej Siewior Acked-by: Jona

[GIT PULL] ARM: Fixes for 3.13-rc

2013-12-22 Thread Olof Johansson
Hi Linus, arm-soc fixes pull request, Christmas edition 2013. No glögg included, sorry! God Jul, -Olof The following changes since commit 319e2e3f63c348a9b66db4667efa73178e18b17d: Linux 3.13-rc4 (2013-12-15 12:31:33 -0800) are available in the git repository at: git://git.kernel.org/pub

Re: [PATCH 3/5] mfd: ti_am335x_tscadc: Don't read back REG_SE

2013-12-22 Thread Jonathan Cameron
On 12/19/13 15:28, Sebastian Andrzej Siewior wrote: > The purpose of reg_se_cache has been defeated. It should avoid the > read-back of the register to avoid the latency and the fact that the > bits are reset to 0 after the individual conversation took place. > > The reason why this is required li

Re: [PATCH 4/5] mfd: ti_am335x: Drop am335x_tsc_se_update() from resume path

2013-12-22 Thread Jonathan Cameron
On 12/19/13 15:28, Sebastian Andrzej Siewior wrote: > The update of the SE register in MFD doesn't look right as it has > nothing to do with it. The better place to do it is in TSC driver (which > is already doing it) and in the ADC driver which needs this only in the > continues mode. > > Acked-b

[PATCH] mfd: max8997: Use "IS_ENABLED(CONFIG_OF)" for DT code.

2013-12-22 Thread Manish Badarkhe
Instead of "#if define CONFIG_OF" use "IS_ENABLED(CONFIG_OF)" option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe --- :100644 100644 791aea3... be9a8b0... M drivers/mfd/max8997.c drivers/mfd/max8997.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletion

Re: [PATCH 5/5] mfd: input: iio: ti_amm335x: Rework TSC/ADC synchronization

2013-12-22 Thread Jonathan Cameron
On 12/19/13 15:28, Sebastian Andrzej Siewior wrote: > The ADC driver always programs all possible ADC values and discards > them except for the value IIO asked for. On the am335x-evm the driver > programs four values and it takes 500us to gather them. Reducing the number > of conversations down to

Re: [PATCH] iio: at91: document ADC clock properties

2013-12-22 Thread Jonathan Cameron
On 12/19/13 15:54, Nicolas Ferre wrote: > On 17/12/2013 17:16, Boris BREZILLON : >> Document the clock properties required by the at91 ADC driver. >> >> Signed-off-by: Boris BREZILLON > > Acked-by: Nicolas Ferre Looks fine to me. I'm just waiting on an ack from a device tree maintainer (or the

Re: [PATCHes - aio / migrate page, please review] Re: bad page state in 3.13-rc4

2013-12-22 Thread Linus Torvalds
On Sat, Dec 21, 2013 at 3:06 PM, Benjamin LaHaise wrote: > > Linus, feel free to add my Signed-off-by: to your sanitization of > aio_setup_ring() as well, as it works okay in my testing. Nobody commented on your request for comments, so I applied my patch and pulled your branch, because I'm going

Re: [PATCH] powercap/rapl: add support for ValleyView Soc

2013-12-22 Thread Vince Weaver
On Sun, 22 Dec 2013, Rafael J. Wysocki wrote: > On Wednesday, December 11, 2013 02:39:27 PM Jacob Pan wrote: > > @@ -941,6 +949,7 @@ static void package_power_limit_irq_restore(int > > package_id) > > static const struct x86_cpu_id rapl_ids[] = { > > { X86_VENDOR_INTEL, 6, 0x2a},/* SNB */ >

status of block-integrity

2013-12-22 Thread Christoph Hellwig
We have the block integrity code to support DIF/DIX in the the tree for about 5 and a half years, and we still don't have a single consumer of it. By normal kernel rules it should never have been merged, or at least the bitrot long removed. Given that we'll have a lot of work to do in this area w

Re: [PATCH] closures: move to lib/

2013-12-22 Thread Christoph Hellwig
On Thu, Dec 19, 2013 at 04:21:07AM -0800, Kent Overstreet wrote: > Grep through drivers/md/bcache/... While that will require a fair amount of work I'm pretty sure we could untangle that mess as well. But what I meant was whatever piece of code that motivated you to move the code to lib/. -- To u

Re: [GIT PULL] at91: drivers for 3.14 #1

2013-12-22 Thread Olof Johansson
Hi, On Fri, Dec 13, 2013 at 10:05:45AM +0100, Nicolas Ferre wrote: > Arnd, Olof, Kevin, > > This is a "drivers" series that adds Device Tree support to > Atmel crypto drivers (AES/[T]DES/SHA). As the DT part of this > addition is in at91-3.14-dt I thought it would be simpler to take > this serie

Re: [PATCH v4 1/2] ARM: mach-moxart: add MOXA ART SoC platform files

2013-12-22 Thread Olof Johansson
On Fri, Dec 13, 2013 at 03:33:07PM +0100, Jonas Jensen wrote: > The MOXA ART SoC is based on Faraday's FA526. This is a ARMv4 32-bit > 192 MHz CPU with MMU and 16KB/8KB D/I-cache. > > Add platform support for this SoC. > > Also add UC-7112-LX as a machine. > > Signed-off-by: Jonas Jensen Appli

Re: [PATCH v4 2/2] ARM: mach-moxart: add MOXA ART SoC device tree files

2013-12-22 Thread Olof Johansson
Hi, On Fri, Dec 13, 2013 at 03:33:08PM +0100, Jonas Jensen wrote: > Add a generic (dtsi) include file for MOXA ART SoCs. > > Also add a file for UC-7112-LX. > > Signed-off-by: Jonas Jensen Applied to next/dt. Again, please follow up with some of the comments -- in particular the requests to k

Re: [PATCH v6 0/2] ARM: mach-moxart: add MOXA ART SoC support

2013-12-22 Thread Olof Johansson
On Wed, Dec 18, 2013 at 01:58:44PM +0100, Jonas Jensen wrote: > Thanks for the replies! > > This should tick the boxes on feedback except for one detail > on the fixed rate clock: > > Moving fixed-clock "ref12" from .dtsi to .dts proved problematic > for other clocks, this is why ref12 is still i

Re: [PATCH v7 0/2] ARM: mach-moxart: add MOXA ART SoC support

2013-12-22 Thread Olof Johansson
On Thu, Dec 19, 2013 at 11:47:42AM +0100, Jonas Jensen wrote: > The reason behind why fixed rate clock "ref12" couldn't be moved from > .dtsi to .dts: > > There was nothing else in "clocks { .. }", the entire block was then > deleted from .dtsi. > > If a skeleton "clocks { .. }" remain in .dtsi,

Re: [PATCH v2] MAINTAINERS: take maintainership for Energy Micro efm32 SoCs

2013-12-22 Thread Olof Johansson
On Fri, Dec 20, 2013 at 09:21:59PM +0100, Uwe Kleine-König wrote: > Acked-by: Greg Kroah-Hartman > Acked-by: Mark Brown > Signed-off-by: Uwe Kleine-König > --- > Hello, > > On Fri, Dec 20, 2013 at 11:55:30PM +0400, Alexander Shiyan wrote: > > [...] > > > +F: arch/arm/boot/dts/efm32* > > > +F: a

kernfs: gpf when offlining cpus

2013-12-22 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel, I've stumbled on the following spew. Beyond regular trinity fuzzing, the machine was in the middle of attempting to offline all of it's cpus (64 of them). [ 696.029538] general protection fault: [

Re: GPF in aio_migratepage

2013-12-22 Thread Kristian Nielsen
Gu Zheng writes: > This issue seems like a problem that has been fixed yet: > http://article.gmane.org/gmane.linux.kernel.aio.general/3741/match=potential+use+after+free+aio%5fmigratepage > commit 5e9ae2e5da0beb93f8557fc92a8f4fbc05ea448f > aio: fix use-after-free in aio_migratepage > So I think m

Re: status of block-integrity

2013-12-22 Thread Nicholas A. Bellinger
On Sun, 2013-12-22 at 11:21 -0800, Christoph Hellwig wrote: > We have the block integrity code to support DIF/DIX in the the tree for > about 5 and a half years, and we still don't have a single consumer of > it. By normal kernel rules it should never have been merged, or at > least the bitrot lon

kernfs: WARNING: CPU: 59 PID: 10414 at lib/debugobjects.c:260

2013-12-22 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel, I've stumbled on the following spew. Beyond regular trinity fuzzing, the machine was in the middle of attempting to offline all of it's cpus (64 of them). [ 645.148744] WARNING: CPU: 59 PID: 10414 at l

Re: [PATCH v2] MAINTAINERS: take maintainership for Energy Micro efm32 SoCs

2013-12-22 Thread Mike Turquette
Quoting Uwe Kleine-König (2013-12-20 12:21:59) > Acked-by: Greg Kroah-Hartman > Acked-by: Mark Brown > Signed-off-by: Uwe Kleine-König > --- > Hello, > > On Fri, Dec 20, 2013 at 11:55:30PM +0400, Alexander Shiyan wrote: > > [...] > > > +F: arch/arm/boot/dts/efm32* > > > +F: arch/arm/configs/efm

Re: [PATCH] powercap/rapl: add support for ValleyView Soc

2013-12-22 Thread Rafael J. Wysocki
On Sunday, December 22, 2013 02:22:48 PM Vince Weaver wrote: > On Sun, 22 Dec 2013, Rafael J. Wysocki wrote: > > On Wednesday, December 11, 2013 02:39:27 PM Jacob Pan wrote: > > > > @@ -941,6 +949,7 @@ static void package_power_limit_irq_restore(int > > > package_id) > > > static const struct x8

Re: [PATCH -tip v6 00/22] kprobes: introduce NOKPROBE_SYMBOL(), cleanup and fixes crash bugs

2013-12-22 Thread Masami Hiramatsu
(2013/12/20 19:46), Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > >> (2013/12/20 17:20), Ingo Molnar wrote: >>> >>> * Masami Hiramatsu wrote: >>> > But a closer look indicates that the insertion of kprobes is > taking about three (!!) orders of magnitude longer than before, as >

[PATCH] drivers: firmware: edd: fixed coding style errors

2013-12-22 Thread Derek Perrin
Fixed coding style errors. Spaces, tab and parenthesis errors. Signed-off-by: Derek Perrin --- drivers/firmware/edd.c | 62 +- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/drivers/firmware/edd.c b/drivers/firmware/edd.c index e22

Re: [PATCHes - aio / migrate page, please review] Re: bad page state in 3.13-rc4

2013-12-22 Thread Dave Jones
On Sun, Dec 22, 2013 at 11:09:34AM -0800, Linus Torvalds wrote: > On Sat, Dec 21, 2013 at 3:06 PM, Benjamin LaHaise wrote: > > > > Linus, feel free to add my Signed-off-by: to your sanitization of > > aio_setup_ring() as well, as it works okay in my testing. > > Nobody commented on your req

Re: [PATCH -tip v6 00/22] kprobes: introduce NOKPROBE_SYMBOL(), cleanup and fixes crash bugs

2013-12-22 Thread Masami Hiramatsu
(2013/12/20 22:40), Frank Ch. Eigler wrote: > Hi - > > mingo wrote: >> [...] >> For example a hash table (hashed by probe address) could be used in >> addition to the list, to speed up basic operations. > > In the past, when this sort of behavior popped up, it was due to > machine-wide halt/sync

Re: [PATCH v7 00/12] kexec kernel efi runtime support

2013-12-22 Thread Toshi Kani
On Sat, 2013-12-21 at 17:35 +, Matt Fleming wrote: > On Fri, 20 Dec, at 06:02:10PM, Dave Young wrote: > > Here is the V7 patchset for supporting kexec kernel efi runtime. > > Per pervious discussion I pass the 1st kernel efi runtime mapping > > via setup_data to 2nd kernel. Besides of the runti

Linux 3.13-rc5

2013-12-22 Thread Linus Torvalds
Ho ho ho, Christmas is almost upon us, and -rc5 is the last rc before most of us gorge ourselves into insensibility. Or cry into our lonely beers. Or go out for Chinese food. Or whatever you happen to do. Things seem to be slowly calming down, and I expect that the next week is going to be calmer

Re: GPF in aio_migratepage

2013-12-22 Thread Benjamin LaHaise
Hi Kristian, On Sun, Dec 22, 2013 at 09:44:45PM +0100, Kristian Nielsen wrote: > There are other changes in that area since 3.13-rc1 though. > > Anyway, I am now running with 3.13-rc4 and will report if I see anything. > Given that I do not have any way to reproduce (I only ever saw this once), >

Re: [PATCH -tip 1/3] [CLEANUP] perf-probe: Expand given path to absolute path

2013-12-22 Thread Masami Hiramatsu
(2013/12/21 3:00), Arnaldo Carvalho de Melo wrote: > Em Fri, Dec 20, 2013 at 10:02:57AM +, Masami Hiramatsu escreveu: >> Expand given path to absolute path in option parser, >> except for a module name. Instead of expanding it later, >> this get the absolute path in early stage. > > What is th

Re: [PATCH -tip 2/3] perf-probe: Support dwarf on uprobe events

2013-12-22 Thread Masami Hiramatsu
(2013/12/21 3:01), Arnaldo Carvalho de Melo wrote: > Em Fri, Dec 20, 2013 at 10:02:59AM +, Masami Hiramatsu escreveu: >> Support dwarf(debuginfo) based operations for uprobe events. >> With this change, perf probe can analyze debuginfo of user >> application binary to set up new uprobe event. >

[ANNOUNCE] kmod 16

2013-12-22 Thread Lucas De Marchi
kmod 16 is out: ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-16.tar.xz ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-16.tar.sign Most important change besides the bug fixes are: * we don't have an option in rmmod to wait module removal anymore. This is gone from kernel and now

Re: [PATCH -tip 3/3] perf-probe: Use the actual address as a hint for uprobes

2013-12-22 Thread Masami Hiramatsu
(2013/12/21 3:03), Arnaldo Carvalho de Melo wrote: > Em Fri, Dec 20, 2013 at 10:03:02AM +, Masami Hiramatsu escreveu: >> Use the actual address of tracepoint as a hint to find >> different local symbols. Since sometimes there are local >> symbols which have same name, it is impossible to determ

Re: [PATCH] drivers: firmware: edd: fixed coding style errors

2013-12-22 Thread Joe Perches
On Sun, 2013-12-22 at 15:17 -0600, Derek Perrin wrote: > Fixed coding style errors. Spaces, tab and parenthesis errors. There's a real error in this patch. When you do whitespace only changes, please verify that the old and new object files produced are unchanged. One trivial bit too, > diff --

Re: 3.12.5 CRASH/FREEZE

2013-12-22 Thread Pavel Vasilyev
20.12.2013 19:05, Sebastian Andrzej Siewior пишет: > On 12/20/2013 03:57 PM, Pavel Vasilyev wrote: >> >> Same bug if attach to ehci hub. >> >> ksoftird/0 process of loading the CPU upto 100% Sometimes process >> irq17/0 - ehci_hcd or xhci_hcd. After taking the camera out of the >> socket, the load

Re: [GIT PULL] at91: dt for 3.14 #2

2013-12-22 Thread Olof Johansson
On Fri, Dec 20, 2013 at 12:03:18AM +0100, Nicolas Ferre wrote: > Arnd, Olof, Kevin, > > Some more DT material for 3.14 based on top of what I already sent (in > your at91/dt branch). Nothing really surprising... > > Thanks, best regards, > > The following changes since commit ca594844e4a53f77881

Re: 3.12.5 CRASH/FREEZE

2013-12-22 Thread Pavel Vasilyev
20.12.2013 19:05, Sebastian Andrzej Siewior пишет: > On 12/20/2013 03:57 PM, Pavel Vasilyev wrote: ... The last two years I have worked with 3.2 kernel and patches for it. Recently, we have a new equipment that partially works with version 3.2.53. Therefore it was decided to move to version 3.12.

Re: GPF in aio_migratepage

2013-12-22 Thread Kristian Nielsen
Benjamin LaHaise writes: > Linus just pushed out 3.13-rc5 that has changes to aio_migratepage() that > should make it much more robust, as well as other fixes. Can you please > give it a spin as well and let me know if it works? Thanks a bunch! Ok, will do. - Kristian. -- To unsubscribe fr

iio_utils.h bug?

2013-12-22 Thread Zubair Lutfullah :
Hi, A guy posted this fix on my blog. I couldn't make sense of it. Thought I'd post it here. I'll send a proper patch file if I knew what commit log I needed to write. And I can't exactly sign-off :s. I asked him to post but he couldn't/wouldn't. Regards ZubairLK "Defend against buffer overf

Re: [PATCH v3 0/2] sctp: Consolidate and ratelimit deprecation warnings

2013-12-22 Thread David Miller
From: Neil Horman Date: Tue, 17 Dec 2013 11:19:57 -0500 > The SCTP protocol has several deprecation warnings in its setsockopt path that > can be triggered by unprivlidged users. Since these are not ratelimited, we > can > spam the logs quite easily here. Since these are all deprecation warnin

Re: [PATCH v4 3/4] futex: Document ordering guarantees

2013-12-22 Thread Davidlohr Bueso
On Thu, 2013-12-19 at 15:19 -0800, Darren Hart wrote: > On Thu, 2013-12-19 at 15:05 -0800, Randy Dunlap wrote: > > On 12/19/13 13:07, Darren Hart wrote: > > > On Thu, 2013-12-19 at 13:00 -0800, Davidlohr Bueso wrote: > > >> On Thu, 2013-12-19 at 12:51 -0800, Randy Dunlap wrote: > > >>> On 12/19/13

Re: [PATCH v6 2/2] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-22 Thread Bjorn Helgaas
On Thu, Dec 19, 2013 at 1:44 PM, Yinghai Lu wrote: Let me see if I can figure out what you're trying to do here. Please correct me if I'm wrong: > When one of children resources does not support MEM_64, MEM_64 for > bridge get reset, so pull down whole pref resource on the bridge under 4G. Whe

[PULL] fixes for virtio balloon and non-MMU kallsyms

2013-12-22 Thread Rusty Russell
The following changes since commit af91706d5ddecb4a9858cca9e90d463037cfd498: ima: store address of template_fmt_copy in a pointer before calling strsep (2013-11-30 13:09:53 +1100) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/fix

Re: [PATCH] irq-renesas-irqc: simplify irq_set_type() method

2013-12-22 Thread Simon Horman
On Thu, Dec 19, 2013 at 06:53:32PM +0900, Magnus Damm wrote: > On Thu, Dec 19, 2013 at 5:24 PM, Simon Horman wrote: > > On Sat, Dec 14, 2013 at 03:09:31AM +0300, Sergei Shtylyov wrote: > >> Value 0 of the sense selection field of CONFIG_n register means "disable > >> event > >> detection" and se

I want to transfer an abandoned

2013-12-22 Thread mr.sinzoganchabi
Hi friend I am a banker in IDB BANK. I want to transfer an abandonedUSD5. 5Million to your Bank account. 40/percent will be your share. No risk involved but keep it as secret. Contact me for more details. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: Re: Re : Re: [PATCH] Squashfs: add asynchronous read support

2013-12-22 Thread Minchan Kim
On Sat, Dec 21, 2013 at 11:05:51AM +0900, Chanho Min wrote: > > > Please don't break thread. > > You should reply to my mail instead of your original post. > Sorry, It seems to be my mailer issue. I'm trying to fix it. > > > It's a result which isn't what I want to know. > > What I wnat to know i

Re: [PATCH v3 13/14] mm, hugetlb: retry if failed to allocate and there is concurrent user

2013-12-22 Thread Joonsoo Kim
On Fri, Dec 20, 2013 at 10:48:17PM -0800, Davidlohr Bueso wrote: > On Fri, 2013-12-20 at 14:01 +, Mel Gorman wrote: > > On Thu, Dec 19, 2013 at 05:02:02PM -0800, Andrew Morton wrote: > > > On Wed, 18 Dec 2013 15:53:59 +0900 Joonsoo Kim > > > wrote: > > > > > > > If parallel fault occur, we c

Re: [PATCH v3 03/14] mm, hugetlb: protect region tracking via newly introduced resv_map lock

2013-12-22 Thread Joonsoo Kim
On Sun, Dec 22, 2013 at 12:58:19AM +1100, David Gibson wrote: > On Wed, Dec 18, 2013 at 03:53:49PM +0900, Joonsoo Kim wrote: > > There is a race condition if we map a same file on different processes. > > Region tracking is protected by mmap_sem and hugetlb_instantiation_mutex. > > When we do mmap,

Re: [PATCH v6 2/2] PCI: Try best to allocate pref mmio 64bit above 4g

2013-12-22 Thread Yinghai Lu
On Sun, Dec 22, 2013 at 4:00 PM, Bjorn Helgaas wrote: > On Thu, Dec 19, 2013 at 1:44 PM, Yinghai Lu wrote: > > Let me see if I can figure out what you're trying to do here. Please > correct me if I'm wrong: > >> When one of children resources does not support MEM_64, MEM_64 for >> bridge get res

Re: [f2fs-dev] [PATCH 1/3] f2fs: check filename length in recover_dentry

2013-12-22 Thread Jaegeuk Kim
2013-12-21 (토), 18:01 +0800, Chao Yu: > In current flow, we will get Null return value of f2fs_find_entry in > recover_dentry when name.len is bigger than F2FS_NAME_LEN, and then we > still add this inode into its dir entry. > To avoid this situation, we must check filename length before we use it.

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

2013-12-22 Thread Stephen Rothwell
On Tue, 17 Dec 2013 13:28:38 +1100 Stephen Rothwell wrote: > > Hi Chris, > > ping? ping again - I am still getting this error. > On Fri, 13 Dec 2013 12:57:16 +1100 Stephen Rothwell > wrote: > > > > After merging the mmc tree, today's linux-next build (arm > > multi_v7_defconfig) failed like

Re: [PATCH] i2c: fix a potential kmemleak of adapter device

2013-12-22 Thread Gu Zheng
Hi Wolfram, On 12/21/2013 01:31 AM, Wolfram Sang wrote: > On Wed, Dec 18, 2013 at 09:18:08AM +0800, Gu Zheng wrote: >> When running with the latest kernel, we get the following kmemleak message: >> unreferenced object 0x8800c2a36100 (size 256): >> comm "modprobe", pid 629, jiffies 4294676002

RE: [PATCH 1/1] MTD: UBI: try to avoid program data to NOR flash after erasure interrupted

2013-12-22 Thread qiwang
Hi Artem: Sorry to interrupt your busy life. As you said in previous mail, I send my patch separately without quoting this e-mail. And I have send to you, but I never get your reply. I am very confuse, no sure if is there anything wrong at the patch I send to you. Can you help explain to me? Th

[PATCH 1/1] MTD: UBI: avoid program operation on NOR flash after erasure interrupted

2013-12-22 Thread qiwang
Hi Artem: As we talked in mail before, please check my patch as below: From: Qi Wang nor_erase_prepare() will be called before erase a NOR flash, it will program '0' into a block to mark this block. But program data into a erasure interrupted block can cause program timtout(several minutes at

Re: [PATCH v7 09/12] efi: passing kexec necessary efi data via setup_data

2013-12-22 Thread Dave Young
> > + if (data) > > + early_memunmap(data, sizeof(*data)); > > #ifdef CONFIG_X86_32 > > if (tmp >> 32) { > > pr_err("EFI data located above 4GB, disabling EFI.\n"); > > This isn't correct, and means we now won't trigger this pr_err() if

Re: [PATCH v7 09/12] efi: passing kexec necessary efi data via setup_data

2013-12-22 Thread Dave Young
On 12/21/13 at 04:06pm, Matt Fleming wrote: > On Fri, 20 Dec, at 06:02:19PM, Dave Young wrote: > > @@ -133,6 +133,19 @@ extern void efi_sync_low_kernel_mappings(void); > > extern void efi_setup_page_tables(void); > > extern void __init old_map_region(efi_memory_desc_t *md); > > > > +struct efi_

Re: [PATCH v3 13/14] mm, hugetlb: retry if failed to allocate and there is concurrent user

2013-12-22 Thread Joonsoo Kim
On Mon, Dec 23, 2013 at 09:44:38AM +0900, Joonsoo Kim wrote: > On Fri, Dec 20, 2013 at 10:48:17PM -0800, Davidlohr Bueso wrote: > > On Fri, 2013-12-20 at 14:01 +, Mel Gorman wrote: > > > On Thu, Dec 19, 2013 at 05:02:02PM -0800, Andrew Morton wrote: > > > > On Wed, 18 Dec 2013 15:53:59 +0900 Jo

[git pull] drm fixes

2013-12-22 Thread Dave Airlie
Hi Linus, Xmas fixes pull, all small nothing major, intel, radeon, one ttm regression, and one build fix. Dave. The following changes since commit 413541dd66d51f791a0b169d9b9014e4f56be13c: Linux 3.13-rc5 (2013-12-22 13:08:32 -0800) are available in the git repository at: git://people.fr

RE: [PATCH net v5 0/4] r8152 bug fixes

2013-12-22 Thread hayeswang
Any response? > -Original Message- > From: Hayeswang [mailto:hayesw...@realtek.com] > Sent: Wednesday, November 20, 2013 5:31 PM > To: net...@vger.kernel.org > Cc: nic_swsd; linux-kernel@vger.kernel.org; > linux-...@vger.kernel.org; Hayeswang > Subject: [PATCH net v5 0/4] r8152 bug fixe

RE: [f2fs-dev] [PATCH 1/3] f2fs: check filename length in recover_dentry

2013-12-22 Thread Chao Yu
Hi Kim, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Monday, December 23, 2013 9:26 AM > To: Chao Yu > Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 1/3] f2fs:

Re: [PATCH v7 00/12] kexec kernel efi runtime support

2013-12-22 Thread Dave Young
On 12/21/13 at 05:35pm, Matt Fleming wrote: > On Fri, 20 Dec, at 06:02:10PM, Dave Young wrote: > > Here is the V7 patchset for supporting kexec kernel efi runtime. > > Per pervious discussion I pass the 1st kernel efi runtime mapping > > via setup_data to 2nd kernel. Besides of the runtime mapping

[PATCH] mei_me: Ratelimit several error messages

2013-12-22 Thread Ian Munsie
I'm unsure of the cause, but I found irq/40-mei_me consuming 100% CPU and my disk full due to kern.log, syslog and messages rapidly growing in size filled with these messages: Dec 23 12:29:57 dukhat kernel: [336224.363138] mei_me :00:16.0: reset: wrong host start response Dec 23 12:29:57 dukh

Re : Re: Re: Re : Re: [PATCH] Squashfs: add asynchronous read support

2013-12-22 Thread Chanho Min
> read_pages > for(page_idx ...) { > if (!add_to_page_cache_lru)) { <-- 1) > mapping->a_ops->readpage(filp, page) > squashfs_readpage > for (i ...) { 2) Here, 31 pages are inserted into page cache > grab_cahe_page_nowait <--/ > add_to

Re: [PATCH 0/2] tracing: Fixes to event_triggers patches found by Fengguang's test bot

2013-12-22 Thread Tom Zanussi
Hi Steve, On Sat, 2013-12-21 at 22:07 -0500, Steven Rostedt wrote: > Tom, > > This is the changes I made to fix the reports that Fengguang's kbuild test bot > found. I folded in your change that fixes the bug with -ENODEV used in > kernel.h. > These look fine to me, and I didn't see any proble

[f2fs-dev] [PATCH 1/3 V2] f2fs: check filename length in recover_dentry

2013-12-22 Thread Chao Yu
In current flow, we will get Null return value of f2fs_find_entry in recover_dentry when name.len is bigger than F2FS_NAME_LEN, and then we still add this inode into its dir entry. To avoid this situation, we must check filename length before we use it. Another point is that we could remove the co

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

2013-12-22 Thread Stephen Rothwell
Hi Nicholas, Today's linux-next merge of the target-updates tree got a conflict in drivers/target/target_core_tpg.c between commit de06875f0896 ("target: Remove extra percpu_ref_init") from Linus' tree and commit d344f8a15637 ("target: Rename core_tpg_{pre,post}_addlun for clarity") from the targe

linux-next: manual merge of the akpm-current tree with the pci tree

2013-12-22 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in scripts/checkpatch.pl between commit 92e112fdbb3c ("PCI/checkpatch: Deprecate DEFINE_PCI_DEVICE_TABLE") from the pci tree and commit 369353832de3 ("checkpatch.pl: check for function declarations without arguments") from

Re: [RFC][PATCH] PM / Sleep: Freeze filesystems during system suspend/hibernation

2013-12-22 Thread Dave Chinner
On Sun, Dec 22, 2013 at 12:33:18AM +0100, Pavel Machek wrote: > Hi! > > > > > > > I disagree - given the problem it is resolving leads to silent > > > > > > filesystem corruption, this patch should be considered somewhat of a > > > > > > priority to push... > > > > > > > > > > Umm. Ok, I forgot w

  1   2   >