Re: [PATCH V4] mm/thp: Allocate transparent hugepages on local node

2015-01-29 Thread Vlastimil Babka
On 01/26/2015 03:37 PM, Aneesh Kumar K.V wrote: > Vlastimil Babka writes: > >> On 01/21/2015 01:48 AM, Andrew Morton wrote: >>> On Tue, 20 Jan 2015 17:04:31 +0530 "Aneesh Kumar K.V" >>> wrote: + * Should be called with the mm_sem of the vma hold. >>> >>> That's a pretty cruddy sentence,

Re: [PATCH v2] video: fbdev: fix sys_copyarea

2015-01-29 Thread Tomi Valkeinen
On 22/01/15 03:19, Mans Rullgard wrote: > The sys_copyarea() function performs the same operation as > cfb_copyarea() but using normal memory access instead of I/O > accessors. Since the introduction of sys_copyarea(), there > have been two fixes to cfb_copyarea(): > > - 00a9d699 ("framebuffer:

Re: [RFC 3/4] nbd: Create helper functions for ioctls

2015-01-29 Thread Markus Pargmann
Hi Paul, On Wed, Jan 28, 2015 at 04:04:28PM -0500, Paul Clements wrote: > Markus, > > Comments below... > > On Tue, Jan 13, 2015 at 8:44 AM, Markus Pargmann wrote: > > This patch prepares the nbd code for the nbd-root device patch. It > > moves the ioctl code into separate functions so they

Re: [PATCH] [media] media: platform: fix platform_no_drv_owner.cocci warnings

2015-01-29 Thread Lad, Prabhakar
On Fri, Jan 30, 2015 at 2:26 AM, kbuild test robot wrote: > drivers/media/platform/am437x/am437x-vpfe.c:2767:3-8: No need to set .owner > here. The core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by:

Re: [PATCH v1 2/2] zram: remove init_lock in zram_make_request

2015-01-29 Thread Ganesh Mahendran
Hello Sergey 2015-01-29 23:12 GMT+08:00 Sergey Senozhatsky : > On (01/29/15 21:48), Ganesh Mahendran wrote: >> > Admin could reset zram during I/O operation going on so we have >> > used zram->init_lock as read-side lock in I/O path to prevent >> > sudden zram meta freeing. >> >> When I/O

Re: Refactoring mutex spin on owner code

2015-01-29 Thread Peter Zijlstra
On Thu, Jan 29, 2015 at 11:14:40PM -0800, Davidlohr Bueso wrote: > > +bool mutex_spin_on_owner(struct mutex *lock, struct task_struct *owner) > > { > > + bool ret; > > + > > rcu_read_lock(); > > - while (owner_running(lock, owner)) { > > - if (need_resched()) > > + while

[PATCH 0/5] enhance configuring an ITS

2015-01-29 Thread Yun Wu
This patch series makes some enhancement to ITS configuration in the following three aspects: o allocation of the ITS tables o replacing magic numbers with sensible macros o supporting ITS power down This patch series is based on linux 3.19-rc6, and tested on Hisilion ARM64 board with GICv3 ITS

[PATCH 3/5] irqchip: gicv3-its: use 64KB page as default granule

2015-01-29 Thread Yun Wu
The field of page size in register GITS_BASERn might be read-only if an implementation only supports a single, fixed page size. But currently the ITS driver will throw out an error when PAGE_SIZE is less than the minimum size supported by an ITS. So addressing this problem by using 64KB pages as

[PATCH 2/5] irqchip: gicv3-its: zero itt before handling to hardware

2015-01-29 Thread Yun Wu
Some kind of brain-dead implementations chooses to insert ITEes in rapid sequence of disabled ITEes, and an un-zeroed ITT will confuse ITS on judging whether an ITE is really enabled or not. Considering the implementations are still supported by the GICv3 architecture, in which ITT is not required

[PATCH 4/5] irqchip: gicv3-its: define macros for GITS_CTLR fields

2015-01-29 Thread Yun Wu
Define macros for GITS_CTLR fields to avoid using magic numbers. Signed-off-by: Yun Wu --- drivers/irqchip/irq-gic-v3-its.c | 2 +- include/linux/irqchip/arm-gic-v3.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-gic-v3-its.c

[PATCH 1/5] irqchip: gicv3-its: allocate proper size for DT

2015-01-29 Thread Yun Wu
A hardware implementation may be designed to search the device table (DT) using a direct mapping between device ID and memory address, and in this scenario a single page, currently allocated for DT in ITS driver, will be probably not enough. This patch will try best to get this addressed by

[RFC V2] mm:change smaps/pagemap_read calculation behavior

2015-01-29 Thread Wang, Yalin
This patch change smaps/pagemap_read pagetable walk behavior, to make sure not skip VM_PFNMAP pagetables, so that we can calculate COW pages of VM_PFNMAP as normal pages. Signed-off-by: Yalin Wang --- fs/proc/task_mmu.c | 2 ++ include/linux/mm.h | 2 ++ mm/pagewalk.c | 5 + 3 files

[PATCH 5/5] irqchip: gicv3-its: add support for power down

2015-01-29 Thread Yun Wu
Configurations of an ITS cannot be changed if the ITS is in an active status, so it might not be safe to perform a soft reboot with all the active ITSes un-disabled, etc. kexec. This patch will make sure all the active ITSes disabled before enabling them again without resetting ITS hardware.

Re: [PATCH 3.4 000/177] 3.4.106-rc1 review

2015-01-29 Thread Zefan Li
On 2015/1/28 22:12, Guenter Roeck wrote: > On 01/27/2015 08:07 PM, l...@kernel.org wrote: >> From: Zefan Li >> >> This is the start of the stable review cycle for the 3.4.106 release. >> There are 177 patches in this series, all will be posted as a response >> to this one. If anyone has any

Re: [PATCH v2] fbdev: ssd1307fb: return proper error code if write command fails

2015-01-29 Thread Tomi Valkeinen
On 15/01/15 21:05, Lad, Prabhakar wrote: > From: Prabhakar Lad > > this patch fixes ssd1307fb_ssd1306_init() function to return > proper error codes in case of failures. > > Signed-off-by: Lad, Prabhakar > --- > Changes for v2: > a: Added new line as per Maxime's suggestion. > >

RE: [PATCH 1/3 V3] acpi:soc: merge common codes for creating platform device

2015-01-29 Thread Xue, Ken
Hi Rafael, I looked into your patch in https://patchwork.kernel.org/patch/5677461/. I found that "XXX_platform_notify" should be implemented separately in LPSS and APD driver instead of "acpi_soc_platform_notify" in acpi_soc. Because there is WA can't be share with two

RE: [PATCH v7 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-29 Thread Ong, Boon Leong
Hi Bryan, I just tested v7 on Galileo Gen v2 & v1. I found it satisfactory. Thanks! I give you my Tested-and-Reviewed-by. Thanks. Gen v2: root@quark:~# dmesg | grep imr [3.733855] imr: protecting kernel .text - .rodata: 9244 KiB (c100 - c1907000) [3.742379]

RE: [PATCH v7 2/2] x86, quark: Add Intel Quark platform support

2015-01-29 Thread Ong, Boon Leong
>-Original Message- >From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- >ow...@vger.kernel.org] On Behalf Of Bryan O'Donoghue >Sent: Friday, January 30, 2015 11:06 AM >To: t...@linutronix.de; mi...@redhat.com; h...@zytor.com; x...@kernel.org; >dvh...@infradead.org;

Re: [PATCH] x86/mm, hibernate: Fix misjudgment of register setup_data page to nosave region

2015-01-29 Thread Yinghai Lu
On Thu, Jan 29, 2015 at 7:58 PM, Lee, Chun-Yi wrote: > > diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c > index 49f8864..6eae021 100644 > --- a/arch/x86/kernel/e820.c > +++ b/arch/x86/kernel/e820.c > @@ -687,15 +687,16 @@ void __init parse_e820_ext(u64 phys_addr, u32 data_len) >

RE: [PATCH v5 00/13] AT91 pm cleanup for 3.20

2015-01-29 Thread Yang, Wenyou
Hi Nicolas, > -Original Message- > From: Ferre, Nicolas > Sent: Thursday, January 29, 2015 9:09 PM > To: Yang, Wenyou; li...@arm.linux.org.uk > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > alexandre.bell...@free-electrons.com; sylvain.roc...@finsecur.com; >

[PATCH v12 07/28] scripts/gdb: Add automatic symbol reloading on module insertion

2015-01-29 Thread Jan Kiszka
This installs a silent breakpoint on the do_init_module function. The breakpoint handler will try to load symbols from the module files found during lx-symbols execution. This way, breakpoints can be set to module initialization functions, and there is no need to explicitly call lx-symbols after

[PATCH v12 12/28] scripts/gdb: Add task iteration class

2015-01-29 Thread Jan Kiszka
This class allows to iterate over all tasks of the target. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/tasks.py | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 scripts/gdb/linux/tasks.py diff --git a/scripts/gdb/linux/tasks.py

[PATCH v12 11/28] scripts/gdb: Add lx-dmesg command

2015-01-29 Thread Jan Kiszka
This pokes into the log buffer of the debugged kernel, dumping it to the gdb console. Helping in case the target should or can no longer execute dmesg itself. CC: Kay Sievers Signed-off-by: Jan Kiszka --- scripts/gdb/linux/dmesg.py | 64 ++

RE: [PATCH v2 3/3] pm: at91: add disable/enable the L1/L2 cache while suspend/resume

2015-01-29 Thread Yang, Wenyou
Hi Russell, Thank you very much for your suggestion. I will redo this patch to use the cache helper functions ASAP. > -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Thursday, January 29, 2015 7:35 PM > To: Yang, Wenyou > Cc: Ferre, Nicolas;

[PATCH v12 01/28] scripts/gdb: Add infrastructure

2015-01-29 Thread Jan Kiszka
This provides the basic infrastructure to load kernel-specific python helper scripts when debugging the kernel in gdb. The loading mechanism is based on gdb loading for -gdb.py when opening . Therefore, this places a corresponding link to the main helper script into the output directory that

[PATCH v12 14/28] scripts/gdb: Add is_target_arch helper

2015-01-29 Thread Jan Kiszka
This helper caches to result of "show architecture" and matches the provided arch (sub-)string against that output. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/utils.py | 13 + 1 file changed, 13 insertions(+) diff --git a/scripts/gdb/linux/utils.py b/scripts/gdb/linux/utils.py

[PATCH v12 10/28] scripts/gdb: Add read_u16/32/64 helpers

2015-01-29 Thread Jan Kiszka
Add helpers for reading integers from target memory buffers. Required when caching the memory access is more efficient than reading individual values via gdb. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/utils.py | 21 + 1 file changed, 21 insertions(+) diff --git

[PATCH v12 13/28] scripts/gdb: Add helper and convenience function to look up tasks

2015-01-29 Thread Jan Kiszka
Add the helper task_by_pid that can look up a task by its PID. Also export it as a convenience function. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/tasks.py | 27 +++ scripts/gdb/vmlinux-gdb.py | 1 + 2 files changed, 28 insertions(+) diff --git

[PATCH v12 03/28] scripts/gdb: Add container_of helper and convenience function

2015-01-29 Thread Jan Kiszka
Provide an internal helper with container_of semantics. As type lookups are very slow in gdb-python and we need a type "long" for this, cache the reference to this type object. Then export the helper also as a convenience function form use at the gdb command line. Signed-off-by: Jan Kiszka ---

[PATCH v12 27/28] scripts/gdb: Define maintainer

2015-01-29 Thread Jan Kiszka
I'm proposing myself for keeping an eye on these scripts and integrating contributions. Signed-off-by: Jan Kiszka --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2ebb056..3570313 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4164,6

[PATCH v12 18/28] scripts/gdb: Add lx_current convenience function

2015-01-29 Thread Jan Kiszka
This is a shorthand for *$lx_per_cpu("current_task"), i.e. a convenience function to retrieve the currently running task of the active context. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/cpus.py | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH v12 08/28] scripts/gdb: Add internal helper and convenience function to look up a module

2015-01-29 Thread Jan Kiszka
Add the internal helper get_module_by_name to obtain the module structure corresponding to the given name. Also export this service as a convenience function. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/modules.py | 28 scripts/gdb/vmlinux-gdb.py | 1 + 2

[PATCH v12 28/28] scripts/gdb: Disable pagination while printing from breakpoint handler

2015-01-29 Thread Jan Kiszka
While reporting the (refreshed) list of modules on automatic updates we may hit the page boundary of the output console and cause a stop if pagination is enabled. However, gdb does not accept user input while running over the breakpoint handler. So we get stuck, and the user is forced to interrupt

[PATCH v12 16/28] scripts/gdb: Add get_gdbserver_type helper

2015-01-29 Thread Jan Kiszka
This helper probes the type of the gdb server. Supported are QEMU and KGDB so far. Knowledge about the gdb server is required e.g. to retrieve the current CPU or current task. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/utils.py | 35 +++ 1 file changed, 35

[PATCH v12 04/28] scripts/gdb: Add module iteration class

2015-01-29 Thread Jan Kiszka
Will soon be used for loading symbols, printing global variables or listing modules. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/modules.py | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 scripts/gdb/linux/modules.py diff --git

[PATCH v12 09/28] scripts/gdb: Add get_target_endianness helper

2015-01-29 Thread Jan Kiszka
Parse the target endianness from the output of "show endian" and cache the result to return it via the new helper get_target_endiannes. We will need it for reading integers from buffers that contain target memory. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/utils.py | 18 ++

[PATCH v12 22/28] scripts/gdb: Port to python3 / gdb7.7

2015-01-29 Thread Jan Kiszka
From: Pantelis Koukousoulas I tried to use these scripts in an ubuntu 14.04 host (gdb 7.7 compiled against python 3.3) but there were several errors. I believe this patch fixes these issues so that the commands now work (I tested lx-symbols, lx-dmesg, lx-lsmod). Main issues that needed to be

[PATCH v12 06/28] module: Do not inline do_init_module

2015-01-29 Thread Jan Kiszka
This provides a reliable breakpoint target, required for automatic symbol loading via the gdb helper command 'lx-symbols'. CC: Rusty Russell Signed-off-by: Jan Kiszka --- kernel/module.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kernel/module.c

[PATCH v12 25/28] scripts/gdb: Convert ModuleList to generator function

2015-01-29 Thread Jan Kiszka
Analogously to the task list, convert the module list to a generator function. It noticeably simplifies the code. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/modules.py | 33 +++-- scripts/gdb/linux/symbols.py | 2 +- 2 files changed, 12 insertions(+), 23

[PATCH v12 23/28] scripts/gdb: Ignore byte-compiled python files

2015-01-29 Thread Jan Kiszka
From: Daniel Thompson Using the gdb scripts leaves byte-compiled python files in the scripts/ directory. These should be ignored by git. Signed-off-by: Daniel Thompson Cc: Michal Marek Cc: linux-kbu...@vger.kernel.org [Jan: drop redundant mrproper rule as suggested by Michal] Signed-off-by:

[PATCH v12 02/28] scripts/gdb: Add cache for type objects

2015-01-29 Thread Jan Kiszka
Type lookups are very slow in gdb-python which is often noticeable when iterating over a number of objects. Introduce the helper class CachedType that keeps a reference to a gdb.Type object but also refreshes it after an object file has been loaded. Signed-off-by: Jan Kiszka ---

[PATCH v12 17/28] scripts/gdb: Add internal helper and convenience function for per-cpu lookup

2015-01-29 Thread Jan Kiszka
This function allows to obtain a per-cpu variable, either of the current or an explicitly specified CPU. Note: sparc64 version is untested. CC: "David S. Miller" CC: sparcli...@vger.kernel.org Signed-off-by: Jan Kiszka --- scripts/gdb/linux/cpus.py | 68

[PATCH v12 24/28] scripts/gdb: Use a generator instead of iterator for task list

2015-01-29 Thread Jan Kiszka
From: Daniel Wagner The iterator does not return any task_struct from the thread_group list because the first condition in the 'if not t or ...' will only be the first time None. Instead of keeping track of the state ourself in the next() function, we fall back using Python's generator.

[PATCH v12 26/28] scripts/gdb: Convert CpuList to generator function

2015-01-29 Thread Jan Kiszka
Yet another code simplification. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/cpus.py| 71 scripts/gdb/linux/modules.py | 2 +- 2 files changed, 33 insertions(+), 40 deletions(-) diff --git a/scripts/gdb/linux/cpus.py

[PATCH v12 05/28] scripts/gdb: Add lx-symbols command

2015-01-29 Thread Jan Kiszka
This is probably the most useful helper when debugging kernel modules: lx-symbols first reloads vmlinux. Then it searches recursively for *.ko files in the specified paths and the current directory. Finally it walks the kernel's module list, issuing the necessary add-symbol-file command for each

[PATCH v12 15/28] scripts/gdb: Add internal helper and convenience function to retrieve thread_info

2015-01-29 Thread Jan Kiszka
Add the internal helper get_thread_info that calculates the thread_info from a given task variable. Also export this service as a convenience function. Note: ia64 version is untested. CC: Tony Luck CC: Fenghua Yu CC: linux-i...@vger.kernel.org Signed-off-by: Jan Kiszka ---

[PATCH v12 19/28] scripts/gdb: Add class to iterate over CPU masks

2015-01-29 Thread Jan Kiszka
Will be used first to count module references. It is optimized to read the mask only once per stop. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/cpus.py | 54 +++ 1 file changed, 54 insertions(+) diff --git a/scripts/gdb/linux/cpus.py

[PATCH v12 21/28] scripts/gdb: Add basic documentation

2015-01-29 Thread Jan Kiszka
CC: Rob Landley CC: linux-...@vger.kernel.org Signed-off-by: Jan Kiszka --- Documentation/gdb-kernel-debugging.txt | 160 + 1 file changed, 160 insertions(+) create mode 100644 Documentation/gdb-kernel-debugging.txt diff --git

[PATCH v12 00/28] Add gdb python scripts as kernel debugging helpers

2015-01-29 Thread Jan Kiszka
Hi Andrew, this is an update to address the review comments provided by Michal Marek on v11. Changes since v11: - drop redundant subdir rule - fold *.pyo into existing clean-files rules See http://lkml.indiana.edu/hypermail/linux/kernel/1210.0/01598.html for the original description and

[PATCH v12 20/28] scripts/gdb: Add lx-lsmod command

2015-01-29 Thread Jan Kiszka
This adds a lsmod-like command to list all currently loaded modules of the target. Signed-off-by: Jan Kiszka --- scripts/gdb/linux/modules.py | 46 +++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/scripts/gdb/linux/modules.py

Re: [PATCH v2] kernel: Conditionally support non-root users, groups and capabilities

2015-01-29 Thread Paul E. McKenney
On Thu, Jan 29, 2015 at 06:25:23PM -0800, Casey Schaufler wrote: > On 1/29/2015 5:36 PM, Paul E. McKenney wrote: > > On Thu, Jan 29, 2015 at 05:25:56PM -0800, Casey Schaufler wrote: > >> On 1/29/2015 4:32 PM, Paul E. McKenney wrote: > >>> On Thu, Jan 29, 2015 at 03:44:46PM -0800, Casey Schaufler

RE: [PATCH 2/7] pm: at91: pm_suspend: add the WFI support for ARMv7

2015-01-29 Thread Yang, Wenyou
Hi Lorenzo, Thanks a lot. > -Original Message- > From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] > Sent: Thursday, January 29, 2015 8:22 PM > To: Yang, Wenyou > Cc: Ferre, Nicolas; li...@arm.linux.org.uk; > linux-arm-ker...@lists.infradead.org; > linux-kernel@vger.kernel.org;

Re: Refactoring mutex spin on owner code

2015-01-29 Thread Davidlohr Bueso
On Thu, 2015-01-29 at 17:52 -0800, Jason Low wrote: > On Thu, 2015-01-29 at 15:15 -0800, Davidlohr Bueso wrote: > > On Thu, 2015-01-29 at 12:18 -0800, Jason Low wrote: > > > /* > > > - * We break out the loop above on need_resched() and when the > > > - * owner changed, which is a sign for

[PATCH v4] doc: brief user documentation for completion

2015-01-29 Thread Nicholas Mc Guire
Signed-off-by: Nicholas Mc Guire --- v3: cleanups and merged review notes from Jonathan Corbet v4: english cleanup and an important ommission on scope from Valdis Kletniek Documentation/scheduler/completion.txt | 245 1 file changed, 245 insertions(+)

RE: [PATCH v4 05/13] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-29 Thread Yang, Wenyou
Hi Alexandre, > -Original Message- > From: Alexandre Belloni [mailto:alexandre.bell...@free-electrons.com] > Sent: Thursday, January 29, 2015 11:09 PM > To: Russell King - ARM Linux > Cc: Yang, Wenyou; Ferre, Nicolas; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org;

linux-next: Tree for Jan 30

2015-01-29 Thread Stephen Rothwell
Hi all, Changes since 20150129: The arm-soc gained conflicts against the arm-current and arm trees. The spi tree gained a build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 6300 6348 files changed, 255117 insertions(+), 131620 deletions

RE: [PATCH v4 05/13] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-29 Thread Yang, Wenyou
Hi Russell, Thank you for your review. > -Original Message- > From: Russell King - ARM Linux [mailto:li...@arm.linux.org.uk] > Sent: Thursday, January 29, 2015 7:28 PM > To: Yang, Wenyou > Cc: Ferre, Nicolas; linux-arm-ker...@lists.infradead.org; linux- > ker...@vger.kernel.org;

RE: [PATCH v5 05/13] pm: at91: move the copying the sram function to the sram initializationi phase

2015-01-29 Thread Yang, Wenyou
Hi Sergei, Thank you for your review and suggestion. > -Original Message- > From: Sergei Shtylyov [mailto:sergei.shtyl...@cogentembedded.com] > Sent: Thursday, January 29, 2015 6:11 PM > To: Yang, Wenyou; Ferre, Nicolas; li...@arm.linux.org.uk > Cc: linux-arm-ker...@lists.infradead.org;

[Patch v2 2/6] mfd: qcom,tcsr: Add device tree binding for TCSR

2015-01-29 Thread Andy Gross
This patch adds the device tree binding for the Qualcomm Top Control and Status Register device. The TCSR is comprised of a set of registers that provide various control and status functions for attached peripherals. Signed-off-by: Andy Gross --- .../devicetree/bindings/mfd/qcom,tcsr.txt

[Patch v2 1/6] soc: qcom: gsbi: Add support for ADM CRCI muxing

2015-01-29 Thread Andy Gross
This patch adds automatic configuration for the ADM CRCI muxing required to support DMA operations for GSBI clients. The GSBI mode and instance determine the correct TCSR ADM CRCI MUX value that must be programmed so that the DMA works properly. Signed-off-by: Andy Gross ---

Re: [RFC] Making memcg track ownership per address_space or anon_vma

2015-01-29 Thread Tejun Heo
Hello, Greg. On Thu, Jan 29, 2015 at 09:55:53PM -0800, Greg Thelen wrote: > I find simplification appealing. But I not sure it will fly, if for no > other reason than the shared accountings. I'm ignoring intentional > sharing, used by carefully crafted apps, and just thinking about > incidental

[Patch v2 5/6] ARM: DT: msm8660: Add TCSR support

2015-01-29 Thread Andy Gross
This patch adds TCSR support for use by the GSBI to automatically configure ADM CRCI values based on the GSBI port configuration. Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-msm8660.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git

[Patch v2 4/6] ARM: DT: ipq8064: Add TCSR support

2015-01-29 Thread Andy Gross
This patch adds TCSR support for use by the GSBI to automatically configure ADM CRCI values based on the GSBI port configuration. Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git

[Patch v2 0/6] GSBI CRCI Autoconfiguration Support

2015-01-29 Thread Andy Gross
This patch set adds support for automatic configuration of GSBI DMA CRCI values. DMA operations require that the ADM CRCI mux values be properly configured in the TCSR (Top Control and Status Register) block. During probing of a GSBI device, the client mode must be declared and this can be used

[Patch v2 6/6] ARM: DT: msm8960: Add TCSR support

2015-01-29 Thread Andy Gross
This patch adds TCSR support for use by the GSBI to automatically configure ADM CRCI values based on the GSBI port configuration. Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-msm8960.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git

[Patch v2 3/6] ARM: DT: apq8064: Add TCSR support

2015-01-29 Thread Andy Gross
This patch adds TCSR support for use by the GSBI to automatically configure ADM CRCI values based on the GSBI port configuration. Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-apq8064.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git

[RFC] mm:change /proc/smaps caculation behavior

2015-01-29 Thread Wang, Yalin
This patch change smaps pagetable walk behavior, to make sure not skip VM_PFNMAP pagetables, so that we can calculate COW pages of VM_PFNMAP as normal pages. Signed-off-by: Yalin Wang --- fs/proc/task_mmu.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/fs/proc/task_mmu.c

[PATCH v4 4/7] usb: serial: reimplement RX bulk-in ep for F81232

2015-01-29 Thread Peter Hung
The F81232 bulk-in is RX data channel. Data format is [LSR+Data][LSR+Data]. , We had reimplemented in this patch. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 47 +++-- 1 file changed, 15 insertions(+), 32 deletions(-) diff --git

[PATCH v4 6/7] usb: serial: implement MCR/MSR function for F81232

2015-01-29 Thread Peter Hung
This patch implement relative MCR/MSR function, such like tiocmget()/tiocmset()/dtr_rts(). The update_mctrl() replace set_control_lines() to do MCR control so we clean-up the set_control_lines() function. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 105

Re: [PATCH v2 12/15] spi/xilinx: Remove iowrite/ioread wrappers

2015-01-29 Thread Ricardo Ribalda Delgado
Hello Mark This patch has caused a lot of issues on linux-next :S, sorry. The root of the issue is that iowrite/ioread behaves differently in different arches. 1) It does not necesary need to be a symbol in all the arches. It can be declared as a function macro: #define iowrite32(a,b)

[PATCH v4 2/7] usb: serial: modify author for F81232

2015-01-29 Thread Peter Hung
add co-author and fix no '>' in greg kh's email Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index 4f42e9d..9ef9775 100644 ---

[PATCH v4 7/7] usb: serial: modify ioctl TIOCGSERIAL for F81232

2015-01-29 Thread Peter Hung
Set correct product type from 16654 to 16550A and fix the ioctl TIOCGSERIAL return struct values. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c

[PATCH v4 5/7] usb: serial: implement set_termios for F81232

2015-01-29 Thread Peter Hung
The original driver had do not any h/w change in driver. This patch implements with configure H/W for baud/parity/word length/stop bits functional. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 144 +--- 1 file changed, 137 insertions(+), 7

[PATCH v4 1/7] usb: serial: modify bulk-in/out size for F81232

2015-01-29 Thread Peter Hung
The F81232 real bulk-in/out ep buffer size is 64Bytes Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/f81232.c b/drivers/usb/serial/f81232.c index c5dc233..4f42e9d 100644 ---

[PATCH v4 3/7] usb: serial: implement read IIR/MSR ep for F81232

2015-01-29 Thread Peter Hung
The F81232 interrupt ep will continuously report IIR register value. We had implement the interrupt callback to read IIR, If noticed with MSR change, we will call worker to read MSR later. Signed-off-by: Peter Hung --- drivers/usb/serial/f81232.c | 114

Re: [PATCH 4/6] i2c: busses: add SLIMpro I2C device driver on APM X-Gene platform

2015-01-29 Thread Wolfram Sang
> > ctx->dev is probably the wrong device here. The i2c controller is not > > DMA capable itself, you need to have a pointer to the device that actually > > performs the DMA here. > > Arnd, I do agree this may not be the best identification. There is no > representation for this on the Linux

[PATCH] spi/xilinx: Fix access invalid memory on xilinx_spi_tx

2015-01-29 Thread Ricardo Ribalda Delgado
On 1 and 2 bytes per word, the transfer of the 3 last bytes will access memory outside rx_ptr. Although this has not trigger any error on real hardware, we should better fix this. Fixes: 24ba5e593f391507 Remove rx_fn and tx_fn pointer Signed-off-by: Ricardo Ribalda Delgado ---

Re: [RFC] Making memcg track ownership per address_space or anon_vma

2015-01-29 Thread Greg Thelen
On Thu, Jan 29 2015, Tejun Heo wrote: > Hello, > > Since the cgroup writeback patchset[1] have been posted, several > people brought up concerns about the complexity of allowing an inode > to be dirtied against multiple cgroups is necessary for the purpose of > writeback and it is true that a

RE: [PATCH 2/3] hv: vmbus_post_msg: retry the hypercall on HV_STATUS_INVALID_CONNECTION_ID

2015-01-29 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, January 29, 2015 21:31 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

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

2015-01-29 Thread Ricardo Ribalda Delgado
Hello Stephen The root of the issue is that iowrite/ioread behaves differently in different arches. 1) It does not necesary need to be a symbol in all the arches. It can be declared as a function macro: #define iowrite32(a,b) iowrite32(a,b) 2) Sometimes, even the function has a different

Re: [PATCH] cpuidle/powernv: Enter fastsleep on checking if deep idle states are allowed

2015-01-29 Thread Preeti U Murthy
On 09/15/2014 02:22 PM, Preeti U Murthy wrote: > On 09/15/2014 12:29 PM, Michael Ellerman wrote: >> On Fri, 2014-09-12 at 16:31 +0530, Preeti U Murthy wrote: >>> Today the procfs interface /proc/sys/kernel/powersave-nap is used to control >>> entry into deep idle states beyond snooze. Check for

RE: [PATCH 2/3] hv: vmbus_post_msg: retry the hypercall on HV_STATUS_INVALID_CONNECTION_ID

2015-01-29 Thread Dexuan Cui
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Friday, January 30, 2015 10:47 AM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; KY > Srinivasan;

Re: [PATCH v6 2/6] input: touchscreen: ti_am335x_tsc: Remove udelay in interrupt handler

2015-01-29 Thread Vignesh R
On Wednesday 07 January 2015 11:19 AM, Vignesh R wrote: > From: Brad Griffis > > TSC interrupt handler had udelay to avoid reporting of false pen-up > interrupt to user space. This patch implements workaround suggesting in > Advisory 1.0.31 of silicon errata for am335x, thus eliminating udelay

Re: [v4] QE: Move QE from arch/powerpc to drivers/soc

2015-01-29 Thread Scott Wood
On Wed, Nov 12, 2014 at 11:40:13AM +0800, Zhao Qiang wrote: > ls1 has qe and ls1 has arm cpu. > move qe from arch/powerpc to drivers/soc/fsl > to adapt to powerpc and arm > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - move code to driver/soc > Changes for v3: > - change

RE: [PATCH 4/5] f2fs: should fail mount when trying to recover data on read-only dev

2015-01-29 Thread Chao Yu
> -Original Message- > From: linux-fsdevel-ow...@vger.kernel.org > [mailto:linux-fsdevel-ow...@vger.kernel.org] On > Behalf Of Jaegeuk Kim > Sent: Wednesday, January 28, 2015 7:32 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; >

RE: [PATCH 5/5] f2fs: introduce a batched trim

2015-01-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, January 30, 2015 5:41 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [PATCH 5/5] f2fs: introduce a

RE: [PATCH 4/5] f2fs: should fail mount when trying to recover data on read-only dev

2015-01-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, January 30, 2015 5:40 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [PATCH 4/5] f2fs: should fail

RE: [f2fs-dev] [PATCH 2/5 v2] f2fs: support norecovery mount option

2015-01-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, January 30, 2015 2:31 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 2/5 v2] f2fs: support

RE: [PATCH 2/5] f2fs: support norecovery mount option

2015-01-29 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, January 30, 2015 2:28 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [PATCH 2/5] f2fs: support

RE: [PATCH 3/3] hv: vmbus_open(): reset the channel state on ENOMEM

2015-01-29 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, January 29, 2015 21:22 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

RE: [PATCH 1/5 v2] f2fs: fix not to drop mount options when retrying fill_super

2015-01-29 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, January 30, 2015 2:21 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [PATCH 1/5 v2] f2fs: fix not to drop mount

Re: [PATCH] arm: reduce conflicts in Kcinfig.debug

2015-01-29 Thread Baruch Siach
Hi Stephen, On Fri, Jan 30, 2015 at 01:01:17PM +1100, Stephen Rothwell wrote: > I have seen several conflicts in this file (and other Kconfig files) > over time, so I suggest a solution like below. > > Create new config symbols that can be selected by other configs > and use them as single

[PATCH] devfreq: Fix build break of devfreq-event class

2015-01-29 Thread Chanwoo Choi
This patch fixes the build break of the exynos-ppmu driver because Makefile in drivers/devfreq don't include the entry of devfreq-event.c driver. The original patch[1] includes the entry to build devfreq-event.c without the build break. This build break is generated in the process of merging the

[RFC] Making memcg track ownership per address_space or anon_vma

2015-01-29 Thread Tejun Heo
Hello, Since the cgroup writeback patchset[1] have been posted, several people brought up concerns about the complexity of allowing an inode to be dirtied against multiple cgroups is necessary for the purpose of writeback and it is true that a significant amount of complexity (note that bdi still

RE: [PATCH v3 3/3] Drivers: hv: vmbus: serialize Offer and Rescind offer

2015-01-29 Thread Dexuan Cui
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Thursday, January 29, 2015 18:09 PM > To: Dexuan Cui > Cc: Vitaly Kuznetsov; KY Srinivasan; de...@linuxdriverproject.org; Haiyang > Zhang; > linux-kernel@vger.kernel.org; Radim Krčmář; Dan Carpenter > Subject:

RE: [PATCH 1/3] hv: hv_util: move vmbus_open() to a later place

2015-01-29 Thread Dexuan Cui
> -Original Message- > From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] > Sent: Thursday, January 29, 2015 21:13 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; >

Re: [PATCH 0/2] Add device_create_files() and device_remove_files() helpers

2015-01-29 Thread Greg Kroah-Hartman
On Thu, Jan 29, 2015 at 12:11:21AM +0100, Takashi Iwai wrote: > At Wed, 28 Jan 2015 14:28:51 -0800, > Greg Kroah-Hartman wrote: > > > > On Wed, Jan 28, 2015 at 11:18:57PM +0100, Takashi Iwai wrote: > > > At Wed, 28 Jan 2015 13:34:21 -0800, > > > Greg Kroah-Hartman wrote: > > > > > > > > On Wed,

Re: [git pull] drm intel and dp mst fix

2015-01-29 Thread Dave Airlie
oops didn't realise I sent an empty mail, ignore and get the next one! On 30 January 2015 at 13:51, Dave Airlie wrote: > > ___ > dri-devel mailing list > dri-de...@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- To

Re: [RFC][PATCH] cpuset, sched: Fix cpuset sched_relax_domain_level

2015-01-29 Thread Zefan Li
On 2015/1/29 4:47, Jason Low wrote: > The cpuset.sched_relax_domain_level can control how far we do > immediate load balancing on a system. However, it was found on recent > kernels that echo'ing a value into cpuset.sched_relax_domain_level > did not reduce any immediate load balancing. > > The

Re: [1/3] powerpc/pmac: Fix DT refcount imbalance in pmac_pic_probe_oldstyle

2015-01-29 Thread Michael Ellerman
On Wed, 2015-14-01 at 13:51:57 UTC, Geert Uytterhoeven wrote: > of_find_node_by_name() calls of_node_put() on its "from" parameter, > which must not be done on "master", as it's still in use, and will be > released manually later. This may cause a zero kref refcount. > Use of_get_child_by_name()

  1   2   3   4   5   6   7   8   9   10   >