[tip:perf/core] perf record: Synthesize namespace events for current processes

2017-03-15 Thread tip-bot for Hari Bathini
Commit-ID: e907caf3a07ee42ef08ba689a436fd1eb99fbf62 Gitweb: http://git.kernel.org/tip/e907caf3a07ee42ef08ba689a436fd1eb99fbf62 Author: Hari Bathini AuthorDate: Wed, 8 Mar 2017 02:11:51 +0530 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCH v2 2/4] pinctrl: rockchip: convert to raw spinlock

2017-03-15 Thread John Keeping
On Wed, 15 Mar 2017 13:23:09 -0500, Julia Cartwright wrote: > On Wed, Mar 15, 2017 at 07:16:53PM +0100, Heiko Stuebner wrote: > > Am Mittwoch, 15. März 2017, 18:08:06 CET schrieb John Keeping: > > > On Wed, 15 Mar 2017 13:01:37 -0500, Julia Cartwright wrote: > > > > On Wed, Mar 15, 2017 at

Re: [PATCH v2 8/8] irqchip, gicv3-its, cma: Use CMA for allocation of large device tables

2017-03-15 Thread Marc Zyngier
On 15/03/17 18:37, Robert Richter wrote: > On 14.03.17 12:40:45, Shanker Donthineni wrote: > >> I don't see anywhere in this patch, code calls explicitly CMA API to >> allocate memory for device table. The CMA feature is an optional in >> kernel, and will be handled transparently inside the the

Re: [PATCH v4 11/18] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding

2017-03-15 Thread Quentin Schulz
Hi, On 15/03/2017 23:28, Sebastian Reichel wrote: > Hi, > > On Wed, Mar 15, 2017 at 11:55:30AM +0100, Quentin Schulz wrote: >> The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. >> >> This patch adds the DT binding documentation for the battery power >> supply which gets

Re: [PATCH 4/4] eeprom: at24: Add OF device ID table

2017-03-15 Thread Andy Shevchenko
On Wed, Mar 15, 2017 at 1:39 PM, Javier Martinez Canillas wrote: > Hello Andy, > > On 03/15/2017 08:21 AM, Andy Shevchenko wrote: >> On Wed, Mar 15, 2017 at 12:58 PM, Javier Martinez Canillas >> wrote: >>> On 03/15/2017 04:58 AM, Wolfram Sang

Re: [scsi] scsi: ufshcd-platform: remove the useless cast in ERR_PTR/IS_ERR

2017-03-15 Thread Subhash Jadavani
On 2017-03-14 05:19, Tomas Winkler wrote: IS_ERR and ERR_PTR already forcefully cast their argument, hence there is no need for additional (complex) casting. Signed-off-by: Tomas Winkler --- drivers/scsi/ufs/ufshcd-pltfrm.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 2/2] kthread, cgroup: close race window where new kthreads can be migrated to non-root cgroups

2017-03-15 Thread Tejun Heo
Creation of a kthread goes through a couple interlocked stages between the kthread itself and its creator. Once the new kthread starts running, it initializes itself and wakes up the creator. The creator then can further configure the kthread and then let it start doing its job by waking it up.

Re: [PATCH 3/6] cpufreq: schedutil: ensure max frequency while running RT/DL tasks

2017-03-15 Thread Rafael J. Wysocki
On Wed, Mar 15, 2017 at 3:40 PM, Patrick Bellasi wrote: > On 15-Mar 12:52, Rafael J. Wysocki wrote: >> On Friday, March 03, 2017 12:38:30 PM Patrick Bellasi wrote: >> > On 03-Mar 14:01, Viresh Kumar wrote: >> > > On 02-03-17, 15:45, Patrick Bellasi wrote: >> > > > diff

Re: [PATCH v3 4/8] mm, page_alloc: count movable pages when stealing from pageblock

2017-03-15 Thread Joonsoo Kim
On Tue, Mar 07, 2017 at 02:15:41PM +0100, Vlastimil Babka wrote: > When stealing pages from pageblock of a different migratetype, we count how > many free pages were stolen, and change the pageblock's migratetype if more > than half of the pageblock was free. This might be too conservative, as

[PATCH v1 7/7] dt-bindings: document rockchip rk3328-evb board

2017-03-15 Thread cl
From: Chen Liang Use "rockchip,rk3328-evb" compatible string for Rockchip RK3328 evaluation board. Signed-off-by: Chen Liang --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 2/4] staging: atomisp: fix inconsistent indenting

2017-03-15 Thread Daeseok Youn
Fix warnings from the smatch tool atomisp_cmd.c:5698 atomisp_set_fmt_to_snr() warn: inconsistent indenting atomisp_cmd.c:5714 atomisp_set_fmt_to_snr() warn: inconsistent indenting Signed-off-by: Daeseok Youn --- drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | 4 ++-- 1 file

[PATCH 4/4] staging: atomisp: fix "alignment should match open parenthesis"

2017-03-15 Thread Daeseok Youn
Fix checkpatch.pl issues in atomisp_cmd.c : "CHECK: Alignment should match open parenthesis" Signed-off-by: Daeseok Youn --- .../media/atomisp/pci/atomisp2/atomisp_cmd.c | 179 +++-- 1 file changed, 90 insertions(+), 89 deletions(-) diff --git

[PATCH 3/4] staging: atomisp: remove useless #ifdef ISP2401 on top of atomisp_cmd.c

