Re: [PATCH-v6 5/6] mfd: 88pm800: Set default interrupt clear method

2015-08-24 Thread Vaibhav Hiremath
On Monday 24 August 2015 07:24 PM, Lee Jones wrote: On Wed, 08 Jul 2015, Vaibhav Hiremath wrote: As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing interrupt status of 88pm800 family of devices; 0: clear on read 1: clear on write If pdata

Re: [PATCH] kernel/sysctl.c: If count including the terminating byte '\0' the write system call should retrun success.

2015-08-24 Thread Sean Fu
On Mon, Aug 24, 2015 at 8:27 PM, Eric W. Biederman ebied...@xmission.com wrote: On August 24, 2015 1:56:13 AM PDT, Sean Fu fxinr...@gmail.com wrote: when the input argument count including the terminating byte \0, The write system call return EINVAL on proc file. But it return success on

[PATCH v3 1/1] USB:option:add ZTE PIDs

2015-08-24 Thread Liu.Zhao
This is intended to add ZTE device PIDs on kernel. Signed-off-by: Liu.Zhao lzsos...@163.com --- drivers/usb/serial/option.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 876423b..6b4a766 100644 ---

[PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE

2015-08-24 Thread Brijesh Singh
Fix autoloading ipmi modules when using device tree. Signed-off-by: Brijesh Singh brijeshkumar.si...@amd.com --- drivers/char/ipmi/ipmi_si_intf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 8a45e92..cddc7b0 100644

[PATCH v3 5/6] ARCv2: perf: SMP support

2015-08-24 Thread Alexey Brodkin
* split off pmu info into singleton and per-cpu bits * setup PMU on all cores Cc: Peter Zijlstra pet...@infradead.org Cc: Arnaldo Carvalho de Melo a...@kernel.org Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- No changes since v2. Compared to v1: [1] Rebase on top of previos patches

[PATCH v3 4/6] ARCv2: perf: implement exclusion of event counting in user or kernel mode

2015-08-24 Thread Alexey Brodkin
Cc: Peter Zijlstra pet...@infradead.org Cc: Arnaldo Carvalho de Melo a...@kernel.org Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- No changes since v2. No changes since v1. arch/arc/include/asm/perf_event.h | 3 +++ arch/arc/kernel/perf_event.c | 16 ++-- 2 files

[PATCH v3 1/6] ARC: perf: cap the number of counters to hardware max of 32

2015-08-24 Thread Alexey Brodkin
From: Vineet Gupta vgu...@synopsys.com The number of counters in PCT can never be more than 32 (while countable conditions could be 100+) for both ARCompact and ARCv2 And while at it update copyright dates. Cc: Peter Zijlstra pet...@infradead.org Cc: Arnaldo Carvalho de Melo a...@kernel.org

Re: [PATCH] clockevents/drivers/mtk: Fix spurious interrupt leading to crash

2015-08-24 Thread Yingjoe Chen
On Mon, 2015-08-24 at 15:30 +0200, Daniel Lezcano wrote: After analysis done by Yingjoe Chen, the timer appears to have a pending interrupt when it is enabled. Fix this by acknowledging the pending interrupt when enabling the timer interrupt. Signed-off-by: Daniel Lezcano

[PATCH v2 3/6] perf: Annotate some of the error codes with perf_err()

2015-08-24 Thread Alexander Shishkin
This patch annotates a few semi-random error paths in perf core to illustrate the extended error reporting facility. Most of them can be triggered from perf tools. Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com --- kernel/events/core.c | 20 +++- 1 file

[PATCH v2 4/6] perf/x86: Annotate some of the error codes with perf_err()

2015-08-24 Thread Alexander Shishkin
This patch annotates a few x86-specific error paths with perf's extended error reporting facility. Signed-off-by: Alexander Shishkin alexander.shish...@linux.intel.com --- arch/x86/kernel/cpu/perf_event.c | 8 ++-- arch/x86/kernel/cpu/perf_event_intel_lbr.c | 2 +- 2 files changed,

Re: [PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Vlastimil Babka
On 08/24/2015 03:50 PM, Konstantin Khlebnikov wrote: On Mon, Aug 24, 2015 at 4:30 PM, Vlastimil Babka vba...@suse.cz wrote: On 08/24/2015 12:17 PM, Konstantin Khlebnikov wrote: I am in the middle of implementing lock on fault this way, but I cannot see how we will hanlde mremap of a lock on

[PATCH v11 02/20] x86/asm: Add C versions of frame pointer macros

2015-08-24 Thread Josh Poimboeuf
Add C versions of the frame pointer macros which can be used to create a stack frame in inline assembly. Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- arch/x86/include/asm/frame.h | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git

[PATCH v11 00/20] Compile-time stack validation

2015-08-24 Thread Josh Poimboeuf
This is v11 of the compile-time stack validation patch set, along with proposed fixes for many of the warnings it found. It's based on the tip/master branch. The only real change since v10 is some improvements in patch 3 to the documentation and changelog which attempt to better describe why

[PATCH v11 05/20] x86/stackvalidate: Add ignore macros

2015-08-24 Thread Josh Poimboeuf
Add new stackvalidate ignore macros: STACKVALIDATE_IGNORE_INSN and STACKVALIDATE_IGNORE_FUNC. These can be used to tell stackvalidate to skip validation of an instruction or a function, respectively. Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- arch/x86/include/asm/stackvalidate.h | 45

[PATCH v11 18/20] x86/asm: Create stack frames in rwsem functions

2015-08-24 Thread Josh Poimboeuf
rwsem.S has several callable non-leaf functions which don't honor CONFIG_FRAME_POINTER, which can result in bad stack traces. Create stack frames for them when CONFIG_FRAME_POINTER is enabled. Signed-off-by: Josh Poimboeuf jpoim...@redhat.com --- arch/x86/lib/rwsem.S | 11 ++- 1 file

Re: [PATCH-v3 1/2] mfd: devicetree: bindings: 88pm800: Add DT property for dual phase enable

2015-08-24 Thread Vaibhav Hiremath
On Monday 24 August 2015 06:32 PM, Lee Jones wrote: On Mon, 24 Aug 2015, Vaibhav Hiremath wrote: 88PM860 family of device supports dual phase mode on BUCK1 supply providing total 6A capacity. Note that by default they operate independently with 3A capacity. This patch updates the devicetree

Re: [PATCH v2] scripts/checkkconfigsymbols.py: support default statements

2015-08-24 Thread Valentin Rothberg
Hi Michal, On Mon, Aug 24, 2015 at 4:49 PM, Michal Marek mma...@suse.cz wrote: On 2015-07-27 12:33, Valentin Rothberg wrote: Until now, checkkonfigsymbols.py did not check default statements for references on missing Kconfig symbols (i.e., undefined Kconfig options). Hence, add support to

[PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt

2015-08-24 Thread Yaowei Bai
There is no 'crashkernel=auto' entry in kernel-parameters.txt, borrow it from kexec-kdump-howto.txt file in the kexec-tools-2.0.0 package. Signed-off-by: Yaowei Bai bywxiao...@163.com --- Documentation/kernel-parameters.txt | 9 + 1 file changed, 9 insertions(+) diff --git

Re: [PATCH] mmc/sdhci-acpi: enable sdhci-acpi device to suspend/resume asynchronously

2015-08-24 Thread Fu, Zhonghui
On 2015/8/17 14:51, Adrian Hunter wrote: On 17/08/15 06:38, Fu, Zhonghui wrote: Hi, Any comments are welcome. Same comments as here: http://marc.info/?l=linux-kernelm=143979428424353w=2 Now, PM core support asynchronous device suspend/resume mode. If one device has been set to

Re: [PATCH] i2c: enable i2c adapter to suspend/resume asynchronously

2015-08-24 Thread Fu, Zhonghui
Hi, Any comments are welcome. Thanks, Zhonghui On 2015/8/18 0:17, Fu, Zhonghui wrote: Enable i2c adapter to suspend/resume asynchronously. This can improve system suspend/resume speed. Signed-off-by: Zhonghui Fu zhonghui...@linux.intel.com --- drivers/i2c/i2c-core.c |2 ++ 1

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Liang, Kan
On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we need global topology information in perf.data and use the mapping from there, we can't use current server info we currently store core_siblings_list and thread_siblings_list, in topology FEATURE, which is

[PATCH v3 3/6] ARCv2: perf: Support sampling events using overflow interrupts

2015-08-24 Thread Alexey Brodkin
In times of ARC 700 performance counters didn't have support of interrupt an so for ARC we only had support of non-sampling events. Put simply only perf stat was functional. Now with ARC HS we have support of interrupts in performance counters which this change introduces support of. ARC

[PATCH v3 2/6] ARCv2: perf: implement event_set_period

2015-08-24 Thread Alexey Brodkin
This generalization prepares for support of overflow interrupts. Hardware event counters on ARC work that way: Each counter counts from programmed start value (set in ARC_REG_PCT_COUNT) to a limit value (set in ARC_REG_PCT_INT_CNT) and once limit value is reached this timer generates an

[PATCH v3 0/6] ARCv2 port to Linux - (C) perf

2015-08-24 Thread Alexey Brodkin
Hi Peter, This mini-series adds perf support for ARCv2 based cores, which brings in overflow interupts and SMP. Additionally now raw events are supported as well. Please review ! Compared to v2 this series has: [1] Removed patch with raw-events support. It needs some rework and let's then

Re: [PATCH] scripts/kernel-doc: Improve Markdown results

2015-08-24 Thread Graham Whaley
On Fri, 2015-08-21 at 16:39 -0300, Danilo Cesar Lemes de Paula wrote: Using pandoc as the Markdown engine cause some minor side effects as pandoc includes main para tags for almost everything. Original Markdown support approach removes those main tags, but it caused some inconsistencies when

Re: [PATCH 0/2] kbuild: Minor cleanups of fixdep

2015-08-24 Thread Michal Marek
On 2015-07-24 07:18, Masahiro Yamada wrote: Masahiro Yamada (2): kbuild: fixdep: optimize code slightly kbuild: fixdep: drop meaningless hash table initialization scripts/basic/fixdep.c | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) Applied to

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-08-24 Thread Thomas Gleixner
On Mon, 24 Aug 2015, Qais Yousef wrote: On 08/24/2015 02:32 PM, Marc Zyngier wrote: I'd rather see something more architected than this blind export, or at least some level of filtering (the idea random drivers can access such a low-level function doesn't make me feel very good). I don't

Re: [PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Mon, Aug 24, 2015 at 6:09 PM, Eric B Munson emun...@akamai.com wrote: On Mon, 24 Aug 2015, Vlastimil Babka wrote: On 08/24/2015 03:50 PM, Konstantin Khlebnikov wrote: On Mon, Aug 24, 2015 at 4:30 PM, Vlastimil Babka vba...@suse.cz wrote: On 08/24/2015 12:17 PM, Konstantin Khlebnikov wrote:

Re: [PATCHv3 4/5] mm: make compound_head() robust

2015-08-24 Thread Vlastimil Babka
On 08/21/2015 09:34 PM, Andrew Morton wrote: On Fri, 21 Aug 2015 22:31:09 +0300 Kirill A. Shutemov kir...@shutemov.name wrote: On Fri, Aug 21, 2015 at 11:11:27AM -0500, Christoph Lameter wrote: On Fri, 21 Aug 2015, Kirill A. Shutemov wrote: Is this really true? For example if it's a slab

Re: [PATCH 3/3 v4] mm/vmalloc: Cache the vmalloc memory info

2015-08-24 Thread John Stoffel
George John Stoffel j...@stoffel.org wrote: vmap_info_gen should be initialized to 1 to force an initial cache update. Blech, it should be initialized with a proper #define VMAP_CACHE_NEEDS_UPDATE 1, instead of more magic numbers. George Er... this is a joke, right? Not really. The

Re: [RFC] sdhci: fix DMA leaks [was: [SHDCI] Heavy (thousands) DMA leaks]

2015-08-24 Thread Laura Abbott
On 08/06/2015 02:17 AM, Chen Bough wrote: I will format a patch based on your diff file firstly. I will test this on my side, If any issue, like dma issue or performance issue, I will add some modification. Then I will send the patch for review, and you can test the patch on your platform.

Re: [PATCH linux-next v4 3/5] mtd: spi-nor: allow to tune the number of dummy cycles

2015-08-24 Thread Cyrille Pitchen
Hi Marek, Le 24/08/2015 12:48, Marek Vasut a écrit : On Monday, August 24, 2015 at 12:13:58 PM, Cyrille Pitchen wrote: The number of dummy cycles used during Fast Read commands can be reduced to improve transfer performances. Each manufacturer has a dedicated set of registers to provide the

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Austin S Hemmelgarn
On 2015-08-22 14:29, Tejun Heo wrote: Hello, Paul. On Fri, Aug 21, 2015 at 12:26:30PM -0700, Paul Turner wrote: ... A very concrete example of the above is a virtual machine in which you want to guarantee scheduling for the vCPU threads which must schedule beside many hypervisor support

Re: [PATCH v2 5/5] arm64: add KASan support

2015-08-24 Thread Andrey Ryabinin
2015-08-24 19:16 GMT+03:00 Vladimir Murzin vladimir.mur...@arm.com: On 24/08/15 17:00, Andrey Ryabinin wrote: 2015-08-24 18:44 GMT+03:00 Vladimir Murzin vladimir.mur...@arm.com: Another option would be having sparse shadow memory based on page extension. I did play with that some time ago

Re: [PATCH v3 4/6] ARCv2: perf: implement exclusion of event counting in user or kernel mode

2015-08-24 Thread Vineet Gupta
On Monday 24 August 2015 08:00 PM, Vineet Gupta wrote: On Monday 24 August 2015 07:50 PM, Alexey Brodkin wrote: Cc: Peter Zijlstra pet...@infradead.org Cc: Arnaldo Carvalho de Melo a...@kernel.org Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- No changes since v2. No

Re: [PATCH-v6 5/6] mfd: 88pm800: Set default interrupt clear method

2015-08-24 Thread Lee Jones
On Mon, 24 Aug 2015, Vaibhav Hiremath wrote: On Monday 24 August 2015 07:24 PM, Lee Jones wrote: On Wed, 08 Jul 2015, Vaibhav Hiremath wrote: As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing interrupt status of 88pm800 family of devices;

Re: [PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Eric B Munson
On Mon, 24 Aug 2015, Konstantin Khlebnikov wrote: On Mon, Aug 24, 2015 at 6:09 PM, Eric B Munson emun...@akamai.com wrote: On Mon, 24 Aug 2015, Vlastimil Babka wrote: On 08/24/2015 03:50 PM, Konstantin Khlebnikov wrote: On Mon, Aug 24, 2015 at 4:30 PM, Vlastimil Babka vba...@suse.cz

Re: [PATCH 7/7] ipmi/kcs: Don't run the KCS state machine when it is KCS_IDLE

2015-08-24 Thread Corey Minyard
On 08/23/2015 08:52 PM, 河合英宏 / KAWAI,HIDEHIRO wrote: From: Corey Minyard [mailto:tcminy...@gmail.com] On Behalf Of Corey Minyard On 08/17/2015 09:54 PM, 河合英宏 / KAWAI,HIDEHIRO wrote: From: Corey Minyard [mailto:tcminy...@gmail.com] On Behalf Of Corey Minyard This patch will break ATN handling

Re: [PATCH v2 5/5] arm64: add KASan support

2015-08-24 Thread Andrey Ryabinin
2015-08-24 18:44 GMT+03:00 Vladimir Murzin vladimir.mur...@arm.com: Another option would be having sparse shadow memory based on page extension. I did play with that some time ago based on ideas from original v1 KASan support for x86/arm - it is how 614be38 irqchip: gic-v3: Fix out of bounds

Re: [PATCH 3.12 00/82] 3.12.47-stable review

2015-08-24 Thread Guenter Roeck
On 08/24/2015 02:09 AM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.47 release. There are 82 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by

RE: [PATCH v8 1/2] irqchip: imx-gpcv2: IMX GPCv2 driver for wakeup sources

2015-08-24 Thread Shenwei Wang
-Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: 2015年8月23日 5:58 To: Wang Shenwei-B38339 Cc: shawn@linaro.org; ja...@lakedaemon.net; linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Huang Yongcai-B20788 Subject: Re: [PATCH v8 1/2]

Re: [RESEND][PATCH 4/4] ARM: dts: keystone: Add ti,keystone-spi for SPI

2015-08-24 Thread santosh shilimkar
On 8/24/2015 6:36 AM, Franklin S Cooper Jr. wrote: Hi Santosh, All the patches except this one are in linux-next. Yes I noticed it. I will queue this up for next merge window. Thanks for reminder. Regards, Santosh -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH v2 5/5] arm64: add KASan support

2015-08-24 Thread Vladimir Murzin
On 24/08/15 17:00, Andrey Ryabinin wrote: 2015-08-24 18:44 GMT+03:00 Vladimir Murzin vladimir.mur...@arm.com: Another option would be having sparse shadow memory based on page extension. I did play with that some time ago based on ideas from original v1 KASan support for x86/arm - it is how

Re: [PATCH v3 06/14] Documentation: drm/bridge: add document for analogix_dp

2015-08-24 Thread Heiko Stuebner
Am Montag, 24. August 2015, 09:48:27 schrieb Rob Herring: On Mon, Aug 24, 2015 at 7:57 AM, Russell King - ARM Linux When we adopted the graph bindings for iMX DRM, I thought exactly at that time it would be nice if this could become the standard for binding DRM components together but I

Re: [PATCH 2/2] ubifs: Allow O_DIRECT

2015-08-24 Thread Brian Norris
On Mon, Aug 24, 2015 at 10:13:25AM +0300, Artem Bityutskiy wrote: Now, some user-space fails when direct I/O is not supported. I think the whole argument rested on what it means when some user space fails; apparently that user space is just a test suite (which can/should be fixed). We can

[PATCH v9] dmaengine: Add Xilinx AXI Direct Memory Access Engine driver support

2015-08-24 Thread Kedareswara rao Appana
This is the driver for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Kedareswara rao Appana appa...@xilinx.com --- The deivce tree doc got

Re: [PATCH v2 5/5] arm64: add KASan support

2015-08-24 Thread Vladimir Murzin
On 24/08/15 15:15, Andrey Ryabinin wrote: 2015-08-24 16:45 GMT+03:00 Linus Walleij linus.wall...@linaro.org: On Mon, Aug 24, 2015 at 3:15 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Jul 21, 2015 at 11:27:56PM +0200, Linus Walleij wrote: On Tue, Jul 21, 2015 at 4:27 PM,

Re: [PATCH RESEND] sched/nohz: Affine unpinned timers to housekeepers

2015-08-24 Thread Paul E. McKenney
On Mon, Aug 24, 2015 at 04:04:37PM +0200, Frederic Weisbecker wrote: On Mon, Aug 24, 2015 at 06:50:18AM -0700, Paul E. McKenney wrote: On Mon, Aug 24, 2015 at 08:44:12AM +0200, Ingo Molnar wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com wrote: here it's fully set -

[Internal PATCH] ipmi: add of_device_id in MODULE_DEVICE_TABLE

2015-08-24 Thread Brijesh Singh
Fix autoloading ipmi modules when using device tree. Signed-off-by: Brijesh Singh brijeshkumar.si...@amd.com --- drivers/char/ipmi/ipmi_si_intf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 8a45e92..cddc7b0 100644

Re: [PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Konstantin Khlebnikov
On Mon, Aug 24, 2015 at 6:55 PM, Eric B Munson emun...@akamai.com wrote: On Mon, 24 Aug 2015, Konstantin Khlebnikov wrote: On Mon, Aug 24, 2015 at 6:09 PM, Eric B Munson emun...@akamai.com wrote: On Mon, 24 Aug 2015, Vlastimil Babka wrote: On 08/24/2015 03:50 PM, Konstantin Khlebnikov

Re: [PATCH v4] pinctrl: mediatek: Implement wake handler and suspend resume

2015-08-24 Thread Sudeep Holla
On 14/08/15 09:38, maoguang.m...@mediatek.com wrote: From: Maoguang Meng maoguang.m...@mediatek.com This patch implement irq_set_wake to get who is wakeup source and setup on suspend resume. Signed-off-by: Maoguang Meng maoguang.m...@mediatek.com --- changes since v3: -add a comment in

Re: [PATCH] irqchip, gicv3-its, numa: Workaround for Cavium ThunderX erratum 23144

2015-08-24 Thread Ganapatrao Kulkarni
Hi Marc, thanks for the suggestions. On Mon, Aug 24, 2015 at 7:17 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 24/08/15 14:27, Ganapatrao Kulkarni wrote: On Mon, Aug 24, 2015 at 6:15 PM, Marc Zyngier marc.zyng...@arm.com wrote: static void its_enable_cavium_thunderx(void *data) { -

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-08-24 Thread Qais Yousef
On 08/24/2015 04:07 PM, Thomas Gleixner wrote: On Mon, 24 Aug 2015, Qais Yousef wrote: On 08/24/2015 02:32 PM, Marc Zyngier wrote: I'd rather see something more architected than this blind export, or at least some level of filtering (the idea random drivers can access such a low-level function

Re: [PATCH-v6 5/6] mfd: 88pm800: Set default interrupt clear method

2015-08-24 Thread Vaibhav Hiremath
On Monday 24 August 2015 09:21 PM, Lee Jones wrote: On Mon, 24 Aug 2015, Vaibhav Hiremath wrote: On Monday 24 August 2015 07:24 PM, Lee Jones wrote: On Wed, 08 Jul 2015, Vaibhav Hiremath wrote: As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of

RE: [PATCH RFC 02/10] perf,tools: Support new sort type --socket

2015-08-24 Thread Liang, Kan
On Mon, Aug 24, 2015 at 02:22:08PM +, Liang, Kan wrote: On Fri, Aug 21, 2015 at 08:25:24PM +, Liang, Kan wrote: SNIP we need global topology information in perf.data and use the mapping from there, we can't use current server info we currently

Re: [PATCH v6 3/3] qe_common: add qe_muram_ functions to manage muram

2015-08-24 Thread Scott Wood
On Mon, 2015-08-24 at 17:31 +0800, Zhao Qiang wrote: muram is used for qe, add qe_muram_ functions to manage muram. Signed-off-by: Zhao Qiang qiang.z...@freescale.com --- Changes for v2: - no changes Changes for v3: - no changes Changes for v4: - no changes Changes

Re: [PATCH 2/2] f2fs: fix to release inode correctly

2015-08-24 Thread Jaegeuk Kim
On Mon, Aug 24, 2015 at 05:40:45PM +0800, Chao Yu wrote: In following call stack, if unfortunately we lose all chances to truncate inode page in remove_inode_page, eventually we will add the nid allocated previously into free nid cache, this nid is with NID_NEW status and with NEW_ADDR in its

Re: [PATCH v7 3/6] mm: Introduce VM_LOCKONFAULT

2015-08-24 Thread Eric B Munson
On Mon, 24 Aug 2015, Konstantin Khlebnikov wrote: On Mon, Aug 24, 2015 at 6:55 PM, Eric B Munson emun...@akamai.com wrote: On Mon, 24 Aug 2015, Konstantin Khlebnikov wrote: On Mon, Aug 24, 2015 at 6:09 PM, Eric B Munson emun...@akamai.com wrote: On Mon, 24 Aug 2015, Vlastimil Babka

[PATCH v7 5/8] Watchdog: introduce ARM SBSA watchdog driver

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org This driver bases on linux kernel watchdog framework, and use pretimeout in the framework. It supports getting timeout and pretimeout from parameter and FDT at the driver init stage. In first timeout, the interrupt routine run panic to save system context.

[PATCH v7 2/8] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Fu Wei fu@linaro.org --- arch/arm64/boot/dts/arm/foundation-v8.dts | 7

Re: [lkp] [auxdisplay] 4edd70c133f: BUG: unable to handle kernel

2015-08-24 Thread Sudip Mukherjee
On Thu, Aug 20, 2015 at 01:36:17PM +0800, kernel test robot wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 4edd70c133f3921c594883d8f9da31a7261f8b4f (auxdisplay: ks0108: use new parport device model) Sorry for the

scsi: convert host_busy to atomic_t series causes regressions for some hardware configurations

2015-08-24 Thread Sergio Callegari
Thanks Christoph for the answer! Apparently I missed a piece of the thread where the test patch was originally proposed . Now, I have gone through it and I see how the patch was not meant to be a final correction. My (possibly naive) understanding is that: - Even if this might be due to

Re: [PATCH 2/2] ubifs: Allow O_DIRECT

2015-08-24 Thread Jeff Moyer
Brian Norris computersforpe...@gmail.com writes: On Mon, Aug 24, 2015 at 10:13:25AM +0300, Artem Bityutskiy wrote: Now, some user-space fails when direct I/O is not supported. I think the whole argument rested on what it means when some user space fails; apparently that user space is just a

Re: dom0 panic with Upstream Linux 4.1 tree

2015-08-24 Thread Juergen Groß
On 08/17/2015 09:32 AM, Zhenzhong Duan wrote: Hi Maintainers I found below panic when bootup OVM3.3.3 on HP PROLIANT DL980 G7 with dom0_mem=max:128G, not reproduce with dom0_mem=max:127G. Dom0 kernel is uek4 4.1.5-5.el6uek which is based on Upstream Linux 4.1 tree. This looks like an upstream

Re: [PATCH] Documentation/x86: Rename IRQSTACKSIZE to IRQ_STACK_SIZE

2015-08-24 Thread Jonathan Corbet
On Fri, 21 Aug 2015 15:19:06 +0600 Alexander Kuleshov kuleshovm...@gmail.com wrote: The IRQSTACKSIZE was renamed to the IRQ_STACK_SIZE in the (26f80bd6a9 x86-64: Convert irqstacks to per-cpu) commit, but it still named IRQSTACKSIZE in the documentation. This patch fixes this. Applied to the

Re: [PATCH] input: gpio-keys: report error when invalid key number

2015-08-24 Thread Dmitry Torokhov
On Mon, Aug 24, 2015 at 08:07:44PM +0800, Peng Fan wrote: When the input key number is not valid one of '/sys/devices/soc0/gpio-keys/keys', need to report an error, but not continue. See the following example: root@yocto:/sys/devices/soc0/gpio-keys# cat keys 114-116

[PATCH] media: don't try to empty links list in media_entity_cleanup()

2015-08-24 Thread Javier Martinez Canillas
The media_entity_cleanup() function only cleans up the entity links list but this operation is already made in media_device_unregister_entity(). In most cases this should be harmless (besides having duplicated code) since the links list would be empty so the iteration would not happen but the

Re: [PATCH] kernel/sysctl.c: If count including the terminating byte '\0' the write system call should retrun success.

2015-08-24 Thread Steven Rostedt
On Mon, 24 Aug 2015 16:56:13 +0800 Sean Fu fxinr...@gmail.com wrote: when the input argument count including the terminating byte \0, The write system call return EINVAL on proc file. But it return success on regular file. E.g. Writting two bytes (1\0) to

[PATCH v7 1/8] Documentation: add sbsa-gwdt.txt documentation

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for introducing SBSA(Server Base System Architecture) Generic Watchdog device node info into FDT. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Fu Wei fu@linaro.org ---

[PATCH v7 0/8] Watchdog: introduce ARM SBSA watchdog driver

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org This patchset: (1)Introduce Documentation/devicetree/bindings/watchdog/sbsa-gwdt.txt for FDT info of SBSA Generic Watchdog, and give two examples of adding SBSA Generic Watchdog device node into the dts files: foundation-v8.dts and

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-24 Thread Tejun Heo
Hello, Austin. On Mon, Aug 24, 2015 at 11:47:02AM -0400, Austin S Hemmelgarn wrote: Just to learn more, what sort of hypervisor support threads are we talking about? They would have to consume considerable amount of cpu cycles for problems like this to be relevant and be dynamic in numbers

Re: [PATCH] nfit, nd_blk: BLK status register is only 32 bits

2015-08-24 Thread Jeff Moyer
Ross Zwisler ross.zwis...@linux.intel.com writes: Only read 32 bits for the BLK status register in read_blk_stat(). The format and size of this register is defined in the NVDIMM Driver Writer's guide: http://pmem.io/documents/NVDIMM_Driver_Writers_Guide.pdf Signed-off-by: Ross Zwisler

Re: [PATCH linux-next v4 5/5] mtd: atmel-quadspi: add driver for Atmel QSPI controller

2015-08-24 Thread Cyrille Pitchen
Hi Marek, Le 24/08/2015 13:03, Marek Vasut a écrit : On Monday, August 24, 2015 at 12:14:00 PM, Cyrille Pitchen wrote: This driver add support to the new Atmel QSPI controller embedded into sama5d2x SoCs. It expects a NOR memory to be connected to the QSPI controller. Signed-off-by: Cyrille

[PATCH] mtd: nand: pass page number to ecc-write_xxx() methods

2015-08-24 Thread Boris Brezillon
The -read_xxx() methods are all passed the page number the NAND controller is supposed to read, but -write_xxx() do not have such a parameter. This is a problem if we want to properly implement data scrambling/randomization in order to mitigate MLC sensibility to repeated pattern: to prevent

Re: [PATCH] usb: phy: msm: Unregister driver interest for VBUS and ID events

2015-08-24 Thread Tim Bird
On 08/18/2015 12:56 AM, Ivan T. Ivanov wrote: Right now even if driver failed to probe extcon framework will still deliver its VBUS and ID events, which will lead to random exception codes. Fix this by removing driver interest for VBUS and ID events when probe fail. Fixes: 591fc116f330

Re: [PATCH v2] Documentation: add 'crashkernel=auto' entry into kernel-parameters.txt

2015-08-24 Thread Jonathan Corbet
On Mon, 24 Aug 2015 23:04:29 +0800 Yaowei Bai bywxiao...@163.com wrote: There is no 'crashkernel=auto' entry in kernel-parameters.txt, borrow it from kexec-kdump-howto.txt file in the kexec-tools-2.0.0 package. OK, so I did some digging here. As far as I can tell, there is no crashkernel=auto

Re: [PATCH] docs: update HOWTO for 3.x - 4.x versioning

2015-08-24 Thread Jonathan Corbet
On Mon, 24 Aug 2015 09:33:09 -0500 Mario Carrillo mario.alfredo.c.arev...@intel.com wrote: The HOWTO document needed updating for the new kernel versioning. As with various others, this document would benefit from changes that would get it away from specific major version numbers. In the

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Bjorn Helgaas
On Mon, Aug 24, 2015 at 9:41 AM, Suravee Suthikulpanit suravee.suthikulpa...@amd.com wrote: Hi, Ping. Does anyone have any comments or suggestions? Yes, I sent you some ideas a couple weeks ago. I'll resend them. On 8/13/15 16:58, Suravee Suthikulpanit wrote: This patch refactors

RE: [PATCH v8 1/2] irqchip: imx-gpcv2: IMX GPCv2 driver for wakeup sources

2015-08-24 Thread Thomas Gleixner
On Mon, 24 Aug 2015, Shenwei Wang wrote: +static int gpcv2_wakeup_source_save(void) { + struct gpcv2_irqchip_data *cd; + void __iomem *reg; + int i; + + cd = imx_gpcv2_instance; + if (!cd) + return 0; + + for (i = 0; i IMR_NUM; i++) { + reg =

Re: [PATCH 1/2] crypto: KEYS: convert public key to the akcipher API

2015-08-24 Thread Tadeusz Struk
Hi Stephan, On 08/15/2015 11:08 AM, Stephan Mueller wrote: Am Mittwoch, 12. August 2015, 20:54:39 schrieb Tadeusz Struk: Hi Tadeusz, @@ -41,7 +41,7 @@ struct pkcs7_parse_context { static void pkcs7_free_signed_info(struct pkcs7_signed_info *sinfo) { if (sinfo) { -

Re: [PATCH] usbnet: Fix two races between usbnet_stop() and the BH

2015-08-24 Thread David Miller
From: Eugene Shatokhin eugene.shatok...@rosalab.ru Date: Wed, 19 Aug 2015 14:59:01 +0300 So the following might be possible, although unlikely: CPU0 CPU1 clear_bit: read dev-flags clear_bit: clear EVENT_RX_KILL in the read value dev-flags=0;

Re: [BUG] arm: kgdb: patch_text() in kgdb_arch_set_breakpoint() may sleep

2015-08-24 Thread Kees Cook
On Sun, Aug 23, 2015 at 7:45 PM, Doug Anderson diand...@chromium.org wrote: On Wed, Aug 5, 2015 at 8:50 AM, Aapo Vienamo avien...@nvidia.com wrote: Hi, The breakpoint setting code in arch/arm/kernel/kgdb.c calls patch_text(), which ends up trying to sleep while in interrupt context. The bug

Re: [PATCH linux-next v4 5/5] mtd: atmel-quadspi: add driver for Atmel QSPI controller

2015-08-24 Thread Marek Vasut
On Monday, August 24, 2015 at 07:04:38 PM, Cyrille Pitchen wrote: Hi Marek, Hi! Le 24/08/2015 13:03, Marek Vasut a écrit : On Monday, August 24, 2015 at 12:14:00 PM, Cyrille Pitchen wrote: This driver add support to the new Atmel QSPI controller embedded into sama5d2x SoCs. It expects a

Re: [PATCH v2 5/5] arm64: add KASan support

2015-08-24 Thread Russell King - ARM Linux
On Mon, Aug 24, 2015 at 05:15:22PM +0300, Andrey Ryabinin wrote: Yes, ~130Mb (3G/1G split) should work. 512Mb shadow is optional. The only advantage of 512Mb shadow is better handling of user memory accesses bugs (access to user memory without copy_from_user/copy_to_user/strlen_user etc

Re: [PATCH v7 8/8] clocksource: simplify ACPI code in arm_arch_timer.c

2015-08-24 Thread Thomas Gleixner
On Tue, 25 Aug 2015, fu@linaro.org wrote: You Cc the world and some more on your patch, but you fail to add the maintainers of the clocksource code to the Cc list. Sigh. From: Fu Wei fu@linaro.org The patch update arm_arch_timer driver to use the function provided by the new GTDT

Re: [PATCH v2] Input: elan_i2c - enable ELAN0100 acpi panels

2015-08-24 Thread Dmitry Torokhov
On Sat, Aug 22, 2015 at 09:37:52AM +0200, Michele Curti wrote: Enable ELAN0100 touchpad driver, found on a Asus X205TA laptop, to gai 2,3 fingers tap and 2 fingers scroll. Signed-off-by: Michele Curti michele.cu...@gmail.com Applied, thank you (Duson, I put you as 'reviewed-by'). ---

Re: [PATCH linux-next v4 3/5] mtd: spi-nor: allow to tune the number of dummy cycles

2015-08-24 Thread Marek Vasut
On Monday, August 24, 2015 at 06:42:46 PM, Cyrille Pitchen wrote: Hi Marek, Hi! [...] - * Dummy Cycle calculation for different type of read. - * It can be used to support more commands with - * different dummy cycle requirements. - */ -static inline int

Re: Next round: revised futex(2) man page for review

2015-08-24 Thread Darren Hart
On Thu, Aug 20, 2015 at 12:40:46AM +0200, Thomas Gleixner wrote: On Wed, 5 Aug 2015, Darren Hart wrote: On Mon, Jul 27, 2015 at 02:07:15PM +0200, Michael Kerrisk (man-pages) wrote: .\ FIXME XXX = Start of adapted Hart/Guniguntala text = .\ The following text is drawn from

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Suravee Suthikulpanit
Hi, Ping. Does anyone have any comments or suggestions? Thanks, Suravee On 8/13/15 16:58, Suravee Suthikulpanit wrote: This patch refactors of_pci_dma_configure() into a more generic pci_dma_configure(), which can be reused by non-OF code. Then, it adds support for setting up PCI device DMA

Re: [PATCH 1/3] KVM: make halt_poll_ns per-VCPU

2015-08-24 Thread David Matlack
On Mon, Aug 24, 2015 at 5:53 AM, Wanpeng Li wanpeng...@hotmail.com wrote: Change halt_poll_ns into per-VCPU variable, seeded from module parameter, to allow greater flexibility. You should also change kvm_vcpu_block to read halt_poll_ns from the vcpu instead of the module parameter.

Re: [PATCH] usbnet: Fix two races between usbnet_stop() and the BH

2015-08-24 Thread Eugene Shatokhin
24.08.2015 16:29, Bjørn Mork пишет: Eugene Shatokhin eugene.shatok...@rosalab.ru writes: 19.08.2015 15:31, Bjørn Mork пишет: Eugene Shatokhin eugene.shatok...@rosalab.ru writes: The problem is not in the reordering but rather in the fact that dev-flags = 0 is not necessarily atomic w.r.t.

Re: [PATCH 2/3] KVM: dynamise halt_poll_ns adjustment

2015-08-24 Thread David Matlack
On Mon, Aug 24, 2015 at 5:53 AM, Wanpeng Li wanpeng...@hotmail.com wrote: There are two new kernel parameters for changing the halt_poll_ns: halt_poll_ns_grow and halt_poll_ns_shrink. halt_poll_ns_grow affects halt_poll_ns when an interrupt arrives and halt_poll_ns_shrink does it when idle

[PATCH v7 6/8] ACPI: add GTDT table parse driver into ACPI driver

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org This driver adds support for parsing SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device. The platform device named sbsa-gwdt can

[PATCH v7 4/8] Watchdog: introdouce pretimeout into framework

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org Also update Documentation/watchdog/watchdog-kernel-api.txt to introduce: (1)the new elements in the watchdog_device and watchdog_ops struct; (2)the new API watchdog_init_timeouts Reasons: (1)kernel already has two watchdog drivers are using pretimeout:

[PATCH v7 7/8] Watchdog: enable ACPI GTDT support for ARM SBSA watchdog driver

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org This patch enables ACPI GTDT support for ARM SBSA watchdog driver automatically, if ACPI support is enabled. Signed-off-by: Fu Wei fu@linaro.org --- drivers/watchdog/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/watchdog/Kconfig

[PATCH v7 3/8] ARM64: add SBSA Generic Watchdog device node in amd-seattle-soc.dtsi

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org This can be a example of adding SBSA Generic Watchdog device node into some dts files for the Soc which contains SBSA Generic Watchdog. Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Suravee Suthikulpanit suravee.suthikulpa...@amd.com Tested-by: Suravee

[PATCH v7 8/8] clocksource: simplify ACPI code in arm_arch_timer.c

2015-08-24 Thread fu . wei
From: Fu Wei fu@linaro.org The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei fu@linaro.org

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes

2015-08-24 Thread Tejun Heo
Hello, On Mon, Aug 24, 2015 at 10:51:50AM -0400, Tejun Heo wrote: Bah, I see the problem and indeed it was introduced by commit e79729123f639 writeback: don't issue wb_writeback_work if clean. The problem is that we bail out of sync_inodes_sb() if there is no dirty IO. Which is wrong

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-08-24 Thread Marc Zyngier
[adding Mark Rutland, as this is heading straight into uncharted DT territory] On 24/08/15 17:39, Qais Yousef wrote: On 08/24/2015 04:07 PM, Thomas Gleixner wrote: On Mon, 24 Aug 2015, Qais Yousef wrote: On 08/24/2015 02:32 PM, Marc Zyngier wrote: I'd rather see something more architected

Re: [PATCH] pci: acpi: Generic function for setting up PCI device DMA coherency

2015-08-24 Thread Bjorn Helgaas
Here it is again. On Thu, Aug 13, 2015 at 6:50 PM, Bjorn Helgaas bhelg...@google.com wrote: Hi Suravee, On Thu, Aug 13, 2015 at 04:58:45PM +0700, Suravee Suthikulpanit wrote: This patch refactors of_pci_dma_configure() into a more generic pci_dma_configure(), which can be reused by non-OF

<    1   2   3   4   5   6   7   8   9   10   >