Re: [PATCH] drm/fb-helper: Don't call dirty callback for untouched clips

2016-10-21 Thread Daniel Vetter
On Thu, Oct 20, 2016 at 05:00:35PM +0200, Takashi Iwai wrote: > On Thu, 20 Oct 2016 16:56:04 +0200, > Ville Syrjälä wrote: > > > > On Thu, Oct 20, 2016 at 04:39:52PM +0200, Takashi Iwai wrote: > > > Since 4.7 kernel, we've seen the error messages like > > > > > > kernel: [TTM] Buffer eviction fa

Re: [RFC][PATCH 4/4] futex: Rewrite FUTEX_UNLOCK_PI

2016-10-21 Thread Peter Zijlstra
On Mon, Oct 10, 2016 at 12:17:48PM +0200, Thomas Gleixner wrote: > I fear, we need to rethink this whole locking/protection scheme from > scratch. Here goes... as discussed at ELCE this serializes the {uval, pi_state} state using pi_mutex->wait_lock. I did my best to reason about requeue_pi, but

Re: [PATCH] mm, mempolicy: clean up __GFP_THISNODE confusion in policy_zonelist

2016-10-21 Thread Aneesh Kumar K.V
Vlastimil Babka writes: > On 10/21/2016 01:34 PM, Aneesh Kumar K.V wrote: >> Michal Hocko writes: >>> >> >> For both MPOL_PREFERED and MPOL_INTERLEAVE we pick the zone list from >> the node other than the current running node. Why don't we do that for >> MPOL_BIND ?ie, if the current node is not

Re: [PATCH] [media] c8sectpfe: Remove clk_disable_unprepare hacks

2016-10-21 Thread Patrice Chotard
On 10/21/2016 10:55 AM, Peter Griffin wrote: > Now that CLK_PROC_STFE is defined as a critical clock in > DT, we can remove the commented clk_disable_unprepare from > the c8sectpfe driver. This means we now have balanced > clk*enable/disable calls in the driver, but on STiH407 > family the clock in

Re: [PATCH]"drm: change DRM_MIPI_DSI module type from "bool" to "tristate".

2016-10-21 Thread Daniel Vetter
On Thu, Oct 20, 2016 at 04:44:49PM +0300, Jani Nikula wrote: > On Thu, 20 Oct 2016, Andrzej Hajda wrote: > > Hi Jani, > > > > Forgive me late response. > > > > On 12.10.2016 16:28, Jani Nikula wrote: > >> On Wed, 12 Oct 2016, Emil Velikov wrote: > >>> On 11 October 2016 at 10:33, Jani Nikula >

Re: [PATCH 4/6 v5] sched: propagate load during synchronous attach/detach

2016-10-21 Thread Dietmar Eggemann
On 10/17/2016 10:14 AM, Vincent Guittot wrote: When a task moves from/to a cfs_rq, we set a flag which is then used to propagate the change at parent level (sched_entity and cfs_rq) during next update. If the cfs_rq is throttled, the flag will stay pending until the cfs_rw is unthrottled. minor

Re: [PATCH] ARM: sti: stih407-clocks: Identify critical clocks

2016-10-21 Thread Patrice Chotard
On 10/21/2016 11:08 AM, Peter Griffin wrote: > Lots of platforms contain clocks which if turned off would prove fatal. > The only way to recover is to restart the board(s). This driver takes > references to clocks which are required to be always-on. The Common > Clk Framework will then take refer

Re: [PATCH V7 2/3] stm class: ftrace: Add ftrace-export-over-stm driver

2016-10-21 Thread Chunyan Zhang
On 19 October 2016 at 00:29, Steven Rostedt wrote: > On Tue, 18 Oct 2016 16:08:59 +0800 > Chunyan Zhang wrote: > >> This patch adds a driver that models itself as an stm_source called >> stm_ftrace. Once the stm device and stm_ftrace have been linked via >> sysfs, the driver registers itself as a

RE: Device or HBA level QD throttling creates randomness in sequetial workload

2016-10-21 Thread Kashyap Desai
Hi - I found below conversation and it is on the same line as I wanted some input from mailing list. http://marc.info/?l=linux-kernel&m=147569860526197&w=2 I can do testing on any WIP item as Omar mentioned in above discussion. https://github.com/osandov/linux/tree/blk-mq-iosched Is there any w

[PATCH] net: sctp, forbid negative length

2016-10-21 Thread Jiri Slaby
Most of getsockopt handlers in net/sctp/socket.c check len against sizeof some structure like: if (len < sizeof(int)) return -EINVAL; On the first look, the check seems to be correct. But since len is int and sizeof returns size_t, int gets promoted to unsigned size_t too.

Re: [PATCH V7 1/3] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

2016-10-21 Thread Chunyan Zhang
On 18 October 2016 at 23:44, Steven Rostedt wrote: > On Tue, 18 Oct 2016 16:08:58 +0800 > Chunyan Zhang wrote: > >> Currently Function traces can be only exported to ring buffer, this >> patch added trace_export concept which can process traces and export >> them to a registered destination as an

Re: [PATCH] mm, mempolicy: clean up __GFP_THISNODE confusion in policy_zonelist