2017-03-15 Thread Daeseok Youn
There is no reason to have "#ifdef ISP2401" condition on top of atomisp_cmd.c file Signed-off-by: Daeseok Youn --- drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_cmd.c

lening bieden

2017-03-15 Thread SAFETY NET CREDIT
Goede dag, Dit is vangnet krediet leningen aan te bieden. Vangnet CREDIT biedt flexibele en betaalbare leningen voor welk doel u te helpen uw doelen te bereiken. we lening tegen lage rente van 3%. Hier zijn een aantal belangrijke kenmerken van de persoonlijke lening aangeboden door vangnet

[PATCH 0/4] arm64: dts: rockchip: add more nodes for RK3368 SoCs

2017-03-15 Thread Jianqun Xu
Add more nodes to RK3368 core dts file for RK3368 SoCs, and disable mailbox in core dts file. Jianqun Xu (4): ASoC: rockchip: add bindings for rk3368 i2s arm64: dts: rockchip: add i2s nodes support for RK3368 SoCs arm64: dts: rockchip: add amba node support for RK3368 SoCs arm64: dts:

Re: [PATCH 2/2] x86/mm/KASLR: Correct the upper boundary of KALSR mm regions if adjacent to EFI

2017-03-15 Thread Baoquan He
PING! Is there any suggestion for this code bug fix? Boris added comment in patch 1/2 thread that it can also be fixed by swapping the naming - EFI_VA_START and EFI_VA_END. As he said the swapping can remove the confusion about the naming, while the con is changing it now could confuse more

[PATCH 1/4] ASoC: rockchip: add bindings for rk3368 i2s

2017-03-15 Thread Jianqun Xu
Add devicetree bindings for i2s controller found on rk3368 processors from rockchip. Signed-off-by: Jianqun Xu --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt

Re: [PATCH] serial: 8250: 8250_core: Use dev_name() during request_irq()

2017-03-15 Thread Jisheng Zhang
On Tue, 14 Mar 2017 17:59:01 +0200 Andy Shevchenko wrote: > On Tue, Mar 14, 2017 at 3:44 PM, Vignesh R wrote: > > On Monday 13 March 2017 01:35 AM, Andy Shevchenko wrote: > >> On Wed, Mar 8, 2017 at 2:19 PM, Vignesh R wrote: > >>> Passing "serial" as name during request_irq() results in all

[PATCH 2/4] arm64: dts: rockchip: add i2s nodes support for RK3368 SoCs

2017-03-15 Thread Jianqun Xu
I2S of RK3368 SoCs keep same as RK3066 SoCs found on Rockchip, add nodes to support them. Signed-off-by: Jianqun Xu --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 38 1 file changed, 38 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi

[PATCH 3/4] arm64: dts: rockchip: add amba node support for RK3368 SoCs

2017-03-15 Thread Jianqun Xu
There are two dmacs found on RK3368 SoCs, peripher dmac and bus dmac, and the dmacs are same as previous SoCs' dmac. Signed-off-by: Jianqun Xu --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git

[PATCH 4/4] arm64: dts: rockchip: disable mailbox of RK3368 SoCs defaultly

2017-03-15 Thread Jianqun Xu
Default to disable mailbox in rk3368 core dts file. Signed-off-by: Jianqun Xu --- arch/arm64/boot/dts/rockchip/rk3368.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3368.dtsi b/arch/arm64/boot/dts/rockchip/rk3368.dtsi index 90f72c2..36aeed0 100644 ---

Re: [PATCH v2 1/6] powerpc/perf: Define big-endian version of perf_mem_data_src

2017-03-15 Thread Michael Ellerman
Hi Peter, Peter Zijlstra writes: > On Tue, Mar 14, 2017 at 02:31:51PM +0530, Madhavan Srinivasan wrote: > >> >Huh? PPC hasn't yet implemented this? Then why are you fixing it? >> >> yes, PPC hasn't implemented this (until now). > > until now where? On powerpc there is currently no kernel

Re: [lkp-robot] [f2fs] 4ac912427c: -33.7% aim7.jobs-per-min regression

2017-03-15 Thread Ye Xiaolong
On 03/15, Jaegeuk Kim wrote: >On 03/14, Ye Xiaolong wrote: >> On 03/14, Chao Yu wrote: >> >On 2017/3/14 3:22, Jaegeuk Kim wrote: >> >> On 03/13, Thorsten Leemhuis wrote: >> >>> @Chao Yu/@Jaegeuk Kim: I'm considering to add this to the regressions >> >>> report for 4.11; or is there a reason why it

Re: [PATCH v3] clk: imx: clk-imx6ul: The i.mx6ul has no aips_tz3 clock

2017-03-15 Thread Shawn Guo
On Tue, Mar 14, 2017 at 11:55:14AM +0100, Robin van der Gracht wrote: > On Fri, 3 Mar 2017 15:14:05 +0100 > Robin van der Gracht wrote: > > > The clock was mapped on CG15 (gpio2_clocks) in the CCRG0 register. > > > > Reviewed-by: Fabio Estevam > > Signed-off-by: Robin van der Gracht > >

[PATCH] vc04_services: Fixing coding guideline error

2017-03-15 Thread Pushkar Jambhlekar
Fixing 'if' block coding style. '{' should follow 'if' for multiline block Signed-off-by: Pushkar Jambhlekar --- drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] x86/mm/KASLR: Correct the upper boundary of KALSR mm regions if adjacent to EFI

