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 m

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 later) . > > Well, current

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 > > >

Re: kernel, mm: NULL deref in copy_process while OOMing

2016-06-16 Thread Michal Hocko
On Wed 15-06-16 12:50:43, Sasha Levin wrote: > Hi all, > > I'm seeing the following NULL ptr deref in copy_process right after a bunch > of OOM killing activity on -next kernels: > > Out of memory (oom_kill_allocating_task): Kill process 3477 (trinity-c159) > score 0 or sacrifice child > Killed

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

2016-06-16 Thread Vlastimil Babka
On 06/16/2016 11:22 AM, Vitaly Kuznetsov wrote: _count -> _refcount rename in commit 0139aa7b7fa12 ("mm: rename _count, field of the struct page, to _refcount") broke kdump. makedumpfile(8) does stuff like READ_MEMBER_OFFSET("page._count", page._count) and fails. While it is definitely possible t

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. > These patches have been te

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] Revert "mm: rename _count, field of the struct page, to _refcount"

2016-06-16 Thread Christoph Hellwig
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") broke kdump. makedumpfile(8) does > stuff like READ_MEMBER_OFFSET("page._count", page._count) and fails. While > it

Re: [PATCH 1/5] clk: max77686: Combine Maxim max77686 and max77802 driver

2016-06-16 Thread Krzysztof Kozlowski
Hi, First, thank for the work. Looks promising! Few comments below. On 06/15/2016 04:13 PM, Laxman Dewangan wrote: > The clock IP used on the Maxim PMICs max77686 and max77802 are > same. The configuration of clock register is also same except > the number of clocks. > > Part of common code util

Re: [PATCH 10/27] mm, vmscan: Clear congestion, dirty and need for compaction on a per-node basis

2016-06-16 Thread Vlastimil Babka
On 06/09/2016 08:04 PM, Mel Gorman wrote: Congested and dirty tracking of a node and whether reclaim should stall is still based on zone activity. This patch considers whether the kernel should stall based on node-based reclaim activity. I'm a bit confused about the description vs actual code.

Re: [PATCH 3/3] drivers/media/media-device: fix double free bug in _unregister()

2016-06-16 Thread Max Kellermann
(Shuah, I did not receive your second reply; I only found it in an email archive.) > Yes media_devnode_create() creates the interfaces links and these > links are deleted by media_devnode_remove(). > media_device_unregister() still needs to delete the interfaces > links. The reason for that is the

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 flam

