Re: [PATCH V2 2/2] mm: Add sysfs interface to dump each node's zonelist information

2016-09-05 Thread Anshuman Khandual
On 09/06/2016 11:41 AM, kbuild test robot wrote: > Hi Anshuman, > > [auto build test ERROR on mmotm/master] > [also build test ERROR on v4.8-rc5 next-20160905] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > [Sugge

Re: [PATCH] ARM: imx: use IS_ENABLED() instead of checking for built-in or module

2016-09-05 Thread Uwe Kleine-König
Hello Javier, On Mon, Aug 29, 2016 at 11:32:11AM +0200, Javier Martinez Canillas wrote: > From: Javier Martinez Canillas > > The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either > built-in or as a module, use that macro instead of open coding the same. > > Using the macro m

[lkp] [blk] a133ac2428: kernel BUG at block/blk-mq.c:365!

2016-09-05 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git blk-dio commit a133ac2428bd3dde4e7e17415c1409ce8a3d8468 ("blk-mq: private O_DIRECT implementation") in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m

Re: [PATCH v4 0/2] ARM: sunxi: Add support for FriendlyARM NanoPi NEO SBC

2016-09-05 Thread Maxime Ripard
On Tue, Sep 06, 2016 at 08:15:55AM +1000, James Pettigrew wrote: > Changes in v2: > As per Rask's review (thank you): > Added vendor prefix > Removed unncessary input.h include > Fixed underscores and unnecessary unit addresses in node names >

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-05 Thread Felipe Balbi
Hi, Peter Chen writes: > On Mon, Sep 05, 2016 at 05:39:27PM +0200, Arnd Bergmann wrote: >> On Friday, September 2, 2016 5:16:31 PM CEST Leo Li wrote: >> > >> > Can we use the firmware or bootloader information to provide the >> > default dma-mapping attributes for devices that doesn't have an >

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Maxime Ripard
Hi, On Mon, Sep 05, 2016 at 09:24:04PM +0200, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Distinguish sun4i from sun7i > > Introduce mechanism to detect sun7i and provide a different regmap, codec > and different controls for it - different compared to sun4i Allwinner A10. > > The controls w

Re: [RFC v2 PATCH 4/7] arm64: tlbflush.h: add __tlbi() macro

2016-09-05 Thread Christoffer Dall
On Mon, Sep 05, 2016 at 05:31:34PM +0100, Punit Agrawal wrote: > From: Mark Rutland > > As with dsb() and isb(), add a __tlbi() helper so that we can avoid > distracting asm boilerplate every time we want a TLBI. As some TLBI > operations take an argument while others do not, some pre-processor i

Re: [RFC v2 PATCH 5/7] arm64/kvm: hyp: tlb: use __tlbi() helper

2016-09-05 Thread Christoffer Dall
On Mon, Sep 05, 2016 at 05:31:35PM +0100, Punit Agrawal wrote: > From: Mark Rutland > > Now that we have a __tlbi() helper, make use of this in the arm64 KVM hyp > code to get rid of asm() boilerplate. At the same time, we simplify > __tlb_flush_vm_context by using __flush_icache_all(), as this h

[lkp] [tty] 761ed4a945: BUG: unable to handle kernel NULL pointer dereference at 000000000000046c

2016-09-05 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 761ed4a94582ab291aa24dcbea4e01e8936488c8 ("tty: serial_core: convert uart_close to use tty_port_close") in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -cpu

[PATCH] vcodec: mediatek: add Maintainers entry for Mediatek MT8173 vcodec drivers

2016-09-05 Thread Tiffany Lin
Add Tiffany Lin and Andrew-CT Chen as maintainers for Mediatek MT8173 vcodec drivers Signed-off-by: Tiffany Lin Signed-off-by: Andrew-CT Chen --- MAINTAINERS |9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0a16a82..ed830c7 100644 --- a/MAINTAINERS

Re: [PATCH] usb: dwc3: host: inherit dma configuration from parent dev

2016-09-05 Thread Peter Chen
On Mon, Sep 05, 2016 at 05:39:27PM +0200, Arnd Bergmann wrote: > On Friday, September 2, 2016 5:16:31 PM CEST Leo Li wrote: > > > > Can we use the firmware or bootloader information to provide the > > default dma-mapping attributes for devices that doesn't have an > > of_node pointer or ACPI data?

Re: [RFC v2 PATCH 3/7] KVM: arm/arm64: Register perf trace event notifier

2016-09-05 Thread Christoffer Dall
On Mon, Sep 05, 2016 at 05:31:33PM +0100, Punit Agrawal wrote: > Register a notifier to track state changes of perf trace events. > > The notifier will enable taking appropriate action for trace events > targeting VM. > > Signed-off-by: Punit Agrawal > Cc: Christoffer Dall > Cc: Marc Zyngier

Re: [PATCH v4 2/3] mmc: core: Factor out the alignment of erase size

2016-09-05 Thread Baolin Wang
Hi Andreas, On 6 September 2016 at 12:34, Andreas Mohr wrote: > On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote: >> In order to clean up the mmc_erase() function and do some optimization >> for erase size alignment, factor out the guts of erase size alignment >> into mmc_align_erase_s

Re: [PATCH] nvme-rdma: fix null pointer dereference on req->mr

2016-09-05 Thread Christoph Hellwig
On Mon, Sep 05, 2016 at 04:24:38PM +0100, Colin King wrote: > From: Colin Ian King > > If there is an error on req->mr, req->mr is set to null, however > the following statement sets req->mr->need_inval causing a null > pointer dereference. Fix this by bailing out to label 'out' to > immediately

Re: [RFC v2 PATCH 2/7] KVM: Track the pid of the VM process

2016-09-05 Thread Christoffer Dall
On Mon, Sep 05, 2016 at 05:31:32PM +0100, Punit Agrawal wrote: > Userspace tools such as perf can be used to profile individual > processes. > > Track the PID of the virtual machine process to match profiling requests > targeted at it. This can be used to take appropriate action to enable > the re

[PATCH] drm/amd/powerplay/fiji: mark symbols static where possible

2016-09-05 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:1633:9: warning: no previous prototype for 'fiji_get_voltage_index' [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../powerplay/hwmgr/fiji_hwmgr.c:5412:5: warning: no previous protot

[PATCH v2] x86/efi: Optimize away setup_gop32/64 if unused

2016-09-05 Thread Lukas Wunner
Commit 2c23b73c2d02 ("x86/efi: Prepare GOP handling code for reuse as generic code") introduced an efi_is_64bit() macro to x86 which previously only existed for arm arches. The macro is used to choose between the 64 bit or 32 bit code path in gop.c at runtime. However the code path that's going t

Re: [PATCH V2 2/2] mm: Add sysfs interface to dump each node's zonelist information

2016-09-05 Thread kbuild test robot
Hi Anshuman, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.8-rc5 next-20160905] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to rec

Re: [PATCH 1/1] Add PPD device tree

2016-09-05 Thread Uwe Kleine-König
Hello, On Fri, Aug 05, 2016 at 03:31:25PM +0200, Fabien Lahoudere wrote: > diff --git a/arch/arm/boot/dts/imx53-ppd.dts b/arch/arm/boot/dts/imx53-ppd.dts > new file mode 100644 > index 000..51f33d5 > --- /dev/null > +++ b/arch/arm/boot/dts/imx53-ppd.dts > @@ -0,0 +1,1024 @@ > +/* > + * Copyrig

Re: [PATCH 1/2] x86/efi: Optimize away setup_gop32/64 if unused

2016-09-05 Thread Lukas Wunner
On Mon, Sep 05, 2016 at 01:37:25PM +0100, Matt Fleming wrote: > On Mon, 22 Aug, at 12:01:21PM, Lukas Wunner wrote: > > Eliminate the 64 bit code path when compiling for x86_32, and vice-versa > > the 32 bit code path when compiling for x86_64 with mixed mode disabled. > > > > Size of gop.o text se

Re: [PATCH v6 1/8] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library

2016-09-05 Thread Vaibhav Hiremath
On Friday 02 September 2016 06:30 AM, Peter Chen wrote: On Thu, Sep 01, 2016 at 01:33:22PM +0530, Vaibhav Hiremath wrote: On Monday 15 August 2016 02:43 PM, Peter Chen wrote: Add binding doc for generic power sequence library. Signed-off-by: Peter Chen Acked-by: Philipp Zabel Acked-by: Ro

[PATCH] vcodec: mediatek: Add V4L2_CAP_TIMEPERFRAME capability setting

2016-09-05 Thread Tiffany Lin
This patch setting V4L2_CAP_TIMEPERFRAME capability in vidioc_venc_s/g_parm functions Signed-off-by: Tiffany Lin --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/pl

[PATCH 1/2] perf tools: Introduce memory mapping macros in mman-fix.h

2016-09-05 Thread Wang Nan
tools/perf/trace/beauty/mmap.c, tools/perf/util/event.c and tools/perf/util/map.c depend on several macros in mman.h, which are lost on old systems like ubuntu 12.04. They are architecture dependened macros. Importing ./arch/*/include/uapi/asm/mman.h into tools/ is not easy because mman.h for some

[PATCH 0/2] Fix mman macros using mman-fix.h

2016-09-05 Thread Wang Nan
Macros in mman like MAP_HUGETLB are missed in some old systems, causes building error like this: CC /tmp/build/perf/arch/x86/util/perf_regs.o util/event.c: In function 'perf_event__synthesize_mmap_events': util/event.c:350: error: 'MAP_HUGETLB' undeclared (first use in this function)

[PATCH 2/2] perf tools: Fix mman macros using mman-fix.h

2016-09-05 Thread Wang Nan
Use mman-fix.h to fix potential undefined macros in mman.h for building perf in old systems. Signed-off-by: Wang Nan Cc: Nilay Vaish Cc: Hou Pengyang Cc: He Kuang Cc: Arnaldo Carvalho de Melo --- tools/perf/trace/beauty/mmap.c | 63 +- tools/perf/util/

linux-next: Tree for Sep 6

2016-09-05 Thread Stephen Rothwell
Hi all, Changes since 20160905: The kbuild tree still had its build warnings for PowerPC, for which I reverted a commit. The tip tree gained a conflict against the kbuild tree. The akpm-current tree lost its build failure after I applied a supplied patch. Non-merge commits (relative to Linus

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

2016-09-05 Thread NeilBrown
On Mon, Aug 29 2016, Baolin Wang wrote: > Hi Felipe, > > On 11 August 2016 at 11:14, Baolin Wang wrote: >> Hi Felipe, >> >> On 1 August 2016 at 15:09, Baolin Wang wrote: >>> Currently the Linux kernel does not provide any standard integration of this >>> feature that integrates the USB subsystem

RE: linux-next: manual merge of the char-misc tree with the net-next tree

2016-09-05 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Monday, September 5, 2016 5:04 PM > To: Stephen Rothwell > Cc: Arnd Bergmann ; David Miller ; > Networking ; linux-n...@vger.kernel.org; linux- > ker...@vger.kernel.org; Stephen Hemminger ; > Vitaly Kuznetsov ; KY Srini

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

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

[PATCH V2 1/2] mm: Export definition of 'zone_names' array through mmzone.h

2016-09-05 Thread Anshuman Khandual
zone_names[] is used to identify any zone given it's index which can be used in many other places. So exporting the definition through include/linux/mmzone.h header for it's broader access. Signed-off-by: Anshuman Khandual --- Changes in V2: - Removed the static and declared in mmzone.h per Andre

[PATCH] x86: Put the num_processors++ code in a more suitable position

2016-09-05 Thread Dou Liyang
This is a code optimization. If checking the topology package map of apicid and cpu is failure, it will stop generating the processor info for that apicid and the disabled_cpus will plus one. However, the num-processors has already been added one above. That may cause the number of processors inco

RE: [PATCH v2] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-05 Thread Zhao Lei
Hi, Sean Fu > -Original Message- > From: Sean Fu [mailto:fxinr...@gmail.com] > Sent: Tuesday, September 06, 2016 11:51 AM > To: dste...@suse.com > Cc: c...@fb.com; anand.j...@oracle.com; fdman...@suse.com; > zhao...@cn.fujitsu.com; linux-kernel@vger.kernel.org; > linux-bt...@vger.kernel.or

Re: [PATCH v7 3/4] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-09-05 Thread Kishon Vijay Abraham I
Hi, On Sunday 04 September 2016 03:25 AM, Randy Li wrote: > On the rk3288 USB host-only port (the one that's not the OTG-enabled > port) the PHY can get into a bad state when a wakeup is asserted (not > just a wakeup from full system suspend but also a wakeup from > autosuspend). > > We can get t

Re: [PATCH] leds: Introduce userspace leds driver

2016-09-05 Thread Peter Meerwald-Stadler
Hi, > This driver creates a userspace leds driver similar to uinput. is the module really called leds-user as claimed by Kconfig? or rather uleds p. > New leds are created by opening /dev/uleds and writing a uleds_user_dev > struct. A new leds class device is registered with the name given in t

[PATCH] sched/fair: Fix update_min_vruntime() to get proper min_vruntime

2016-09-05 Thread Byungchul Park
I am sorry for making you confused. The patch I posted one year ago, Commit 97a7142 'sched/fair: Make update_min_vruntime() more readable', has a bug, which you picked up. Please add this patch to fix it, or combine these two patches into one, or revert commit 97a7142. Whatever you want. Sorry. T

[PATCH v2 1/3] perf tools: Recognize hugetlb mapping as anon mapping

2016-09-05 Thread Wang Nan
Hugetlbfs mapping should be recognized as anon mapping so user has a chance to create /tmp/perf-.map file for symbol resolving. This patch utilizes MAP_HUGETLB to identify hugetlb mapping. After this patch, if perf is started before the program starts using huge pages (so perf gets MMAP2 events fr

[PATCH v2 0/3] perf report: Recognize hugetlb mapping as anon mapping

2016-09-05 Thread Wang Nan
The requirement of this function is first proposed at 2015. Please refer to http://lkml.iu.edu/hypermail/linux/kernel/1506.2/02372.html http://lkml.iu.edu/hypermail/linux/kernel/1506.3/02290.html http://lkml.iu.edu/hypermail/linux/kernel/1506.3/03512.html For systems which use hugetlbfs, if a sam

[PATCH v2 2/3] tools lib api fs: Add hugetlbfs filesystem detector

2016-09-05 Thread Wang Nan
Detect hugetlbfs. hugetlbfs__mountpoint() will be used during recording to help recorder identifying hugetlb mmaps: which should be recognized as anon mapping. Signed-off-by: Wang Nan Reviewed-by: Nilay Vaish Cc: Hou Pengyang Cc: He Kuang Cc: Arnaldo Carvalho de Melo --- tools/lib/api/fs/fs.

[PATCH v2 3/3] perf record: Mark MAP_HUGETLB during synthesizing mmap events

2016-09-05 Thread Wang Nan
During synthesizing mmap events, add MAP_HUGETLB map flag if the source of mapping is file in hugetlbfs. After this patch, perf can identify hugetlb mapping even if perf is started after the mapping of huge pages (like perf top). Signed-off-by: Wang Nan Reviewed-by: Nilay Vaish Cc: Hou Pengyang

[PATCH 2/2] ASoC: rockchip: Add DP dai-links to the rk3399-gru machine driver

2016-09-05 Thread Chris Zhong
This patch adds DP audio output support to the rk3300-gru machine driver. Signed-off-by: Chris Zhong hyc...@chromium.org, broo...@kernel.org --- .../bindings/sound/rockchip,rk3399-gru-sound.txt | 13 +++--- sound/soc/rockchip/rk3399_gru_sound.c | 48 ++ 2 file

[PATCH 1/2] drm/rockchip: cdn-dp: support audio hot-plug

2016-09-05 Thread Chris Zhong
Issue hot-plug detection, EDID update, and ELD update notifications from DP drivers. Signed-off-by: Chris Zhong --- drivers/gpu/drm/rockchip/cdn-dp-core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/drm/rockchip/cdn-dp-core.c b/drivers/gpu/drm/rockchip/cdn-dp-core.c ind

[PATCH 0/2] Add DP dai-links to the rk3399-gru machine driver

2016-09-05 Thread Chris Zhong
Hi This series patch is for the machine driver supporting for DP. It base on the DP drvier patches[0] and hdmi-notify patches[1], they are both in reviewing. [0] https://patchwork.kernel.org/patch/9315557/ https://patchwork.kernel.org/patch/9278077/ [1] https://patchwork.kernel.org/patch/88872

Re: [PATCH 0/7] perpcu rwsem, fs/locks and killing lglocks

2016-09-05 Thread Mike Galbraith
On Mon, 2016-09-05 at 21:40 +0200, Peter Zijlstra wrote: > Hi all, > > Here are some patches that I've been sitting on for far too long now. Woohoo, goodbye to bad rubbish. FWIW, I plugged these into 4.8-rt (motto: if it's gonna go boom anywhere, it'll likely do so in rt), and am beating the liv

RE: [PATCH v10 5/5] drm/rockchip: Add dmc notifier in vop driver

2016-09-05 Thread MyungJoo Ham
> when in ddr frequency scaling process, vop can not do enable or > disable operation, since in dcf we check vop clock to see whether > vop work. If vop work, dcf do ddr frequency scaling when vop > in vblank status, and we need to read vop register to check whether > vop go into vblank status. If

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

2016-09-05 Thread Heiko Schocher
Hello Richard, Am 05.09.2016 um 15:32 schrieb Richard Weinberger: On 05.09.2016 15:05, Heiko Schocher wrote: @Richard: Should we just forget this patch? Let's drop it for now. It caused already a way more churn than a trivial style cleanup patch should... Yes! It was a too fast shoot ... so

[v14.2 PATCH 5/5] drm/rockchip: cdn-dp: add cdn DP support for rk3399

2016-09-05 Thread Chris Zhong
Add support for cdn DP controller which is embedded in the rk3399 SoCs. The DP is compliant with DisplayPort Specification, Version 1.3, This IP is compatible with the rockchip type-c PHY IP. There is a uCPU in DP controller, it need a firmware to work, please put the firmware file to /lib/firmware

Re: [PATCH v4 2/3] mmc: core: Factor out the alignment of erase size

2016-09-05 Thread Andreas Mohr
On Tue, Sep 06, 2016 at 10:55:11AM +0800, Baolin Wang wrote: > In order to clean up the mmc_erase() function and do some optimization > for erase size alignment, factor out the guts of erase size alignment > into mmc_align_erase_size() function. > > Signed-off-by: Baolin Wang > Tested-by: Shawn L

Re: [PATCH 01/13] perf/core: Add perf_arch_regs and mask to perf_regs structure

2016-09-05 Thread Madhavan Srinivasan
On Thursday 01 September 2016 12:56 PM, Peter Zijlstra wrote: On Mon, Aug 29, 2016 at 02:30:46AM +0530, Madhavan Srinivasan wrote: It's a perennial request from hardware folks to be able to see the raw values of the pmu registers. Partly it's so that they can verify perf is doing what they wan

Partnership Cooperation

2016-09-05 Thread Hasher Al Maktoum
Dear Friend, Your contact details came to me by recommendation, I am interested in investing in your country and I believe you have the capabilities of providing the needed assistance, solutions and advise in actualizing this, Let me know if you are willing to understake this task for me so we

Re: [PATCH] phy: da8xx-usb: Fix syscon device name

2016-09-05 Thread Kishon Vijay Abraham I
On Tuesday 06 September 2016 01:15 AM, David Lechner wrote: > The syscon device in board config/device tree has been renamed. > > Signed-off-by: David Lechner merged, thanks. -Kishon > --- > > This is a follow-up of the "da8xx USB PHY platform devices and clocks" patch > series. Just a small

Re: [v14 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-09-05 Thread Kishon Vijay Abraham I
On Wednesday 24 August 2016 10:47 AM, Chris Zhong wrote: > Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB > Type-C PHY is designed to support the USB3 and DP applications. > The USB3 operates in SuperSpeed mode and the DP can operate at RBR, > HBR and HBR2 data rates. This drive

Re: [v14 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-09-05 Thread Kishon Vijay Abraham I
Hi chanwoo, On Monday 05 September 2016 06:58 AM, Chanwoo Choi wrote: > Dear all, > > On 2016년 08월 24일 14:17, Chris Zhong wrote: >> Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB >> Type-C PHY is designed to support the USB3 and DP applications. >> The USB3 operates in SuperSpee

[PATCH 3/4] drm/fsl-dcu: update all registers on flush

2016-09-05 Thread Stefan Agner
Use the UPDATE_MODE READREG bit to initiate a register transfer on flush. This makes sure that we flush all registers only once for all planes. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 3 +++ drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 5 - 2 files chan

[PATCH 1/4] drm/fsl-dcu: support overlay and cursor planes

2016-09-05 Thread Stefan Agner
Add support for overlay plane and a cursor plane. The driver uses the topmost plane as cursor plane. The DCU IP would have dedicated cursor support, but that lacks proper color support and hence is not practical to use for Linux systems. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fs

[PATCH 0/4] drm/fsl-dcu: add overlay and cursor plane support

2016-09-05 Thread Stefan Agner
This patchset adds overlay and cursor plane support. It also fixes some issues uncovered during implementation of this. However, the plane updates currently causes the display to flicker for unknown reasons. As far as I can tell, the CRTC atomic_flush should trigger the update correctly via READRE

Re: [PATCH v2 3/8] regulator: axp20x: support AXP806 variant

2016-09-05 Thread Chen-Yu Tsai
Hi Lee, On Fri, Sep 2, 2016 at 4:23 AM, Mark Brown wrote: > On Sat, Aug 27, 2016 at 03:55:39PM +0800, Chen-Yu Tsai wrote: >> The X-Powers AXP806 PMIC has a new set of buck and LDO regulators, and >> also a switch. The buck regulators support teaming into multi-phase >> groups, with A+B, A+B+C, D+

[PATCH 4/4] drm/fsl-dcu: do not update when modifying irq registers

2016-09-05 Thread Stefan Agner
The IRQ status and mask registers are not "double buffered" according to the reference manual. Hence, there is no extra transfer/update write needed when modifying these registers. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 4 1 file changed, 4 deletions(-)

[PATCH 2/4] drm/fsl-dcu: respect pos/size register sizes

2016-09-05 Thread Stefan Agner
Mask the size and position values to avoid mutual overwriting. Especially, a negative X position caused the Y position to be overwritten with 0xfff too. This has been observed when using a layer as cursor layer. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.h | 8 --

RE: [PATCH v3 0/3] Make core_pattern support namespace

2016-09-05 Thread Zhao Lei
Ping > -Original Message- > From: Zhao Lei [mailto:zhao...@cn.fujitsu.com] > Sent: Monday, August 29, 2016 8:07 PM > To: linux-kernel@vger.kernel.org > Cc: contain...@lists.linux-foundation.org; Eric W. Biederman > ; Mateusz Guzik ; > Kamezawa Hiroyuki ; Stéphane Graber > ; Andrei Vagin ;

linux-next: manual merge of the tip tree with the kbuild tree

2016-09-05 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: arch/x86/lib/memcpy_64.S arch/x86/kernel/x8664_ksyms_64.c between commit: 784d5699eddc ("x86: move exports to actual definitions") from the kbuild tree and commit: 9a6fb28a355d ("x86/mce: Improve memcpy_mcsafe()") fr

Re: [PATCH v10 5/5] drm/rockchip: Add dmc notifier in vop driver

2016-09-05 Thread kbuild test robot
tch --base= (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Lin-Huang/rk3399-support-ddr-frequency-scaling/20160

Re: ACPI-APEI-HEST: Fine-tuning for three function implementations

2016-09-05 Thread SF Markus Elfring
> Like in the other patch series I've just commented, Thanks for your quick response. > please put all label renames into one patch. Could you accept these update suggestions generally? I would prefer to avoid squashing special changes together by default. Regards, Markus

Re: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-05 Thread Jeff Mahoney
On 9/5/16 11:05 PM, Jeff Mahoney wrote: > On 9/5/16 3:56 AM, Qu Wenruo wrote: >> >> >> At 09/05/2016 09:19 AM, Zhao Lei wrote: >>> Hi, Sean Fu >>> From: Sean Fu [mailto:fxinr...@gmail.com] Sent: Sunday, September 04, 2016 7:54 PM To: dste...@suse.com Cc: c...@fb.com; anand.j...@

Re: [PATCH] ASoC: sun4i-codec: Distinguish sun4i from sun7i

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 3:24 AM, Danny Milosavljevic wrote: > ASoC: sun4i-codec: Distinguish sun4i from sun7i > > Introduce mechanism to detect sun7i and provide a different regmap, codec > and different controls for it - different compared to sun4i Allwinner A10. > > The controls will be extended

Re: [PATCH] speakup: Add spinlock in synth_direct_store

2016-09-05 Thread Vaishali Thakkar
On Monday 05 September 2016 06:47 PM, Pavel Andrianov wrote: > All operations with synth buffer should be protected, > as there are global pointers, which should be modified atomically. > > Found by Linux Driver Verification project (linuxtesting.org) > > Signed-off-by: Pavel Andrianov Acked-

Re: [PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-09-05 Thread Dawei Chien
Dear Rui, On Tue, 2016-09-06 at 08:30 +0800, Zhang Rui wrote: > On 二, 2016-09-06 at 08:24 +0800, Zhang Rui wrote: > > On 四, 2016-08-18 at 11:50 +0800, Dawei Chien wrote: > > > > > > This adds the thermal controller and auxadc nodes > > > to the Mediatek MT2701 dtsi file. > > > > > > Signed-off-b

Re: ACPI-video: Fine-tuning for several function implementations

2016-09-05 Thread SF Markus Elfring
> I'd prefer this to be combined into fewer patches > that each will address several issues of one type, I understand your concern a bit in principle. > ie. put all label renames into one patch, Are any of my update suggestions controversial here? > all size determination improvements into an

[PATCH] mfd: Add HiSilicon Flash Memory Controller(FMC) driver

2016-09-05 Thread linshunquan 00354166
From: Shunquan Lin This patch adds driver support for HiSilicon Flash Memory Controller(FMC). HiSilicon FMC is a multi-functions device which supports SPI Nor flash controller, SPI nand Flash controller and parallel nand flash controller. Signed-off-by: Shunquan Lin --- .../devicetree/bindings

drivers/nvme/host/nvme.h:217:20: error: 'REQ_OP_DISCARD' undeclared

2016-09-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c6935931c1894ff857616ff8549b61236a19148f commit: aa71987472a974f4f6dc4be377720564079ef42e nvme: fabrics drivers don't need the nvme-pci driver date: 2 weeks ago config: i386-randconfig-h0-09052023 (attache

Re: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-05 Thread Jeff Mahoney
On 9/5/16 3:56 AM, Qu Wenruo wrote: > > > At 09/05/2016 09:19 AM, Zhao Lei wrote: >> Hi, Sean Fu >> >>> From: Sean Fu [mailto:fxinr...@gmail.com] >>> Sent: Sunday, September 04, 2016 7:54 PM >>> To: dste...@suse.com >>> Cc: c...@fb.com; anand.j...@oracle.com; fdman...@suse.com; >>> zhao...@cn.fuj

drivers/nvme/host/core.c:202:2: note: in expansion of macro 'spin_lock_irqsave'

2016-09-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c6935931c1894ff857616ff8549b61236a19148f commit: aa71987472a974f4f6dc4be377720564079ef42e nvme: fabrics drivers don't need the nvme-pci driver date: 2 weeks ago config: x86_64-randconfig-n0-09052021 (attac

Re: [PATCH v2 4/7] dts: sun8i-h3: add UART1-3 to Orange Pi Plus

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 3:31 AM, Maxime Ripard wrote: > Hi Jorik, > > On Sat, Sep 03, 2016 at 02:09:32PM +0200, Jorik Jonker wrote: >> On Fri, Sep 02, 2016 at 09:04:25AM +0200, Maxime Ripard wrote: >> >Unfortunately, these pins can be used for other purposes as well, so >> >we cannot make force tha

drivers/nvme/host/nvme.h:226:12: error: dereferencing pointer to incomplete type 'struct request'

2016-09-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c6935931c1894ff857616ff8549b61236a19148f commit: aa71987472a974f4f6dc4be377720564079ef42e nvme: fabrics drivers don't need the nvme-pci driver date: 2 weeks ago config: x86_64-randconfig-n0-09052021 (attac

Re: [PATCH 4/7] drm/panel: Add Sinlinx SinA33 7" panel

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 4:02 AM, Maxime Ripard wrote: > Hi, > > On Mon, Sep 05, 2016 at 01:03:03AM +0800, Icenowy Zheng wrote: >> Hi Everyone, >> >> 01.09.2016, 23:40, "Maxime Ripard" : >> > The SinA33 has an unidentified panel. Add the timings for it under a new >> > compatible. >> >> >> >> Excu

[PATCH v4 2/3] mmc: core: Factor out the alignment of erase size

2016-09-05 Thread Baolin Wang
In order to clean up the mmc_erase() function and do some optimization for erase size alignment, factor out the guts of erase size alignment into mmc_align_erase_size() function. Signed-off-by: Baolin Wang Tested-by: Shawn Lin --- drivers/mmc/core/core.c | 60 +

[PATCH v4 3/3] mmc: core: Optimize the mmc erase size alignment

2016-09-05 Thread Baolin Wang
In most cases the 'card->erase_size' is power of 2, then the round_up/down() function is more efficient than '%' operation when the 'card->erase_size' is power of 2. Signed-off-by: Baolin Wang Tested-by: Shawn Lin --- drivers/mmc/core/core.c | 34 ++ 1 file cha

[PATCH v4 1/3] mmc: core: Remove some redundant validations in mmc_erase() function

2016-09-05 Thread Baolin Wang
Before issuing mmc_erase() function, users always have checked if it can erase with mmc_can_erase/trim/discard() function, thus remove the redundant erase checking in mmc_erase() function. Signed-off-by: Baolin Wang Tested-by: Shawn Lin --- Changes since v3: - Split into 3 separate patches. -

Re: [PATCH 0/7] drm/sun4i: Introduce A33 display driver

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 4:37 AM, Maxime Ripard wrote: > On Sat, Sep 03, 2016 at 09:43:59AM +0800, Chen-Yu Tsai wrote: >> On Sat, Sep 3, 2016 at 3:06 AM, Maxime Ripard >> wrote: >> > Hi Icenowy, >> > >> > On Fri, Sep 02, 2016 at 09:30:05AM +0800, Icenowy Zheng wrote: >> >> >> >> >> >> 01.09.2016, 2

Re: [PATCH 5/7] ARM: sun8i: a33: Add display pipeline

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 4:21 AM, Maxime Ripard wrote: > Hi, > > On Fri, Sep 02, 2016 at 02:28:54PM +0800, Chen-Yu Tsai wrote: >> > + be0: display-backend@01e6 { >> > + compatible = "allwinner,sun8i-a33-display-backend"; >> > + reg = <0x0

Re: [PATCH] android: binder: use VM_ALLOC to get vm area.

2016-09-05 Thread Ganesh Mahendran
2016-09-02 3:59 GMT+08:00 Arve Hjønnevåg : > On Thu, Sep 1, 2016 at 12:02 PM, Greg KH wrote: >> On Thu, Sep 01, 2016 at 02:41:04PM +0800, Ganesh Mahendran wrote: >>> VM_IOREMAP is used to access hardware through a mechanism called >>> I/O mapped memory. Android binder is a IPC machanism which will

Re: [PATCH] android: binder: use VM_ALLOC to get vm area.

2016-09-05 Thread Ganesh Mahendran
Hi, Greg: 2016-09-02 3:02 GMT+08:00 Greg KH : > On Thu, Sep 01, 2016 at 02:41:04PM +0800, Ganesh Mahendran wrote: >> VM_IOREMAP is used to access hardware through a mechanism called >> I/O mapped memory. Android binder is a IPC machanism which will >> not access I/O memory. >> >> Also VM_IOREMAP h

Re: [linux-sunxi] [PATCH v4 2/2] devicetree: Add vendor prefix for FriendlyARM

2016-09-05 Thread Chen-Yu Tsai
On Tue, Sep 6, 2016 at 6:15 AM, James Pettigrew wrote: > Guangzhou FriendlyARM Computer Tech Co., Ltd is a Chinese ARM board vendor. > > Signed-off-by: James Pettigrew > Reviewed-by: Rask Ingemann Lambertsen Acked-by: Chen-Yu Tsai

RE: [PATCH] Btrfs: remove unnecessary code of chunk_root assignment in btrfs_read_chunk_tree.

2016-09-05 Thread Zhao Lei
Hi, Qu Wenruo > From: Qu Wenruo [mailto:quwen...@cn.fujitsu.com] > Sent: Monday, September 05, 2016 3:57 PM > To: Zhao Lei ; 'Sean Fu' ; > dste...@suse.com > Cc: c...@fb.com; anand.j...@oracle.com; fdman...@suse.com; > linux-bt...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH

[RFC PATCH v2 5/6] ipv6: Remove useless parameter in __snmp6_fill_statsdev

2016-09-05 Thread Jia He
The parameter items(always ICMP6_MIB_MAX) is useless for __snmp6_fill_statsdev. Signed-off-by: Jia He --- net/ipv6/addrconf.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index f418d2e..e170554 100644 --- a/net/ipv6/ad

[RFC PATCH v2 4/6] proc: Reduce cache miss in xfrm_statistics_seq_show

2016-09-05 Thread Jia He
This patch exchanges the two loop for collecting the percpu statistics data. This can reduce cache misses by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/xfrm/xfrm_proc.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a

[RFC PATCH v2 6/6] net: Suppress the "Comparison to NULL could be written" warning

2016-09-05 Thread Jia He
This is to suppress the checkpatch.pl warning "Comparison to NULL could be written". No functional changes here. Signed-off-by: Jia He --- net/ipv4/proc.c | 44 ++-- net/sctp/proc.c | 4 ++-- net/xfrm/xfrm_proc.c | 4 ++-- 3 files changed, 26 i

[RFC PATCH v2 3/6] proc: Reduce cache miss in sctp_snmp_seq_show

2016-09-05 Thread Jia He
This patch exchanges the two loop for collecting the percpu statistics data. This can reduce cache misses by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/sctp/proc.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/net/sctp

[RFC PATCH v2 0/6] Reduce cache miss for snmp_fold_field

2016-09-05 Thread Jia He
In a PowerPc server with large cpu number(160), besides commit a3a773726c9f ("net: Optimize snmp stat aggregation by walking all the percpu data at once"), I watched several other snmp_fold_field callsites which will cause high cache miss rate. My simple test case, which read from the procfs items

[RFC PATCH v2 2/6] proc: Reduce cache miss in snmp6_seq_show

2016-09-05 Thread Jia He
This patch exchanges the two loop for collecting the percpu statistics data. This can reduce cache misses by going through all the items of each cpu sequentially. Signed-off-by: Jia He --- net/ipv6/proc.c | 47 --- 1 file changed, 36 insertions(+), 11

[RFC PATCH v2 1/6] proc: Reduce cache miss in {snmp,netstat}_seq_show

2016-09-05 Thread Jia He
This patch exchanges the two loop for collecting the percpu statistics data. This can aggregate the data by going through all the items of each cpu sequentially. Then snmp_seq_show is split into 2 parts to avoid build warning "the frame size" larger than 1024. Signed-off-by: Jia He --- net/ipv4/

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

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

Re: [PATCH net-next 4/9] rxrpc: Randomise epoch and starting client conn ID values

2016-09-05 Thread Jeffrey Altman
Reply inline On 9/5/2016 12:24 PM, David Howells wrote: > [cc'ing Jeff Altman for comment] > > David Laight wrote: > >>> Create a random epoch value rather than a time-based one on startup and set >>> the top bit to indicate that this is the case. >> >> Why set the top bit? >> There is not

[PATCH] leds: Introduce userspace leds driver

2016-09-05 Thread David Lechner
This driver creates a userspace leds driver similar to uinput. New leds are created by opening /dev/uleds and writing a uleds_user_dev struct. A new leds class device is registered with the name given in the struct. Reading will return a single byte that is the current brightness. The poll() sysca

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

2016-09-05 Thread chengchao
Oleg, thank you. the key point is for CONFIG_PREEMPT_NONE=y, if sched_exec needs migrate the current, migration_cpu_stop doesn't migrate the task(current) at all, it means that the stopper thread does some unuseful works in this scenario. finally,the stopper thread calls cpu_stop_signal_done()

[PATCH] MIPS: Add RTC support for Loongson1C board

2016-09-05 Thread Yang Ling
The patch adds RTC support for Loongson1C board, and enable the external crystal when the RTC is first powered up. Signed-off-by: Yang Ling --- arch/mips/include/asm/mach-loongson32/platform.h | 1 + arch/mips/loongson32/common/platform.c | 13 + arch/mips/loongson32/ls1c/

Re: [PATCH 5/7] serial: 8250_fintek: Add F81216 Support

2016-09-05 Thread Ji-Ze Hong (Peter Hong)
Hi Ricardo, Ricardo Ribalda Delgado 於 2016/9/1 下午 07:22 寫道: memcpy(pdata, &probe_data, sizeof(probe_data)); - uart->port.rs485_config = fintek_8250_rs485_config; Maybe just: if (pdata->id != CHIP_ID_F81216) uart->port.rs485_config = fintek_8250_rs485_config; Instead of th

RE: [PATCH] usb: gadget: prevent potenial null pointer dereference on skb->len

2016-09-05 Thread Peter Chen
> >From: Colin Ian King > >An earlier fix partially fixed the null pointer dereference on skb->len by >moving the >assignment of len after the check on skb being non-null, however it failed to >remove >the erroneous dereference when assigning len. >Correctly fix this by removing the initialisa

Re: [PATCH 2/7] fs/locks: Replace lg_global with a percpu-rwsem

2016-09-05 Thread Andreas Mohr
Hi, [no properly binding reference via In-Reply-To: available thus manually re-creating, sorry] https://lkml.org/lkml/2016/9/5/832 Two thoughts: ***multiple locks Don't have much insight into this (didn't spend much thinking on this), but of course it's unfortunate that two lock types need t

Re: [PATCH 4/7] serial: 8250_fintek: Rearrange function

2016-09-05 Thread Ji-Ze Hong (Peter Hong)
Hi Ricardo, Greg, Ricardo Ribalda Delgado 於 2016/9/1 下午 07:17 寫道: On one previous patch you almost rewrote theset_irq_mode function and added the prototype. It might be a good moment to move the whole function up. I had try with merge the following 2 patches in local, 1: serial: 8250_fintek:

Re: [PATCH] usb: chipidea: udc: fix NULL ptr dereference in isr_setup_status_phase

2016-09-05 Thread Peter Chen
On Mon, Sep 05, 2016 at 07:29:58PM +0200, Clemens Gruber wrote: > Problems with the signal integrity of the high speed USB data lines or > noise on reference ground lines can cause the i.MX6 USB controller to > violate USB specs and exhibit unexpected behavior. > > It was observed that USBi_UI int

  1   2   3   4   5   6   7   8   9   10   >