2017-03-15 Thread Baoquan He
On 03/15/17 at 02:13pm, Baoquan He wrote: > PING! > > Is there any suggestion for this code bug fix? > > Boris added comment in patch 1/2 thread that it can also be fixed by > swapping the naming - EFI_VA_START and EFI_VA_END. As he said the > swapping can remove the confusion about the naming,

Crypto Fixes for 4.11

2017-03-15 Thread Herbert Xu
Hi Linus: This push fixes the following issues: - Self-test failure of crc32c on powerpc. - Regressions of ecb(aes) when used with xts/lrw in s5p-sss. - A number of bugs in the omap RNG driver. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus

Re: [PATCH v5 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-03-15 Thread Anup Patel
On Tue, Mar 14, 2017 at 10:24 PM, Jassi Brar wrote: > On Mon, Mar 6, 2017 at 10:40 AM, Anup Patel wrote: >> Some of the Broadcom iProc SoCs have FlexRM ring manager >> which provides a ring-based programming interface to various >> offload engines (e.g. RAID, Crypto, etc). >> >> This patch adds

[PATCH v6 2/2] dt-bindings: Add DT bindings info for FlexRM ring manager

2017-03-15 Thread Anup Patel
This patch adds device tree bindings document for the FlexRM ring manager found on Broadcom iProc SoCs. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../bindings/mailbox/brcm,iproc-flexrm-mbox.txt| 59 ++ 1 file

[PATCH v6 1/2] mailbox: Add driver for Broadcom FlexRM ring manager

2017-03-15 Thread Anup Patel
Some of the Broadcom iProc SoCs have FlexRM ring manager which provides a ring-based programming interface to various offload engines (e.g. RAID, Crypto, etc). This patch adds a common mailbox driver for Broadcom FlexRM ring manager which can be shared by various offload engine drivers

[PATCH v6 0/2] Broadcom FlexRM ring manager support

2017-03-15 Thread Anup Patel
The Broadcom FlexRM ring manager provides producer-consumer style ring interface for offload engines on Broadcom iProc SoCs. We can have one or more instances of Broadcom FlexRM ring manager in a SoC. This patchset adds a mailbox driver for Broadcom FlexRM ring manager which can be used by

[PATCH] perf/record: make perf_event__synthesize_mmap_events() scale

2017-03-15 Thread Stephane Eranian
This patch significantly improves the execution time of perf_event__synthesize_mmap_events() when running perf record on systems where processes have lots of threads. It just happens that cat /proc/pid/maps support uses a O(N^2) algorithm to generate each map line in the maps file. If you have

Re: [linux-sunxi] [PATCH v3 4/5] ARM: dts: sun8i: h3: enable USB OTG on Orange Pi One

2017-03-15 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 6:34 AM, Icenowy Zheng wrote: > Orange Pi One features a MicroUSB port that can work in both host mode > and peripheral mode. > > When in host mode, its VBUS is controlled via a GPIO; when in peripheral > mode, its VBUS cannot be used to power up the board. > > Add support

[PATCH] net: mvneta: support suspend and resume

2017-03-15 Thread Jane Li
Add basic support for handling suspend and resume. Signed-off-by: Jane Li --- drivers/net/ethernet/marvell/mvneta.c | 44 +++ 1 file changed, 44 insertions(+) diff --git a/drivers/net/ethernet/marvell/mvneta.c b/drivers/net/ethernet/marvell/mvneta.c index

Re: stable build: 203 builds: 4 failed, 199 passed, 5 errors, 41 warnings (v4.10.1)

2017-03-15 Thread gregkh
On Tue, Feb 28, 2017 at 02:31:51PM +0100, Arnd Bergmann wrote: > On Sun, Feb 26, 2017 at 2:47 PM, kernelci.org bot wrote: > > stable build: 203 builds: 4 failed, 199 passed, 5 errors, 41 warnings > > A lot of fixes for these build problems have now landed in mainline, and > we could backport

Re: [linux-sunxi] [PATCH v3 5/5] ARM: dts: sun8i: h2+: enable USB OTG for Orange Pi Zero board

2017-03-15 Thread Chen-Yu Tsai
Hi, On Tue, Mar 7, 2017 at 6:34 AM, Icenowy Zheng wrote: > Orange Pi Zero board features a USB OTG port, which has a ID pin, and > can be used to power up the board. However, even if the board is powered > via +5V pin in GPIO/expansion headers, the VBUS in the OTG port cannot > be powered up,

Re: stable build: 199 builds: 1 failed, 198 passed, 1 error, 31 warnings (v4.4.52)

2017-03-15 Thread gregkh
On Tue, Feb 28, 2017 at 02:55:42PM +0100, Arnd Bergmann wrote: > On Sun, Feb 26, 2017 at 3:09 PM, kernelci.org bot wrote: > > stable build: 199 builds: 1 failed, 198 passed, 1 error, 31 warnings > > A few additional patches are missing here, besides the ones I have > listed for 4.9 and v4.10 >

hwclock make clock_gettime not accurate

2017-03-15 Thread li feng
HI guys. I'm doing some tests about clock_gettime. And I found that clock_gettime will be affected by hwclock. It makes clock_gettime slip advance some milliseconds. Actually, each line prints out every 1ms. $ ./a.out -r CLOCK_MONOTONIC 130 ↵ Using delay=1 ms

Re: Fwd: stable build: 111 builds: 2 failed, 109 passed, 1 error, 29 warnings (v4.10.2)

2017-03-15 Thread gregkh
On Mon, Mar 13, 2017 at 04:51:41PM +0100, Arnd Bergmann wrote: > On Sun, Mar 12, 2017 at 10:44 AM, kernelci.org bot wrote: > > Build Failures Detected: > > All but two failures have been fixed, nice! > > > x86: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) > >

