[RFC PATCH 2/2] KVM: x86: use __kvm_guest_exit

2016-06-16 Thread Paolo Bonzini
This gains ~20 clock cycles per vmexit. On Intel there is no need anymore to enable the interrupts in vmx_handle_external_intr, since we are using the "acknowledge interrupt on exit" feature. AMD needs to do that temporarily, and must be careful to avoid the interrupt shadow. Signed-off-by:

Re: [PATCH v5 1/8] Documentation: arm: define DT cpu capacity-dmips-mhz bindings

2016-06-16 Thread Juri Lelli
Hi, On 15/06/16 17:11, Rob Herring wrote: > On Wed, Jun 15, 2016 at 5:17 AM, Juri Lelli wrote: [...] > > +== > > +2 - CPU capacity definition > > +== > > + > > +CPU capacity is a number that

[tip:perf/core] perf probe: Uncomment and export synthesize_perf_probe_point()

2016-06-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: c4ff49209bcdc1ef709773f4833a341ac49a26cc Gitweb: http://git.kernel.org/tip/c4ff49209bcdc1ef709773f4833a341ac49a26cc Author: Masami Hiramatsu AuthorDate: Wed, 8 Jun 2016 18:29:50 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf probe: Add perf_probe_event__copy()

2016-06-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: 0542bb9c8da51faa8d8703c394c32e334ac4e9d6 Gitweb: http://git.kernel.org/tip/0542bb9c8da51faa8d8703c394c32e334ac4e9d6 Author: Masami Hiramatsu AuthorDate: Wed, 8 Jun 2016 18:29:40 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[PATCH] arm64: dts: berlin4ct: Add L2 cache topology

2016-06-16 Thread Jisheng Zhang
This patch adds the L2 cache topology for berlin4ct which has 1MB L2 cache. Signed-off-by: Jisheng Zhang --- arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/marvell/berlin4ct.dtsi

[RESEND PATCH v2 00/13] Clock improvement for video playback

2016-06-16 Thread Gabriel Fernandez
v2: - Simpliflication of clock binding remark from Rob https://lkml.org/lkml/2016/5/25/492 - Suppression of stih415-416 support for the clocks (in order to help simplification of clock binding) (others patchs for the machine and drivers will come) This serie allows to increase

[RESEND PATCH v2 05/13] drivers: clk: st: Handle clk synchronous mode for video clocks

2016-06-16 Thread Gabriel Fernandez
This patch configures the semi-synchronous mode of the video clocks of clkgenD2. Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- .../devicetree/bindings/clock/st/st,flexgen.txt| 2 ++ drivers/clk/st/clk-flexgen.c

[RESEND PATCH v2 02/13] drivers: clk: st: Simplify clock binding of STiH4xx platforms

