Re: [PATCH v6 4/4] tracing: Histogram for delayed hrtimer offsets

2016-09-07 Thread Masami Hiramatsu
2016-09-07 20:13 GMT+09:00 Binoy Jayan : > Generate a histogram of the latencies of delayed timer offsets in > nanoseconds. It shows the latency captured due to a delayed timer expire > event. It happens for example when a timer misses its deadline due to > disabled interrupts. A process if schedul

Re: [PATCH] syscon: dt-bindings: Add documentation for Aspeed system control units

2016-09-07 Thread Lee Jones
On Thu, 08 Sep 2016, Andrew Jeffery wrote: > Signed-off-by: Andrew Jeffery > Acked-by: Rob Herring > Acked-by: Joel Stanley > Acked-by: Linus Walleij > --- > Documentation/devicetree/bindings/mfd/aspeed-scu.txt | 18 ++ > 1 file changed, 18 insertions(+) > create mode 100644

[RESEND PATCH v3 1/2] phy: rockchip-typec: add pm runtime support

2016-09-07 Thread Chris Zhong
Adds pm_runtime support for rockchip Type-C, so that power domain is enabled only when there is a transaction going on to help save power. Signed-off-by: Chris Zhong --- Changes in v3: - use phy_core pm_runtime Changes in v2: - add pm_runtime_put_sync in err case drivers/phy/phy-rockchip-type

[PATCH v2 00/33] Enable Intel Resource Allocation in Resource Director Technology

2016-09-07 Thread Fenghua Yu
From: Fenghua Yu L3 cache allocation allows per task control over which areas of the last level cache are available for allocation. It is the first resource that can be controlled as part of Intel Resource Director Technology (RDT). This patch series creates a framework that will make it easy to

Re: [PATCH, net-next] perf, bpf: fix conditional call to bpf_overflow_handler