Re: stable build: 203 builds: 3 failed, 200 passed, 5 errors, 28 warnings (v4.9.13)

2017-03-15 Thread gregkh
On Tue, Feb 28, 2017 at 02:50:03PM +0100, Arnd Bergmann wrote: > On Sun, Feb 26, 2017 at 2:52 PM, kernelci.org bot wrote: > > > > stable build: 203 builds: 3 failed, 200 passed, 5 errors, 28 warnings > > (v4.9.13) > > Only one warning that doesn't also show up in v4.10-stable > > >

Re: [PATCH] net: mvneta: support suspend and resume

2017-03-15 Thread Jisheng Zhang
Hi Jane, On Wed, 15 Mar 2017 15:08:34 +0800 Jane Li wrote: > Add basic support for handling suspend and resume. > > Signed-off-by: Jane Li > --- > drivers/net/ethernet/marvell/mvneta.c | 44 > +++ > 1 file changed, 44 insertions(+) > > diff --git

Re: [PATCH v2 2/2] can: spi: hi311x: Add Holt HI-311x CAN driver

2017-03-15 Thread Wolfgang Grandegger
Hello Akshay, Am 15.03.2017 um 05:44 schrieb Akshay Bhat: Hi Wolfgang, On Tue, Mar 14, 2017 at 2:08 PM, Wolfgang Grandegger wrote: ...snip /disconnect cable can0 2088 [8] 00 00 00 19 00 00 28 00 ERRORFRAME protocol-violation{{}{acknowledge-slot}}

[PATCH v2 2/2] drm/panel: add innolux,p079zca panel driver

2017-03-15 Thread Chris Zhong
Support Innolux P079ZCA 7.85" 768x1024 TFT LCD panel, it is a MIPI DSI panel. Signed-off-by: Chris Zhong --- Changes in v2: - add some error check - always use Low power mode to send commend - add comments for all the sleep - use DRM_DEV_ERROR instead of dev_err drivers/gpu/drm/panel/Kconfig

[PATCH v2 1/2] dt-bindings: Add INNOLUX P079ZCA panel bindings

2017-03-15 Thread Chris Zhong
The Innolux P079ZCA is a 7.85" panel with a 768X1024 resolution and connected to DSI using four lanes. Signed-off-by: Chris Zhong --- Changes in v2: None .../bindings/display/panel/innolux,p079zca.txt | 23 ++ 1 file changed, 23 insertions(+) create mode 100644

Re: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Ayyappa Ch
Is it possible on Carrizo asics? Or only supports on newer asics? On Mon, Mar 13, 2017 at 6:11 PM, Christian König wrote: > From: Christian König > > Try to resize BAR0 to let CPU access all of VRAM. > > Signed-off-by: Christian König > --- > drivers/gpu/drm/amd/amdgpu/amdgpu.h| 1 +

[PATCH v5 0/3] Use data tune for CMD line tune

2017-03-15 Thread Yong Mao
yong mao (3): mmc: dt-bindings: update Mediatek MMC bindings ARM64: dts: mediatek: configure some fixed mmc parameters mmc: mediatek: Use data tune for CMD line tune Documentation/devicetree/bindings/mmc/mtk-sd.txt | 12 ++ arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 3 +

[PATCH v5 3/3] mmc: mediatek: Use data tune for CMD line tune

2017-03-15 Thread Yong Mao
From: yong mao If we don't select a set of better parameters for our emmc host, It may easily occur CMD response CRC error. And also it may cause cannot boot up issue. Fot getting a set of better parameters, our emmc host supports data tune mechanism.Therefore, our emmc driver also should