2016-06-16 Thread Gabriel Fernandez
This patch reworks the clock binding to avoid too much detail in DT. Now we have only compatible string per type of clock (remark from Rob https://lkml.org/lkml/2016/5/25/492) Signed-off-by: Gabriel Fernandez --- .../devicetree/bindings/clock/st/st,clkgen-mux.txt |

[tip:locking/arch-atomic] locking/atomic, arch/arm64: Implement atomic{,64}_fetch_{add,sub,and,andnot,or,xor}{,_relaxed,_acquire,_release}() for LSE instructions

2016-06-16 Thread tip-bot for Will Deacon
Commit-ID: 2efe95fe695270ae1a225805f016303505972d86 Gitweb: http://git.kernel.org/tip/2efe95fe695270ae1a225805f016303505972d86 Author: Will Deacon AuthorDate: Fri, 22 Apr 2016 18:01:33 +0100 Committer: Ingo Molnar CommitDate: Thu, 16 Jun 2016

[RFC PATCH 11/11] sched/fair: Refactor select_task_rq_fair()

2016-06-16 Thread Yuyang Du
This refactoring attempts to achieve: - Decouple waker/wakee with the three kinds of wakeup SD_* flags. - Form a complete topology view in the select - Determine fast idle select vs. slow avg select with more info To enable this refactoring: echo NEW_SELECT > sched_features Signed-off-by:

[RFC PATCH 10/11] sched: Add sched_llc_complete static key to specify whether the LLC covers all CPUs

2016-06-16 Thread Yuyang Du
This static key tells whether all CPUs share last level cache, which is common in single-socket x86 boxes. This allows us to know better to fast select an idle sibling in select_task_rq_fair(). Signed-off-by: Yuyang Du --- kernel/sched/core.c |9 +

[RFC PATCH 09/11] sched: Add per CPU variable sd_socket_id to specify the CPU's socket

2016-06-16 Thread Yuyang Du
Add an unique ID per socket (we use the first CPU number in the cpumask of the socket). This allows us to quickly tell if two CPUs are in the same socket, see cpus_share_socket(). Signed-off-by: Yuyang Du --- include/linux/sched.h |5 + kernel/sched/core.c | 16

[RFC PATCH 06/11] sched: Optimize SCHED_SMT

2016-06-16 Thread Yuyang Du
From: Peter Zijlstra Avoid pointless SCHED_SMT code when running on !SMT hardware. Signed-off-by: Peter Zijlstra (Intel) --- kernel/sched/core.c | 19 +++ kernel/sched/fair.c |8 +++- kernel/sched/idle_task.c |

[RFC PATCH 04/11] sched: Replace sd_busy/nr_busy_cpus with sched_domain_shared

2016-06-16 Thread Yuyang Du
From: Peter Zijlstra Move the nr_busy_cpus thing from its hacky sd->parent->groups->sgc location into the much more natural sched_domain_shared location. Signed-off-by: Peter Zijlstra (Intel) --- include/linux/sched.h|1 +

[tip:locking/arch-atomic] locking/atomic, arch/arm64: Generate LSE non-return cases using common macros

2016-06-16 Thread tip-bot for Will Deacon
Commit-ID: 6822a84dd4e35a1beb70028e46b5f60c14fc422d Gitweb: http://git.kernel.org/tip/6822a84dd4e35a1beb70028e46b5f60c14fc422d Author: Will Deacon AuthorDate: Fri, 22 Apr 2016 18:01:32 +0100 Committer: Ingo Molnar CommitDate: Thu, 16 Jun 2016

Re: linux-next: build warning after merge of the gpio tree

2016-06-16 Thread Linus Walleij
On Thu, Jun 16, 2016 at 6:32 AM, Stephen Rothwell wrote: > After merging the gpio tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > In file included from drivers/gpio/gpiolib.c:25:0: > drivers/gpio/gpiolib.c: In function

Re: [RFC PATCH 1/2] Input: rotary-encoder- Add support for absolute encoder

2016-06-16 Thread Vignesh R
Hi Dmitry, On Wednesday 25 May 2016 02:14 PM, Vignesh R wrote: > Hi Dmitry, > > On 05/23/2016 02:48 PM, R, Vignesh wrote: >> >> >> On 5/20/2016 10:04 PM, Dmitry Torokhov wrote: >>> On Thu, May 19, 2016 at 02:34:00PM +0530, Vignesh R wrote: There are rotary-encoders where GPIO lines reflect

Re: [PATCH v2] power_supply: fix return value of get_property

2016-06-16 Thread Krzysztof Kozlowski
On 06/16/2016 12:13 AM, Rhyland Klein wrote: > power_supply_get_property() should ideally return -EAGAIN if it is > called while the power_supply is being registered. There was no way > previously to determine if use_cnt == 0 meant that the power_supply > wasn't fully registered yet, or if it had

Re: [next-20160615] kernel BUG at mm/rmap.c:1251!

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 17:46:57, Sergey Senozhatsky wrote: > Hello, > > [..] > [ 272.687656] vma 8800b855a5a0 start 7f3576d58000 end > 7f3576f66000 >next 8800b977d2c0 prev 8800bdfb1860 mm 8801315ff200 >prot 8025 anon_vma

Re: [PATCH 09/27] mm, vmscan: By default have direct reclaim only shrink once per node

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Direct reclaim iterates over all zones in the zonelist and shrinking them but this is in conflict with node-based reclaim. In the default case, only shrink once per node. Signed-off-by: Mel Gorman Acked-by: Johannes Weiner

[PATCH] dsa: b53: fix big-endian register access

2016-06-16 Thread Arnd Bergmann
The b53 dsa register access confusingly uses __raw register accessors when both the CPU and the device are big-endian, but it uses little- endian accessors when the same device is used from a little-endian CPU, which makes no sense. This uses normal accessors in device-endianess all the time,

Re: [PATCH 01/13] irq/msi: Remove unused MSI_FLAG_IDENTITY_MAP

2016-06-16 Thread Bart Van Assche
On 06/14/2016 09:58 PM, Christoph Hellwig wrote: From: Thomas Gleixner No user and we definitely don't want to grow one. Reviewed-by: Bart Van Assche

Re: [PATCH 2/5] clk: Combine DT binding doc for max77686 and max77802

2016-06-16 Thread Krzysztof Kozlowski
On 06/15/2016 05:19 PM, Javier Martinez Canillas wrote: >> Remove the separate DT binding document file for maxim,max77802 and >> move all information to maxim,max77686 DT binding document. >> > > Now, I wonder if this is the correct approach. A system integrator is > probably going to search for

Re: [PATCH v2 0/3] Fix DNV HSUART RX DMA timeout interrupt issue

2016-06-16 Thread Heikki Krogerus
On Wed, Jun 15, 2016 at 01:44:10PM +0800, Chuah Kim Tatt wrote: > From: "Chuah, Kim Tatt" > > These patches fix a DNV HSUART DMA issue with timeout interrupts, where > RX data is stuck in buffer when RX DMA is used and the number of received > bytes is less than 4096. >

Re: [PATCH 0/4] net-next: mediatek: IRQ cleanups, fixes and grouping

2016-06-16 Thread John Crispin
On 16/06/2016 07:20, David Miller wrote: > From: John Crispin > Date: Wed, 15 Jun 2016 16:58:46 +0200 > >> This series contains 2 small code cleanups that are leftovers from the >> MIPS support. There is also a small fix that adds proper locking to the >> code accessing the

Re: [PATCH v2 2/3] KVM: VMX: validate individual bits of guest MSR_IA32_FEATURE_CONTROL

2016-06-16 Thread Paolo Bonzini
On 16/06/2016 08:05, Haozhong Zhang wrote: > + /* > + * Only bits masked by msr_ia32_feature_control_valid_bits can be set in > + * msr_ia32_feature_control. > + * > + * msr_ia32_feature_control_valid_bits should be modified by > + *

Re: [next-20160615] kernel BUG at mm/rmap.c:1251!

2016-06-16 Thread Sergey Senozhatsky
On (06/16/16 11:41), Michal Hocko wrote: > On Thu 16-06-16 18:23:45, Sergey Senozhatsky wrote: > > On (06/16/16 10:58), Michal Hocko wrote: > > > > [..] > > > > [ 272.687656] vma 8800b855a5a0 start 7f3576d58000 end > > > > 7f3576f66000 > > > >next 8800b977d2c0

[PATCH] coresight: access conn->child_name only if it's initialised

2016-06-16 Thread Sudeep Holla
If the addition of the coresight devices get deferred, then there's a window before child_name is populated by of_get_coresight_platform_data from the respective component driver's probe and the attempted to access the same from coresight_orphan_match resulting in kernel NULL pointer dereference

Re: [next-20160615] kernel BUG at mm/rmap.c:1251!

2016-06-16 Thread Minchan Kim
On Thu, Jun 16, 2016 at 06:54:57PM +0900, Sergey Senozhatsky wrote: > On (06/16/16 11:41), Michal Hocko wrote: > > On Thu 16-06-16 18:23:45, Sergey Senozhatsky wrote: > > > On (06/16/16 10:58), Michal Hocko wrote: > > > > > [..] > > > > > [ 272.687656] vma 8800b855a5a0 start 7f3576d58000

Re: [PATCH -v2 14/33] locking,m68k: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-06-16 Thread Peter Zijlstra
On Thu, Jun 16, 2016 at 12:08:27PM +0200, Geert Uytterhoeven wrote: > > #ifdef CONFIG_RMW_INSNS > > > > +/* > > + * Am I reading these CAS loops right in that %2 is the old value and the > > first > > + * iteration uses an uninitialized value? > > + * > > + * Would it not make sense to add: tmp

Re: [PATCH] Revert "mm: rename _count, field of the struct page, to _refcount"

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 12:30:16, Vitaly Kuznetsov wrote: > Christoph Hellwig writes: > > > On Thu, Jun 16, 2016 at 11:22:46AM +0200, Vitaly Kuznetsov wrote: > >> _count -> _refcount rename in commit 0139aa7b7fa12 ("mm: rename _count, > >> field of the struct page, to _refcount")

Re: [PATCH 3/3] ARM: dts: imx7: add Toradex Colibri iMX7S/iMX7D support

2016-06-16 Thread Marcel Ziswiler
Sali Stefan On Wed, 2016-06-15 at 22:37 -0700, Stefan Agner wrote: > On 2016-06-11 19:31, Shawn Guo wrote: > > > > On Tue, Jun 07, 2016 at 07:37:09PM -0700, Stefan Agner wrote: > > > > > > > > > > > +/ { > > > + model = "Toradex Colibri iMX7D on Colibri Evaluation > > > Board V3"; > > > +

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH v9 00/12] kthread: Kthread worker API improvements

2016-06-16 Thread Petr Mladek
I send the kthread worker API improvements separately as discussed in v6, see https://lkml.kernel.org/g/20160511105224.ge2...@pathway.suse.cz They seem to be ready for inclusion in 4.8. I will send the conversion of the particular kthreads once the API changes are in some maintainers three (-mm?)

[PATCH v9 01/12] kthread: Rename probe_kthread_data() to kthread_probe_data()

2016-06-16 Thread Petr Mladek
A good practice is to prefix the names of functions by the name of the subsystem. This patch fixes the name of probe_kthread_data(). The other wrong functions names are part of the kthread worker API and will be fixed separately. Suggested-by: Andrew Morton

[PATCH v9 02/12] kthread: Kthread worker API cleanup

2016-06-16 Thread Petr Mladek
A good practice is to prefix the names of functions by the name of the subsystem. The kthread worker API is a mix of classic kthreads and workqueues. Each worker has a dedicated kthread. It runs a generic function that process queued works. It is implemented as part of the kthread subsystem.

Re: [PATCH v2 2/3] KVM: VMX: validate individual bits of guest MSR_IA32_FEATURE_CONTROL

2016-06-16 Thread Haozhong Zhang
On 06/16/16 12:01, Paolo Bonzini wrote: > > > On 16/06/2016 08:05, Haozhong Zhang wrote: > > +/* > > + * FEATURE_CONTROL_LOCKED is added/removed automatically by > > + * feature_control_valid_bits_add/del(), so it's not included here. > > + */ > > +#define FEATURE_CONTROL_MAX_VALID_BITS \ > > +

Re: [PATCH 05/27] mm, vmscan: Have kswapd only scan based on the highest requested zone

2016-06-16 Thread Mel Gorman
On Wed, Jun 15, 2016 at 03:13:13PM +0200, Vlastimil Babka wrote: > On 06/09/2016 08:04 PM, Mel Gorman wrote: > >kswapd checks all eligible zones to see if they need balancing even if it was > >woken for a lower zone. This made sense when we reclaimed on a per-zone basis > >because we wanted to

Re: [PATCH 2/3] mfd: lpc_ich: Add support for SPI serial flash host controller

2016-06-16 Thread Mika Westerberg
On Wed, Jun 15, 2016 at 04:38:35PM +0100, Lee Jones wrote: > On Tue, 14 Jun 2016, Mika Westerberg wrote: > > > Many Intel CPUs including Haswell, Broadwell and Baytrail have SPI serial > > flash host controller as part of the LPC device. This will populate an MFD > > cell suitable for the SPI

Re: [PATCH v3 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller

2016-06-16 Thread Wenrui Li
在 2016/6/16 15:00, Arnd Bergmann 写道: On Thursday, June 16, 2016 9:50:21 AM CEST Shawn Lin wrote: + reset-names = "core", "mgmt", "mgmt-sticky", "pipe"; + phys = <_phy>; + phy-names = "pcie-phy"; + pinctrl-names = "default"; + pinctrl-0 = <_clkreq>; +

Re: [PATCH v5 2/3] drm/arm: Add support for Mali Display Processors

2016-06-16 Thread Liviu Dudau
Hi Russell, On Wed, Jun 15, 2016 at 09:11:16PM +0100, Russell King - ARM Linux wrote: > On Wed, Jun 15, 2016 at 06:21:04PM +0100, Liviu Dudau wrote: > > Could be the tda998x_drv fault, but I'm getting this splat: > > > > [1.347687] kobject_add_internal failed for card0-HDMI-A-1 (error: -2 >

[PATCH] arm64: Add BCM2835 support to the defconfig.

2016-06-16 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- arch/arm64/configs/defconfig | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index fd2d74d..50e5afc 100644 --- a/arch/arm64/configs/defconfig +++

Re: [PATCH] autofs: don't stuck in a loop if vfs_write returns an error

2016-06-16 Thread Ian Kent
On Fri, 2016-06-10 at 12:07 -0700, Andrew Morton wrote: > On Thu, 09 Jun 2016 09:23:26 +0800 Ian Kent wrote: > > > > I was getting ready to send these over to Andrew and found that opendir(3) > > > is > > > failing on a number of tests (51 of 230, 9 fails are expected) with

Re: [PATCH] arm64: defconfig: Enable qcom msm8996 clk drivers

2016-06-16 Thread Andy Gross
On Wed, Jun 15, 2016 at 06:07:51PM -0700, Stephen Boyd wrote: > Enable the clk drivers on msm8996. This allows us to boot and > test most device drivers on this SoC. > > Signed-off-by: Stephen Boyd Looks good to me. I'll queue it up. Thanks, Andy

Re: [v2 PATCH 1/4] Documentation: bindings: add dt doc for Rockchip USB Type-C PHY

2016-06-16 Thread Tomasz Figa
On Thu, Jun 16, 2016 at 9:31 AM, Chris Zhong wrote: > Hi Heiko > > > On 06/16/2016 06:11 AM, Heiko Stuebner wrote: >> >> Am Montag, 13. Juni 2016, 17:39:46 schrieb Chris Zhong: >>> >>> This patch adds a binding that describes the Rockchip USB Type-C PHY >>> for rk3399 >>> >>>

Re: [PATCH] perf script: Add stackcollapse.py script

2016-06-16 Thread Jiri Olsa
On Thu, Jun 16, 2016 at 09:22:59AM +0200, Paolo Bonzini wrote: > On 12/04/2016 15:26, Paolo Bonzini wrote: > > Add stackcollapse.py script as an example of parsing call chains, and > > also of using optparse to access command line options. > > > > The flame graph tools include a set of scripts

Re: ping Re: [PATCH] perf script: Add stackcollapse.py script

2016-06-16 Thread Jiri Olsa
On Fri, May 20, 2016 at 01:01:41PM +0200, Paolo Bonzini wrote: > > SNIP > >>> new file mode 100755 > >>> index ..356b9656393d > >>> --- /dev/null > >>> +++ b/tools/perf/scripts/python/bin/stackcollapse-report > >>> @@ -0,0 +1,3 @@ > >>> +#!/bin/sh > >>> +# description: produce

[PATCH] mm: fix account pmd page to the process

2016-06-16 Thread zhongjiang
From: zhong jiang when a process acquire a pmd table shared by other process, we increase the account to current process. otherwise, a race result in other tasks have set the pud entry. so it no need to increase it. Signed-off-by: zhong jiang ---

[PATCH 1/2] perf llvm: Allow dump llvm output object file using llvm.dump-obj

2016-06-16 Thread Wang Nan
Add a 'llvm.dump-obj' config option to enable perf dump BPF object files compiled by LLVM. This option is useful when using BPF objects in embedded platforms. LLVM compiler won't be deployed in these platforms, and currently we don't support dynamic compiling library. Before this patch users

[PATCH 2/2] perf record: Add --dry-run option to check cmdline options

2016-06-16 Thread Wang Nan
With '--dry-run', 'perf record' doesn't do reall recording. Combine with llvm.dump-obj option, --dry-run can be used to help compile BPF objects for embedded platform. Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Alexei Starovoitov

Re: [PATCHv9-rebased2 03/37] mm, thp: fix locking inconsistency in collapse_huge_page

2016-06-16 Thread Kirill A. Shutemov
On Thu, Jun 16, 2016 at 09:43:07AM +0900, Sergey Senozhatsky wrote: > Hello, > > On (06/15/16 23:06), Kirill A. Shutemov wrote: > [..] > > After creating revalidate vma function, locking inconsistency occured > > due to directing the code path to wrong label. This patch directs > > to correct

Re: [PATCH 1/3] acpi: Export acpi_of_modalias equiv of of_modalias_node

2016-06-16 Thread Mika Westerberg
On Wed, Jun 15, 2016 at 09:30:27PM +0300, Crestez Dan Leonard wrote: > +int acpi_of_modalias(struct acpi_device *adev, char *outstr, int outlen) Why not size_t for outlen?

Re: [RFC PATCH 2/2] xfs: map KM_MAYFAIL to __GFP_RETRY_HARD

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 10:23:02, Dave Chinner wrote: > On Mon, Jun 06, 2016 at 01:32:16PM +0200, Michal Hocko wrote: > > From: Michal Hocko > > > > KM_MAYFAIL didn't have any suitable GFP_FOO counterpart until recently > > so it relied on the default page allocator behavior for the

Re: [PATCH 2/3] acpi i2c: Initialize info.type from of_compatible

2016-06-16 Thread Mika Westerberg
On Wed, Jun 15, 2016 at 09:30:28PM +0300, Crestez Dan Leonard wrote: > When using devicetree i2c_board_info.type is set to the compatible > string with the vendor prefix removed. For I2C devices described via > ACPI the i2c_board_info.type string is set to the ACPI device name. When > using ACPI

[RESEND PATCH v2 04/13] drivers: clk: st: Add clock propagation for audio clocks

2016-06-16 Thread Gabriel Fernandez
This patch allows fine tuning of the quads FS for audio clocks accuracy. Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- .../devicetree/bindings/clock/st/st,flexgen.txt| 2 ++ drivers/clk/st/clk-flexgen.c

Re: [PATCH v3] sched: fix first task of a task group is attached twice

2016-06-16 Thread Vincent Guittot
On 16 June 2016 at 01:24, Yuyang Du wrote: > On Thu, Jun 16, 2016 at 09:12:58AM +0200, Vincent Guittot wrote: >> > Then, when enqueued, both cfs_rq and task will be decayed to 0, due to >> > a large gap between 1 and now, no? >> >> yes, like it is done currently (but 1ns

Re: [next-20160615] kernel BUG at mm/rmap.c:1251!

2016-06-16 Thread Michal Hocko
On Thu 16-06-16 18:23:45, Sergey Senozhatsky wrote: > On (06/16/16 10:58), Michal Hocko wrote: > > > [..] > > > [ 272.687656] vma 8800b855a5a0 start 7f3576d58000 end > > > 7f3576f66000 > > >next 8800b977d2c0 prev 8800bdfb1860 mm > > > 8801315ff200 > > >

[RFC PATCH 02/11] sched: Restructure destroy_sched_domain()

2016-06-16 Thread Yuyang Du
From: Peter Zijlstra There is no point in doing a call_rcu() for each domain, only do a callback for the root sched domain and clean up the entire set in one go. Also make the entire call chain be called destroy_sched_domain*() to remove confusion with the

Re: [PATCH 3/5] clk: max77686: Add DT binding details for PMIC MAX77620

2016-06-16 Thread Krzysztof Kozlowski
On 06/15/2016 04:13 PM, Laxman Dewangan wrote: > Maxim has used the same clock IP on multiple PMICs like > MAX77686, MAX77802, MAX77620. Only differences are the > number of clocks from these PMICs. > > Add clock binding details and example for the max77620 in > maxim,max77686. > >

Re: [PATCH -v2 14/33] locking,m68k: Implement atomic_fetch_{add,sub,and,or,xor}()

2016-06-16 Thread Geert Uytterhoeven
Hi Peter, On Tue, May 31, 2016 at 12:19 PM, Peter Zijlstra wrote: > Implement FETCH-OP atomic primitives, these are very similar to the > existing OP-RETURN primitives we already have, except they return the > value of the atomic variable _before_ modification. > > This is

Re: [next-20160615] kernel BUG at mm/rmap.c:1251!

2016-06-16 Thread Sergey Senozhatsky
On (06/16/16 19:12), Minchan Kim wrote: [..] > > > > > Is this? > > > > > page_add_new_anon_rmap: > > > > > VM_BUG_ON_VMA(address < vma->vm_start || address >= > > > > > vma->vm_end, vma) > > > > > [...] > > > > > > > > I think it is > > > > > > > > 1248 void page_add_new_anon_rmap(struct

Re: [PATCH v2 1/3] reset: hisilicon: Add media reset controller binding

2016-06-16 Thread Philipp Zabel
Am Donnerstag, den 16.06.2016, 18:29 +0800 schrieb Xinliang Liu: > Add compatible for media reset controller. > > Signed-off-by: Xinliang Liu > --- > Documentation/devicetree/bindings/reset/hisilicon,hi6220-reset.txt | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH 2/2] arm64: dts: juno: add thermal zones for scpi sensors

2016-06-16 Thread Sudeep Holla
On 13/06/16 16:15, Javi Merino wrote: The juno dts have entries for the hwmon scpi, let's create thermal zones for the temperature sensors described in the Juno ARM Development Platform Implementation Details. Cc: Liviu Dudau Cc: Sudeep Holla

[PATCH v2 1/2] tools include: Adopt byte ordering macros from byteorder/generic.h

2016-06-16 Thread He Kuang
From: Wang Nan This patch adopts the macros for byte order conversion from "include/linux/byteorder/generic.h" to "tools/include/linux/byteorder/generic.h" tools/perf/MANIFEST is also updated for 'make perf-*-src-pkg'. Signed-off-by: Wang Nan

Re: [patch] clocksource: timer-imx-gpt: make driver work again

2016-06-16 Thread Daniel Lezcano
On 06/16/2016 12:42 PM, Dan Carpenter wrote: We accidentally made mxc_timer_init_dt() return unconditionally. Fixes: e93432390ec1 ('clocksource/drivers/timer-imx-gpt: Convert init function to return error') Signed-off-by: Dan Carpenter Thanks, I will merge this

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-16 Thread Stephan Mueller
Am Dienstag, 14. Juni 2016, 09:42:34 schrieb Andrew Zaborowski: Hi Andrew, > > > > I think we have agreed on dropping the length enforcement at the interface > > level. > > Separately from this there's a problem with the user being unable to > know if the algorithm is going to fail because of

[PATCH] floppy: fix open(O_ACCMODE) for ioctl-only open

2016-06-16 Thread Jiri Kosina
From: Jiri Kosina Commit 09954bad4 ("floppy: refactor open() flags handling"), as a side-effect, causes open(/dev/fdX, O_ACCMODE) to fail. It turns out that this is being used setfdprm userspace for ioctl-only open(). Reintroduce back the original behavior wrt

Re: [Linaro-acpi] [RFC PATCH V2 1/2] ACPI/PCI: Match PCI config space accessors against platfrom specific ECAM quirks

2016-06-16 Thread Duc Dang
On Wed, Jun 15, 2016 at 11:31 PM, Jon Masters wrote: > On 06/13/2016 09:54 AM, Gabriele Paoloni wrote: >> Hi Tomasz, Jon > > Hi Gab, > > Sorry for the lag in following up. > > > >> As you can see here Liudongdong has replaced oem_revision with >> oem_table_id. >> >> Now it seems

Re: [PATCH 3/3] acpi spi: Initialize modalias from of_compatible

2016-06-16 Thread Mika Westerberg
On Wed, Jun 15, 2016 at 09:30:29PM +0300, Crestez Dan Leonard wrote: > When using devicetree spi_device.modalias is set to the compatible > string with the vendor prefix removed. For SPI devices described via > ACPI the i2c_board_info.type string is initialized by acpi_device_hid. > When using

Re: [GIT PULL 00/19] perf/core improvements and fixes

2016-06-16 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 2c95afc1e83d93fac3be6923465e1753c2c53b0a: > > perf/x86/intel, watchdog: Switch NMI watchdog to ref cycles on x86 > (2016-06-14 11:16:59

Re: [PATCH 08/27] mm, vmscan: Simplify the logic deciding whether kswapd sleeps

2016-06-16 Thread Mel Gorman
On Wed, Jun 15, 2016 at 05:18:00PM +0200, Vlastimil Babka wrote: > >@@ -1209,9 +1209,10 @@ static pg_data_t __ref *hotadd_new_pgdat(int nid, u64 > >start) > > > > arch_refresh_nodedata(nid, pgdat); > > } else { > >-/* Reset the nr_zones and classzone_idx to 0 before

Re: [PATCH v7 00/12] Support non-lru page migration

2016-06-16 Thread Sergey Senozhatsky
On (06/16/16 15:47), Minchan Kim wrote: > > [..] > > > > this is what I'm getting with the [zsmalloc: keep first object offset > > > > in struct page] > > > > applied: "count:0 mapcount:-127". which may be not related to zsmalloc > > > > at this point. > > > > > > > > kernel: BUG: Bad page

[PATCH] dm raid: don't use 'const' in function return

2016-06-16 Thread Arnd Bergmann
A newly introduced function has 'const int' as the return type, but as "make W=1" reports, that has no meaning: drivers/md/dm-raid.c:510:18: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] This changes the return type to plain 'int'. Signed-off-by: Arnd

Re: [RFC PATCH 2/3] mm, thp: convert from optimistic to conservative

2016-06-16 Thread Ebru Akagunduz
On Wed, Jun 15, 2016 at 03:40:53PM +0900, Minchan Kim wrote: > Hello, > > On Sat, Jun 11, 2016 at 10:16:00PM +0300, Ebru Akagunduz wrote: > > Currently, khugepaged collapses pages saying only > > a referenced page enough to create a THP. > > > > This patch changes the design from optimistic to

Re: [PATCH] perf script: Add stackcollapse.py script

2016-06-16 Thread Paolo Bonzini
On 16/06/2016 09:49, Jiri Olsa wrote: > On Thu, Jun 16, 2016 at 09:22:59AM +0200, Paolo Bonzini wrote: >> On 12/04/2016 15:26, Paolo Bonzini wrote: >>> Add stackcollapse.py script as an example of parsing call chains, and >>> also of using optparse to access command line options. >>> >>> The

Re: [PATCH 2/5] clk: Combine DT binding doc for max77686 and max77802

2016-06-16 Thread Krzysztof Kozlowski
On 06/15/2016 04:13 PM, Laxman Dewangan wrote: > The clock driver for Maxim PMICs max77686 and max77802 are > combined into single file to extend the support for same clock > IP for different PMICs. > > Remove the separate DT binding document file for maxim,max77802 and > move all information to

Re: [PATCH 11/27] mm: vmscan: Do not reclaim from kswapd if there is any eligible zone

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: kswapd scans from highest to lowest for a zone that requires balancing. This was necessary when reclaim was per-zone to fairly age pages on lower zones. Now that we are reclaiming on a per-node basis, any eligible zone can be used and pages will still be

Re: [PATCH v7 00/12] Support non-lru page migration

2016-06-16 Thread Minchan Kim
On Thu, Jun 16, 2016 at 05:42:11PM +0900, Sergey Senozhatsky wrote: > On (06/16/16 15:47), Minchan Kim wrote: > > > [..] > > > > > this is what I'm getting with the [zsmalloc: keep first object offset > > > > > in struct page] > > > > > applied: "count:0 mapcount:-127". which may be not related

Re: [PATCHv9-rebased2 01/37] mm, thp: make swapin readahead under down_read of mmap_sem

2016-06-16 Thread Kirill A. Shutemov
On Thu, Jun 16, 2016 at 02:52:52PM +0800, Hillf Danton wrote: > > > > From: Ebru Akagunduz > > > > Currently khugepaged makes swapin readahead under down_write. This patch > > supplies to make swapin readahead under down_read instead of down_write. > > > > The patch

Re: [PATCH] net: sfc: avoid -Wtype-limits warning

2016-06-16 Thread Bert Kenward
On 15/06/16 21:31, Arnd Bergmann wrote: > When building with -Wextra, we get a harmless warning from the > EFX_EXTRACT_OWORD32 macro: > > ethernet/sfc/farch.c: In function 'efx_farch_test_registers': > ethernet/sfc/farch.c:119:30: error: comparison of unsigned expression < 0 is > always false

Re: [PATCH v2 03/10] mfd: ac100: Add driver for X-Powers AC100 audio codec / RTC combo IC

2016-06-16 Thread Lee Jones
On Wed, 15 Jun 2016, Chen-Yu Tsai wrote: > On Wed, Jun 15, 2016 at 8:36 PM, Lee Jones wrote: > > On Wed, 15 Jun 2016, Chen-Yu Tsai wrote: > > > >> The AC100 is a multifunction device with an audio codec subsystem and > >> an RTC subsystem. These two subsystems share a

[PATCH v2 2/3] arm64: dts: hi6220: Add media subsystem reset dts

2016-06-16 Thread Xinliang Liu
Add media subsystem reset support. Signed-off-by: Chen Feng Signed-off-by: Xinliang Liu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 2 ++ include/dt-bindings/reset/hisi,hi6220-resets.h | 8 2 files changed, 10 insertions(+)

[patch] clocksource: timer-imx-gpt: make driver work again

2016-06-16 Thread Dan Carpenter
We accidentally made mxc_timer_init_dt() return unconditionally. Fixes: e93432390ec1 ('clocksource/drivers/timer-imx-gpt: Convert init function to return error') Signed-off-by: Dan Carpenter diff --git a/drivers/clocksource/timer-imx-gpt.c

[tip:perf/core] perf tools: Fix rm_rf() to handle non-regular files correctly

2016-06-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: 2a1ef032cfccd8c92f32b86615a0b0151a7cd86f Gitweb: http://git.kernel.org/tip/2a1ef032cfccd8c92f32b86615a0b0151a7cd86f Author: Masami Hiramatsu AuthorDate: Wed, 8 Jun 2016 18:29:11 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf probe: Fix to add NULL check for strndup

2016-06-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: 844faa4bcddc5d321311003ea3af9d808371c48e Gitweb: http://git.kernel.org/tip/844faa4bcddc5d321311003ea3af9d808371c48e Author: Masami Hiramatsu AuthorDate: Wed, 8 Jun 2016 18:29:21 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[tip:perf/core] perf buildid: Rename and export build_id_cache__cachedir()

2016-06-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: 4698b8b7572ff74d9d17fdb02d5957b7148c64fe Gitweb: http://git.kernel.org/tip/4698b8b7572ff74d9d17fdb02d5957b7148c64fe Author: Masami Hiramatsu AuthorDate: Wed, 8 Jun 2016 18:29:30 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue,

[next-20160615] kernel BUG at mm/rmap.c:1251!

2016-06-16 Thread Sergey Senozhatsky
Hello, [..] [ 272.687656] vma 8800b855a5a0 start 7f3576d58000 end 7f3576f66000 next 8800b977d2c0 prev 8800bdfb1860 mm 8801315ff200 prot 8025 anon_vma 8800b7e583b0 vm_ops (null) pgoff 7f3576d58 file

Re: [4.7-rc3 June 16th code][EXT4] Rename file corruption?

2016-06-16 Thread Christoph Hellwig
We see somewhat similar rename corruption on XFS, also under heavy compile workloads. The reporters have already ruled out the XFS changes from the 4.7 merge window, so this looks a lot like the VFS changes that went into this merge window.

Re: [PATCH 02/13] irq: Introduce IRQD_AFFINITY_MANAGED flag

2016-06-16 Thread Bart Van Assche
On 06/14/2016 09:58 PM, Christoph Hellwig wrote: diff --git a/include/linux/irq.h b/include/linux/irq.h index 4d758a7..49d66d1 100644 --- a/include/linux/irq.h +++ b/include/linux/irq.h @@ -197,6 +197,7 @@ struct irq_data { * IRQD_IRQ_INPROGRESS - In progress state of the interrupt *

[RESEND PATCH v2 01/13] drivers: clk: st: Remove stih415-416 clock support

2016-06-16 Thread Gabriel Fernandez
STiH415 and STiH416 platforms are no longer used. these platforms will be deprecated for the next kernel. Signed-off-by: Gabriel Fernandez --- .../bindings/clock/st/st,clkgen-divmux.txt | 49 -- .../devicetree/bindings/clock/st/st,clkgen-mux.txt | 18 +-

[RESEND PATCH v2 03/13] drivers: clk: st: Add fs660c32 synthesizer algorithm

2016-06-16 Thread Gabriel Fernandez
Use an algorithm instead of a table to compute clocks for fs660c32 synthesizer. During a video playback we need to adjust audio & video frequencies. A table can't cover all HDMI resolutions and audio adjustment. Signed-off-by: Gabriel Fernandez ---

Re: [PATCH 1/2 RESEND] staging: dgnc: remove redundant NULL checks in

2016-06-16 Thread DaeSeok Youn
2016-05-10 15:44 GMT+09:00 Daeseok Youn : > The dgnc_block_til_ready() is only used in dgnc_tty_open(). > The unit data(struct un_t) was stored into tty->driver_data in > dgnc_tty_open(). > And also tty and un were tested about NULL so these variables doesn't > need to

Re: [next-20160615] kernel BUG at mm/rmap.c:1251!

2016-06-16 Thread Sergey Senozhatsky
On (06/16/16 10:58), Michal Hocko wrote: > > [..] > > [ 272.687656] vma 8800b855a5a0 start 7f3576d58000 end > > 7f3576f66000 > >next 8800b977d2c0 prev 8800bdfb1860 mm > > 8801315ff200 > >prot 8025 anon_vma 8800b7e583b0

[RESEND PATCH v2 07/13] ARM: DT: STiH410: Enable clock propagation for audio clocks

2016-06-16 Thread Gabriel Fernandez
This patch is used in the clock driver to apply a clock propagation flag on the audio clocks of STiH410 Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih410-clock.dtsi | 2 +- 1 file changed, 1

[RESEND PATCH v2 06/13] ARM: DT: STiH407: Enable clock propagation for audio clocks

2016-06-16 Thread Gabriel Fernandez
This patch is used in the clock driver to apply a clock propagation flag on the audio clocks of STiH407 Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih407-clock.dtsi | 2 +- 1 file changed, 1

Re: [PATCH 2/2] printk: Add kernel parameter to control writes to /dev/kmsg

2016-06-16 Thread Borislav Petkov
On Wed, Jun 15, 2016 at 03:40:04PM -1000, Linus Torvalds wrote: > Possibly we could just say that if a kernel command line option has > been given, that is absolute. > > And then a sysctl for when you do *not* explicitly set if on the > kernel command line? Ok, how about this ontop? It is only

Re: [PATCH 0/4] net-next: mediatek: IRQ cleanups, fixes and grouping

2016-06-16 Thread Daniel Borkmann
On 06/16/2016 11:44 AM, John Crispin wrote: On 16/06/2016 07:20, David Miller wrote: From: John Crispin Date: Wed, 15 Jun 2016 16:58:46 +0200 This series contains 2 small code cleanups that are leftovers from the MIPS support. There is also a small fix that adds proper

Re: [PATCH v2 2/3] KVM: VMX: validate individual bits of guest MSR_IA32_FEATURE_CONTROL

2016-06-16 Thread Paolo Bonzini
On 16/06/2016 08:05, Haozhong Zhang wrote: > +/* > + * FEATURE_CONTROL_LOCKED is added/removed automatically by > + * feature_control_valid_bits_add/del(), so it's not included here. > + */ > +#define FEATURE_CONTROL_MAX_VALID_BITS \ > + FEATURE_CONTROL_VMXON_ENABLED_OUTSIDE_SMX > + >

Re: automatic interrupt affinity for MSI/MSI-X capable devices V2

2016-06-16 Thread Bart Van Assche
On 06/14/2016 09:58 PM, Christoph Hellwig wrote: This series enhances the irq and PCI code to allow spreading around MSI and MSI-X vectors so that they have per-cpu affinity if possible, or at least per-node. For that it takes the algorithm from blk-mq, moves it to a common place, and makes it

Re: 4.6-rc*: Kernel unaligned access at pci_bus_read_config_dword+0x64/0x80

2016-06-16 Thread Anatoly Pugachev
On Wed, Jun 15, 2016 at 1:38 AM, Anatoly Pugachev wrote: > On Tue, Jun 14, 2016 at 4:02 PM, Anatoly Pugachev wrote: >> On Mon, Jun 13, 2016 at 3:49 PM, Meelis Roos wrote: > Between 4.5.0 and 4.6.0-rc3, my Spar Enterprise T5120 has

  1   2   3   4   5   6   7   8   9   10   >