[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 | 24 ++ 2 files changed

[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 +- .../devicetree/bindings/clock/s

[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 --- drivers/clk/st/clkgen-fsyn.c | 180

[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 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/s

[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 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/s

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

2016-06-16 Thread Arnd Bergmann
On Thursday, June 16, 2016 4:01:12 PM CEST Wenrui Li wrote: > 在 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 = <&pcie_phy>; > >> +phy-names = "pcie-phy"; > >>

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 check for NULL in dgnc_block

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 vm_op

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

2016-06-16 Thread Vitaly Kuznetsov
_count -> _refcount rename in commit 0139aa7b7fa12 ("mm: rename _count, field of the struct page, to _refcount") broke kdump. makedumpfile(8) does stuff like READ_MEMBER_OFFSET("page._count", page._count) and fails. While it is definitely possible to fix this particular tool I'm not sure about othe

[RESEND PATCH v2 11/13] ARM: DT: STiH418: Enable synchronous clock mode for video clocks

2016-06-16 Thread Gabriel Fernandez
This patch enables the synchronous clock mode for video clocks on STiH418 board. Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih418-clock.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih418-clock.dtsi b/ar

[RESEND PATCH v2 08/13] ARM: DT: STiH418: 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 STiH418 Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih418-clock.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/s

[RESEND PATCH v2 12/13] ARM: DT: STi: STiH407: clock configuration to address 720p and 1080p

2016-06-16 Thread Gabriel Fernandez
It is necessary to properly configure these clocks in order to address 720p and 1080p HDMI resolution. Signed-off-by: Vincent Abriou Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih407.dtsi | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/arch/arm

[RESEND PATCH v2 13/13] ARM: DT: STi: STiH410: clock configuration to address 720p and 1080p

2016-06-16 Thread Gabriel Fernandez
It is necessary to properly configure these clocks in order to address 720p and 1080p HDMI resolution. Signed-off-by: Vincent Abriou Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih410.dtsi | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/arch/arm

[RESEND PATCH v2 09/13] ARM: DT: STiH407: Enable synchronous clock mode for video clocks

2016-06-16 Thread Gabriel Fernandez
This patch enables the synchronous clock mode for video clocks on STiH407 board. Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih407-clock.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih407-clock.dtsi b/ar

[RESEND PATCH v2 10/13] ARM: DT: STiH410: Enable synchronous clock mode for video clocks

2016-06-16 Thread Gabriel Fernandez
This patch enables the synchronous clock mode for video clocks on STiH410 board. Signed-off-by: Olivier Bideau Signed-off-by: Gabriel Fernandez --- arch/arm/boot/dts/stih410-clock.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih410-clock.dtsi b/ar

[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 | 37 -- 2 files

[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 | 2 +- .../devicetree/bindings

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

2016-06-16 Thread Mel Gorman
On Thu, Jun 16, 2016 at 09:30:33AM +0100, Mel Gorman wrote: > > >@@ -2727,7 +2727,7 @@ static bool pfmemalloc_watermark_ok(pg_data_t *pgdat) > > > > > > /* kswapd must be awake if processes are being throttled */ > > > if (!wmark_ok && waitqueue_active(&pgdat->kswapd_wait)) { > > >- pg

Re: [PATCHv9-rebased2 11/37] mm: introduce do_set_pmd()

2016-06-16 Thread Hillf Danton
> + > +static int do_set_pmd(struct fault_env *fe, struct page *page) > +{ > + struct vm_area_struct *vma = fe->vma; > + bool write = fe->flags & FAULT_FLAG_WRITE; > + unsigned long haddr = fe->address & HPAGE_PMD_MASK; > + pmd_t entry; > + int i, ret; > + > + if (!transhuge

Re: [PATCH 1/2] Crypto: Add SHA-3 hash algorithm

2016-06-16 Thread Raveendra Padasalagi
Hi Stephan, Thanks for the review comments. I will address it in the next patch. Please look at my reply below against each comment. Regards, Raveendra On Wed, Jun 15, 2016 at 5:12 PM, Stephan Mueller wrote: > Am Mittwoch, 15. Juni 2016, 15:11:58 schrieb Raveendra Padasalagi: > > Hi Raveendra,

[PATCH] builddeb: really include objtool binary in headers package

2016-06-16 Thread Wilfried Klaebe
On May 4th, Bjørn Mork provided patch 697bbc7b832048d3a679cd55caf2268a325efbe0 to include objtool binaries in the headers package. Sadly, that one only works if $srctree=$objtree, because the objtool binaries are not written to the srctree, but to the objtree. Signed-off-by: Wilfried Klaebe diff

Re: Why are the MB/s of avx and raid6: twice as high for a docked ThinkPad than for an undocked ?

2016-06-16 Thread Henrique de Moraes Holschuh
On Wed, 15 Jun 2016, Toralf Förster wrote: > This diff is reliable depending whether the T440s is docked (right) or not > (left) : > > Linux t44 4.5.7-hardened-r2 #1 SMP Wed Jun 15 23:39:10 CEST 2016 x86_64 > Intel(R) Core(TM) i5-4300U CPU @ 1.90GHz GenuineIntel GNU/Linux > > 215c215 >

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 *

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 co

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] phy: rcar-gen3-usb2: fix unexpected repeat interrupts of VBUS change

2016-06-16 Thread Yoshihiro Shimoda
Hi Kishon, Would you review this patch? Best regards, Yoshihiro Shimoda > -Original Message- > From: Yoshihiro Shimoda > Sent: Tuesday, May 31, 2016 9:47 PM > To: kis...@ti.com > Cc: linux-kernel@vger.kernel.org; linux-renesas-...@vger.kernel.org; > sta...@vger.kernel.org; Yoshihiro Shi

[PATCH] crypto: caam: fix misspelled upper_32_bits

2016-06-16 Thread Arnd Bergmann
An endianess fix mistakenly used higher_32_bits() instead of upper_32_bits(), and that doesn't exist: drivers/crypto/caam/desc_constr.h: In function 'append_ptr': drivers/crypto/caam/desc_constr.h:84:75: error: implicit declaration of function 'higher_32_bits' [-Werror=implicit-function-declarati

Re: [PATCH 7/7] usb: dwc3: st: Inform the reset framework that our reset line may be shared

2016-06-16 Thread Philipp Zabel
Am Montag, den 06.06.2016, 16:56 +0100 schrieb Lee Jones: > On the STiH410 B2120 development board the MiPHY28lp shares its reset > line with the Synopsys DWC3 SuperSpeed (SS) USB 3.0 Dual-Role-Device > (DRD). New functionality in the reset subsystems forces consumers to > be explicit when request

Re: [STLinux Kernel] [PATCH 0/7] reset: Consumers to explicitly request 'exclusive' or 'shared' lines

2016-06-16 Thread Philipp Zabel
Hi Lee, Am Dienstag, den 07.06.2016, 10:24 +0100 schrieb Lee Jones: [...] > I guess it should really go into the -rcs, yes. Since Hans' patch > actually breaks a lot of devices. I'm pretty surprised a patch > capable of this much damage was actually accepted to be honest. I wasn't aware there w

[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 Bergm

Re: [rfc patch] sched/fair: Use instantaneous load for fork/exec balancing

2016-06-16 Thread Dietmar Eggemann
On 16/06/16 04:33, Mike Galbraith wrote: > On Wed, 2016-06-15 at 20:03 +0100, Dietmar Eggemann wrote: > >> Isn't there a theoretical problem with the scale_load() on CONFIG_64BIT >> machines on tip/sched/core? load.weight has a higher resolution than >> runnable_load_avg (and so the values in the

[PATCH] gpiolib: avoid uninitialized data in gpio kfifo

2016-06-16 Thread Arnd Bergmann
gcc reports a theoretical case for returning uninitialized data in the kfifo when a GPIO interrupt happens and neither GPIOEVENT_REQUEST_RISING_EDGE nor GPIOEVENT_REQUEST_FALLING_EDGE are set: drivers/gpio/gpiolib.c: In function 'lineevent_irq_thread': drivers/gpio/gpiolib.c:683:87: error: 'ge.id'

[PATCH] mwifiex: fix link error against sdio

2016-06-16 Thread Arnd Bergmann
Calling sdio_claim_host() from the interface independent part of the mwifiex driver is not only a layering violation, but also causes a link error if MMC support is disabled, or if CONFIG_MMC=m and CONFIG_MWIFIEX=y: drivers/net/built-in.o: In function `mwifiex_fw_dpc': :(.text+0xff138): undefined

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 8800b7e583

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 Acked-by: Vlastimil Babka

[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, whic

Re: [PATCH v6 1/4] sched/fair: Fix attaching task sched avgs twice when switching to fair or changing task group

2016-06-16 Thread Yuyang Du
On Wed, Jun 15, 2016 at 05:22:17PM +0200, Peter Zijlstra wrote: > On Wed, Jun 15, 2016 at 09:46:53AM +0200, Vincent Guittot wrote: > > I still have concerned with this change of the behavior that attaches > > the task only when it is enqueued. The load avg of the task will not > > be decayed betwe

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

2016-06-16 Thread Heiko Stübner
Am Donnerstag, 16. Juni 2016, 16:49:42 schrieb 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 Rock

Re: Divide-by-zero in post_init_entity_util_avg

2016-06-16 Thread Peter Zijlstra
On Thu, Jun 09, 2016 at 03:07:50PM +0200, Peter Zijlstra wrote: > Which given the lack of serialization, and the code generated from > update_cfs_rq_load_avg() is entirely possible. > > if (atomic_long_read(&cfs_rq->removed_load_avg)) { > s64 r = atomic_long_xchg(&cfs_rq->remov

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.

[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

[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 b/arch/arm64/boot/dts/marvell/berlin4ct.

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 a

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 stat

RE: [PATCH v5] ASoC: rockchip: Add machine driver for RK3399 GRU Boards

2016-06-16 Thread Opensource [Adam Thomson]
On 16 June 2016 02:15, Xing Zheng wrote: > >> + /* Enable Headset and 4 Buttons Jack detection */ > >> + ret = snd_soc_card_jack_new(rtd->card, "Headset Jack", > >> + SND_JACK_HEADSET | > > Should this also include SND_JACK_LINEOUT? da7219 differentiat

[tip:perf/core] perf probe: Add --cache option to cache the probe definitions

2016-06-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: 2fd457a34525ea3bc609e377b46af759af8a7934 Gitweb: http://git.kernel.org/tip/2fd457a34525ea3bc609e377b46af759af8a7934 Author: Masami Hiramatsu AuthorDate: Wed, 15 Jun 2016 12:28:40 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 14:34:42 -0300 perf probe

[tip:perf/core] perf probe: Introduce perf_cache interfaces

2016-06-16 Thread tip-bot for Masami Hiramatsu
Commit-ID: dd975497adcdd2526ae332d3938bd5d6e1c3731a Gitweb: http://git.kernel.org/tip/dd975497adcdd2526ae332d3938bd5d6e1c3731a Author: Masami Hiramatsu AuthorDate: Wed, 15 Jun 2016 12:28:30 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 14:34:31 -0300 perf probe

[tip:perf/core] perf hists: Replace perf_evsel arg perf_hpp_fmt's width callback

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: da1b0407c866e7a8679cd3b64b35d83825c58a14 Gitweb: http://git.kernel.org/tip/da1b0407c866e7a8679cd3b64b35d83825c58a14 Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:20 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:50:04 -0300 perf hists: Repla

[tip:perf/core] perf hists: Replace perf_evsel arg perf_hpp_fmt's header callback

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: 053721736011ee52e83b8e8794d922d1c511a4d3 Gitweb: http://git.kernel.org/tip/053721736011ee52e83b8e8794d922d1c511a4d3 Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:19 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:49:18 -0300 perf hists: Repla

Re: [PATCH] net: Don't forget pr_fmt on net_dbg_ratelimited for CONFIG_DYNAMIC_DEBUG

2016-06-16 Thread Jason A. Donenfeld
On Thu, Jun 16, 2016 at 7:08 AM, David Miller wrote: > Looks good, applied, thanks. Great. Probably not a show stopper, but it would be nice to see this in stable.

[tip:perf/core] perf stdio: Do not pass hists in hist_entry__fprintf

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: 8f1d1b4452ce71a231d1a22e6357285fb773c551 Gitweb: http://git.kernel.org/tip/8f1d1b4452ce71a231d1a22e6357285fb773c551 Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:17 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:47:11 -0300 perf stdio: Do no

[tip:perf/core] perf stdio: Add use_callchain parameter to hists__fprintf

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: d05e3aaeea56d7cd23976cb1fa626faf1a8bfbed Gitweb: http://git.kernel.org/tip/d05e3aaeea56d7cd23976cb1fa626faf1a8bfbed Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:18 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:48:02 -0300 perf stdio: Add u

[tip:perf/core] perf stdio: Separate standard headers output

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: 7a72a2e5e6e06172ae26a3c5c8c89a5578f28432 Gitweb: http://git.kernel.org/tip/7a72a2e5e6e06172ae26a3c5c8c89a5578f28432 Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:16 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:46:39 -0300 perf stdio: Separ

[tip:perf/core] perf stdio: Separate headers output

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: 36592ebb73782aa2304a71f9a3b586566c2892ee Gitweb: http://git.kernel.org/tip/36592ebb73782aa2304a71f9a3b586566c2892ee Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:14 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:44:26 -0300 perf stdio: Separ

[tip:perf/core] perf stdio: Separate hierarchy headers output

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: 5c854f3793c03539dcca48d8a89da9267127e436 Gitweb: http://git.kernel.org/tip/5c854f3793c03539dcca48d8a89da9267127e436 Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:15 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:46:02 -0300 perf stdio: Separ

[tip:perf/core] perf mem: Add --ldlat option

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: b0d745b3c34a7fd9ee0b78b929b94c706f84e341 Gitweb: http://git.kernel.org/tip/b0d745b3c34a7fd9ee0b78b929b94c706f84e341 Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:35:27 -0300 perf mem: Add --l

[tip:perf/core] perf tui: Separate hierarchy and standard headers output

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: 01b4770d5654fcb71645a1ee095759c255048466 Gitweb: http://git.kernel.org/tip/01b4770d5654fcb71645a1ee095759c255048466 Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:44:22 -0300 perf tui: Separat

[tip:perf/core] perf unwind: Fix compile error for static cross build

2016-06-16 Thread tip-bot for He Kuang
Commit-ID: 906a8276429c7eb3b53676dab4e2acb632ffcc5a Gitweb: http://git.kernel.org/tip/906a8276429c7eb3b53676dab4e2acb632ffcc5a Author: He Kuang AuthorDate: Wed, 15 Jun 2016 11:03:56 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:27:11 -0300 perf unwind: Fix c

[tip:perf/core] perf tools: Fix Data Object sort entry width index

2016-06-16 Thread tip-bot for Jiri Olsa
Commit-ID: 94c39988995d34f3de1b1763cc32141c67c0340c Gitweb: http://git.kernel.org/tip/94c39988995d34f3de1b1763cc32141c67c0340c Author: Jiri Olsa AuthorDate: Tue, 14 Jun 2016 20:19:12 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 15 Jun 2016 10:41:56 -0300 perf tools: Fix D

[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, 14 Jun 2016 09:29:54 -0300 perf probe:

[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, 14 Jun 2016 09:29:54 -0300 perf probe:

[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, 14 Jun 2016 09:29:54 -0300 perf buildi

[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, 14 Jun 2016 09:29:54 -0300 perf tools:

[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, 14 Jun 2016 09:29:54 -0300 perf probe:

[tip:perf/core] perf config: Handle NULL at perf_config_set__delete()

2016-06-16 Thread tip-bot for Taeung Song
Commit-ID: 826424cc919529d6d234af12c6ba975b63528a74 Gitweb: http://git.kernel.org/tip/826424cc919529d6d234af12c6ba975b63528a74 Author: Taeung Song AuthorDate: Wed, 8 Jun 2016 21:36:49 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 14 Jun 2016 09:29:53 -0300 perf config: Han

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

2016-06-16 Thread Ian Kent
From: Andrey Vagin __vfs_write() returns a negative value in a error case. Signed-off-by: Andrey Vagin Signed-off-by: Ian Kent --- fs/autofs4/waitq.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c index 0146d91..631f155 10

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 reu

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 +0200) > > are avai

Re: [PATCH 0/3] KVM: do not use kvm->online_vcpus to check "has one VCPU been created?"

2016-06-16 Thread Paolo Bonzini
On 16/06/2016 09:59, Cornelia Huck wrote: > On Thu, 16 Jun 2016 09:30:34 +0200 > Christian Borntraeger wrote: > >> On 06/16/2016 12:00 AM, Paolo Bonzini wrote: >>> >>> >>> On 13/06/2016 16:44, Cornelia Huck wrote: >> arch/s390/kvm/kvm-s390.c | 10 +- >> arch/x86/kvm/Kconfig

[RFC PATCH 1/2] KVM: x86: always use "acknowledge interrupt on exit"

2016-06-16 Thread Paolo Bonzini
This is necessary to simplify handle_external_intr in the next patch. It means that nested KVM will require 3.16 on the host (or 3.17 if you have APICv enabled). Signed-off-by: Paolo Bonzini --- arch/x86/kvm/vmx.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/x8

[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: Paol

[RFC PATCH 0/2] KVM: x86: guest exit microoptimization

2016-06-16 Thread Paolo Bonzini
This saves about 20 clock cycles per vmexit by avoiding a local_irq_save/restore pair. The price is that nested VMX will break with KVM hosts < 3.16, because the "acknowledge interrupt on exit" feature becomes mandatory. What do you think? Paolo Paolo Bonzini (2): KVM: x86: always use "acknow

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 provides the scheduler i

[PATCH] dt-bindings: ci-hdrc-usb2: s/gadget-itc-setting/itc-setting in example

2016-06-16 Thread Jisheng Zhang
What the code expect is "itc-setting" rather than "gadget-itc-setting", and this is also correctly described in the optional properties. Signed-off-by: Jisheng Zhang --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc

Re: [PATCH V7 7/9] vfio, platform: make reset driver a requirement by default

2016-06-16 Thread Auger Eric
Hi Sinan, On 13/06/2016 06:26, Sinan Kaya wrote: > The code was allowing platform devices to be used without a supporting > VFIO reset driver. The hardware can be left in some inconsistent state > after a guest machine abort. > > The reset driver will put the hardware back to safe state and disab

Re: [PATCH v2 09/10] ARM: dts: sun9i: a80-optimus: Order nodes by alphabetical order

2016-06-16 Thread Maxime Ripard
On Wed, Jun 15, 2016 at 06:27:46PM +0800, Chen-Yu Tsai wrote: > Move the mmc nodes above the ohci nodes for proper ordering by name. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.co

Re: [PATCH v2 08/10] ARM: dts: sun9i: cubieboard4: Order nodes by alphabetical order

2016-06-16 Thread Maxime Ripard
On Wed, Jun 15, 2016 at 06:27:45PM +0800, Chen-Yu Tsai wrote: > Move the &pio node below the mmc nodes for proper ordering by name. > > Signed-off-by: Chen-Yu Tsai Applied, thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com

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 ACPI

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 an

Re: [PATCH 0/3] KVM: do not use kvm->online_vcpus to check "has one VCPU been created?"

2016-06-16 Thread Paolo Bonzini
On 16/06/2016 09:30, Christian Borntraeger wrote: > On 06/16/2016 12:00 AM, Paolo Bonzini wrote: >> >> >> On 13/06/2016 16:44, Cornelia Huck wrote: > arch/s390/kvm/kvm-s390.c | 10 +- > arch/x86/kvm/Kconfig | 1 - > arch/x86/kvm/x86.c | 11 +++ > includ

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 d

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 given set > > of flag

[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 have

[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 Cc: Jiri Olsa --- tools/perf/Documentation/perf-r

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 labe

[PATCH 0/2] perf bpf: Add helper to support generate BPF object

2016-06-16 Thread Wang Nan
These 2 patch introduce a new perfconfig option (llvm.dump-obj) and a new cmdline option (perf record --dry-run). Combined together, perf user is able to generate a BPF object for an embedded platform on a x86 server using perf, instead directly using llvm cmdline and provide -I options and default

<    5   6   7   8   9   10   11   >