[PATCH v5 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-03-15 Thread Yong Mao
From: yong mao Add description for mediatek,hs200-cmd-int-delay Add description for mediatek,hs400-cmd-int-delay Add description for mediatek,hs400-cmd-resp-sel-rising Signed-off-by: Yong Mao --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 12 1 file changed, 12

Re: [PATCH v2 04/10] mm: make the try_to_munlock void function

2017-03-15 Thread Vlastimil Babka
On 03/15/2017 06:24 AM, Minchan Kim wrote: > try_to_munlock returns SWAP_MLOCK if the one of VMAs mapped > the page has VM_LOCKED flag. In that time, VM set PG_mlocked to > the page if the page is not pte-mapped THP which cannot be > mlocked, either. > > With that, __munlock_isolated_page can use

[PATCH v5 2/3] ARM64: dts: mediatek: configure some fixed mmc parameters

2017-03-15 Thread Yong Mao
From: yong mao configure some fixed mmc parameters Signed-off-by: Yong Mao Signed-off-by: Chaotian Jing --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts

Re: [PATCH] drm/exynos: Print kernel pointers in a restricted form

2017-03-15 Thread Andrzej Hajda
Hi Tobias, On 14.03.2017 21:41, Tobias Jakobi wrote: > Krzysztof Kozlowski wrote: >> On Tue, Mar 14, 2017 at 08:17:35PM +0100, Tobias Jakobi wrote: >>> Krzysztof Kozlowski wrote: On Tue, Mar 14, 2017 at 08:01:41PM +0100, Tobias Jakobi wrote: > Hello Krzysztof, > > I was wondering

Re: [PATCH 4.4 17/25] USB: serial: digi_acceleport: fix OOB data sanity check

2017-03-15 Thread Greg Kroah-Hartman
On Mon, Mar 13, 2017 at 06:14:37PM +0100, Johan Hovold wrote: > On Fri, Feb 24, 2017 at 06:55:02PM +0100, Greg Kroah-Hartman wrote: > > On Fri, Feb 24, 2017 at 06:33:04PM +0100, Johan Hovold wrote: > > > On Fri, Feb 24, 2017 at 01:38:25PM +, Ben Hutchings wrote: > On Fri, > > > 2017-02-24 at

Re: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Christian König
Carizzo is an APU and resizing BARs isn't needed nor supported there. The CPU can access the full stolen VRAM directly on that hardware. As far as I know ASICs with support for this are Tonga, Fiji and all Polaris variants. Christian. Am 15.03.2017 um 08:23 schrieb Ayyappa Ch: Is it

Re: [PATCH] mm: move pcp and lru-pcp drainging into single wq

2017-03-15 Thread Michal Hocko
On Tue 14-03-17 18:07:38, Yang Li wrote: > On Mon, Mar 13, 2017 at 4:58 AM, Michal Hocko wrote: > > On Fri 10-03-17 17:31:56, Yang Li wrote: > >> On Tue, Mar 7, 2017 at 7:17 AM, Michal Hocko wrote: > >> > From: Michal Hocko > >> > > >> > We currently have 2 specific WQ_RECLAIM workqueues in the

Re: [linux-sunxi] [PATCH v3 3/5] ARM: dts: sun8i: h3: add usb_otg and OHCI/EHCI for usbc0 on H3

2017-03-15 Thread Chen-Yu Tsai
On Tue, Mar 7, 2017 at 6:34 AM, Icenowy Zheng wrote: > Allwinner H3 have a dual-routed USB PHY0 -- routed to either OHCI/EHCI > or MUSB controller. > > Add device nodes for these controllers. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai

Re: [PATCH] sched/deadline: Add missing update_rq_clock() in dl_task_timer()

2017-03-15 Thread Wanpeng Li
Ping, :) 2017-03-07 13:51 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > The following warning can be triggered by hot-unplugging the CPU > on which an active SCHED_DEADLINE task is running on: > > [ cut here ] > WARNING: CPU: 7 PID: 0 at kernel/sched/sched.h:833 >

Re: [RFC PATCH] mm, hotplug: get rid of auto_online_blocks

2017-03-15 Thread Michal Hocko
On Tue 14-03-17 14:20:14, Igor Mammedov wrote: > On Mon, 13 Mar 2017 13:28:25 +0100 > Michal Hocko wrote: > > > On Mon 13-03-17 11:55:54, Igor Mammedov wrote: > > > On Thu, 9 Mar 2017 13:54:00 +0100 > > > Michal Hocko wrote: [...] > > > > The kernel is supposed to provide a proper API and that

Re: [PATCH] [media] v4l2-dv-timings: Introduce v4l2_calc_fps()

2017-03-15 Thread Hans Verkuil
On 03/14/2017 08:14 PM, Jose Abreu wrote: > Hi Hans, > > > On 14-03-2017 07:24, Hans Verkuil wrote: >>> Right, I was forgetting about this ... >>> >>> So: >>> 1) Most of HDMI receivers do not have the expected precision in >>> measuring pixel clock value; >> s/Most/Some/ >> >> Newer HDMI

Re: [PATCH] mtd: nand: use .read_oob() instead of .cmdfunc() for bad block check

2017-03-15 Thread Boris Brezillon
On Wed, 15 Mar 2017 09:55:13 +0900 Masahiro Yamada wrote: > Hi Boris, > > Thanks for your review. > > 2017-03-15 5:58 GMT+09:00 Boris Brezillon > : > > On Wed, 15 Mar 2017 02:45:48 +0900 > > Masahiro Yamada wrote: > > > >> The nand_default_block_markbad() is the default implementation of >

Re: WTH is going on with memory hotplug sysf interface (was: Re: [RFC PATCH] mm, hotplug: get rid of auto_online_blocks)

2017-03-15 Thread Michal Hocko
On Tue 14-03-17 20:35:21, Andrea Arcangeli wrote: > Hello, > > On Mon, Mar 13, 2017 at 10:21:45AM +0100, Michal Hocko wrote: > > On Fri 10-03-17 13:00:37, Reza Arbab wrote: > > > On Fri, Mar 10, 2017 at 04:53:33PM +0100, Michal Hocko wrote: > > > >OK, so while I was playing with this setup some

Re: [PATCH 4/4] eeprom: at24: Add OF device ID table

2017-03-15 Thread Wolfram Sang
> So there isn't an agreement if is better to just rely in the current behavior > (and have a superfluous I2C device ID table) or fix the I2C core (and need a > OF device ID table). For at24, the i2c_device_id table is not superfluous! It is used outside the DT world as well. > Indeed, but

Re: [PATCH v6 0/4] Broadcom SBA RAID support