2016-10-21 Thread Vlastimil Babka
On 10/21/2016 01:34 PM, Aneesh Kumar K.V wrote: Michal Hocko writes: For both MPOL_PREFERED and MPOL_INTERLEAVE we pick the zone list from the node other than the current running node. Why don't we do that for MPOL_BIND ?ie, if the current node is not part of the policy node mask why are we

Re: [PATCH/RFC 0/5] cpu_relax: introduce yield, remove lowlatency

2016-10-21 Thread Peter Zijlstra
On Fri, Oct 21, 2016 at 01:58:53PM +0200, Christian Borntraeger wrote: > Christian Borntraeger (5): > processor.h: introduce cpu_relax_yield > stop_machine: yield CPU during stop machine > s390: make cpu_relax a barrier again > Remove cpu_relax_lowlatency users > remove cpu_relax_lowlaten

Re: [PATCH 2/5] stop_machine: yield CPU during stop machine

2016-10-21 Thread Peter Zijlstra
On Fri, Oct 21, 2016 at 01:58:55PM +0200, Christian Borntraeger wrote: > stop_machine can take a very long time if the hypervisor does > overcommitment for guest CPUs. When waiting for "the one", lets > give up our CPU by using the new cpu_relax_yield. This seems something that would apply to most

Re: [PATCH net-next 3/6] net: use core MTU range checking in WAN drivers

2016-10-21 Thread Krzysztof Hałasa
Jarod Wilson writes: > - set min/max_mtu in all hdlc drivers, remove hdlc_change_mtu > - sent max_mtu in lec driver, remove lec_change_mtu > drivers/net/wan/c101.c| 1 - > drivers/net/wan/hdlc.c| 11 ++- > drivers/net/wan/hdlc_fr.c | 3 ++- > drivers/ne

[PATCH 5/5] remove cpu_relax_lowlatency

2016-10-21 Thread Christian Borntraeger
As there are no users left, we can remove cpu_relax_lowlatency. Signed-off-by: Christian Borntraeger --- arch/alpha/include/asm/processor.h | 1 - arch/arm/include/asm/processor.h| 1 - arch/arm64/include/asm/processor.h | 1 - arch/avr32/include/asm/processor.h | 1 - arc

[PATCH 2/5] stop_machine: yield CPU during stop machine

2016-10-21 Thread Christian Borntraeger
stop_machine can take a very long time if the hypervisor does overcommitment for guest CPUs. When waiting for "the one", lets give up our CPU by using the new cpu_relax_yield. Signed-off-by: Christian Borntraeger --- kernel/stop_machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[PATCH 4/5] Remove cpu_relax_lowlatency users

2016-10-21 Thread Christian Borntraeger
With the s390 special case of a yielding cpu_relax implementation gone, we can now remove all users of cpu_relax_lowlatency. Signed-off-by: Christian Borntraeger --- drivers/gpu/drm/i915/i915_gem_request.c | 2 +- drivers/vhost/net.c | 4 ++-- kernel/locking/mcs_spinlock.h

[PATCH/RFC 0/5] cpu_relax: introduce yield, remove lowlatency

2016-10-21 Thread Christian Borntraeger
For spinning loops people did often use barrier() or cpu_relax(). For most architectures cpu_relax and barrier are the same, but on some architectures cpu_relax can add some latency. For example on s390 cpu_relax gives up the time slice to the hypervisor. On power cpu_relax tries to give some of th

[PATCH 3/5] s390: make cpu_relax a barrier again

2016-10-21 Thread Christian Borntraeger
stop_machine seems to be the only important place for yielding during cpu_relax. This was fixed by using cpu_relax_yield. Therefore, we can now redefine cpu_relax to be a barrier instead. (With the option to do some SMT tuning later on) Signed-off-by: Christian Borntraeger --- arch/s390/include/

[PATCH 1/5] processor.h: introduce cpu_relax_yield

2016-10-21 Thread Christian Borntraeger
For spinning loops people did often use barrier() or cpu_relax(). For most architectures cpu_relax and barrier are the same, but on some architectures cpu_relax can add some latency. For example on s390 cpu_relax gives up the time slice to the hypervisor. On power cpu_relax tries to give some of th

Re: UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Cyrille Pitchen
Hi all, Le 21/10/2016 à 11:29, Richard Weinberger a écrit : > Hi! > > On 21.10.2016 11:21, Naga Sureshkumar Relli wrote: >> Hi, >> >> This is regarding UBIFS on 4.6 kernel. >> We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not >> working with dma on this kernel. >> Controll

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Giuseppe CAVALLARO
Hello some my minor cents below On 10/21/2016 12:20 PM, Joachim Eastwood wrote: Hi Neil, On 21 October 2016 at 10:44, Neil Armstrong wrote: Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. Signed-off-by: Neil Armstrong --- .../devicetree/bindings/net/oxnas-dwmac.

Re: [PATCH] mm, mempolicy: clean up __GFP_THISNODE confusion in policy_zonelist

