Re: [PATCH] ARM: DRA7: hwmod: Remove elm address space from hwmod data

2015-10-13 Thread Roger Quadros
On 13/10/15 16:44, Franklin S Cooper Jr wrote: > ELM address information is provided by device tree. No longer need > to include this information within hwmod. > > Signed-off-by: Franklin S Cooper Jr Acked-by: Roger Quadros Franklin, Can you please do the same for gpmc_addr as well? And look

Re: [PATCH v7 3/9] Input: goodix - write configuration data to device

2015-10-13 Thread Dmitry Torokhov
On Thu, Oct 08, 2015 at 01:19:29PM +0300, Irina Tirdea wrote: > Goodix devices can be configured by writing custom data to the device at > init. The configuration data is read with request_firmware from > "goodix__cfg.bin", where is the product id read from the device > (e.g.: goodix_911_cfg.bin f

[PATCH v6 2/2] usb: dwc2: refactor common low-level hw code to platform.c

2015-10-13 Thread Marek Szyprowski
DWC2 module on some platforms needs three additional hardware resources: phy controller, clock and power supply. All of them must be enabled/activated to properly initialize and operate. This was initially handled in s3c-hsotg driver, which has been converted to 'gadget' part of dwc2 driver. Unfort

[PATCH v6 1/2] usb: dwc2: remove no longer needed init_mutex

2015-10-13 Thread Marek Szyprowski
init_mutex is a leftover from the time, when s3c-hsotg driver did not implement proper pull up/down control and emulated it by enabling enabling/disabling usb phy. Proper pull up/down control has been added by commit 5b9451f8c4fbaf0549139755fb45ff2b57975b7f ("usb: dwc2: gadget: use soft-disconnect

Re: [BUG] broken mixer after second resume from mem

2015-10-13 Thread Tomeu Vizoso
On 14 October 2015 at 07:55, Krzysztof Kozlowski wrote: > On 13.10.2015 19:25, Tomeu Vizoso wrote: >> Hi, >> >> have been hunting down a bug on exynos5250-snow which caused both HDMI >> and LVDS output to be broken after the second resume (with suspend to >> mem, but not to idle). >> >> What I hav

Re: [patch 10/11] perf_event_open.2: 4.0 update rdpmc documentation

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:16 PM, Vince Weaver wrote: > > The rdpmc instruction allows reading performance counters directly > from usersapce. Prior to Linux 4.0 any process could use this > instruction when a perf event was running, even if the process itself > did not have any open. The following change

Re: [patch 11/11] perf_event_open.2: add possibility of EBUSY error

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:16 PM, Vince Weaver wrote: > > Linux 4.1 added the possibility of perf_event_open() returning > EBUSY if an existing exclusive event controls the PMU. Thanks, Vince. Applied. Cheers, Michael > This was introduced by the following commit: > > commit bed5b25ad9c8a2f5d735

Re: [patch 09/11] perf_event_open.2: 4.1 add PERF_RECORD_ITRACE_START

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:15 PM, Vince Weaver wrote: > > > This manpage patch relates to the addition of the PERF_RECORD_ITRACE_START > record type in the following commit: Thanks, Vince. Applied. Cheers, Michael > commit ec0d7729bbaed4b9d2d3fada693278e13a3d1368 > Author: Alexander Shishk

Re: [patch 08/11] perf_event_open.2: 4.1 add aux_watermark

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:14 PM, Vince Weaver wrote: > > > This manpage patch relates to the addition of the aux_watermark attr > field in the following commit: Thanks, Vince. Applied. Cheers, Michael > commit 1a5941312414c71dece6717da9a0fa1303127afa > Author: Alexander Shishkin > >

Re: [PATCH] input: cyapa: fix the copy paste error on electrodes_rx value

2015-10-13 Thread Dmitry Torokhov
On Mon, Oct 12, 2015 at 02:17:04PM +0800, Dudley Du wrote: > Fix the copy paste error on the electrodes_rx value set code which will > cause the electrodes_rx value be always set to the value of electrodes_y. > > Reviewed-by: Dmitry Torokhov > Reviewed-by: Sudip Mukherjee > Signed-off-by: Dudley

Re: pmd_modify() semantics

2015-10-13 Thread Vineet Gupta
On Tuesday 13 October 2015 09:37 PM, Kirill A. Shutemov wrote: > On Tue, Oct 13, 2015 at 01:58:39PM +, Vineet Gupta wrote: >> Hi Kirill, >> >> I'm running LTP tests on the new ARC THP code and thp03 seems to be >> triggering mm >> spew. >> >> --->8- >> [ARCLinux

[PATCH v2 4/4] nios2: Add architectural support for PCIe

2015-10-13 Thread Ley Foon Tan
This patch add pcie support on nios2 platform. Signed-off-by: Ley Foon Tan --- arch/nios2/Kconfig| 21 + arch/nios2/include/asm/Kbuild | 1 + arch/nios2/include/asm/io.h | 12 ++-- arch/nios2/kernel/Makefile| 1 + arch/nios2/kernel/pci.c | 33

Re: [patch 07/11] perf_event_open.2: 4.1 add AUX_FLAG_OVERWRITE support

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:13 PM, Vince Weaver wrote: > > This manpage patch relates to the addition of the AUX sample flag > AUX_FLAG_OVERWRITE as added in the following commit: Thanks, Vince. Applied. Cheers, Michael > commit 2023a0d2829e521fe6ad6b9907f3f90bfbf57142 > Author: Alexander S

Re: [PATCH] Input: pixcir_i2c_ts: remove wakeirq related code from pixcir driver

2015-10-13 Thread Dmitry Torokhov
On Wed, Oct 14, 2015 at 11:23:56AM +0530, Vignesh R wrote: > With commit 3fffd1283927 ("i2c: allow specifying separate wakeup > interrupt in device tree") wakeirq is managed by i2c-core, so remove > wakeirq related code from pixcir_i2c_ts driver. > > Signed-off-by: Vignesh R Applied, thank you.

[PATCH v2 2/4] pci: add include

2015-10-13 Thread Ley Foon Tan
Include explicitly, it depends on architecture's pci.h to include it before this. It cause compilation error when we move to asm-generic pci. Signed-off-by: Ley Foon Tan --- drivers/pci/pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 6a9a111

Re: [patch 06/11] perf_event_open.2: 4.1 add AUX sample support

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:13 PM, Vince Weaver wrote: > > This manpage patch relates to the addition of the AUX sample type > as added in the following commit: Thanks, Vince. Applied. Cheers, Michael > commit 68db7e98c3a6ebe7284b6cf14906ed7c55f3f7f0 > Author: Alexander Shishkin > >

[PATCH v2 3/4] PCI: Build setup-irq.o for nios2

2015-10-13 Thread Ley Foon Tan
nios2 requires setup-irq.o to provide pci_fixup_irqs() implementation. Signed-off-by: Ley Foon Tan --- drivers/pci/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile index be3f631..282b1b4 100644 --- a/drivers/pci/Makefile +++ b/drivers/pci/M

Re: [patch 05/11] perf_event_open.2: aux_{head,tail,offset,size} support

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:12 PM, Vince Weaver wrote: > > This manpage patch relates to the addition of the AUX mmap region > as added in the following commit: Thanks, Vince. Applied. Cheers, Michael > commit 45bfb2e50471abbbfd83d40d28c986078b0d24ff > Author: Peter Zijlstra > > pe

[PATCH v2 1/4] asm-generic: add pci required defines and functions

2015-10-13 Thread Ley Foon Tan
Add the generic #define and functions that required by the PCI framework. Architecture pci.h can overwrite with their implementation if needed. Signed-off-by: Ley Foon Tan --- include/asm-generic/pci.h | 34 ++ 1 file changed, 34 insertions(+) diff --git a/includ

[PATCH v2 0/4] Add PCI support on nios2 architecture

2015-10-13 Thread Ley Foon Tan
This is 2nd version of patch to add pci support for nios2 architecture. This patchset also update asm-generic/pci.h to include PCI generic define/function as suggested by Arnd. It requires pci_fixup_irqs() from setup-irq.c. v1->v2 changes: - nios2: remove PCI_SYSCALL from Kconfig - nios2: set IO_

[Patch v7 3/7] ia64/PCI: Use common struct resource_entry to replace struct iospace_resource

2015-10-13 Thread Jiang Liu
Use common struct resource_entry to replace private struct iospace_resource. Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo Signed-off-by: Liu Jiang --- arch/ia64/include/asm/pci.h |5 - arch/ia64/pci/pci.c | 17 - 2 files changed, 8 insertions(+), 14 deleti

Re: [patch 04/11] perf_event_open.2: 4.1 data_offset and data_size fields

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:11 PM, Vince Weaver wrote: > > This manpage patch relates to the addition of the data_offset > and data_size fields to the perf_event mmap buffer, as added > in the following commit: Thanks, Vince. Applied. Cheers, Michael > commit e8c6deac69629c0cb97c3d3272f8631ef17f8

Re: [patch 03/11] perf_event_open.2: 4.1 PERF_EVENT_IOC_SET_BPF support

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:10 PM, Vince Weaver wrote: > > This manpage patch relates to the addition of the > PERF_EVENT_IOC_SET_BPF ioctl in the following commit: Thanks, Vince. Applied. Cheers, Michael > commit 2541517c32be2531e0da59dfd7efc1ce844644f5 > Author: Alexei Starovoitov >

[Patch v7 1/7] ACPI/PCI: Enhance ACPI core to support sparse IO space

2015-10-13 Thread Jiang Liu
Enhance ACPI resource parsing interfaces to support sparse IO space, which will be used to share common code between x86 and IA64 later. Tested-by: Tony Luck Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo Signed-off-by: Liu Jiang --- drivers/acpi/resource.c |9 ++--- include/linux/i

[Patch v7 2/7] ia64/PCI/ACPI: Use common ACPI resource parsing interface for host bridge

2015-10-13 Thread Jiang Liu
Use common ACPI resource parsing interface to parse ACPI resources for PCI host bridge, so we could share more code between IA64 and x86. Later we will consolidate arch specific implementations into ACPI core. Tested-by: Tony Luck Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo Signed-off-by:

[Patch v7 7/7] ia64/PCI/ACPI: Use common interface to support PCI host bridge

2015-10-13 Thread Jiang Liu
Use common interface to simplify PCI host bridge implementation. Tested-by: Tony Luck Signed-off-by: Jiang Liu Signed-off-by: Liu Jiang --- arch/ia64/pci/pci.c | 235 +++ 1 file changed, 48 insertions(+), 187 deletions(-) diff --git a/arch/ia64

[Patch v7 0/7] Consolidate ACPI PCI root common code into ACPI core

2015-10-13 Thread Jiang Liu
From: Liu Jiang This patch set consolidates common code to support ACPI PCI root on x86 and IA64 platforms into ACPI core, to reproduce duplicated code and simplify maintenance. And a patch set based on previous version to support ACPI based PCIe host bridge on ARM64 has been posted at: https://l

[Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-10-13 Thread Jiang Liu
Introduce common interface acpi_pci_root_create() and related data structures to create PCI root bus for ACPI PCI host bridges. It will be used to kill duplicated arch specific code for IA64 and x86. It may also help ARM64 in future. Reviewed-by: Lorenzo Pieralisi Tested-by: Tony Luck Signed-off

[Patch v7 5/7] ACPI, PCI: Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set

2015-10-13 Thread Jiang Liu
Reset acpi_root_dev->domain to 0 when pci_ignore_seg is set to keep consistence between ACPI PCI root device and PCI host bridge device. Acked-by: Bjorn Helgaas Signed-off-by: Jiang Liu Signed-off-by: Liu Jiang --- arch/x86/pci/acpi.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[Patch v7 6/7] x86/PCI/ACPI: Use common interface to support PCI host bridge

2015-10-13 Thread Jiang Liu
Use common interface to simplify ACPI PCI host bridge implementation. Signed-off-by: Jiang Liu Reviewed-by: Hanjun Guo Signed-off-by: Liu Jiang --- arch/x86/pci/acpi.c | 294 +++ 1 file changed, 87 insertions(+), 207 deletions(-) diff --git a/a

Re: [patch 01/11] perf_event_open.2: 4.1 PERF_SAMPLE_BRANCH_CALL_STACK

2015-10-13 Thread Michael Kerrisk (man-pages)
On 07/23/2015 07:08 PM, Vince Weaver wrote: > > This manpage patch relates to the addition of the > PERF_SAMPLE_BRANCH_CALL_STACK functionaliry added in the following > commit: > > commit 2c44b1936bb3b135a3fac8b3493394d42e51cf70 Author: Peter > Zijlstra > > perf/x86/intel: Expose LBR callstack

Re: [PATCH] ASoc: sh: Fit typo in Kconfig

2015-10-13 Thread Kuninori Morimoto
Hi again > Masanari Iida wrote: > > > > s/SUR/SRU/g > > > > Signed-off-by: Masanari Iida > > --- > > Acked-by: Kuninori Morimoto I sent Acked-by, but I think below is better Subject - ASoc: sh: Fit typo in Kconfig + ASoC: rsnd: Fix SRU typo in Kconfig -- To unsubscribe from this list: send

Re: [PATCH v9 2/9] Input: goodix - reset device at init

2015-10-13 Thread Dmitry Torokhov
On Tue, Oct 13, 2015 at 01:07:24PM +0300, mika.westerb...@linux.intel.com wrote: > On Tue, Oct 13, 2015 at 08:54:12AM +, Tirdea, Irina wrote: > > > > I did not use devm_gpiod_get_optional() in order to ignore more errors > > > > than -ENOENT. This is needed because the ACPI gpio core will fall

Re: [PATCH] ASoc: sh: Fit typo in Kconfig

2015-10-13 Thread Kuninori Morimoto
Hi Masanari Iida wrote: > > s/SUR/SRU/g > > Signed-off-by: Masanari Iida > --- Acked-by: Kuninori Morimoto Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] Do not reserve crashkernel high memory if crashkernel low memory reserving failed

2015-10-13 Thread Baoquan He
Hi all, Ping. Any other suggestion for this fix? On 09/24/15 at 11:24am, Baoquan He wrote: > People reported that when allocating crashkernel memory using > ",high" and ",low" syntax, there were cases where the reservation > of the "high" portion succeeds, but the reservation of the "low" > por

[PATCH] dt-bindings: Correct the example for Exynos power domain clocks

2015-10-13 Thread Krzysztof Kozlowski
Since commit 29e5eea06bc1 ("ARM: EXYNOS: Get current parent clock for power domain on/off") the "pclkN" names of "clock-names" property is not parsed any more. The bindings and driver were updated but the example was not. Fix the example now. Signed-off-by: Krzysztof Kozlowski --- Documentation/

Re: [PATCH] gfp: GFP_RECLAIM_MASK should include __GFP_NO_KSWAPD

2015-10-13 Thread Pan Xinhui
Hi, all I am working on some debug features' development. I use kmalloc in some places of *scheduler*. And the gfp_flag is GFP_ATOMIC, code looks like p = kmalloc(sizeof(*p), GFP_ATOMIC); however I notice GFP_ATOMIC is still not enough. because when system is at low memory state, slub m

Re: [PATCH 5/5] arm64: dts: spi bus dts support multiple devices

2015-10-13 Thread Sascha Hauer
On Wed, Oct 14, 2015 at 11:23:35AM +0800, Leilk Liu wrote: > This patch support multiple devices for MT8173. The subject of this patch and also the above sentence should contain the board name this patch is changing so that the reader knows this is about a single board, and not arm64 in general.

Re: [BUG] broken mixer after second resume from mem

2015-10-13 Thread Krzysztof Kozlowski
On 13.10.2015 19:25, Tomeu Vizoso wrote: > Hi, > > have been hunting down a bug on exynos5250-snow which caused both HDMI > and LVDS output to be broken after the second resume (with suspend to > mem, but not to idle). > > What I have found is that when powering down the DISP1 power domain > whil

[PATCH] ACPICA: Tables: Fix FADT dependency regression

2015-10-13 Thread Lv Zheng
Some logics actually relying on the existence of FADT, currently relies on the number of loaded tables. This false dependency can easily trigger regressions. The reported regression can be seen on the following commit: Commit: 8ec3f459073e67e5c6d78507dec693064b3040a2 Subject: ACPICA: Tables: Fi

[PATCH] Input: pixcir_i2c_ts: remove wakeirq related code from pixcir driver

2015-10-13 Thread Vignesh R
With commit 3fffd1283927 ("i2c: allow specifying separate wakeup interrupt in device tree") wakeirq is managed by i2c-core, so remove wakeirq related code from pixcir_i2c_ts driver. Signed-off-by: Vignesh R --- drivers/input/touchscreen/pixcir_i2c_ts.c | 12 1 file changed, 12 delet

[PATCH] ARM: dts: am437x-gp-evm: Add wakeup interrupt source for pixcir_i2c_ts

2015-10-13 Thread Vignesh R
On am437x-gp-evm, pixcir_i2c_ts can wakeup the system from lower power state via pinctrl and IO daisy chain using generic wakeirq framework. With commit 3fffd1283927 ("i2c: allow specifying separate wakeup interrupt in device tree") i2c core allows optional wakeirq to be specified via device tree.

RE: bisected: Re: 4.3.0-rc3-00042: ACPI Warning: AcpiEnable failed

2015-10-13 Thread Zheng, Lv
Hi, > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Tuesday, October 13, 2015 3:19 AM > > On Monday, October 12, 2015 07:48:12 AM Zheng, Lv wrote: > > Hi, Rafael > > Hi, > > > The bug has been fixed. > > The root cause is the previous commit doesn't cover a hidden logic: > > acpi

Re: [PATCH] i2c: at91: fix write transfers by clearing pending interrupt first

2015-10-13 Thread Ludovic Desroches
On Tue, Oct 13, 2015 at 08:01:34PM +0200, Peter Rosin wrote: > On 2015-10-13 18:47, Cyrille Pitchen wrote: > > Le 13/10/2015 17:19, Peter Rosin a écrit : > >> On 2015-10-13 16:21, Ludovic Desroches wrote: > >>> From: Cyrille Pitchen > >>> > >>> In some cases a NACK interrupt may be pending in the

[PATCH] gfp: GFP_RECLAIM_MASK should include __GFP_NO_KSWAPD

2015-10-13 Thread Pan Xinhui
From: Pan Xinhui GFP_RECLAIM_MASK was introduced in commit 6cb062296f73 ("Categorize GFP flags"). In slub subsystem, this macro controls slub's allocation behavior. In particular, some flags which are not in GFP_RECLAIM_MASK will be cleared. So when slub pass this new gfp_flag into page allocator

Re: [PATCH 5/6] e1000 driver remove checkpatch errors, warnings and checks.

2015-10-13 Thread Jeff Kirsher
On Tue, 2015-10-13 at 15:23 -0700, Alexander Duyck wrote: > On 10/13/2015 02:39 PM, Janusz Wolak wrote: > > From: Janusz Wolak > > > > Signed-off-by: Janusz Wolak > > --- > > drivers/net/ethernet/intel/e1000/e1000_param.c | 114 > ++--- > > 1 file changed, 82 insertions(+),

[PATCH] arm: dts: ls1021a: Add quirk for Erratum A009116

2015-10-13 Thread Rajesh Bhagat
Add "snps,quirk-frame-length-adjustment" property to USB3 node for erratum A009116. This property provides value of GFLADJ_30MHZ for post silicon frame length adjustment. Signed-off-by: Nikhil Badola Signed-off-by: Rajesh Bhagat --- This patch was intiallly part of below patchset(other patches a

Re: [PATCH v2 1/2] dax: dax_pfn_mkwrite() truncate race check

2015-10-13 Thread Dave Chinner
On Tue, Oct 13, 2015 at 04:25:36PM -0600, Ross Zwisler wrote: > Update dax_pfn_mkwrite() so that it validates i_size before returning. > This is necessary to ensure that the page fault has not raced with truncate > and is now pointing to a region beyond the end of the current file. > > This change

Re: [RFC PATCH 2/2] bpf: Implement bpf_perf_event_sample_enable/disable() helpers

2015-10-13 Thread Alexei Starovoitov
On 10/13/15 3:54 AM, He Kuang wrote: If we want perf to reflect as soon as our sample event be generated, --no-buffering should be used, but this option has a greater impact on performance. no_buffering doesn't have to be applied to all events obviously. -- To unsubscribe from this list: send

Re: [PATCH v3 1/7] arm64: ftrace: adjust callsite addresses examined by stack tracer

2015-10-13 Thread AKASHI Takahiro
On 10/14/2015 12:37 AM, Steven Rostedt wrote: On Thu, 8 Oct 2015 19:01:38 +0900 AKASHI Takahiro wrote: extern int stack_tracer_enabled; int stack_trace_sysctl(struct ctl_table *table, int write, diff --git a/kernel/trace/trace_stack.c b/kernel/trace/trace_stack.c index b746399..30521ea

[PATCH] blk-mq: fix use-after-free in blk_mq_free_tag_set()

2015-10-13 Thread Junichi Nomura
tags is freed in blk_mq_free_rq_map() and should not be used after that. The problem doesn't manifest if CONFIG_CPUMASK_OFFSTACK is false because free_cpumask_var() is nop. tags->cpumask is allocated in blk_mq_init_tags() so it's natural to free cpumask in its counter part, blk_mq_free_tags(). Fi

Re: [PATCH v3 3/7] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-10-13 Thread AKASHI Takahiro
On 10/14/2015 12:24 AM, Jungseok Lee wrote: On Oct 8, 2015, at 7:01 PM, AKASHI Takahiro wrote: Hi Akashi, Function graph tracer modifies a return address (LR) in a stack frame to hook a function return. This will result in many useless entries (return_to_handler) showing up in a stack tracer's

Re: [PATCH] drm/nouveau: fix memory leak

2015-10-13 Thread Sudip Mukherjee
On Thu, Oct 08, 2015 at 03:22:20PM +0100, Emil Velikov wrote: > On 8 October 2015 at 14:00, Sudip Mukherjee > wrote: > > On Thu, Oct 01, 2015 at 04:40:59PM +1000, Ben Skeggs wrote: > >> On 09/25/2015 01:59 AM, Sudip Mukherjee wrote: > >> > On Fri, Sep 11, 2015 at 03:00:56PM +0530, Sudip Mukherjee

Re: [PATCH 0/3] drivers/misc/sgi-gru: unapplied patches and a new one

2015-10-13 Thread Sudip Mukherjee
On Mon, Oct 05, 2015 at 10:18:32AM -0500, Dimitri Sivanich wrote: > On Mon, Oct 05, 2015 at 08:43:07PM +0530, Sudip Mukherjee wrote: > > On Thu, Sep 24, 2015 at 12:31:01PM +0530, Sudip Mukherjee wrote: > > > On Wed, Sep 23, 2015 at 12:48:25PM -0500, Dimitri Sivanich wrote: > > > > Sudip, > > > > >

Re: [PATCH] MAINTAINERS: fix entry of char/misc

2015-10-13 Thread Sudip Mukherjee
On Tue, Oct 13, 2015 at 10:39:47AM -0700, Greg Kroah-Hartman wrote: > On Tue, Oct 13, 2015 at 10:49:24PM +0530, Sudip Mukherjee wrote: > > On Tue, Oct 13, 2015 at 07:48:05AM -0700, Joe Perches wrote: > > > On Tue, 2015-10-13 at 15:34 +0530, Sudip Mukherjee wrote: > > > > Greg and Arnd are supporter

Re: [PATCH] debugfs: update commits of debugfs_remove

2015-10-13 Thread Tan Xiaojun
Please ignore this patch, I make a spelling mistake. On 2015/10/14 10:53, Tan Xiaojun wrote: > This function debugfs_remove can't remove a directory if it is not > empty. The commits make misunderstood and cause misuse easily, so > update it. > > Signed-off-by: Tan Xiaojun > --- > fs/debugfs/in

Re: [PATCH] rtc: pcf8563: disable CLKOUT

2015-10-13 Thread Heiko Schocher
Hello Alexandre, Am 13.10.2015 um 22:17 schrieb Alexandre Belloni: Hi, On 13/10/2015 at 07:08:58 +0200, Heiko Schocher wrote : Disable the CLKOUT of the RTC after power-up. After power-up/reset of the RTC, CLKOUT is enabled by default, with CLKOUT enabled the RTC chip has 2-3 times higher powe

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-13 Thread Krzysztof Kozlowski
On 14.10.2015 12:58, Anand Moon wrote: > hi Krzysztof, > > On 14 October 2015 at 05:29, Krzysztof Kozlowski > wrote: >> On 14.10.2015 01:27, Anand Moon wrote: >>> Hi Krzysztof, >>> >>> On 13 October 2015 at 09:13, Krzysztof Kozlowski >>> wrote: On 13.10.2015 12:08, Anand Moon wrote: >>

Re: [PATCH] net: phy: smsc: disable energy detect mode

2015-10-13 Thread Heiko Schocher
Hello Florian, Am 13.10.2015 um 21:26 schrieb Florian Fainelli: On 12/10/15 22:13, Heiko Schocher wrote: On some boards the energy enable detect mode leads in trouble with some switches, so make the enabling of this mode configurable through DT. Signed-off-by: Heiko Schocher --- .../device

Re: [PATCH] mm: skip if required_kernelcore is larger than totalpages

2015-10-13 Thread Tang Chen
On 10/14/2015 11:28 AM, Xishi Qiu wrote: On 2015/10/14 10:50, Tang Chen wrote: Hi, Qiu The patch seems OK to me. Only one little concern below. On 10/12/2015 09:37 AM, Xishi Qiu wrote: On 2015/10/9 23:41, Yasuaki Ishimatsu wrote: On Thu, 8 Oct 2015 10:21:05 +0800 Xishi Qiu wrote: If ke

Re: powerpc/mpc5xxx: Use of_get_next_parent to simplify code

2015-10-13 Thread Michael Ellerman
On Sun, 2015-11-10 at 20:27:40 UTC, Christophe Jaillet wrote: > of_get_next_parent can be used to simplify the while() loop and > avoid the need of a temp variable. > > Signed-off-by: Christophe JAILLET > --- > arch/powerpc/sysdev/mpc5xxx_clocks.c | 5 + > 1 file changed, 1 insertion(+), 4 d

Re: [PATCH 3/3] ARM: dts: exynos5422-odroidxu3: Added UHS-I bus speed support

2015-10-13 Thread Anand Moon
hi Krzysztof, On 14 October 2015 at 05:29, Krzysztof Kozlowski wrote: > On 14.10.2015 01:27, Anand Moon wrote: >> Hi Krzysztof, >> >> On 13 October 2015 at 09:13, Krzysztof Kozlowski >> wrote: >>> >>> On 13.10.2015 12:08, Anand Moon wrote: Hi Krzysztof, On 13 October 2015 at 05:44

Re: [PATCH v2] sunrpc: fix waitqueue_active without memory barrier in sunrpc

2015-10-13 Thread Kosuke Tatsukawa
J. Bruce Fields wrote: > On Mon, Oct 12, 2015 at 10:41:06AM +, Kosuke Tatsukawa wrote: >> J. Bruce Fields wrote: >> > On Fri, Oct 09, 2015 at 06:29:44AM +, Kosuke Tatsukawa wrote: >> >> Neil Brown wrote: >> >> > Kosuke Tatsukawa writes: >> >> > >> >> >> There are several places in net/sun

Re: [PATCH v2 1/3] unix: fix use-after-free in unix_dgram_poll()

2015-10-13 Thread Jason Baron
On 10/12/2015 04:41 PM, Rainer Weikusat wrote: > Jason Baron writes: >> On 10/05/2015 12:31 PM, Rainer Weikusat wrote: > > [...] > >>> Here's a more simple idea which _might_ work. The underlying problem >>> seems to be that the second sock_poll_wait introduces a covert reference >>> to the peer

Re: [PATCH 1/1] perf:Adding --list-opts to usage string

2015-10-13 Thread Namhyung Kim
Hi Arnaldo, On Wed, Oct 14, 2015 at 12:10 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 14, 2015 at 10:29:05AM +0800, Yunlong Song escreveu: >> On 2015/10/13 23:24, Ramkumar Ramachandra wrote: >> > Arnaldo Carvalho de Melo wrote: >> >> Em Thu, Oct 08, 2015 at 10:59:50AM +0530, Sriram Raghunat

RE: [V4 PATCH 4/4] x86/apic: Introduce noextnmi boot option

2015-10-13 Thread 河合英宏 / KAWAI,HIDEHIRO
> On Fri, 25 Sep 2015, Hidehiro Kawai wrote: > > > This patch introduces new boot option "noextnmi" which disables > > external NMI. This option is useful for the dump capture kernel > > so that an HA application or administrator wouldn't mistakenly > > shoot down the kernel by NMI. > > > > Curre

Re: [PATCH] mm: skip if required_kernelcore is larger than totalpages

2015-10-13 Thread Xishi Qiu
On 2015/10/14 10:50, Tang Chen wrote: > Hi, Qiu > > The patch seems OK to me. Only one little concern below. > > On 10/12/2015 09:37 AM, Xishi Qiu wrote: >> On 2015/10/9 23:41, Yasuaki Ishimatsu wrote: >> >>> On Thu, 8 Oct 2015 10:21:05 +0800 >>> Xishi Qiu wrote: >>> If kernelcore was not

[PATCH 3/4] blk-mq: check bio_mergeable() early before merging

2015-10-13 Thread Ming Lei
It isn't necessary to try to merge the bio which is marked as NOMERGE. Signed-off-by: Ming Lei --- block/blk-mq.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 546b3b8..deb5f4c 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -67

[PATCH 1/4] block: setup bi_phys_segments after splitting

2015-10-13 Thread Ming Lei
The number of bio->bi_phys_segments is always obtained during bio splitting, so it is natural to setup it just after bio splitting, then we can avoid to compute nr_segment again during merge. Signed-off-by: Ming Lei --- block/blk-merge.c | 29 ++--- 1 file changed, 22 ins

[PATCH 2/4] block: avoid to merge splitted bio

2015-10-13 Thread Ming Lei
The splitted bio has been already too fat to merge, so mark it as NOMERGE. Signed-off-by: Ming Lei --- block/blk-merge.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/block/blk-merge.c b/block/blk-merge.c index 22293fd..de5716d8 100644 --- a/block/blk-merge.c +++ b/block/blk-merge.c @@

[PATCH 4/4] blk-mq: mark ctx as pending at batch in flush plug path

2015-10-13 Thread Ming Lei
Most of times, flush plug should be the hottest I/O path, so mark ctx as pending after all requests in the list are inserted. Signed-off-by: Ming Lei --- block/blk-mq.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index d

[PATCH 0/4] block: some misc changes

2015-10-13 Thread Ming Lei
Hi, The 1st three patches are optimizations related with bio splitting. The 4th patch is to mark ctx as pending at batch in flush plug path. Thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo in

Re: [patch 2/2] misc: mic/scif: fix wrap around tests

2015-10-13 Thread Sudeep Dutt
On Fri, 2015-10-09 at 09:40 +0300, Dan Carpenter wrote: > Signed integer overflow is undefined. Also I added a check for > "(offset < 0)" in scif_unregister() because that makes it match the > other conditions and because I didn't want to subtract a negative. > > Fixes: ba612aa8b487 ('misc: mic:

[PATCH 2/5] spi: mediatek: remove mtk_spi_config

2015-10-13 Thread Leilk Liu
mtk_spi_config() and mtk_spi_prepare_message() both initialize spi register, so remove mtk_spi_config() and init all register in mtk_spi_prepare_message(). Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 59 +--- 1 file changed, 26 insertions(+

[PATCH 3/5] spi: mediatek: handle controller_data in mtk_spi_setup

2015-10-13 Thread Leilk Liu
controller_data is related with device, so move to master->setup function. Signed-off-by: Leilk Liu --- drivers/spi/spi-mt65xx.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/spi/spi-mt65xx.c b/drivers/spi/spi-mt65xx.c index 7bd84c8..406695a 100

[PATCH 5/5] arm64: dts: spi bus dts support multiple devices

2015-10-13 Thread Leilk Liu
This patch support multiple devices for MT8173. Signed-off-by: Leilk Liu --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts b/arch/arm64/boot/dts/mediatek/mt8173-evb.dts index 04b38ed.

[PATCH 0/5] mt8173 spi multiple devices support

2015-10-13 Thread Leilk Liu
This series are based on 4.3-rc1 and provide 5 patches to support mt8173 spi multiple devices. Change in this series: 1. update document to add cs-gpio; 2. remove mtk_spi_config function; 3. move controller_data to master->setup; 4. add mt8173 spi multiple devices support; 5. update dts to add cs-

[PATCH 1/5] dt-binding: spi: Mediatek: Update document devicetree bindings to support multiple devices

2015-10-13 Thread Leilk Liu
This patch update document devicetree bindings to support multiple devices. Signed-off-by: Leilk Liu --- Documentation/devicetree/bindings/spi/spi-mt65xx.txt | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-mt65xx.txt b/Docume

[PATCH 4/5] spi: mediatek: mt8173 spi multiple devices support

2015-10-13 Thread Leilk Liu
mt8173 IC spi HW has 4 gpio group, it's possible to support max <= 4 slave devices, even mtk spi HW is not congruent to spi core. 1. When a device do a spi_message transfer, spi HW should know which pad-group this device is on, and then writes pad-select register. 2. Mtk pad-select register j

RE: v4.3-rc4: i915: ThinkPad Yoga 12: *ERROR* The master control interrupt lied (SDE)! [regression]

2015-10-13 Thread Miramontes Caton, Jairo Daniel
Created bug in fdo bugzilla to keep track of this regression: https://bugs.freedesktop.org/show_bug.cgi?id=92454 Regards -Original Message- From: Daniel Vetter [mailto:daniel.vet...@ffwll.ch] On Behalf Of Daniel Vetter Sent: Monday, October 12, 2015 2:06 AM To: Darren Hart Cc: Linux Kerne

Re: [PATCH 1/1] perf:Adding --list-opts to usage string

2015-10-13 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 14, 2015 at 10:29:05AM +0800, Yunlong Song escreveu: > On 2015/10/13 23:24, Ramkumar Ramachandra wrote: > > Arnaldo Carvalho de Melo wrote: > >> Em Thu, Oct 08, 2015 at 10:59:50AM +0530, Sriram Raghunathan escreveu: > >>> Minor change, adding --list-opts to usage string. So that it is >

Re: [RESEND PATCH 1/1] mm: vmstat: Add OOM victims count in vmstat counter

2015-10-13 Thread David Rientjes
On Mon, 12 Oct 2015, Pintu Kumar wrote: > This patch maintains the number of oom victims kill count in > /proc/vmstat. > Currently, we are dependent upon kernel logs when the kernel OOM occurs. > But kernel OOM can went passed unnoticed by the developer as it can > silently kill some background ap

[PATCH] ARM: dts: at91: sama5d2_xplained: add regulator nodes

2015-10-13 Thread Wenyou Yang
Add regulator nodes of PMIC ACT8945A chip on the board. Signed-off-by: Wenyou Yang --- arch/arm/boot/dts/at91-sama5d2_xplained.dts | 57 +++ 1 file changed, 57 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xpl

[PATCH v9 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding

2015-10-13 Thread Ley Foon Tan
This patch adds the bindings for Altera PCIe host controller driver and Altera PCIe MSI driver. Signed-off-by: Ley Foon Tan --- .../devicetree/bindings/pci/altera-pcie-msi.txt| 28 + .../devicetree/bindings/pci/altera-pcie.txt| 49 ++ 2 files changed,

[PATCH v9 1/6] arm: add msi.h to Kbuild

2015-10-13 Thread Ley Foon Tan
Include asm-generic/msi.h to support CONFIG_GENERIC_MSI_IRQ_DOMAIN. This to fix compilation error: "include/linux/msi.h:123:21: fatal error: asm/msi.h: No such file or directory" Signed-off-by: Ley Foon Tan --- arch/arm/include/asm/Kbuild | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/

Re: [PATCH] mm: skip if required_kernelcore is larger than totalpages

2015-10-13 Thread Tang Chen
Hi, Qiu The patch seems OK to me. Only one little concern below. On 10/12/2015 09:37 AM, Xishi Qiu wrote: On 2015/10/9 23:41, Yasuaki Ishimatsu wrote: On Thu, 8 Oct 2015 10:21:05 +0800 Xishi Qiu wrote: If kernelcore was not specified, or the kernelcore size is zero (required_movablecore >=

Re: [PATCH 2/3] dts: Updated devicetree bindings for Zynq 7000 platform

2015-10-13 Thread Moritz Fischer
Hi Michal, On Mon, Oct 12, 2015 at 2:32 AM, Michal Simek wrote: > On 10/09/2015 12:45 AM, Moritz Fischer wrote: >> Added addtional bindings required for FPGA Manager operation >> of the Xilinx Zynq Devc configuration interface. >> >> Signed-off-by: Moritz Fischer >> --- >> arch/arm/boot/dts/zyn

[PATCH] ARM: SWP emulation: Restore original *data when failed

2015-10-13 Thread Shengjiu Wang
__user_swpX_asm maybe failed in first STREX operation, emulate_swpX will try again, but the *data has been changed in first time. which cause the result is wrong. So need to recover the *data when failed. Signed-off-by: Shengjiu Wang --- arch/arm/kernel/swp_emulate.c | 1 + 1 file changed, 1 ins

[PATCH] pstore: add a helper function pstore_register_kmsg

2015-10-13 Thread Geliang Tang
Add a new wraper function pstore_register_kmsg to keep the consistency with the other similar pstore_register_* functions. Signed-off-by: Geliang Tang --- fs/pstore/platform.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fs/pstore/platform.c b/fs/pstore/platform.c in

[PATCH] debugfs: update commits of debugfs_remove

2015-10-13 Thread Tan Xiaojun
This function debugfs_remove can't remove a directory if it is not empty. The commits make misunderstood and cause misuse easily, so update it. Signed-off-by: Tan Xiaojun --- fs/debugfs/inode.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fs/debugfs/inode.c b/fs/debug

[PATCH v9 6/6] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer

2015-10-13 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- MAINTAINERS | 16 1 file changed, 16 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5f46784..0f55f38 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7943,6 +7943,14 @@ F: include/linux/pci* F: arch/x86/pci/ F: arch/x86/k

[PATCH v9 3/6] pci:host: Add Altera PCIe host controller driver

2015-10-13 Thread Ley Foon Tan
This patch adds the Altera PCIe host controller driver. Signed-off-by: Ley Foon Tan Reviewed-by: Marc Zyngier --- drivers/pci/host/Kconfig | 7 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera.c | 592 + 3 files changed, 600

[PATCH v9 4/6] pci: altera: Add Altera PCIe MSI driver

2015-10-13 Thread Ley Foon Tan
This patch adds Altera PCIe MSI driver. This soft IP supports configurable number of vectors, which is a dts parameter. Signed-off-by: Ley Foon Tan Reviewed-by: Marc Zyngier --- drivers/pci/host/Kconfig | 8 + drivers/pci/host/Makefile | 1 + drivers/pci/host/pcie-altera-

[PATCH v9 2/6] pci: add Altera PCI vendor ID

2015-10-13 Thread Ley Foon Tan
Signed-off-by: Ley Foon Tan --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index d9ba49c..08e4462 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -1550,6 +1550,8 @@ #define PCI_DEVICE_ID_SE

[PATCH v9 0/6] Altera PCIe host controller driver with MSI support

2015-10-13 Thread Ley Foon Tan
This is the 9th version of patch set to add support for Altera PCIe host controller with MSI feature on Altera FPGA device families. This patchset mainly update the config read and write functions to support read/write specific bytes to avoid read-modify-write and minor fixes. This patchset is bas

Re: [RFC] arm64: ioremap: add ioremap_cache macro

2015-10-13 Thread yalin wang
> On Oct 13, 2015, at 23:20, Catalin Marinas wrote: > > On Tue, Oct 13, 2015 at 03:23:27PM +0100, Will Deacon wrote: >> On Tue, Oct 13, 2015 at 03:10:55PM +0100, Catalin Marinas wrote: >>> On Mon, Oct 12, 2015 at 10:28:18AM +0800, yalin wang wrote: Add ioremap_cache macro, because some code

Re: Crypto Fixes for 4.3

2015-10-13 Thread Herbert Xu
On Tue, Oct 13, 2015 at 07:00:20PM -0700, Linus Torvalds wrote: > > You might try to start using signed tags for your pull requests. That > lessens this kind of issue, because now only will you write the tag > message and then your signing key pass phrase etc, the tag would > specify one very parti

Re: [PATCH 1/3] slab_common: rename cache create/destroy helpers

2015-10-13 Thread David Rientjes
On Thu, 8 Oct 2015, Vladimir Davydov wrote: > do_kmem_cache_create, do_kmem_cache_shutdown, and do_kmem_cache_release > sound awkward for static helper functions that are not supposed to be > used outside slab_common.c. Rename them to create_cache, shutdown_cache, > and release_caches, respectivel

Re: [PATCH V2] mm, page_alloc: reserve pageblocks for high-order atomic allocations on demand -fix

2015-10-13 Thread David Rientjes
On Tue, 13 Oct 2015, yalin wang wrote: > There is a redundant check and a memory leak introduced by a patch in > mmotm. This patch removes an unlikely(order) check as we are sure order > is not zero at the time. It also checks if a page is already allocated > to avoid a memory leak. > > This is a

Re: [PATCH] mm: skip if required_kernelcore is larger than totalpages

2015-10-13 Thread David Rientjes
On Thu, 8 Oct 2015, Xishi Qiu wrote: > If kernelcore was not specified, or the kernelcore size is zero > (required_movablecore >= totalpages), or the kernelcore size is larger > than totalpages, there is no ZONE_MOVABLE. We should fill the zone > with both kernel memory and movable memory. > > Si

  1   2   3   4   5   6   7   8   9   10   >