2017-03-15 Thread Anup Patel
On Tue, Mar 14, 2017 at 10:26 PM, Dan Williams wrote: > On Mon, Mar 6, 2017 at 1:43 AM, Anup Patel wrote: >> The Broadcom SBA RAID is a stream-based device which provides >> RAID5/6 offload. >> >> It requires a SoC specific ring manager (such as Broadcom FlexRM >> ring manager) to provide

Re: [PATCH v6 0/4] Broadcom SBA RAID support

2017-03-15 Thread Anup Patel
On Wed, Mar 15, 2017 at 12:18 AM, Shaohua Li wrote: > On Tue, Mar 14, 2017 at 09:56:35AM -0700, Dan Williams wrote: >> On Mon, Mar 6, 2017 at 1:43 AM, Anup Patel wrote: >> > The Broadcom SBA RAID is a stream-based device which provides >> > RAID5/6 offload. >> > >> > It requires a SoC specific

Re: [PATCH v2 16/23] MAINTAINERS: Add file patterns for powerpc device tree bindings

2017-03-15 Thread Geert Uytterhoeven
Hi Michael, On Wed, Mar 15, 2017 at 1:19 AM, Michael Ellerman wrote: > Geert Uytterhoeven writes: >> Submitters of device tree binding documentation may forget to CC >> the subsystem maintainer if this is missing. >> >> Signed-off-by: Geert Uytterhoeven >> Cc: Benjamin Herrenschmidt >> Cc:

Re: [RESEND PATCH v3 2/2] phy: Group vendor specific phy drivers

2017-03-15 Thread Heiko Stübner
Am Dienstag, 14. März 2017, 11:52:50 CET schrieb Vivek Gautam: > Adding vendor specific directories in phy to group > phy drivers under their respective vendor umbrella. > > Also updated the MAINTAINERS file to reflect the correct > directory structure for phy drivers. > > Signed-off-by: Vivek

[v2 PATCH] powernv-cpuidle: Validate DT property array size

2017-03-15 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" The various properties associated with powernv idle states such as names, flags, residency-ns, latencies-ns, psscr, psscr-mask are exposed in the device-tree as property arrays such the pointwise entries in each of these arrays correspond to the properties of the same

Re: [PATCH v3 0/7] mmc: bcm2835: Add new driver for the sdhost controller

2017-03-15 Thread Gerd Hoffmann
Hi, > First the flipping of the mmc host driver for the SD card slot will > cause issues for users that build it as a module. When I tested this > on Fedora the first update I ended up with a system that didn't boot. Yep, switching drivers is a pain point here indeed. Possibly we could fix

RE: [PATCH 4/4] drm/amdgpu: resize VRAM BAR for CPU access

2017-03-15 Thread Zhou, David(ChunMing)
Does that means we don't need invisible vram later? David -Original Message- From: dri-devel [mailto:dri-devel-boun...@lists.freedesktop.org] On Behalf Of Christian K?nig Sent: Wednesday, March 15, 2017 3:38 PM To: Ayyappa Ch Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org;

Re: [PATCH] tpm: select CONFIG_CRYPTO

2017-03-15 Thread Jarkko Sakkinen
Arnd, On Tue, Mar 14, 2017 at 10:40:24PM +0100, Arnd Bergmann wrote: > As we need the CRYPTO_HASH_INFO implementation, we should also > select CRYPTO itself to avoid this build warning: > > warning: (TCG_TPM && TRUSTED_KEYS && IMA) selects CRYPTO_HASH_INFO which has > unmet direct dependencies

Re: [PATCH v2] xfs: remove kmem_zalloc_greedy

2017-03-15 Thread Michal Hocko
On Wed 15-03-17 01:14:27, Luis R. Rodriguez wrote: > On Tue, Mar 14, 2017 at 11:07:38AM -0700, Darrick J. Wong wrote: > > On Tue, Mar 14, 2017 at 05:57:45PM +0100, Luis R. Rodriguez wrote: > > > On Tue, Mar 07, 2017 at 04:35:28PM -0800, Darrick J. Wong wrote: > > > > The sole remaining caller of

Re: [...] "How does the new naming scheme look like, precisely?"

2017-03-15 Thread poma
On 14.03.2017 17:16, Tom Horsley wrote: > And the consistent names change every single time some > developer decides he just has to rewrite the algorithm > to make it better, or systemd decides to engluph yet > another component and not be backward compatible, or > a kernel developer gets a new

Re: [PATCH] drivers/staging/goldfish/goldfish_nand.c: Fixed Coding style Warnings.

2017-03-15 Thread Dan Carpenter
Fix the subject. The subsystem prefix is wrong and it's too vague. Change it to: [PATCH] Staging: goldfish: use __func__ instead of embedded function names On Tue, Mar 14, 2017 at 08:53:50PM -0700, mshan wrote: > Embedded function names are less appropriate to use when > refactoring, can cause

Re: [PATCH] s390/decompressor: fix initrd corruption caused by bss clear

2017-03-15 Thread Heiko Carstens
On Mon, Mar 13, 2017 at 12:14:58PM -0300, Marcelo Henrique Cerri wrote: > Reorder the operations in decompress_kernel() to ensure initrd is moved > to a safe location before the bss section is zeroed. > > During decompression bss can overlap with the initrd and this can > corrupt the initrd

[PATCH 3/3] drm/rockchip/dsi: correct the grf_switch_reg name

2017-03-15 Thread Chris Zhong
For the RK3399, the grf_switch_reg name should be RK3399_GRF_SOC_CON20, not RK3399_GRF_SOC_CON19. Signed-off-by: Chris Zhong --- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c