2016-10-21 Thread Michal Hocko
On Fri 21-10-16 17:04:50, Aneesh Kumar K.V wrote: > Michal Hocko writes: > > > From: Michal Hocko > > > > __GFP_THISNODE is documented to enforce the allocation to be satisified > > from the requested node with no fallbacks or placement policy > > enforcements. policy_zonelist seemingly breaks t

[PATCH 1/2] perf_event_open.2: Document PERF_EVENT_IOC_PAUSE_OUTPUT

2016-10-21 Thread Wang Nan
Linux 4.7 (86e7972f690c1017fd086cdfe53d8524e68c661c) introduces PERF_EVENT_IOC_PAUSE_OUTPUT feature. Document it. Signed-off-by: Wang Nan Cc: Michael Kerrisk --- man2/perf_event_open.2 | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/man2/perf_event_open.2 b/man

[PATCH 2/2] perf_event_open.2: Document write_backward

2016-10-21 Thread Wang Nan
Linux 4.7 (9ecda41acb971ebd07c8fb35faf24005c0baea12) introduces write_backward attribute to perf_event_attr. Document this feature. Signed-off-by: Wang Nan Cc: Michael Kerrisk --- man2/perf_event_open.2 | 56 +++--- 1 file changed, 53 insertions(+), 3

Re: [PATCH v3 net-next 8/8] net: qualcomm: add QCA7000 UART driver

2016-10-21 Thread Stefan Wahren
Am 18.10.2016 um 20:30 schrieb David Miller: > From: Stefan Wahren > Date: Tue, 18 Oct 2016 13:27:34 +0200 > >> +void >> +qca_tty_receive(struct tty_struct *tty, const unsigned char *cp, char *fp, >> +int count) >> +{ >> +struct qcauart *qca = tty->disc_data; >> +struct net_dev

Re: [STLinux Kernel] [PATCH v2 1/6] ARM: dts: STiH407: DT fix s/interrupts-names/interrupt-names/

2016-10-21 Thread Patrice Chotard
On 10/21/2016 12:11 PM, Peter Griffin wrote: > On Fri, 21 Oct 2016, Geert Uytterhoeven wrote: > >> Signed-off-by: Geert Uytterhoeven >> Acked-by: Rob Herring >> --- >> v2: >> - Add Acked-by. >> --- > > Acked-by: Peter Griffin > applied with Peter Acked-by Thanks Geert

Re: Improving software around DMA API usage?

2016-10-21 Thread SF Markus Elfring
> If you want to do something that might be useful, you could look into the > problem of missing checks for dma mapping failure. There is nice slide > presenatation about the issue: > > http://www.slideshare.net/SamsungOSG/shuah-khan-dmamaperror Thanks for your suggestion about the software dev

Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Eric Dumazet
On Fri, 2016-10-21 at 10:45 +0200, Jiri Kosina wrote: > The original reason [1] for having hidden qdiscs (potential scalability > issues in qdisc_match_from_root() with single linked list in case of large > amount of qdiscs) has been invalidated by 59cc1f61f0 ("net: sched: convert > qdisc linked

Re: [PATCH] mm, mempolicy: clean up __GFP_THISNODE confusion in policy_zonelist

2016-10-21 Thread Aneesh Kumar K.V
Michal Hocko writes: > From: Michal Hocko > > __GFP_THISNODE is documented to enforce the allocation to be satisified > from the requested node with no fallbacks or placement policy > enforcements. policy_zonelist seemingly breaks this semantic if the > current policy is MPOL_MBIND and instead o

Re: [PATCH v14 7/9] clocksource/drivers/arm_arch_timer: Refactor the timer init code to prepare for GTDT

2016-10-21 Thread Mark Rutland
On Thu, Sep 29, 2016 at 02:17:15AM +0800, fu@linaro.org wrote: > From: Fu Wei > > The patch refactor original memory-mapped timer init code: > (1) extract some subfunction for reusing some common code > a. get_cnttidr > b. is_best_frame > (2) move base address and irq code for arch_ti

RE: [PATCH v5 9/9] Documentation: virtual: kvm: Support vcpu preempted check

2016-10-21 Thread David Laight
From: Pan Xinhui > Sent: 20 October 2016 22:28 > Commit ("x86, kvm: support vcpu preempted check") add one field "__u8 > preempted" into struct kvm_steal_time. This field tells if one vcpu is > running or not. > > It is zero if 1) some old KVM deos not support this filed. 2) the vcpu is > preempte