2016-09-07 Thread Peter Zijlstra
On Thu, Sep 08, 2016 at 08:30:52AM +0200, Ingo Molnar wrote: > > Thanks for the fix. Just saw build bot complaining last night and > > by the morning your fix is already here. Thanks! > > Guys, this is the first time I saw this patch (and presumably there's some > other > patch as well?) - could

Re: [PATCH RFC v6] x86,mm,sched: make lazy TLB mode even lazier

2016-09-07 Thread Ingo Molnar
* Rik van Riel wrote: > On Sat, 27 Aug 2016 16:02:25 -0700 > Linus Torvalds wrote: > > > Yeah, with those small fixes from Ingo, I definitely don't think this > > looks hacky at all. This all seems to be exactly what we should always > > have done. > > OK, so I was too tired yesterday to do k

Re: [PATCH v16 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-09-07 Thread Baolin Wang
Hi Neil, On 6 September 2016 at 13:40, NeilBrown wrote: > On Mon, Aug 29 2016, Baolin Wang wrote: > >> Hi Felipe, >> >> On 11 August 2016 at 11:14, Baolin Wang wrote: >>> Hi Felipe, >>> >>> On 1 August 2016 at 15:09, Baolin Wang wrote: Currently the Linux kernel does not provide any standa

Re: [alsa-devel] [PATCH] ALSA: usb: constify snd_pcm_ops structures

2016-09-07 Thread Clemens Ladisch
Julia Lawall wrote: > Check for snd_pcm_ops structures that are only stored in the ops field of a > snd_soc_platform_driver structure or passed as the third argument to > snd_pcm_set_ops. The corresponding field or parameter is declared const, > so snd_pcm_ops structures that have this property ca

Re: [PATCH 4.7 114/143] Revert "floppy: fix open(O_ACCMODE) for ioctl-only open"

2016-09-07 Thread Greg Kroah-Hartman
On Wed, Sep 07, 2016 at 12:53:51PM -0400, Mark Hounschell wrote: > On 09/05/2016 12:44 PM, Greg Kroah-Hartman wrote: > > 4.7-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Jens Axboe > > > > commit 468c298ad3ed3f0d94a65f8ca00f6bf

Re: [PATCH 4.7 000/143] 4.7.3-stable review

2016-09-07 Thread Greg Kroah-Hartman
On Wed, Sep 07, 2016 at 04:59:37PM -0400, Levin, Alexander wrote: > On Mon, Sep 05, 2016 at 06:42:56PM +0200, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.7.3 release. > > There are 143 patches in this series, all will be posted as a response > > to this one.

Re: [PATCH v5 0/5] Add MT8173 MDP Driver

2016-09-07 Thread Hans Verkuil
FYI: I'm missing a MAINTAINERS entry for this driver. Please add one when you post v6. Thanks! Hans On 08/30/2016 02:25 PM, Minghsiu Tsai wrote: > Changes in v5: > - Add ack in the comment of dts patch > - Fix s/g_selection() > - Separate format V4L2_PIX_FMT_MT21C into new patch > >

Re: [PATCH] virtio_console: Stop doing DMA on the stack

2016-09-07 Thread Ingo Molnar
* Amit Shah wrote: > On (Tue) 30 Aug 2016 [08:04:15], Andy Lutomirski wrote: > > virtio_console uses a small DMA buffer for control requests. Move > > that buffer into heap memory. > > > > Doing virtio DMA on the stack is normally okay on non-DMA-API virtio > > systems (which is currently most

Re: linux-next: Tree for Sep 7 (kernel/trace/trace_hwlat.c)

2016-09-07 Thread Randy Dunlap
On 09/07/16 19:58, Steven Rostedt wrote: > On Wed, 7 Sep 2016 13:55:47 -0700 > Randy Dunlap wrote: > >> Yes, that works. Thanks. >> >> Acked-by: Randy Dunlap > > Hmm, would "Tested-by" be a more appropriate tag? I considered that. Either is OK with me. -- ~Randy

Re: [PATCH v6 1/4] tracing: Deference pointers without RCU checks

2016-09-07 Thread Masami Hiramatsu
2016-09-07 20:13 GMT+09:00 Binoy Jayan : > > From: Daniel Wagner > > The tracepoint can't be used in code section where we are in the > middle of a state transition. > > For example if we place a tracepoint inside start/stop_critical_section(), > lockdep complains with > > [0.035589] WARNING:

Re: [PATCH 2/4] docs-rst: Add compressed video formats used on MT8173 codec driver

2016-09-07 Thread Tiffany Lin
Hi Hans, On Wed, 2016-09-07 at 11:23 +0200, Hans Verkuil wrote: > On 09/07/16 08:56, Tiffany Lin wrote: > > Add V4L2_PIX_FMT_MT21C documentation > > > > Signed-off-by: Tiffany Lin > > --- > > Documentation/media/uapi/v4l/pixfmt-reserved.rst |6 ++ > > 1 file changed, 6 insertions(+) > >

Re: [ANNOUNCE] 4.8-rc5-rt1 beta

2016-09-07 Thread Mike Galbraith
On Tue, 2016-09-06 at 14:25 -0400, Paul Gortmaker wrote: > Patch conflicts/issues of interest 4.6 --> 4.7 > -- > > -v4.7 introduced a lot of users of down_write_killable which wasn't > implemented for -rt (rwsem_rt.h), so I created one. (see new p

Re: [Question] about patch: don't use [delayed_]work_pending()

2016-09-07 Thread qiaozhou
On 2016年09月02日 22:21, Tejun Heo wrote: > On Fri, Sep 02, 2016 at 09:50:07AM -0400, Tejun Heo wrote: >> Hello, >> >> On Fri, Sep 02, 2016 at 09:17:04AM +0800, qiaozhou wrote: > I don't know whether it's meaningful to still check pending work here, or > it's not suggested to use pm_qos_updat

Re: [PATCH v2 1/1] usb: xhci: fix return value of xhci_setup_device()

2016-09-07 Thread Greg KH
On Thu, Sep 08, 2016 at 08:41:02AM +0800, Lu Baolu wrote: > xhci_setup_device() should return failure with correct error number > when xhci host has died, removed or halted. > > Cc: sta...@vger.kernel.org # 4.3+ Why is this a stable kernel issue? What bug does it fix that affects users? thanks,

[PATCH] lib/syscall: Pin the task stack in collect_syscall()

2016-09-07 Thread Andy Lutomirski
This will avoid a potential read-after-free if collect_syscall() (e.g. /proc/PID/syscall) is called on an exiting task. Reported-by: Jann Horn Signed-off-by: Andy Lutomirski --- Ingo- This applies on top of the patches I sent out earlier. If you want to avoid any possible bisection issue, you

[patch v4] leds: add driver for Mellanox systems LEDs

2016-09-07 Thread vadimp
From: Vadim Pasternak This makes it possible to create a set of LEDs for Mellanox systems: "msx6710", "msx6720", "msb7700", "msn2700", "msx1410", "msn2410", "msb7800", "msn2740", "msn2100". Driver obtains LED devices according to system configuration, provided through system DMI data, like fan1:

Re: Observing Softlockup's while running heavy IOs

2016-09-07 Thread Sreekanth Reddy
On Wed, Sep 7, 2016 at 6:54 PM, Neil Horman wrote: > On Wed, Sep 07, 2016 at 11:30:04AM +0530, Sreekanth Reddy wrote: >> On Tue, Sep 6, 2016 at 8:36 PM, Neil Horman wrote: >> > On Tue, Sep 06, 2016 at 04:52:37PM +0530, Sreekanth Reddy wrote: >> >> On Fri, Sep 2, 2016 at 4:34 AM, Bart Van Assche >

Re: [PATCH v6 3/4] tracing: Add trace_irqsoff tracepoints

2016-09-07 Thread Thomas Gleixner
On Thu, 8 Sep 2016, Daniel Wagner wrote: > On 09/07/2016 06:42 PM, Thomas Gleixner wrote: > > On Wed, 7 Sep 2016, Binoy Jayan wrote: > > > > > This work is based on work by Daniel Wagner. A few tracepoints are added > > > > Interesting. The patch you are referring to was written by Carsten > > Em

Re: [PATCH] x86: squash lines for simple wrapper functions

2016-09-07 Thread Ingo Molnar
* Masahiro Yamada wrote: > Remove unneeded variables and assignments. I am also removing > unnecessary parentheses while I am here. > > Signed-off-by: Masahiro Yamada > --- > > arch/x86/kernel/apic/apic_flat_64.c | 16 +++- > arch/x86/kernel/apic/apic_numachip.c | 5 + > a

Re: [PATCH v2 1/2] phy: rockchip-typec: add pm runtime support

2016-09-07 Thread Kishon Vijay Abraham I
Hi, On Thursday 08 September 2016 04:36 AM, Chris Zhong wrote: > Adds pm_runtime support for rockchip Type-C, so that power domain is > enabled only when there is a transaction going on to help save power. > > Signed-off-by: Chris Zhong > --- > > Changes in v2: > -- add pm_runtime_put_sync in e

[tip:x86/platform] x86/cpu: Rename Merrifield2 to Moorefield

2016-09-07 Thread tip-bot for Andy Shevchenko
Commit-ID: f5fbf848303c8704d0e1a1e7cabd08fd0a49552f Gitweb: http://git.kernel.org/tip/f5fbf848303c8704d0e1a1e7cabd08fd0a49552f Author: Andy Shevchenko AuthorDate: Tue, 6 Sep 2016 21:42:54 +0300 Committer: Ingo Molnar CommitDate: Thu, 8 Sep 2016 08:13:08 +0200 x86/cpu: Rename Merrifield

[tip:x86/urgent] x86/apic: Fix num_processors value in case of failure

2016-09-07 Thread tip-bot for Dou Liyang
Commit-ID: c291b015158577be533dd5a959dfc09bab119eed Gitweb: http://git.kernel.org/tip/c291b015158577be533dd5a959dfc09bab119eed Author: Dou Liyang AuthorDate: Wed, 7 Sep 2016 10:21:33 +0800 Committer: Ingo Molnar CommitDate: Thu, 8 Sep 2016 08:11:03 +0200 x86/apic: Fix num_processors va

[tip:x86/platform] x86/platform/intel-mid: Implement power off sequence

2016-09-07 Thread tip-bot for Andy Shevchenko
Commit-ID: bda7b072de999280ef78aaea4335ec58afc4bdb2 Gitweb: http://git.kernel.org/tip/bda7b072de999280ef78aaea4335ec58afc4bdb2 Author: Andy Shevchenko AuthorDate: Wed, 7 Sep 2016 15:39:55 +0300 Committer: Ingo Molnar CommitDate: Thu, 8 Sep 2016 08:03:58 +0200 x86/platform/intel-mid: Im

Re: [PATCH linux v3 3/9] xen: introduce xen_vcpu_id mapping

2016-09-07 Thread Wei Chen
Hi Vitaly, On 2016/9/5 17:42, Vitaly Kuznetsov wrote: > Julien Grall writes: > >> Hi Vitaly, >> >> On 26/07/16 13:30, Vitaly Kuznetsov wrote: >>> It may happen that Xen's and Linux's ideas of vCPU id diverge. In >>> particular, when we crash on a secondary vCPU we may want to do kdump >>> and unl

Re: [PATCH, net-next] perf, bpf: fix conditional call to bpf_overflow_handler

2016-09-07 Thread Ingo Molnar
* Alexei Starovoitov wrote: > On Tue, Sep 06, 2016 at 03:10:22PM +0200, Arnd Bergmann wrote: > > The newly added bpf_overflow_handler function is only built of both > > CONFIG_EVENT_TRACING and CONFIG_BPF_SYSCALL are enabled, but the caller > > only checks the latter: > > > > kernel/events/core

Re: drivers/gpu/drm/i915/intel_display.c:2954:11: warning: cast to pointer

2016-09-07 Thread Greg Kroah-Hartman
On Wed, Sep 07, 2016 at 05:38:52PM +0100, Nick Warne wrote: > Hi Daniel, > > kernel build 4.4.20 - I am still seeing this warning: > > drivers/gpu/drm/i915/intel_display.c: In function > ‘intel_plane_obj_offset’: drivers/gpu/drm/i915/intel_display.c:2969:11: > warning: cast to pointer from intege

Re: [PATCH v4 1/8] dts: sun8i-h3: drop _a and address suffix from uart0 pinmux

2016-09-07 Thread Maxime Ripard
Hi, On Wed, Sep 07, 2016 at 09:58:54AM +0200, jo...@kippendief.biz wrote: > From: Jorik Jonker > > These are the only possible pins for UART0 on H3 That's not true, you can also mux it on PF2 / PF4. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-ele

Re: [PATCH v4 2/8] dts: sun8i-h3: clarify uart1 pinmux definition name

2016-09-07 Thread Maxime Ripard
Hi, On Wed, Sep 07, 2016 at 09:58:55AM +0200, jo...@kippendief.biz wrote: > From: Jorik Jonker > > Signed-off-by: Jorik Jonker Commit log? > --- > arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts | 2 +- > arch/arm/boot/dts/sun8i-h3.dtsi | 2 +- > 2 files changed, 2 insertions

Re: [PATCH v5 2/3] Documentation/filesystems: Fixed typo

2016-09-07 Thread Jonathan Corbet
On Wed, 7 Sep 2016 20:22:00 -0400 Robert Foss wrote: > > This could be taken directly into the docs tree, I think -- no reason > > to make it depend on the rest of the series. > > Agreed. Would you like a separate submission for that? Please, I've lost track of the original... Thanks, jon

Re: [PATCH v2 0/5] perf, bts: Fallout from the fuzzer for perf/urgent

2016-09-07 Thread Ingo Molnar
* Ingo Molnar wrote: > Yeah, please re-send it - and please also Vince's Reported-by tag to all > commits ^--- add > that would explain failures that Vince reported. Thanks, Ingo

checkpatch.pl: Use of uninitialized value $str in split at ./scripts/checkpatch.pl line 1079.

2016-09-07 Thread Charlemagne Lasse
Hi, I've noticed that checkpatch prints an error in linux-next. This can be reproduced via ./scripts/checkpatch.pl --strict --file net/batman-adv/bat_iv_ogm.c This problem seems to be introduced by d369873d2f53 ("Merge branch 'akpm-current/current'") which is a merge of 6a6594aace5c ("Merge remo

Re: [PATCH v4 4/8] dts: sun8i-h3: move uart1 pinmux/peripheral assocation to DSTI

2016-09-07 Thread Maxime Ripard
On Wed, Sep 07, 2016 at 09:58:57AM +0200, jo...@kippendief.biz wrote: > From: Jorik Jonker > > Users using this UART without RTS/CTS should override the association in > their board specific DTS. All (1) board using this UART uses RTS/CTS, so > this breaks nothing. Using RTS / CTS is very rare a

Re: [PATCH] clocksource/fsl: Fix errata A-007728 for flextimer

2016-09-07 Thread Alexander Stein
On Thursday 08 September 2016 10:04:55, Meng Yi wrote: > If the FTM counter reaches the FTM_MOD value between the reading of the > TOF bit and the writing of 0 to the TOF bit, the process of clearing the > TOF bit does not work as expected when FTMx_CONF[NUMTOF] != 0 and the > current TOF count is

Re: [PATCH v4 3/8] dts: sun8i-h3: move uart0 pinmux/peripheral assocation to DSTI

2016-09-07 Thread Maxime Ripard
On Wed, Sep 07, 2016 at 09:58:56AM +0200, jo...@kippendief.biz wrote: > From: Jorik Jonker > > This is the only sensible pinmux/peripheral association for uart0, so I have > moved it from the board specific DTS to the DTSI. It is still up to the boards > to enable it, though. > > Signed-off-by:

Re: [PATCHv12 1/3] rdmacg: Added rdma cgroup controller

2016-09-07 Thread Leon Romanovsky
On Wed, Sep 07, 2016 at 08:37:23PM +0530, Parav Pandit wrote: > Hi Leon, > > >> Signed-off-by: Parav Pandit > >> +static struct rdmacg_resource_pool * > >> +get_cg_rpool_locked(struct rdma_cgroup *cg, struct rdmacg_device *device) > >> +{ > >> + struct rdmacg_resource_pool *rpool; > >> + > >>

Re: [PATCH v2 0/5] perf, bts: Fallout from the fuzzer for perf/urgent

2016-09-07 Thread Ingo Molnar
* Alexander Shishkin wrote: > Ingo Molnar writes: > > > * Alexander Shishkin wrote: > > > >> Hi, > >> > >> There were more bugs since the previous version, plus the BTS barriers got > >> fixed. With these patches, my testcase keeps running and no spurious NMI > >> warnings pop up any more.

linux-next: Tree for Sep 8

2016-09-07 Thread Stephen Rothwell
Hi all, Changes since 20160907: The btrfs-kdave tree still had its build failure so I used the version from next-20160906. The drm-intel tree gained a conflict aginst Linus' tree. The kbuild tree still had its build warnings for PowerPC, for which I reverted a commit. Non-merge co

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-09-07 Thread Minchan Kim
On Mon, Sep 05, 2016 at 01:12:05PM +0800, Hui Zhu wrote: > On Mon, Sep 5, 2016 at 10:18 AM, Minchan Kim wrote: > > On Thu, Aug 25, 2016 at 04:25:30PM +0800, Hui Zhu wrote: > >> On Thu, Aug 25, 2016 at 2:09 PM, Sergey Senozhatsky > >> wrote: > >> > Hello, > >> > > >> > On (08/22/16 16:25), Hui Zhu

Re: [PATCH] [media] VPU: mediatek: fix null pointer dereference on pdev

2016-09-07 Thread Tiffany Lin
On Wed, 2016-09-07 at 18:10 +0100, Colin King wrote: > From: Colin Ian King > > pdev is being null checked, however, prior to that it is being > dereferenced by platform_get_drvdata. Move the assignments of > vpu and run to after the pdev null check to avoid a potential > null pointer dereferenc

Re: [PATCH v6 3/4] tracing: Add trace_irqsoff tracepoints

2016-09-07 Thread Daniel Wagner
On 09/07/2016 06:42 PM, Thomas Gleixner wrote: On Wed, 7 Sep 2016, Binoy Jayan wrote: This work is based on work by Daniel Wagner. A few tracepoints are added Interesting. The patch you are referring to was written by Carsten Emde. Can you please get these attributions right? They want to be

[PATCH v4] dt-bindings: Add jdi lt070me05000 panel bindings

2016-09-07 Thread Vinay Simha BN
Add documentation for lt070me05000 panel Cc: Archit Taneja Cc: John Stultz Cc: Thierry Reding Cc: Sumit Semwal Signed-off-by: Vinay Simha BN Acked-by: Rob Herring --- v2: * incorporated rob herring and thierry reviews gpio to gpios, gpio to regulator using fixed regulators and pwm ba

[PATCH] syscon: dt-bindings: Add documentation for Aspeed system control units

2016-09-07 Thread Andrew Jeffery
Signed-off-by: Andrew Jeffery Acked-by: Rob Herring Acked-by: Joel Stanley Acked-by: Linus Walleij --- Documentation/devicetree/bindings/mfd/aspeed-scu.txt | 18 ++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/aspeed-scu.txt diff -

Hibernation broken since commit 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-09-07 Thread Sven Joachim
Recently I got myself a new laptop with the following integrated GPU: 00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Mullins [Radeon R3 Graphics] (rev 40) I found that hibernation is broken in Linux 4.7+ (it works in Linux 4.6) and bisected it to commit 274ad65c9d02 ("

Re: [PATCH] ubifs: compress lines for immediate return

2016-09-07 Thread Richard Weinberger
Heiko, On 05.09.2016 06:59, Heiko Schocher wrote: > fix the following code: > > -ret = expression; > -if (ret) > -return ret; > -return 0; > +return expression; "Fix"? ;-) What was broken? I agree that we can write the expression in a different way, but is it really worth it? Is this p

[GIT PULL] ARM: SoC fixes

2016-09-07 Thread Olof Johansson
Hi Linus, The following changes since commit fa8410b355251fd30341662a40ac6b22d3e38468: Linux 4.8-rc3 (2016-08-21 16:14:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to 95390e329

Re: [RFC2 PATCH 00/23] ARM64: support ILP32

2016-09-07 Thread Zhangjian (Bamvor)
Hi, Guys There was a discussion about bump vdso version of kernel. We need update the vdso version in glibc correspondingly otherwise the application could not make use of the vdso. Is it make sense to you? Regards Bamvor commit 3ffc1d798fc25ccb02e7cc325fe5fb3890c085e3 Author: Bamvor Jian Zha

Re: [RFC PATCH 1/2] macb: Add 1588 support in Cadence GEM.

2016-09-07 Thread Harini Katakam
Hi, On Tue, Sep 6, 2016 at 9:18 PM, Richard Cochran wrote: > >> +#define GEM_TISUBN 0x01bc /* 1588 Timer Increment Sub-ns */ > > This regsiter does not exist. Looking at > >Zynq-7000 AP SoC Technical Reference Manual >UG585 (v1.10) February 23, 2015 > > starting on page 1273 w

[sched/wait] 02ae2b22bd: WARNING: CPU: 0 PID: 958 at kernel/sched/core.c:7610 __might_sleep+0x6e/0x90

2016-09-07 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Oleg-Nesterov/sched-wait-fix-and-then-kill-abort_exclusive_wait/20160907-145024 commit 02ae2b22bd2a42c4e4054563b139a541ba67a43e ("sched/wait: avoid abort_exclusive_wait() in ___wait_event()") in testcase: boo

Re: [PATCH v2 3/4] ARM: dts: Add NextThing GR8 dtsi

2016-09-07 Thread Chen-Yu Tsai
On Thu, Sep 8, 2016 at 3:37 AM, Linus Walleij wrote: > On Wed, Sep 7, 2016 at 4:53 PM, Maxime Ripard > wrote: > >> From: Mylène Josserand >> >> The GR8 is an SoC made by Nextthing loosely based on the sun5i family. >> >> Since it's not clear yet what we can factor out and merge with the A10s and

Re: [GIT PULL] seccomp fixes for v4.8-rc6

2016-09-07 Thread James Morris
Actually I asked if you could send them to me... On 08/09/16 02:29, Kees Cook wrote: Hi, Please pull these seccomp fixes for v4.8-rc6. These got accidentally put in James's -next tree, but they're needed for v4.8. He asked me to forward them directly to you. Thanks! -Kees The following chan

DAX mapping detection (was: Re: [PATCH] Fix region lost in /proc/self/smaps)

2016-09-07 Thread Dan Williams
[ adding linux-fsdevel and linux-nvdimm ] On Wed, Sep 7, 2016 at 8:36 PM, Xiao Guangrong wrote: [..] > However, it is not easy to handle the case that the new VMA overlays with > the old VMA > already got by userspace. I think we have some choices: > 1: One way is completely skipping the new VMA

Re: [RESEND PATCH] ARM: tegra: fix erroneous address in dts

2016-09-07 Thread Olof Johansson
On Wed, Sep 07, 2016 at 03:50:57PM +0200, Ralf Ramsauer wrote: > Hi all, > > may I *poke* you again? > > We're close to the release of 4.8, and this patch (b5c86b749 upstream) > should still be reverted on mainline Ok, done in fixes now. -Olof

Re: bcache vs bcachefs

2016-09-07 Thread Kent Overstreet
On Wed, Sep 07, 2016 at 11:01:40PM -0400, Theodore Ts'o wrote: > On Wed, Sep 07, 2016 at 07:55:52AM -0800, Kent Overstreet wrote: > > That said, I'm not advocating people rush out to throw bcachefs on their > > servers > > or use it without backups yet, it's still young and needs more widespread >

[PATCH] Bluetooth: fix kzalloc-simple.cocci warnings

2016-09-07 Thread kbuild test robot
net/bluetooth/mgmt.c:905:6-13: WARNING: kzalloc should be used for rp, instead of kmalloc/memset Use kzalloc rather than kmalloc followed by memset with 0 This considers some simple cases that are common and easy to validate Note in particular that there are no ...s in the rule, so all of th

Re: [Linaro-acpi] [PATCH V8 1/8] ACPI: I/O Remapping Table (IORT) initial support

2016-09-07 Thread Tomasz Nowicki
On 02.09.2016 13:52, Fu Wei wrote: > Hi Tomasz, > > On 11 August 2016 at 18:06, Tomasz Nowicki wrote: >> IORT shows representation of IO topology for ARM based systems. >> It describes how various components are connected together on >> parent-child basis e.g. PCI RC -> SMMU -> ITS. Also see IORT

Re: [PATCH v3 5/8] pinctrl: Add core support for Aspeed SoCs

2016-09-07 Thread Andrew Jeffery
On Wed, 2016-09-07 at 16:50 +0200, Linus Walleij wrote: > On Tue, Aug 30, 2016 at 9:54 AM, Andrew Jeffery wrote: > > > > > The Aspeed SoCs typically provide more than 200 pins for GPIO and other > > functions. The signal enabled on a pin is determined on a priority > > basis, where a given pin c

Re: [PATCH v4 3/3] iio: adc: add support for Allwinner SoCs ADC

2016-09-07 Thread Quentin Schulz
On 04/09/2016 16:35, Jonathan Cameron wrote: > On 01/09/16 15:05, Quentin Schulz wrote: >> The Allwinner SoCs all have an ADC that can also act as a touchscreen >> controller and a thermal sensor. This patch adds the ADC driver which is >> based on the MFD for the same SoCs ADC. >> >> This also reg

[PATCH v2 2/2] drm/bridge: analogix_dp: detect Sink PSR state after configuring the PSR

2016-09-07 Thread Yakir Yang
Make sure the request PSR state could effect in analogix_dp_send_psr_spd() function, or printing the error Sink PSR state if we failed to effect the request PSR setting. Signed-off-by: Yakir Yang --- Changes in v2: - A bunch of good fixes from Sean drivers/gpu/drm/bridge/analogix/analogix_dp_co

[PATCH v2 1/2] drm/bridge: analogix_dp: Remove duplicated code v2

2016-09-07 Thread Yakir Yang
From: Tomeu Vizoso Remove code for reading the EDID and DPCD fields and use the helpers instead. Besides the obvious code reduction, other helpers are being added to the core that could be used in this driver and will be good to be able to use them instead of duplicating them. Signed-off-by: To

Re: [PATCH 4/6] clk: sunxi-ng: Add A33 CCU support

2016-09-07 Thread Chen-Yu Tsai
Hi, On Thu, Sep 1, 2016 at 10:16 PM, Maxime Ripard wrote: > This commit introduces the clocks found in the Allwinner A33 CCU. > > Since this SoC is very similar to the A23, and we share a significant share > of the DTSI, the clock IDs that are going to be used will also be shared > with the A23,

Re: [PATCH] Fix region lost in /proc/self/smaps

2016-09-07 Thread Xiao Guangrong
On 09/08/2016 12:34 AM, Dave Hansen wrote: On 09/06/2016 11:51 PM, Xiao Guangrong wrote: In order to fix this bug, we make 'file->version' indicate the next VMA we want to handle This new approach makes it more likely that we'll skip a new VMA that gets inserted in between the read()s. But,

Re: [PATCH v2 0/5] perf, bts: Fallout from the fuzzer for perf/urgent

2016-09-07 Thread Vince Weaver
On Wed, 7 Sep 2016, Alexander Shishkin wrote: > Vince Weaver writes: > > > On Wed, 7 Sep 2016, Alexander Shishkin wrote: > > > >> Sure. And yes, I did catch a warning, which calls for one more patch > >> (below). Also one unrelated thing in PEBS that Peter fixed. > > > > Does that fix this which

Re: [PATCH V2] ARM: BCM5301X: Add basic dts for BCM53573 based Tenda AC9

2016-09-07 Thread Florian Fainelli
Le 22/08/2016 à 22:37, Rafał Miłecki a écrit : > BCM53573 seems to be low priced alternative for Northstar chipsts. It > uses single core Cortex-A7 and doesn't have SDU or local (TWD) timer. It > was also stripped out of independent SPI controller and 2 GMACs. > > DTS for Tenda AC9 isn't completed

Re: [PATCH] ARM: BCM5301X: Add DT for Netgear R8500

2016-09-07 Thread Florian Fainelli
Le 22/08/2016 à 23:40, Rafał Miłecki a écrit : > From: Rafał Miłecki > > Netgear R8500 is another BCM47094 device, it just has three BCM4366 > wireless chipsets. It's a very standard DT with mostly GPIO devices. > > Signed-off-by: Rafał Miłecki Applied, thanks! -- Florian

[PATCH] usb: dwc3: OCTEON: add support for device tree

2016-09-07 Thread Steven J. Hill
This patch adds support to parse probe data for the dwc3-octeon driver using device tree. The DWC3 IP core is found on OCTEON III processors. Signed-off-by: Steven J. Hill --- drivers/usb/dwc3/Kconfig | 10 + drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/dwc3-octeon.c | 96 ++

[PATCH] ARM: dts: sun8i: Move A23/A33 usbphy and usb_otg nodes to common dtsi

2016-09-07 Thread Chen-Yu Tsai
The usbphy and usb_otg nodes in the A23 and A33 dts files only differ by compatible, and for the usbphy, the size of one of its register regions. Move all the common bits to the A23/A33 common dtsi file. Signed-off-by: Chen-Yu Tsai --- Hi Maxime, This patch applies on top of your A23/A33 CCU p

Re: [PATCH V2 2/3] pwm: Add MediaTek MT2701 display PWM driver support

2016-09-07 Thread Thierry Reding
On Mon, Jul 11, 2016 at 04:18:08PM +0800, Weiqing Kong wrote: > Use the mtk_pwm_data struction to define different registers > and add MT2701 specific register operations, such as MT2701 > doesn't have commit register, needs to disable double buffer > before writing register, and needs to select ma

[PATCH] phy: sun4i-usb: Use spinlock to guard phyctl register access

2016-09-07 Thread Chen-Yu Tsai
The musb driver calls into this phy driver to disable/enable squelch detection. This function was introduced in 24fe86a617c5 ("phy: sun4i-usb: Add a sunxi specific function for setting squelch-detect"). This function in turn calls sun4i_usb_phy_write, which uses a mutex to guard the common access r

Re: [PATCH] [media] pci: constify snd_pcm_ops structures

2016-09-07 Thread Julia Lawall
On Thu, 8 Sep 2016, Andrey Utkin wrote: > Thanks for looking into this. > I have tested that it compiles and passes checks (C=2) cleanly after > this patch. > > Acked-by: Andrey Utkin > > While we're at it, what about constification of > *-core.c:static struct pci_driver *_pci_driver = { > *-vi

Re: bcache vs bcachefs

2016-09-07 Thread Theodore Ts'o
On Wed, Sep 07, 2016 at 07:55:52AM -0800, Kent Overstreet wrote: > That said, I'm not advocating people rush out to throw bcachefs on their > servers > or use it without backups yet, it's still young and needs more widespread > testing. Hi Kent! Have you started using xfstests to stress test bca

[PATCH V6 3/3] stm: Mark the functions of writing buffer with notrace

2016-09-07 Thread Chunyan Zhang
If CONFIG_STM_FTRACE is selected, Function trace data can be writen to sink via STM, all functions that related to writing data packets to STM should be marked 'notrace' to avoid being traced by Ftrace, otherwise the program would stall into an endless loop. Signed-off-by: Chunyan Zhang Acked-by:

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

2016-09-07 Thread Chunyan Zhang
This patch adds a driver that models itself as an stm_source. Once the stm device and stm_source have been linked via sysfs, the driver registers itself as a trace_export and everything passed to the interface from Ftrace subsystem will end up in the STM trace engine. Signed-off-by: Chunyan Zhang

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

2016-09-07 Thread Chunyan Zhang
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 addition to the current only output of Ftrace - i.e. ring buffer. In this way, if we want Function traces to be sent to ot

[PATCH V6 0/3] Integration of function trace with System Trace IP blocks

2016-09-07 Thread Chunyan Zhang
IP blocks allowing a variety of trace sources to log debugging information to a pre-defined area have been introduced on a couple of architecture [1][2]. These system trace blocks (also known as STM) typically follow the MIPI STPv2 protocol [3] and provide a system wide logging facility to any devi

RE: [PATCH net-next 0/3] r8152: configuration setting

2016-09-07 Thread Hayes Wang
David Miller [mailto:da...@davemloft.net] > Sent: Thursday, September 08, 2016 8:38 AM [...] > By forcing a certain mode via a Kconfig value, you are basically making it > impossible for distributions to do something reasonable here. The request is always from some manufacturers, not end users. Th

Re: linux-next: Tree for Sep 7 (kernel/trace/trace_hwlat.c)

2016-09-07 Thread Steven Rostedt
On Thu, 8 Sep 2016 07:42:01 +1000 Stephen Rothwell wrote: > > Link: > > http://lkml.kernel.org/r/20160907175258.1f17a...@canb.auug.org.au > > That is not the reporting email ... Randy's was a reply to that one > with message id > "". > Strange, I wonder how I got that email. I cut an

Re: linux-next: Tree for Sep 7 (kernel/trace/trace_hwlat.c)

2016-09-07 Thread Steven Rostedt
On Wed, 7 Sep 2016 13:55:47 -0700 Randy Dunlap wrote: > Yes, that works. Thanks. > > Acked-by: Randy Dunlap Hmm, would "Tested-by" be a more appropriate tag? -- Steve

Re: [RFC] zram: support page-based parallel write

2016-09-07 Thread Minchan Kim
Hi Sergey, On Thu, Sep 08, 2016 at 10:34:44AM +0900, Sergey Senozhatsky wrote: > Hello Minchan, > > sorry, I don't have enough time at the moment to review it in details > due to some urgent issues I'm working on. can this wait? Why not. I need a time to complete the work for removing RFC tag,

Re: [PATCH] kbuild/builddeb: Fix !CONFIG_GCC_PLUGINS build

2016-09-07 Thread Michal Marek
Dne 3.9.2016 v 21:58 Borislav Petkov napsal(a): > From: Borislav Petkov > > When building a bindeb-pkg target into an object output dir, i.e., O=, I > get: > > find: `scripts/gcc-plugins': No such file or directory > /mnt/kernel/kernel/linux-2.6/scripts/package/Makefile:97: recipe for target

RE: [PATCH net-next 0/3] r8152: configuration setting

2016-09-07 Thread Hayes Wang
Bjørn Mork [mailto:bj...@mork.no] > Sent: Wednesday, September 07, 2016 9:51 PM [...] > So this adds a lot of code to work around the issues you introduced by > unnecessarily blacklisting the CDC ECM configuration earlier, and still > makes the r8152 driver handle the device even in ECM mode. I su

[PATCH V4] mm: Add sysfs interface to dump each node's zonelist information

2016-09-07 Thread Anshuman Khandual
Each individual node in the system has a ZONELIST_FALLBACK zonelist and a ZONELIST_NOFALLBACK zonelist. These zonelists decide fallback order of zones during memory allocations. Sometimes it helps to dump these zonelists to see the priority order of various zones in them. Particularly platforms wh

[GIT PULL] Thermal management updates for v4.8-rc6

2016-09-07 Thread Zhang Rui
Hi, Linus, Please pull from   git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git for-rc to receive the latest Thermal Management updates for v4.8-rc6 with top-most commit 87260d3f7aecba9a5fadc6886c338b2a8fccfca9:   thermal: rcar_thermal: Fix priv->zone error handling (2016-09-06 20:4

Re: [PATCH v4] time: alarmtimer: Add the trcepoints for alarmtimer

2016-09-07 Thread Baolin Wang
Hi Thomas, On 8 September 2016 at 00:03, Thomas Gleixner wrote: > On Tue, 6 Sep 2016, John Stultz wrote: >> > Changes since v3: >> > - Fix the build error on S390. >> >> Since the original change is already applied to tip/timers/core, can >> you provide an incremental patch (a patch against tip/

[PATCH v2] rtc: Add some dummy static inline functions

2016-09-07 Thread Baolin Wang
The patch (commit id: a0a6e06d545a753740c9d8d5ce2c4fdd3ab1c021) adding tracepoints for alarmtimers will build failed on S390 platform, due to S390 defconfig did not define CONFIG_RTC_LIB macro to define the rtc_ktime_to_tm() function which is used in this patch. Thus we should add dummy static inli

[PATCH v5 3/3] usb: dwc2: Properly account for the force mode delays

2016-09-07 Thread John Youn
When a force mode bit is set and the IDDIG debounce filter is enabled, there is a delay for the forced mode to take effect. This delay is due to the IDDIG debounce filter and is variable depending on the platform's PHY clock speed. To account for this delay we can poll for the expected mode. On a

[PATCH v5 0/3] usb: dwc2: Fix core reset and force mode delays

2016-09-07 Thread John Youn
This series accounts for the delay from the IDDIG debounce filter when switching modes. This delay is a function of the PHY clock speed and can range from 5-50 ms. This delay must be taken into account on core reset and force modes. A full explanation is provided in the patch commit log and code co

[PATCH v5 2/3] usb: dwc2: Add delay to core soft reset

2016-09-07 Thread John Youn
Add a delay to the core soft reset function to account for the IDDIG debounce filter. If the current mode is host, either due to the force mode bit being set (which persists after core reset) or the connector id pin, a core soft reset will temporarily reset the mode to device and a delay from the

[PATCH v5 1/3] usb: dwc2: gadget: Only initialize device if in device mode

2016-09-07 Thread John Youn
In dwc2_hsotg_udc_start(), don't initialize the controller for device mode unless we are actually in device mode. Tested-by: Heiko Stuebner Tested-by: Stefan Wahren Signed-off-by: John Youn --- drivers/usb/dwc2/gadget.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a

Re: [RFC] zram: support page-based parallel write

2016-09-07 Thread Minchan Kim
Hello, On Tue, Sep 06, 2016 at 10:22:20AM +0200, Andreas Mohr wrote: > On Tue, Sep 06, 2016 at 04:24:17PM +0900, Minchan Kim wrote: > > @@ -1464,6 +1908,9 @@ static int __init zram_init(void) > > num_devices--; > > } > > > > + if (create_workers()) > > + goto out_erro

Re: [PATCH 1/7] [v2] dt-bindings: fsl: updates bindings for some SoC-specific devices

2016-09-07 Thread Shawn Guo
On Mon, Sep 05, 2016 at 06:01:29PM +0800, shh@gmail.com wrote: > From: Shaohui Xie > > SCFG and DCFG are SoC-specific devices can be found on SoCs like LS1021A, > LS1043A and LS1046A, this patch updates bindings for SCFG and DCFG to > reflect more SoCs. > > Signed-off-by: Shaohui Xie > ---

Re: [PATCH] MAINTAINERS: update my maintainership status of f2fs

2016-09-07 Thread Chao Yu
Sorry, +Cc f2fs & kernel mailing list. On 2016/9/8 10:27, Chao Yu wrote: > Update my maintainership of f2fs to maintainer instead of reviewer. > > Signed-off-by: Chao Yu > --- > MAINTAINERS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > ind

Re: [PATCH] ubifs: compress lines for immediate return

2016-09-07 Thread Richard Weinberger
Heiko, On 05.09.2016 08:35, Heiko Schocher wrote: > I think yes ... > >> Is this part of a tree-wide cleanup? > > Yes, and I thought it is worth to change this part in linux too. Agreed. Can you please resend with a proper change log and (more important) a correct sob-chain? From: and first Sig

Re: [PATCH] [media] pci: constify snd_pcm_ops structures

2016-09-07 Thread Andrey Utkin
Thanks for looking into this. I have tested that it compiles and passes checks (C=2) cleanly after this patch. Acked-by: Andrey Utkin While we're at it, what about constification of *-core.c:static struct pci_driver *_pci_driver = { *-video.c:static struct vb2_ops *_video_qops = { *-video.c:sta

Re: [PATCH] sched/core: simpler function for sched_exec migration

2016-09-07 Thread chengchao
Oled, thank you for moving this patch on. on 09/07/2016 08:35 PM, Oleg Nesterov wrote: > On 09/07, chengchao wrote: >> >> Oleg, thank you very much. >> >> on 09/06/2016 11:22 PM, Oleg Nesterov wrote: >>> On 09/06, chengchao wrote: the key point is for CONFIG_PREEMPT_NONE=y, ...

[PATCH] clocksource/fsl: Fix errata A-007728 for flextimer

2016-09-07 Thread Meng Yi
If the FTM counter reaches the FTM_MOD value between the reading of the TOF bit and the writing of 0 to the TOF bit, the process of clearing the TOF bit does not work as expected when FTMx_CONF[NUMTOF] != 0 and the current TOF count is less than FTMx_CONF[NUMTOF]. If the above condition is met, the

Re: [PATCH] powernv: Restore SPRs correctly upon wake up from hypervisor state loss

2016-09-07 Thread Shreyas B. Prabhu
Hi Gautham, Thanks for fixing this. On Wed, Sep 7, 2016 at 1:16 AM, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > pnv_wakeup_tb_loss function currently expects the cr4 to be "eq" if > the CPU is waking up from a complete hypervisor state loss. Hence, it > currently restores the SPR c

  1   2   3   4   5   6   7   8   9   >