[PATCH 2/3] drm/rockchip/dsi: enable the grf clk before writing grf registers

2017-03-15 Thread Chris Zhong
For RK3399, the grf clk should be enabled before writing grf registers, otherwise the register value can not be changed. Signed-off-by: Chris Zhong --- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 24 1 file changed, 24 insertions(+) diff --git

[PATCH 1/3] dt-bindings: add the grf clock for dw-mipi-dsi

2017-03-15 Thread Chris Zhong
For RK3399, the grf clock should be controlled by dw-mipi-dsi driver, add the description for this clock. Signed-off-by: Chris Zhong --- .../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC 2/2] fanotify: emit FAN_MODIFY_DIR on filesystem changes

2017-03-15 Thread Marko Rauhamaa
Filip Štědronský : > there are basically two classes of uses for a fantotify-like > interface: > > (1) Keeping an up-to-date representation of the file system. For this, > superblock watches are clearly what you want. > > [...] > > All those factors speak greatly in favour of

[PATCH 1/2] mmc: core: guard dereference of optional parameter

2017-03-15 Thread Tobin C. Harding
Various functions take as parameter an optional pointer. Pointer should be guarded with non-NULL check before dereferencing. Add non-NULL check before dereference of pointer. Signed-off-by: Tobin C. Harding --- drivers/mmc/core/sdio_io.c | 12 1 file changed, 8 insertions(+), 4

[PATCH 0/2] mmc: core: null pointer dereference bug

2017-03-15 Thread Tobin C. Harding
Various functions take as parameter an optional pointer. Pointer should be guarded with non-NULL check before dereferencing. While fixing this bug it was found that the file contains multiple functions doing variations on the same thing, sdio_readb(), sdio_writeb(), sdio_readw(), sdio_writew()

[PATCH 2/2] mmc: core: simplify return code

2017-03-15 Thread Tobin C. Harding
File contains multiple functions doing variations on the same thing, sdio_readb(), sdio_writeb()f, sdio_readw(), sdio_writew() etc. Although the functions have very similar logic the code is laid out in a variety of ways. This makes it overly complicated to read. There is a already a nice clean

RE: [PATCH v2 net-next 4/5] sunvnet: count multicast packets

2017-03-15 Thread David Laight
From: Shannon Nelson > Sent: 14 March 2017 17:25 ... > + if (unlikely(is_multicast_ether_addr(eth_hdr(skb)->h_dest))) > + dev->stats.multicast++; I'd guess that: dev->stats.multicast += is_multicast_ether_addr(eth_hdr(skb)->h_dest); generates faster code. Especially if

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2017-03-15 Thread Jon Hunter
On 13/03/17 14:42, Ulf Hansson wrote: > On 13 March 2017 at 15:09, Jon Hunter wrote: >> Hi Ulf, >> >> On 13/03/17 11:45, Ulf Hansson wrote: >>> +Björn >>> >>> On 13 March 2017 at 10:37, Jon Hunter wrote: Hi Rafael, Kevin, Ulf, Looks like there is still some interest/needs in/for

[PATCH v2 1/5] mm: add tlb_flush_mmu_free_batches