Re: [PATCH v14 5/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-10-21 Thread Mark Rutland
On Fri, Oct 21, 2016 at 12:14:01PM +0100, Mark Rutland wrote: > On Thu, Oct 20, 2016 at 05:58:17PM +0100, Mark Rutland wrote: > > On Thu, Sep 29, 2016 at 02:17:13AM +0800, fu@linaro.org wrote: > > > + arch_timer_ppi[PHYS_NONSECURE_PPI] = > > > acpi_gtdt_map_ppi(PHYS_NONSECURE_PPI); > > > + arc

Re: [PATCH v14 6/9] acpi/arm64: Add memory-mapped timer support in GTDT driver

2016-10-21 Thread Mark Rutland
On Thu, Sep 29, 2016 at 02:17:14AM +0800, fu@linaro.org wrote: > From: Fu Wei > > On platforms booting with ACPI, architected memory-mapped timers' > configuration data is provided by firmware through the ACPI GTDT > static table. > > The clocksource architected timer kernel driver requires

RE: Memory fragmentation issue related suggestion request

2016-10-21 Thread Ankur Tank
Hi Pintu kumar, I have tried couple of options what you have suggested but no breakthrough yet. Meanwhile I was trying to use swap on ZRAM, I enabled following configuration in kernel menuconfig CONFIG_ZSMALLOC=y CONFIG_ZRAM=y and then I am running following from init script, echo 25

Re: [PATCH RFC 6/6] selftests: enable O and KBUILD_OUTPUT

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Enable O and KBUILD_OUTPUT for kselftest. User could compile kselftest > to another directory by passing O or KBUILD_OUTPUT. And O is hig

Re: [RFC] fs/proc/meminfo: introduce Unaccounted statistic

2016-10-21 Thread Dave Chinner
On Fri, Oct 21, 2016 at 09:25:10AM +0200, Vlastimil Babka wrote: > On 10/21/2016 12:59 AM, Dave Chinner wrote: > >On Thu, Oct 20, 2016 at 03:33:58PM +0200, Michal Hocko wrote: > >>On Thu 20-10-16 14:11:49, Vlastimil Babka wrote: > >>[...] > >>> Hi, I'm wondering if people would find this useful. If

Re: [PATCH RFC 5/6] selftests: add EXTRA_CLEAN for clean target

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Some testcases need the clean extra data after running. This patch > introduce the "EXTRA_CLEAN" variable to address this requirement. >

Re: [PATCH RFC 3/6] selftests: add default rules for c source file

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > There are difference rules for compiling c source file in different > testcases. In order to enable KBUILD_OUTPUT support in later patch,

Re: [PATCH RFC 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > After previous clean up patches, memfd and timers could get > CROSS_COMPILE from tools/testing/selftest/lib.mk. There is no need to > pre

Re: [PATCH v2 0/2] ARM: oxnas: Add SMP support for OX820

2016-10-21 Thread Arnd Bergmann
On Friday, October 21, 2016 10:58:46 AM CEST Neil Armstrong wrote: > In order to support the SMP feature of the Oxford Semiconductor OX820 SoC, > add the necessary code to handle the wake-up, hotplug and cpu entry. > > The OX820 has an ARM11MPCORE cluster with 2 cores and has proper hardware > sup

[RFC PATCH] kbuild: add -fno-PIE

2016-10-21 Thread Sebastian Andrzej Siewior
Debian started to build the gcc with --enable-default-pie by default so the kernel build ends before it starts properly with: |kernel/bounds.c:1:0: error: code model kernel does not support PIC mode Is this okay or do we want some kind of check to see if -fno-PIE is supported? It is mentioned in t

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread Vitaly Kuznetsov
David Miller writes: > From: Vitaly Kuznetsov > Date: Thu, 20 Oct 2016 10:51:04 +0200 > >> Stephen Hemminger writes: >> >>> Do we need ACCESS_ONCE() here to avoid check/use issues? >>> >> >> I think we don't: this is the only place in the function where we read >> the variable so we'll get no

Re: [PATCH RFC 2/6] selftests: remove useless TEST_DIRS

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > The TEST_DIRS was introduced in Commit e8c1d7cdf137 ("selftests: copy > TEST_DIRS to INSTALL_PATH") for coping a whole directory in ftrac

Re: [PATCH RFC 1/6] selftests: remove duplicated all and clean target

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Currently, kselftest use TEST_PROGS, TEST_PROGS_EXTENDED, TEST_FILES to > indicate the default test program, extended test program and te

Re: [PATCH v14 5/9] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-10-21 Thread Mark Rutland
On Thu, Oct 20, 2016 at 05:58:17PM +0100, Mark Rutland wrote: > On Thu, Sep 29, 2016 at 02:17:13AM +0800, fu@linaro.org wrote: > > + arch_timer_ppi[PHYS_NONSECURE_PPI] = > > acpi_gtdt_map_ppi(PHYS_NONSECURE_PPI); > > + arch_timer_ppi[VIRT_PPI] = acpi_gtdt_map_ppi(VIRT_PPI); > > + arch_ti

Re: [PATCH 0/3] iopmem : A block device for PCIe memory

2016-10-21 Thread Dave Chinner
On Fri, Oct 21, 2016 at 02:57:14AM -0700, Christoph Hellwig wrote: > On Fri, Oct 21, 2016 at 10:22:39AM +1100, Dave Chinner wrote: > > You do realise that local filesystems can silently change the > > location of file data at any point in time, so there is no such > > thing as a "stable mapping" of

Re: [PATCH RFC 0/6] enable O and KBUILD_OUTPUT for kselftest

2016-10-21 Thread Bamvor Zhang Jian
Fix the wrong email address of kevin hilman to khil...@kernel.org. Sorry for inconvenience. On 21 October 2016 at 19:01, wrote: > From: Bamvor Jian Zhang > > Here is my first version for enabling the KBUILD_OUTPUT for kselftest. > I fix and test all the TARGET in tools/testing/selftest/Makefile

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread Julia Lawall
Markus, If you want to do something that might be useful, you could look into the problem of missing checks for dma mapping failure. There is nice slide presenatation about the issue: http://www.slideshare.net/SamsungOSG/shuah-khan-dmamaperror The slides are from a few years ago, but I did a s

[PATCH RFC 1/6] selftests: remove duplicated all and clean target

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Currently, kselftest use TEST_PROGS, TEST_PROGS_EXTENDED, TEST_FILES to indicate the default test program, extended test program and test files. These lead to duplicated all and clean targets. In order to remove them, introduce TEST_GEN_PROGS, TEST_GEN_PROGS_EXTENDED, TES

[PATCH RFC 2/6] selftests: remove useless TEST_DIRS

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang The TEST_DIRS was introduced in Commit e8c1d7cdf137 ("selftests: copy TEST_DIRS to INSTALL_PATH") for coping a whole directory in ftrace. After rsync(with -a) is introduced by Commit 900d65ee11aa ("selftests: change install command to rsync"). Rsync could handle the direc

[PATCH RFC 6/6] selftests: enable O and KBUILD_OUTPUT

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Enable O and KBUILD_OUTPUT for kselftest. User could compile kselftest to another directory by passing O or KBUILD_OUTPUT. And O is high priority than KBUILD_OUTPUT. Signed-off-by: Bamvor Jian Zhang --- tools/testing/selftests/Makefile | 39 +++

[PATCH RFC 0/6] enable O and KBUILD_OUTPUT for kselftest

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Here is my first version for enabling the KBUILD_OUTPUT for kselftest. I fix and test all the TARGET in tools/testing/selftest/Makefile. For ppc, I test through fake target. There are six patches in these series. And five of them clean up the existing code. I split the cl

[PATCH RFC 4/6] selftests: remove CROSS_COMPILE in dedicated Makefile

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang After previous clean up patches, memfd and timers could get CROSS_COMPILE from tools/testing/selftest/lib.mk. There is no need to preserve these definition. So, this patch remove them. Signed-off-by: Bamvor Jian Zhang --- tools/testing/selftests/memfd/Makefile | 1 - t

[PATCH RFC 5/6] selftests: add EXTRA_CLEAN for clean target

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang Some testcases need the clean extra data after running. This patch introduce the "EXTRA_CLEAN" variable to address this requirement. After KOUTPUT_BUILD is enabled in later patch, it will be easy to decide to if we need do the cleanup in the KOUTPUT_BUILD path, if the tes

[PATCH RFC 3/6] selftests: add default rules for c source file

2016-10-21 Thread bamvor.zhangjian
From: Bamvor Jian Zhang There are difference rules for compiling c source file in different testcases. In order to enable KBUILD_OUTPUT support in later patch, this patch introduce the default rules in "tools/testing/selftest/lib.mk" and remove the existing rules in each testcase. Signed-off-by:

Re: [PATCH 3/8] xen/pvh: Import PVH-related Xen public interfaces

2016-10-21 Thread Juergen Gross
On 14/10/16 20:05, Boris Ostrovsky wrote: > Signed-off-by: Boris Ostrovsky Reviewed-by: Juergen Gross Juergen

Re: [PATCH v2 1/1] ahci: imx: Add imx53 SATA temperature sensor support

2016-10-21 Thread Bartlomiej Zolnierkiewicz
Hi, On Friday, October 21, 2016 09:26:08 AM Fabien Lahoudere wrote: > From: Csaba Kertesz > > Add a hwmon entry to get the temperature from the die of imx53 > SATA. > > The original patch was made by Richard Zhu for kernel 2.6.x: > ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch

Re: [PREEMPT-RT] Oops in rapl_cpu_prepare()

2016-10-21 Thread Sebastian Andrzej Siewior
On 2016-10-20 16:27:55 [-0400], Charles (Chas) Williams wrote: > Recent 4.8 kernels have been oopsing when running under VMWare: can you reproduce this on bare metal? > [2.270203] BUG: unable to handle kernel NULL pointer dereference at > 0408 > [2.270325] IP: [] rapl_cpu_onl

Re: [PATCH v5 4/4] drm/fence: add out-fences support

2016-10-21 Thread Brian Starkey
Hi Gustavo, On Thu, Oct 20, 2016 at 06:30:17PM -0200, Gustavo Padovan wrote: Hi Brian, 2016-10-20 Brian Starkey : Hi Gustavo, I notice your branch has the sync_file refcount change in, but this doesn't seem to take account for that. Will you be dropping that change to match the semantics of

Re: [PATCH v2 4/4] Cleaned the code, no functional changes.

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-14 at 17:52 +0100, luis.olive...@synopsys.com wrote: > From: Luis Oliveira > Style issues. The parts of this patch shouldn't be brought by the others patches in the series. Consider carefully check your patches before submitting. > Signed-off-by: Luis Oliveira > --- >  drivers

Re: [PATCH v2 3/4] Device bindings documentation updated ACPI-enabled platforms not currently supported

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-21 at 10:56 +0100, Luis Oliveira wrote: > Since practically 90% of the code is shared between master and slave, > I was > thinking if it will be acceptable to use the same driver for both but > differentiate the master/slave mode by the compatible strings. It might be possible to s

Re: [PATCH v2 2/4] Added I2C_SLAVE as a dependency to I2C_DESIGNWARE_CORE Enable _slave() mode Review of the pm_runtime...() methods and cleaning

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-14 at 17:52 +0100, luis.olive...@synopsys.com wrote: > From: Luis Oliveira > Same style issues here and in the code itself. Check all your patches before submitting. More comments below. > @@ -785,9 +817,59 @@ static u32 i2c_dw_func(struct i2c_adapter *adap) >   return dev-

[PATCH v2] usb: dwc3: Fix error handling for core init

2016-10-21 Thread Vivek Gautam
Fixing the sequence of events in dwc3_core_init() error exit path. dwc3_core_exit() call is also removed from the error path since, whatever it's doing is already done. Fixes: c499ff7 usb: dwc3: core: re-factor init and exit paths Cc: Felipe Balbi Cc: Greg KH Cc: Stable # 4.8+ Signed-off-by: V

Re: [PATCH v2 1/1] usb: xhci: clean up error_bitmask usage

2016-10-21 Thread Mathias Nyman
On 21.10.2016 06:14, Lu Baolu wrote: In xhci_handle_event(), when errors are detected, driver always sets a bit in error_bitmask (one member of the xhci private driver data). That means users have to retrieve and decode the value of error_bitmask in xhci private driver data if they want to know w

Re: [PATCH v3 5/6] ARM: sunxi: Remove useless allwinner,pull property

2016-10-21 Thread Maxime Ripard
Hi, On Thu, Oct 20, 2016 at 05:38:48PM +0200, Jean-Francois Moine wrote: > On Thu, 20 Oct 2016 15:49:06 +0200 > Maxime Ripard wrote: > > > The allwinner,pull property set to NO_PULL was really considered our > > default (and wasn't even changing the default value in the code). > > > > Remove th

Re: [PATCH net-next] nfnetlink_log: Use GFP_NOWARN for skb allocation

2016-10-21 Thread Pablo Neira Ayuso
On Fri, Oct 07, 2016 at 02:02:16PM -0700, Calvin Owens wrote: > Since the code explicilty falls back to a smaller allocation when the > large one fails, we shouldn't complain when that happens. Applied, thanks.

Re: [PATCH v2 1/4] Factor out _master() parts of code and identify as much as possible all related with MASTER mode

2016-10-21 Thread Andy Shevchenko
On Fri, 2016-10-14 at 17:52 +0100, luis.olive...@synopsys.com wrote: > From: Luis Oliveira This wouldn't be here. > Something wrong with your commit message. Perhaps you were into SVN, here is a bit different format of the commit messages, i.e. 1. Summary / Subject line — short description 2.

Re: [PATCH 1/3] f2fs: add fast path for find_next_{zero}bit

2016-10-21 Thread Christoph Hellwig
On Thu, Oct 20, 2016 at 07:28:45PM -0700, Jaegeuk Kim wrote: > This patch adds checking the first two bits when searching zero or one bits to > avoid costly find_next_{zero}bit operations. Please fix this in the generic iplementations instead of adding your local workarounds.

Re: [PATCH] soc: qcom: Add SoC info driver

2016-10-21 Thread Arnd Bergmann
On Thursday, October 20, 2016 7:36:22 PM CEST Imran Khan wrote: > +#include > +#include > + > +#include I don't see anything here that needs asm/system_misc.h > +const char *hw_platform[] = { > + [HW_PLATFORM_UNKNOWN] = "Unknown", > + [HW_PLATFORM_SURF] = "Surf", > + [HW_PLATFORM_F

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread Geert Uytterhoeven
On Fri, Oct 21, 2016 at 12:22 PM, Dan Carpenter wrote: > I am not going to Eliza with you. +1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a ha

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Marc Zyngier
On 21/10/16 09:49, Jerome Brunet wrote: > On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: >> Jerome, >> >> On 19/10/16 16:21, Jerome Brunet wrote: >>> >>> Add support for the interrupt gpio controller found on Amlogic's >>> meson >>> SoC family. >>> >>> Unlike what the IP name suggest, it is

Linux 3.10.104

2016-10-21 Thread Willy Tarreau
Linux 3.10.104 was just released. All users of the 3.10 kernel series must upgrade. The patch and changelog will appear soon at the following locations: https://www.kernel.org/pub/linux/kernel/v3.x/ https://www.kernel.org/pub/linux/kernel/v3.x/patch-3.10.104.xz https://www.kernel.org/pub/li

Re: [PATCH] usb: dwc3: Fix error handling for core init

2016-10-21 Thread Vivek Gautam
Hi, On Fri, Oct 21, 2016 at 3:45 PM, Felipe Balbi wrote: > > Hi, > > Vivek Gautam writes: >> Fixing the sequence of events in dwc3_core_init() error exit path. >> dwc3_core_exit() call is removed from the error path since, >> whatever it's doing is already done. >> >> Signed-off-by: Vivek Gauta

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread Dan Carpenter
I am not going to Eliza with you. regards, dan carpenter

Re: [PATCH] net: stmmac: Add OXNAS Glue Driver

2016-10-21 Thread Joachim Eastwood
Hi Neil, On 21 October 2016 at 10:44, Neil Armstrong wrote: > Add Synopsys Designware MAC Glue layer for the Oxford Semiconductor OX820. > > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/net/oxnas-dwmac.txt| 44 + > drivers/net/ethernet/stmicro/stmmac/Kconfig

Re: [PATCH] kernel: irq: fix build failure

2016-10-21 Thread Stephen Rothwell
Hi Thomas, On Fri, 21 Oct 2016 10:07:41 +0200 (CEST) Thomas Gleixner wrote: > > On Fri, 21 Oct 2016, Stephen Rothwell wrote: > > On Thu, 20 Oct 2016 14:55:45 +0200 (CEST) Thomas Gleixner > > wrote: > > > I know. This is under discussion with the driver folks as we are not going > > > to blin

Re: [PATCH] arm64: mm: fix __page_to_voff definition

2016-10-21 Thread Ard Biesheuvel
On 21 October 2016 at 09:58, Neeraj Upadhyay wrote: > Fix parameter name for __page_to_voff, to match its definition. > At present, we don't see any issue, as page_to_virt's caller > declares 'page'. > > Fixes: 9f2875912dac ("arm64: mm: restrict virt_to_page() to the linear > mapping") > Signed-o

[PATCH] gpio: mpc8xxx: Correct irq handler function

2016-10-21 Thread Liu Gang
>From the beginning of the gpio-mpc8xxx.c, the "handle_level_irq" has being used to handle GPIO interrupts in the PowerPC/Layerscape platforms. But actually, almost all PowerPC/Layerscape platforms assert an interrupt request upon either a high-to-low change or any change on the state of the signal

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Jerome Brunet
On Fri, 2016-10-21 at 11:10 +0100, Mark Rutland wrote: > On Fri, Oct 21, 2016 at 10:49:11AM +0200, Jerome Brunet wrote: > > > > On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: > > > > > > On 19/10/16 16:21, Jerome Brunet wrote: > > > > > > > > +struct meson_gpio_irq_chip_data { > > > > +

Re: [PATCH] usb: dwc3: Fix error handling for core init

2016-10-21 Thread Felipe Balbi
Hi, Vivek Gautam writes: > Fixing the sequence of events in dwc3_core_init() error exit path. > dwc3_core_exit() call is removed from the error path since, > whatever it's doing is already done. > > Signed-off-by: Vivek Gautam > Cc: Felipe Balbi Care to blame the original commit and Cc stable

Re: [STLinux Kernel] [PATCH v2 1/6] ARM: dts: STiH407: DT fix s/interrupts-names/interrupt-names/

2016-10-21 Thread Peter Griffin
On Fri, 21 Oct 2016, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > Acked-by: Rob Herring > --- > v2: > - Add Acked-by. > --- Acked-by: Peter Griffin

Re: [PATCH v2 1/9] irqchip: meson: add support for gpio interrupt controller

2016-10-21 Thread Mark Rutland
On Fri, Oct 21, 2016 at 10:49:11AM +0200, Jerome Brunet wrote: > On Thu, 2016-10-20 at 17:33 +0100, Marc Zyngier wrote: > > On 19/10/16 16:21, Jerome Brunet wrote: > > > +struct meson_gpio_irq_chip_data { > > > + void __iomem *base; > > > + int index; > > > +}; > > > + > > > +static irq_hw_number_t

Re: [PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers

2016-10-21 Thread Wei Liu
On Thu, Oct 20, 2016 at 01:55:21PM -0400, Jarod Wilson wrote: > hyperv_net: > - set min/max_mtu, per Haiyang, after rndis_filter_device_add > > virtio_net: > - set min/max_mtu > - remove virtnet_change_mtu > > vmxnet3: > - set min/max_mtu > > xen-netback: > - min_mtu = 0, max_mtu = 65517 > > xe

Re: [PATCH v2 0/8] mm/swap: Regular page swap optimizations

2016-10-21 Thread Christian Borntraeger
On 10/21/2016 10:16 AM, Christian Borntraeger wrote: > On s390 4.9-rc1 + this patch set > I get the following on swapon > > [ 308.206195] [ cut here ] > [ 308.206203] WARNING: CPU: 5 PID: 20745 at mm/page_alloc.c:3511 > __alloc_pages_nodemask+0x884/0xdf8 > [ 308.206205]

[PATCH v7] net: ip, diag -- Add diag interface for raw sockets

2016-10-21 Thread Cyrill Gorcunov
In criu we are actively using diag interface to collect sockets present in the system when dumping applications. And while for unix, tcp, udp[lite], packet, netlink it works as expected, the raw sockets do not have. Thus add it. v2: - add missing sock_put calls in raw_diag_dump_one (by eric.dumaz

Re: [PATCH] net: cpsw: fix obtaining mac address for am3517

2016-10-21 Thread Jeroen Hofstee
Hello Tony, On 21-10-16 09:53, Tony Lindgren wrote: * Jeroen Hofstee [161021 00:37]: Hello Tony, On 21-10-16 08:38, Tony Lindgren wrote: * Jeroen Hofstee [161020 12:57]: Commit b6745f6e4e63 ("drivers: net: cpsw: davinci_emac: move reading mac id to common file") did not only move the code

Re: [PATCH] cpuidle: remove cpu_pm calls when entering a idle state

2016-10-21 Thread Sudeep Holla
Hi Chenhui, On Fri, Oct 21, 2016 at 10:32 AM, Chenhui Zhao wrote: > The functions, cpu_pm_enter and cpu_pm_exit, assume that CPU would > be reset when entering and exiting a idle state. If that is not the > case, they would cause issue. > So are you OK to break all the states that would be reset

Re: [PATCH 0/3] iopmem : A block device for PCIe memory

2016-10-21 Thread Christoph Hellwig
On Fri, Oct 21, 2016 at 10:22:39AM +1100, Dave Chinner wrote: > You do realise that local filesystems can silently change the > location of file data at any point in time, so there is no such > thing as a "stable mapping" of file data to block device addresses > in userspace? > > If you want remot

Re: [PATCH 2/3] ARM: bus: da8xx-syscfg: new driver

2016-10-21 Thread Tomi Valkeinen
On 21/10/16 12:53, Sekhar Nori wrote: > On Friday 21 October 2016 02:55 PM, Tomi Valkeinen wrote: >> On 20/10/16 22:39, Kevin Hilman wrote: >> >>> However, after our discussion on IRC, we'll respin this without the DT >>> bindings at all. Next version will just use static configuration data >>>

Re: [PATCH v2 3/4] Device bindings documentation updated ACPI-enabled platforms not currently supported

2016-10-21 Thread Luis Oliveira
Since practically 90% of the code is shared between master and slave, I was thinking if it will be acceptable to use the same driver for both but differentiate the master/slave mode by the compatible strings. Thanks, Luis On 10/18/2016 16:17, Wolfram Sang wrote: >> This is needed because the conf

Re: [PATCH 2/3] ARM: bus: da8xx-syscfg: new driver

2016-10-21 Thread Sekhar Nori
On Friday 21 October 2016 02:55 PM, Tomi Valkeinen wrote: > On 20/10/16 22:39, Kevin Hilman wrote: > >> However, after our discussion on IRC, we'll respin this without the DT >> bindings at all. Next version will just use static configuration data >> in the drivers/bus driver based on SoC compati

UBIFS with dma on 4.6 kernel is not working

2016-10-21 Thread Naga Sureshkumar Relli
Hi, This is regarding UBIFS on 4.6 kernel. We have tested UBIFS on our ZynqMP SOC QSPI Controller, the UBIFS is not working with dma on this kernel. Controller driver: https://github.com/torvalds/linux/commits/master/drivers/spi/spi-zynqmp-gqspi.c If I replace all vmalloc allocations in fs/ubifs

Re: [PATCH] net: cpsw: fix obtaining mac address for am3517

2016-10-21 Thread Tony Lindgren
* Jeroen Hofstee [161021 02:31]: > Aaah, lets wait a sec. I just saw there is another user of this function, > so above is simply not true > > if (of_machine_is_compatible("ti,dra7")) > return davinci_emac_3517_get_macid(dev, 0x514, slave, mac_addr); Oh OK, then this will produce

Re: [Patch v5 04/12] irqchip: xilinx: Add support for parent intc

2016-10-21 Thread Marc Zyngier
On 17/10/16 17:52, Zubair Lutfullah Kakakhel wrote: > The MIPS based xilfpga platform has the following IRQ structure > > Peripherals --> xilinx_intcontroller -> mips_cpu_int controller > > Add support for the driver to chain the irq handler > > Signed-off-by: Zubair Lutfullah Kakakhel > > ---

Re: FRV-setup: Clarification for "source code clean-up"?

2016-10-21 Thread SF Markus Elfring
> How are you going to fix bugs if you only send clean ups? I would prefer an other wording than "only" in your question. I imagine that probabilities and views will matter more for the handling of a software error spectrum. >> How do you think about to discuss corresponding software developmen

[PATCH 4.7 29/45] scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer()

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7bc2b55a5c030685b399bb65b6baa9ccc3d1f167 upstream. We need to put an upper bound on "user_len" so the memcpy() doesn't overflow. Reported-by: Marco Grassi Signed-off-by:

[PATCH 4.7 26/45] ASoC: Intel: Atom: add a missing star in a memcpy call

2016-10-21 Thread Greg Kroah-Hartman
4.7-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 61ab0d403bbd9d5f6e000e3b5734049141b91f6f upstream. In sst_prepare_and_post_msg(), when a response is received in "block", the following code gets executed: *data = kza

[PATCH] cpuidle: remove cpu_pm calls when entering a idle state

2016-10-21 Thread Chenhui Zhao
The functions, cpu_pm_enter and cpu_pm_exit, assume that CPU would be reset when entering and exiting a idle state. If that is not the case, they would cause issue. Signed-off-by: Chenhui Zhao --- include/linux/cpuidle.h | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/i

<    2   3   4   5   6   7   8   9   10   >