2017-03-15 Thread Aaron Lu
There are two places doing page free related to struct mmu_gather_batch: 1 in tlb_flush_mmu_free, where pages gathered in mmu_gather_batch list are freed; 2 in tlb_flush_mmu_finish, where pages for the mmu_gather_batch structure(let's call it the batch page) are freed. There will be yet

[PATCH v2 4/5] mm: add force_free_pages in zap_pte_range

2017-03-15 Thread Aaron Lu
force_flush in zap_pte_range is set in the following 2 conditions: 1 When no more batches can be allocated (either due to no memory or MAX_GATHER_BATCH_COUNT has reached) to store those to-be-freed page pointers; 2 When a TLB_only flush is needed before dropping the PTE lock to avoid a race

[PATCH v2 5/5] mm: add debugfs interface for parallel free tuning

2017-03-15 Thread Aaron Lu
Make it possible to set different values for async_free_threshold and max_gather_batch_count through debugfs. With this, we can do tests for different purposes: 1 Restore vanilla kernel bahaviour for performance comparison. Set max_gather_batch_count to a value like 20 to effectively restore

[PATCH v2 2/5] mm: parallel free pages

2017-03-15 Thread Aaron Lu
For regular processes, the time taken in its exit() path to free its used memory is not a problem. But there are heavy ones that consume several Terabytes memory and the time taken to free its memory could last more than ten minutes. To optimize this use case, a parallel free method is proposed

Re: [PATCH v2 2/3] printk: rename selected_console -> preferred_console

2017-03-15 Thread Petr Mladek
On Thu 2017-03-02 10:01:53, Steven Rostedt wrote: > On Thu, 2 Mar 2017 16:11:33 +0300 > Aleksey Makarov wrote: > > > The variable selected_console is set in __add_preferred_console() > > to point to the last console parameter that was added to the > > console_cmdline array. > > > > Rename it

Re: [PATCH v4 05/11] mm: thp: enable thp migration in generic path

2017-03-15 Thread Geert Uytterhoeven
On Tue, Mar 14, 2017 at 10:55 PM, Zi Yan wrote: include/linux/swapops.h:223:2: warning: missing braces around initializer [-Wmissing-braces] >> return (pmd_t){ 0 }; >> ^ >>include/linux/swapops.h:223:2: warning: (near initialization for >> '(anonymous).pmd')

[PATCH v2 3/5] mm: use a dedicated workqueue for the free workers

2017-03-15 Thread Aaron Lu
Introduce a workqueue for all the free workers so that user can fine tune how many workers can be active through sysfs interface: max_active. More workers will normally lead to better performance, but too many can cause severe lock contention. Note that since the zone lock is global, the

[PATCH v2 0/5] mm: support parallel free of memory

2017-03-15 Thread Aaron Lu
For regular processes, the time taken in its exit() path to free its used memory is not a problem. But there are heavy ones that consume several Terabytes memory and the time taken to free its memory in its exit() path could last more than ten minutes if THP is not used. As Dave Hansen explained

Re: [PATCH 1/3] dt-bindings: add the grf clock for dw-mipi-dsi

2017-03-15 Thread Heiko Stübner
Am Mittwoch, 15. März 2017, 16:42:30 CET schrieb Chris Zhong: > For RK3399, the grf clock should be controlled by dw-mipi-dsi driver, > add the description for this clock. > > Signed-off-by: Chris Zhong > --- > > .../devicetree/bindings/display/rockchip/dw_mipi_dsi_rockchip.txt | 2 > +-

Re: [RFC PATCH 0/3] PM / Domains: Add support for devices that require multiple domains

2017-03-15 Thread Jon Hunter
Hi Rajendra, On 15/03/17 03:47, Nayak, Rajendra wrote: > Hey Jon, > Looks like there is still some interest/needs in/for this. Any thoughts on how we can move this forward? >>> >>> At the Linaro Connect last week, I was talking to Björn, Rajendra and >>> Stephen more about these

Re: [PATCH v6 00/11] perf: arm64: Support for Hisilicon SoC Hardware event counters

2017-03-15 Thread Anurup M
Please have a look at this patch series. Looking forward for any feedback and comments. Thanks, Anurup On Friday 10 March 2017 11:55 AM, Anurup M wrote: Provide Support for Hisilicon SoC(HiP05/06/07) Hardware event counters. The Hisilicon SoC HiP0x series has many uncore or non-CPU

RE: [RFC PATCH] iommu/dma: check pci host bridge dma_mask for IOVA allocation

2017-03-15 Thread Oza Oza
Hi Robin, I tried applying [1]:http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1306545.ht ml [3]:http://www.spinics.net/lists/arm-kernel/msg566947.html Because of 3 its crashing on our platform. (with SDHCI running with iommu both enabled and disabled) [ 19.925018] PC is at

Re: crypto: deadlock between crypto_alg_sem/rtnl_mutex/genl_mutex

2017-03-15 Thread Dmitry Vyukov
On Tue, Mar 14, 2017 at 4:25 PM, Sowmini Varadhan wrote: > On (03/14/17 09:14), Dmitry Vyukov wrote: >> Another one now involving rds_tcp_listen_stop >: >> kworker/u4:1/19 is trying to acquire lock: >> (sk_lock-AF_INET){+.+.+.}, at: [] lock_sock >> include/net/sock.h:1460 [inline] >>

[PATCH] Staging: goldfish: use __func__ instead of embedded function names

2017-03-15 Thread mshan
Embedded function names are less appropriate to use when refactoring, can cause function renaming. Prefer the use of "%s", __func__ to embedded function names Signed-off-by: Mohsin Shan --- drivers/staging/goldfish/goldfish_nand.c | 16 1 file changed, 8 insertions(+), 8

Re: [PATCH v10 6/7] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID

2017-03-15 Thread H. Peter Anvin
,"open list:KERNEL SELFTEST FRAMEWORK" ,kvm list From: h...@zytor.com Message-ID: On March 14, 2017 12:23:40 PM PDT, Andy Lutomirski wrote: >On Tue, Mar 14, 2017 at 12:01 PM, H. Peter Anvin wrote: >> and at least theoretically we >> could be indirecting though the ->stack pointer for every

[RFC PATCH] rework memory hotplug onlining

2017-03-15 Thread Michal Hocko
Hi, this is a follow up for [1]. In short the current semantic of the memory hotplug is awkward and hard/impossible to use from the udev to online memory as movable. The main problem is that only the last memblock or the adjacent to highest movable memblock can be onlined as movable: : Let's

Re: [PATCH v5 2/5] powerpc: kretprobes: override default function entry offset

2017-03-15 Thread Naveen N. Rao
On 2017/03/14 10:18AM, Arnaldo Carvalho de Melo wrote: > Em Thu, Mar 09, 2017 at 05:37:38PM +1100, Michael Ellerman escreveu: > > "Naveen N. Rao" writes: > > > On 2017/03/08 11:29AM, Arnaldo Carvalho de Melo wrote: > > >> > I wasn't sure if you were planning on picking up KPROBES_ON_FTRACE for >

Re: [PATCH 1/3] kvm: arm/arm64: Take mmap_sem in stage2_unmap_vm

2017-03-15 Thread Christoffer Dall
On Tue, Mar 14, 2017 at 02:52:32PM +, Suzuki K Poulose wrote: > From: Marc Zyngier > > We don't hold the mmap_sem while searching for the VMAs when > we try to unmap each memslot for a VM. Fix this properly to > avoid unexpected results. > > Fixes: commit 957db105c997 ("arm/arm64: KVM:

<    5   6   7   8   9   10   11   12   13   14   >