[PATCH v2 2/5] dts: mfd: axp20x: Add binding for the AXP808

2017-02-08 Thread Rask Ingemann Lambertsen
The AXP808 does not support address space extension, but is otherwise identical to the AXP806, including the chip ID, so add a compatible string for it to the binding. Signed-off-by: Rask Ingemann Lambertsen Acked-by: Rob Herring Acked-by: Chen-Yu Tsai

Re: [PATCHSET for-4.11] cgroup: implement cgroup v2 thread mode

2017-02-08 Thread Tejun Heo
(cc'ing Linus and Andrew for visibility) Hello, Peter. On Mon, Feb 06, 2017 at 01:49:43PM +0100, Peter Zijlstra wrote: > But to me the resource domain is your primary new construct; so it makes > more sense to explicitly mark that. Whether it's new or not isn't the point. Resource domains

Re: [PATCH] MAINTAINERS: Add Jon Mason to BCM5301X maintainers

2017-02-08 Thread Jon Mason
On Wed, Feb 8, 2017 at 6:29 PM, Rafał Miłecki wrote: > On 02/09/2017 12:22 AM, Jon Mason wrote: >> >> Adding myself as a maintainer for Broadcom Northstar SoCs. Also, adding >> a regex entry to discover the SVK DTs already present. >> >> Signed-off-by: Jon Mason

[PATCH 2/2] net: ethernet: ti: cpsw: fix resume because of usage count

2017-02-08 Thread Ivan Khoronzhuk
The usage count function is based on ndev_running flag that is updated before calling ndo_open/close, but if ndo is called in another place, in this case in suspend/resume, the counter is not changed, that breaks sus/resume. For common resource no difference which device is using it, does matter

Re: [PATCH] eeprom/at24: use device_property_*() functions instead of of_get_property()

2017-02-08 Thread Andy Shevchenko
On Wed, Feb 8, 2017 at 9:53 PM, Ben Gardner wrote: > Allow the at24 driver to get configuration information from both OF and > ACPI by using the more generic device_property functions. > This change was inspired by the at25.c driver. > > I have a custom board with a ST

[PATCH 06/10] clocksource/drivers/ostm: Add renesas-ostm timer driver

2017-02-08 Thread Daniel Lezcano
From: Chris Brandt This patch adds a OSTM driver for the Renesas architecture. The OS Timer (OSTM) has independent channels that can be used as a freerun or interval times. This driver uses the first probed device as a clocksource and then any additional devices as

[PATCH v2 3/5] mfd: axp20x: Add support for the AXP808 PMIC

2017-02-08 Thread Rask Ingemann Lambertsen
The X-Powers AXP808 is a PMIC which, like the very similar AXP806, is used on boards featuring Allwinner's A80 SoC. Unlike the AXP806, it doesn't support address space extension and its associated registers, but the two are otherwise identical (including the chip ID). After commit b101829a029a

Re: [PATCH v7 0/5] Update LZ4 compressor module

2017-02-08 Thread Eric Biggers
On Thu, Feb 09, 2017 at 08:31:21AM +0900, Minchan Kim wrote: > > Today, I did zram-lz4 performance test with fio in current mmotm and > found it makes regression about 20%. > This may or may not be the cause of the specific regression you're observing, but I just noticed that the proposed patch

Re: [PATCH v2 08/10] soc: mediatek: add MT6797 power dt-bindings

2017-02-08 Thread Rob Herring
On Mon, Feb 06, 2017 at 08:15:34PM +0800, Mars Cheng wrote: > This adds power dt-bindings for MT6797 Some consistency in the subject for bindings please. > > Signed-off-by: Mars Cheng > Signed-off-by: Kevin-CW Chen > --- >

Re: [PATCH v11 1/9] dt-bindings: mmc: Add Cavium SOCs MMC bindings

2017-02-08 Thread Rob Herring
On Mon, Feb 06, 2017 at 02:39:44PM +0100, Jan Glauber wrote: > Add description of Cavium Octeon and ThunderX SOC device tree bindings. > > CC: Ulf Hansson > CC: Rob Herring > CC: Mark Rutland > CC: devicet...@vger.kernel.org >

Re: [RFC][PATCH 00/21] tracing: Inter-event (e.g. latency) support

2017-02-08 Thread Tom Zanussi
Hi Masami, On Thu, 2017-02-09 at 08:13 +0900, Masami Hiramatsu wrote: > Hi Tom, > > On Wed, 8 Feb 2017 11:24:56 -0600 > Tom Zanussi wrote: > > > This patchset adds support for 'inter-event' quantities to the trace > > event subsystem. The most important example

Re: [PATCH v2 01/10] Document: DT: mediatek: multiple base address support for sysirq

2017-02-08 Thread Rob Herring
On Mon, Feb 06, 2017 at 08:15:27PM +0800, Mars Cheng wrote: > This describes how to specify multiple base addresses for sysirq > in mediatek platforms. > > Signed-off-by: Mars Cheng > --- > .../interrupt-controller/mediatek,sysirq.txt | 13 + > 1

Re: [RFC][PATCH 00/21] tracing: Inter-event (e.g. latency) support

2017-02-08 Thread Tom Zanussi
On Wed, 2017-02-08 at 15:01 -0500, Steven Rostedt wrote: > On Wed, 8 Feb 2017 11:24:56 -0600 > Tom Zanussi wrote: > > > # echo 'wakeup_latency lat=sched_switch:wakeup_lat \ > >pid=sched_switch:woken_pid \ > >

[PATCH v2 0/5] arm: sun9i: Support AXP808 PMIC and Sunchip CX-A99 board

2017-02-08 Thread Rask Ingemann Lambertsen
This patch series add support for the Sunchip CX-A99 board, which is used in a few media players, making it the third device with an Allwinner A80 SoC to be supported. The board uses the X-Powers AXP808 PMIC which this patch series also adds support for. Patch 1 adds a documentation line which

[PATCH 1/2] net: ethernet: ti: cpsw: fix cpsw assignment in resume

2017-02-08 Thread Ivan Khoronzhuk
There is a copy-paste error, which hides breaking of resume for CPSW driver: there was replaced netdev_priv() to ndev_to_cpsw(ndev) in suspend, but left it unchanged in resume. Fixes: 606f39939595a4d4540406bfc11f265b2036af6d (ti: cpsw: move platform data and slaves info to cpsw_common)

[PATCH 0/2] net: ethernet: ti: cpsw: fix susp/resume

2017-02-08 Thread Ivan Khoronzhuk
These two patches fix suspend/resume chain. Ivan Khoronzhuk (2): net: ethernet: ti: cpsw: fix cpsw assignment in resume net: ethernet: ti: cpsw: fix resume because of usage count drivers/net/ethernet/ti/cpsw.c | 44 +- 1 file changed, 13

Re: [PATCH 1/2 v2] cpufreq: qoriq: added arm64 socs support

2017-02-08 Thread Rafael J. Wysocki
On Thursday, February 09, 2017 04:51:46 AM kbuild test robot wrote: > Hi Tang, > > [auto build test ERROR on pm/linux-next] > [also build test ERROR on v4.10-rc7 next-20170208] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the s

Re: [PATCH] mm balloon: umount balloon_mnt when remove vb device

2017-02-08 Thread Minchan Kim
On Wed, Feb 08, 2017 at 01:21:58PM +0800, Yisheng Xie wrote: > With CONFIG_BALLOON_COMPACTION=y, it will mount balloon_mnt for > balloon page migration when probe a virtio_balloon device, however > do not unmount it when remove the device, fix it. > > Fixes: b1123ea6d3b3 ("mm: balloon: use

[PATCH 02/10] clocksource: add DT bindings for Cortina Gemini

2017-02-08 Thread Daniel Lezcano
From: Linus Walleij This adds device tree bindings for the Cortina Systems Gemini timer block used in these SoCs. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian

Re: [PATCH v2 03/10] Document: DT: Add bindings for mediatek MT6797 SoC Platform

2017-02-08 Thread Rob Herring
On Mon, Feb 06, 2017 at 08:15:29PM +0800, Mars Cheng wrote: > This adds dt-binding documentation for Mediatek MT6797. Only > include very basic items, gic, uart timer and cpu. For the subject: "dt-bindings: arm: Add Mediatek MT6797 SoC Platform" Otherwise, Acked-by: Rob Herring

Greetings sir

2017-02-08 Thread Mariah Dweck
Hi, Good morning dear. I'm Mariah Dweck (female),i saw your address today from your directory so i decided to contact you, i would like to be your good friend,i have important issues to discuss with you when i receive your response,i will send a picture of myself and tell you why i contacted

Re: [PATCH 0/2] PCI: iproc: MPS fix and quirks

2017-02-08 Thread Jon Mason
On Wed, Feb 8, 2017 at 4:55 PM, Bjorn Helgaas wrote: > On Fri, Jan 27, 2017 at 04:44:07PM -0500, Jon Mason wrote: >> A patch that corrects an issue where the MPS could not be set, and >> another that fixes some quirks in the PAXC >> >> Jon Mason (2): >> PCI: iproc: allow the

Re: [PATCH 00/10] fujitsu-laptop: renames and cleanups

2017-02-08 Thread Jonathan Woithe
Hi Michael Thanks very much for the work you've put in to clean up these patches. I very much appreciate it. I will go through them myself in the next day or so, and most importantly test them on my hardware to confirm there are no regressions. Some initial comments follow. On Wed, Feb 08,

Re: next-20170207 initify_plugin kills gcc7.

2017-02-08 Thread Kees Cook
On Wed, Feb 8, 2017 at 1:48 PM, wrote: > Seen in next-20170207: > > [/usr/src/linux-next] gcc --version > gcc (GCC) 7.0.1 20170204 (Red Hat 7.0.1-0.6) > Copyright (C) 2017 Free Software Foundation, Inc. > This is free software; see the source for copying conditions.

Re: [RFC][PATCH 00/21] tracing: Inter-event (e.g. latency) support

2017-02-08 Thread Masami Hiramatsu
Hi Tom, On Wed, 8 Feb 2017 11:24:56 -0600 Tom Zanussi wrote: > This patchset adds support for 'inter-event' quantities to the trace > event subsystem. The most important example of inter-event quantities > are latencies, or the time differences between two events.

[PATCH] Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN

2017-02-08 Thread Scott Bauer
When CONFIG_KASAN is enabled, compilation fails: block/sed-opal.c: In function 'sed_ioctl': block/sed-opal.c:2447:1: error: the frame size of 2256 bytes is larger than 2048 bytes [-Werror=frame-larger-than=] Moved all the ioctl structures off the stack to a static union to prevent oversized

[PATCH 10/10] clocksource/drivers/arm_arch_timer: Work around Hisilicon erratum 161010101

2017-02-08 Thread Daniel Lezcano
From: Ding Tianhong Erratum Hisilicon-161010101 says that the ARM generic timer counter "has the potential to contain an erroneous value when the timer value changes". Accesses to TVAL (both read and write) are also affected due to the implicit counter read. Accesses to

Re: ARM imx.6 SATA speed regression

2017-02-08 Thread Dan MacDonald
Hi all I'm still running the same 4.9.8 Arch kernel I was a few days ago and I haven't done any updates but I decided to run hdparm again, a few times actually, and now I'm getting 120/125 MB/s again on my SABRE lite, as I was under 4.9.0. When I last ran hdparm I ran it a few times and all the

Re: [PATCH] MAINTAINERS: Add Jon Mason to BCM5301X maintainers

2017-02-08 Thread Florian Fainelli
On 02/08/2017 03:37 PM, Jon Mason wrote: > On Wed, Feb 8, 2017 at 6:35 PM, Rafał Miłecki wrote: >> On 2017-02-09 00:34, Jon Mason wrote: >>> >>> On Wed, Feb 8, 2017 at 6:29 PM, Rafał Miłecki wrote: On 02/09/2017 12:22 AM, Jon Mason wrote: > >

Re: [PATCH v3 21/24] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-02-08 Thread Russell King - ARM Linux
On Wed, Feb 08, 2017 at 03:23:53PM -0800, Steve Longerbeam wrote: > >Actually, this exact function already exists as dw_mipi_dsi_phy_write in > >drivers/gpu/drm/rockchip/dw-mipi-dsi.c, and it looks like the D-PHY > >register 0x44 might contain a field called HSFREQRANGE_SEL. > > Thanks for

Re: [PATCH 1/3] usb: host: fotg2: add devicetree probing

2017-02-08 Thread kbuild test robot
Hi Hans, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.10-rc7 next-20170208] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Hans-Ulli-Kroll/usb-host-fotg2-add

Re: [RFC][PATCH 00/21] tracing: Inter-event (e.g. latency) support

2017-02-08 Thread Tom Zanussi
Hi Steve, On Wed, 2017-02-08 at 15:01 -0500, Steven Rostedt wrote: > On Wed, 8 Feb 2017 11:24:56 -0600 > Tom Zanussi wrote: > > > # echo 'wakeup_latency lat=sched_switch:wakeup_lat \ > >pid=sched_switch:woken_pid \ > >

Re: Build Linux kernel to have comparable zImages

2017-02-08 Thread Andrew Donnellan
On 08/02/17 20:20, Lukasz Majewski wrote: Dear All, Maybe somebody can point me to solution to the following problem: Problem: I do want to be able to compare (with e.g. md5sum, sha1) two linux zImages. The problem is that Linux compiles in current build time into the binary. Hence, even two

Re: [PATCH v1 2/3] dt: Document for the ZTE zx296718 I2S controller

2017-02-08 Thread Rob Herring
On Mon, Feb 06, 2017 at 09:50:19PM +0800, Baoyou Xie wrote: > This patch documents the devicetree for the ZTE's zx296718 > I2S audio controller. > > Signed-off-by: Baoyou Xie > --- > Documentation/devicetree/bindings/sound/zte,zx-i2s.txt | 6 -- > 1 file changed, 4

[PATCH v2] vfio/mdev: Use a module softdep for vfio_mdev

2017-02-08 Thread Alex Williamson
Use an explicit module softdep rather than a request module call such that the dependency is exposed to userspace. This allows us to more easily support modules loaded at initrd time. Signed-off-by: Alex Williamson --- v2: Remove request_module call as well, update

[PATCH -next] rtc: sun6i: Fix return value check in sun6i_rtc_clk_init()

2017-02-08 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function of_io_request_and_map() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator") Signed-off-by: Wei

[PATCH] drm/vc4: Fulfill user BO creation requests from the kernel BO cache.

2017-02-08 Thread Eric Anholt
The from_cache flag was actually "the BO is invisible to userspace", so we can repurpose to just zero out a cached BO and return it to userspace. Improves wall time for a loop of 5 glsl-algebraic-add-add-1 by -1.44989% +/- 0.862891% (n=28, 1 outlier removed from each that appeared to be other

Re: [PATCH net-next v2 3/3] net: ethernet: bgmac: driver power manangement

2017-02-08 Thread Florian Fainelli
On 02/08/2017 01:24 PM, Jon Mason wrote: > From: Joey Zhong > > Implement suspend/resume callbacks in the bgmac driver. This makes sure > that we de-initialize and re-initialize the hardware correctly before > entering suspend and when resuming. > > Signed-off-by: Joey

[PATCH 09/10] clocksource/drivers/arm_arch_timer: Introduce generic errata handling infrastructure

2017-02-08 Thread Daniel Lezcano
From: Ding Tianhong Currently we have code inline in the arch timer probe path to cater for Freescale erratum A-008585, complete with ifdeffery. This is a little ugly, and will get worse as we try to add more errata handling. This patch refactors the handling of

linux-next: build failure after merge of the l2-mtd tree

2017-02-08 Thread Stephen Rothwell
y physmap_of_versatile.o would have been in obj-m and it is now in obj-y. I have used the version fo the l2-mtd tree from next-20170208 for today. -- Cheers, Stephen Rothwell

Re: [PATCH] sysctl: add proper unsigned int support

2017-02-08 Thread Luis R. Rodriguez
On Wed, Feb 8, 2017 at 5:28 PM, Luis R. Rodriguez wrote: > So unless anyone finds evidence to the contrary I will be ripping > out array support from unsigned int Oh so I should probably explain: the reason for this is that even though I found one possible user for array for

Re: [PATCH] sysctl: add proper unsigned int support

2017-02-08 Thread Luis R. Rodriguez
On Wed, Feb 01, 2017 at 08:56:46PM +0100, Luis R. Rodriguez wrote: > On Mon, Jan 30, 2017 at 03:56:20PM +0300, Alexey Dobriyan wrote: > > On Sun, Jan 29, 2017 at 10:29 PM, Luis R. Rodriguez > > wrote: > > > Commit e7d316a02f6838 ("sysctl: handle error writing UINT_MAX to u32

Re: [PATCH v3 2/3] ASoC: zx-i2s: introduce pclk for zx2967 family

2017-02-08 Thread Shawn Guo
On Wed, Feb 08, 2017 at 06:52:07PM -0600, Rob Herring wrote: > On Wed, Feb 08, 2017 at 11:02:34AM +0800, Baoyou Xie wrote: > > ZTE's zx2967 I2S controller driver introduces pclk, this > > patch documents this fact. > > Now we have the same subject for patches 2 and 3. > > Personally, I'd prefer

Re: [PATCH V2 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board

2017-02-08 Thread Andy Yan
Hi Eddie: On 2017年02月06日 10:14, Eddie Cai wrote: This patch add basic support for RK3288-Tinker board. We can boot in to rootfs with this patch. Signed-off-by: Eddie Cai --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/rk3288-tinker.dts | 543

Re: linux-next: build failure after merge of the l2-mtd tree

2017-02-08 Thread Brian Norris
$(CONFIG_MTD_PISMO)+= pismo.o obj-$(CONFIG_MTD_PMC_MSP_EVM) += pmcmsp-flash.o obj-$(CONFIG_MTD_PCMCIA) += pcmciamtd.o I'll cook that into a proper patch if it seems good. > I have used the version fo the l2-mtd tree from next-20170208 for today. Sounds good. Brian

Re: [PATCH v6 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2017-02-08 Thread Rick Chang
Hi Hans, All the dependences of this patch have been merged into v4.10-next.Could you take v9 of this patch set? Matthias will help us to take the dts part. Best Regards, Rick On Fri, 2017-01-13 at 16:02 +0100, Matthias Brugger wrote: > Hi James, > > On 10/01/17 02:28, Eddie Huang wrote: > >

Re: [PATCH v3 4/4] remoteproc: core: don't allocate carveout if pa or da are defined

2017-02-08 Thread Bjorn Andersson
On Tue 31 Jan 04:35 PST 2017, Loic Pallardy wrote: > Remoteproc doesn't check if firmware requests fixed > addresses for carveout regions. > Current assumption is that platform specific driver is in > charge of coprocessor specific memory region allocation and > remoteproc core doesn't have to

[PATCH] arm64: use is_vmalloc_addr

2017-02-08 Thread Miles Chen
To is_vmalloc_addr() to check if an address is a vmalloc address instead of checking VMALLOC_START and VMALLOC_END manually. Signed-off-by: Miles Chen --- arch/arm64/mm/ioremap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/mm/ioremap.c

Re: [PATCH 1/3] mm: Define coherent device memory (CDM) node

2017-02-08 Thread kbuild test robot
Hi Anshuman, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc7] [cannot apply to mmotm/master next-20170208] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Anshuman

Re: [PATCH v2 08/10] soc: mediatek: add MT6797 power dt-bindings

2017-02-08 Thread Mars Cheng
On Wed, 2017-02-08 at 18:37 -0600, Rob Herring wrote: > On Mon, Feb 06, 2017 at 08:15:34PM +0800, Mars Cheng wrote: > > This adds power dt-bindings for MT6797 > > Some consistency in the subject for bindings please. Got it, will use the format like "dt-bindings: xxx: xxx" to send patch set v3

Re: [PATCH v12 6/9] usb: xhci: use bus->sysdev for DMA configuration

2017-02-08 Thread Peter Chen
On Wed, Feb 08, 2017 at 12:43:00PM -0800, Jack Pham wrote: > Hi Peter, Sriram, Arnd, > > On Mon, Feb 06, 2017 at 05:13:38PM +0800, Peter Chen wrote: > > From: Arnd Bergmann > > > > For xhci-hcd platform device, all the DMA parameters are not > > configured properly, notably dma

[tip:WIP.sched/core 138/170] arch/mips/sibyte/sb1250/smp.c:114:11: note: in expansion of macro '__KSTK_TOS'

2017-02-08 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: abfce7e8f232d855fa00a60a1c432be71e074b65 commit: a7620f41ee0afaa7e0e34227fd5a80e5df14b1f4 [138/170] sched/headers: Split out of config: mips-sb1250_swarm_defconfig (attached as .config) compiler:

Re: [PATCH 00/10] fujitsu-laptop: renames and cleanups

2017-02-08 Thread Andy Shevchenko
On Thu, Feb 9, 2017 at 3:36 AM, Darren Hart wrote: > On Wed, Feb 08, 2017 at 05:24:53PM +0200, Andy Shevchenko wrote: >> On Wed, Feb 8, 2017 at 3:46 PM, Michał Kępień wrote: >> Nice clean up! >> So, I would apply 1-7, for the rest I need more time to

Re: [PATCH v2 01/10] Document: DT: mediatek: multiple base address support for sysirq

2017-02-08 Thread Mars Cheng
Hi Rob, On Wed, 2017-02-08 at 17:20 -0600, Rob Herring wrote: > On Mon, Feb 06, 2017 at 08:15:27PM +0800, Mars Cheng wrote: > > This describes how to specify multiple base addresses for sysirq > > in mediatek platforms. > > > > Signed-off-by: Mars Cheng > > --- > >

[PATCH 2/7] staging: iio: isl29028: fix incorrect sleep time when taking initial proximity reading

2017-02-08 Thread Brian Masney
When proximity is enabled in isl29028_enable_proximity(), the function msleep() is called with the sampling frequency, which is not correct. This patch changes the code to sleep the specified amount of time listed in the datasheet instead. Signed-off-by: Brian Masney ---

[PATCH 0/7] iio: isl29028: move out of staging

2017-02-08 Thread Brian Masney
This is my last series of staging cleanups for the ISL29028 driver. Highlights of this patch series include some cleanups to the timing code, a fix for runtime power management support, and documentation. I mentioned in one of my earlier patch series that I was having issues getting the proximity

Re: [PATCH] Revert "hwrng: core - zeroize buffers with random data"

2017-02-08 Thread Linus Torvalds
Stephan, Herbert? The zeroes in /dev/hwrng output are obviously complete crap, so there's something badly wrong somewhere. The locking, for example, is completely buggered. There's even a comment about it, but that comment makes the correct observation of "but y'know: randomness". But the

[PATCH 3/7] staging: iio: isl29028: fix incorrect sampling frequency value

2017-02-08 Thread Brian Masney
The sysfs attribute in_proximity_sampling_frequency_available currently shows the values 1 3 5 10 13 20 83 100. These values are supposed to correspond to the sleep values 800 400 200 100 75 50 12 0 (all in ms). When passing in a sampling frequency of 3, it actually uses a sleep time of 200ms

[PATCH] arm64: use linux/sizes.h for constants

2017-02-08 Thread Miles Chen
Use linux/size.h to improve code readability. Signed-off-by: Miles Chen --- arch/arm64/kernel/process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/kernel/process.c b/arch/arm64/kernel/process.c index a3a2816..aaac783 100644 ---

[PATCH 5/7] staging: iio: isl29028: add copyright

2017-02-08 Thread Brian Masney
Add Brian Masney's copyright to the header for the several rounds of staging cleanups that has been done to this driver. Signed-off-by: Brian Masney --- drivers/staging/iio/light/isl29028.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH] drm/amdgpu/virt: fix double kfree on bo_va

2017-02-08 Thread Alex Deucher
On Fri, Feb 3, 2017 at 3:23 PM, Colin King wrote: > From: Colin Ian King > > bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv > and then a short while later. Fix this double free by removing > the 2nd kfree. > > Detected by

Re: [PATCH 1/1] mtd: spi-nor: remove WARN_ONCE() message in spi_nor_write()

2017-02-08 Thread Brian Norris
On Tue, Dec 13, 2016 at 05:43:52PM +0100, Cyrille Pitchen wrote: > Le 08/12/2016 à 16:31, Boris Brezillon a écrit : > > On Tue, 6 Dec 2016 18:14:24 +0100 > > Cyrille Pitchen wrote: > > > >> This patch removes the WARN_ONCE() test in spi_nor_write(). > >> This macro

Re: [PATCH 3/4] of: add vendor prefixes for Samyoung and Shinyei

2017-02-08 Thread Rob Herring
On Sun, Feb 05, 2017 at 04:02:52PM +0100, Tomasz Duszynski wrote: > This patch adds prefixes for Samyoung and Shinyei companies. > > Signed-off-by: Tomasz Duszynski > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 2 ++ > 1 file changed, 2 insertions(+)

[PATCH v4 2/3] ASoC: zx-i2s: Add the info of pclk to the binding document for zx2967 family

2017-02-08 Thread Baoyou Xie
ZTE's zx2967 I2S controller driver introduces pclk, this patch documents this fact. Signed-off-by: Baoyou Xie --- Documentation/devicetree/bindings/sound/zte,zx-i2s.txt | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git

[PATCH v4 3/3] ASoC: zx-i2s: introduce pclk for zx2967 family

2017-02-08 Thread Baoyou Xie
The pclk is necessary for zx2967 I2S controller. the driver currently doesn't handle it. This is something we need to fix. In turn, the driver supports zx296718's I2S controller. By the way, this patch also change the clock name from tx to wclk to make it clear. Signed-off-by: Baoyou Xie

Re: mm: deadlock between get_online_cpus/pcpu_alloc

2017-02-08 Thread Christoph Lameter
On Wed, 8 Feb 2017, Thomas Gleixner wrote: > There is a world outside yours. Hotplug is actually used frequently for > power purposes in some scenarios. The usual case does not inolve hotplug. > It will improve nothing. The stop machine context is extremly limited and > you cannot do complex

Re: [PATCH 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-08 Thread Aneesh Kumar K.V
"Aneesh Kumar K.V" writes: > Autonuma preserves the write permission across numa fault to avoid taking > a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE > write permissions across a NUMA hinting fault"). Architecture can implement >

[PATCH] mm/zsmalloc: fix comment in zsmalloc

2017-02-08 Thread Yisheng Xie
The class index and fullness group are not encoded in (first)page->mapping any more, after commit 3783689a1aa8 ("zsmalloc: introduce zspage structure"). Instead, they are store in struct zspage. Cc: Minchan Kim Cc: Sergey Senozhatsky Cc: Nitin

Re: [PATCH 00/10] fujitsu-laptop: renames and cleanups

2017-02-08 Thread Darren Hart
On Wed, Feb 08, 2017 at 05:24:53PM +0200, Andy Shevchenko wrote: > On Wed, Feb 8, 2017 at 3:46 PM, Michał Kępień wrote: ... > > Nice clean up! > So, I would apply 1-7, for the rest I need more time to review. As a point of policy for this tree. If the patches touch a file

[tip:WIP.sched/core 149/152] arch/mips/sgi-ip27/ip27-smp.c:165:47: error: implicit declaration of function 'cpu_to_node'

2017-02-08 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.sched/core head: 632d0b2849d96cee96b5b5f73cef1f5e4d99e455 commit: 2205323e0ca18c29cf2d8e5e237755b02ae696d5 [149/152] sched/headers: Remove the include from config: mips-ip27_defconfig (attached as .config) compiler:

Re: kmemleak splat on copy_process()

2017-02-08 Thread Luis R. Rodriguez
On Tue, Feb 07, 2017 at 09:03:43AM +0100, Michal Hocko wrote: > On Tue 07-02-17 02:37:02, Luis R. Rodriguez wrote: > > > From a quick check I do not see any leak there either. > > > > Then in that case what about: > > This just disables the kmemleak altogether which doesn't sound like a > good

[PATCH 1/7] staging: iio: isl29028: change mdelay() to msleep()

2017-02-08 Thread Brian Masney
This driver in some cases can busy wait for upwards of 100 ms. Since the kernel at this point is not running in atomic context, and is running in process context, we can safely use msleep() instead. This patch changes the two occurrences of mdelay() to msleep(). Signed-off-by: Brian Masney

[PATCH 4/7] staging: iio: isl29028: use the runtime power management for system sleep

2017-02-08 Thread Brian Masney
With the introduction of runtime power management in commit 2db5054ac28d ("staging: iio: isl29028: add runtime power management support"), the system could go to sleep and turn off the device without notifying the runtime power management code. This patch changes the system suspend and resume to

Re: [RFC][PATCH 00/21] tracing: Inter-event (e.g. latency) support

2017-02-08 Thread Steven Rostedt
On Wed, 08 Feb 2017 17:28:50 -0600 Tom Zanussi wrote: > On Wed, 2017-02-08 at 15:01 -0500, Steven Rostedt wrote: > > On Wed, 8 Feb 2017 11:24:56 -0600 > > Tom Zanussi wrote: > > > > > # echo 'wakeup_latency

Re: [PATCH] f2fs: introduce nid cache

2017-02-08 Thread Jaegeuk Kim
On 02/08, Chao Yu wrote: > On 2017/2/7 15:24, Chao Yu wrote: > > Hi Jaegeuk, > > > > Happy Chinese New Year! :) > > > > On 2017/1/24 12:35, Jaegeuk Kim wrote: > >> Hi Chao, > >> > >> On 01/22, Chao Yu wrote: > >>> In scenario of intensively node allocation, free nids will be ran out > >>> soon,

linux-next: manual merge of the input tree with the input-current tree

2017-02-08 Thread Stephen Rothwell
Hi Dmitry, Today's linux-next merge of the input tree got a conflict in: drivers/input/rmi4/Kconfig between commit: 413d37326700 ("Input: synaptics-rmi4 - select 'SERIO' when needed") from the input-current tree and commit: b29c139a15b6 ("Input: synaptics-rmi4 - use Kconfig "if" to

[PATCH 7/7] staging: iio: isl29028: move out of staging

2017-02-08 Thread Brian Masney
Move ISL29028 ALS / Proximity Sensor out of staging and into mainline. Signed-off-by: Brian Masney --- drivers/iio/light/Kconfig | 10 ++ drivers/iio/light/Makefile | 1 + drivers/{staging => }/iio/light/isl29028.c | 0

[PATCH 6/7] iio: Documentation: add ABI documentation for in_proximity_sampling_frequency_available

2017-02-08 Thread Brian Masney
Add entry for the in_proximity_sampling_frequency_available sysfs entry to the existing sampling_frequency_available ABI documentation. Signed-off-by: Brian Masney --- Documentation/ABI/testing/sysfs-bus-iio | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 1/2] Documentation: dt: dwc2: amend clocks property

2017-02-08 Thread Frank Wang
Move 'clocks' to optional properties since not every platform is going to need to specify it and add pmu/utmi/ulpi/utmifs optional clocks into 'clock-names' list. Signed-off-by: Frank Wang --- Documentation/devicetree/bindings/usb/dwc2.txt | 13 ++--- 1 file

[PATCH v2 2/2] usb: dwc2: add multiple clocks handling

2017-02-08 Thread Frank Wang
Since dwc2 may have one or more input clocks need to manage for some platform, so this adds change clk to clk's array of struct dwc2_hsotg to handle more clocks operation. Signed-off-by: Frank Wang --- drivers/usb/dwc2/core.h | 5 -

[PATCH v2 0/2] add multiple clock handling for dwc2 driver

2017-02-08 Thread Frank Wang
The Current default dwc2 just handle one clock named otg, however, it may have two or more clock need to manage for some new SoCs(such as RK3328), so this adds change clk to clk's array of dwc2_hsotg to handle more clocks operation. Changes in v2: - amend dwc2 clocks property in DT. - change

[PATCH 1/2 v3] cpufreq: qoriq: added arm64 socs support

2017-02-08 Thread yuantian.tang
From: Tang Yuantian Add arm64 config to Kconfig to enable cpu frequency feature on nxp arm64 socs. Signed-off-by: Tang Yuantian --- v3: no change v2: no change drivers/cpufreq/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 2/2 v3] cpufreq: qoriq: Don't look at clock implementation details

2017-02-08 Thread yuantian.tang
From: Tang Yuantian Get the CPU clock's potential parent clocks from the clock interface itself, rather than manually parsing the clocks property to find a phandle, looking at the clock-names property of that, and assuming that those are valid parent clocks for the cpu

[PATCH v4 1/3] clk: zte: add i2s clocks for zx296718

2017-02-08 Thread Baoyou Xie
The i2s related clock support is missing from the existing zx296718 clock driver. This patch adds it, so that the upstream ZX I2S driver can work out. Signed-off-by: Baoyou Xie --- drivers/clk/zte/clk-zx296718.c | 4 1 file changed, 4 insertions(+) diff --git

[lkp-robot] [x86/paravirt] b1e955caea: WARNING:at_kernel/locking/lockdep.c:#trace_hardirqs_off_caller

2017-02-08 Thread kernel test robot
FYI, we noticed the following commit: commit: b1e955caea7e3ae340ebd5392a7fe4478f64ce1d ("x86/paravirt: Avoid setting IF flag, if not necessary") url: https://github.com/0day-ci/linux/commits/Waiman-Long/x86-paravirt-Avoid-setting-IF-flag-if-not-necessary/20170207-051507 in testcase: trinity

irqchip/gic: avoid magic irq number

2017-02-08 Thread Mars Cheng
use defines instead of magic numbers Signed-off-by: Mars Cheng --- drivers/irqchip/irq-gic-v3-its.c |7 +++--- drivers/irqchip/irq-gic-v3.c | 41 +--- drivers/irqchip/irq-gic.c | 38

Re: [PATCH v4 1/3] clk: zte: add i2s clocks for zx296718

2017-02-08 Thread Shawn Guo
On Thu, Feb 09, 2017 at 11:12:56AM +0800, Baoyou Xie wrote: > The i2s related clock support is missing from the existing zx296718 > clock driver. This patch adds it, so that the upstream ZX I2S driver > can work out. > > Signed-off-by: Baoyou Xie Acked-by: Shawn Guo

Re: [PATCH v4 3/3] ASoC: zx-i2s: introduce pclk for zx2967 family

2017-02-08 Thread Shawn Guo
On Thu, Feb 09, 2017 at 11:12:58AM +0800, Baoyou Xie wrote: > The pclk is necessary for zx2967 I2S controller. the driver > currently doesn't handle it. This is something we need to fix. > > In turn, the driver supports zx296718's I2S controller. > > By the way, this patch also change the clock

Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon as possible

2017-02-08 Thread Al Viro
On Wed, Feb 08, 2017 at 01:48:04PM -0800, Andrew Morton wrote: > > This patch detects stale dentry in proc_sys_compare and pretends that > > it has matching name - revalidation will kill it and lookup restarts. > > As a result each stale dentry will be seen only once and will not > > contaminate

Re: [PATCH v12 6/9] usb: xhci: use bus->sysdev for DMA configuration

2017-02-08 Thread Peter Chen
On Wed, Feb 08, 2017 at 05:27:31PM +0530, Vivek Gautam wrote: > Hi, > > > On Mon, Feb 6, 2017 at 2:43 PM, Peter Chen wrote: > > From: Arnd Bergmann > > > > For xhci-hcd platform device, all the DMA parameters are not > > configured properly, notably dma ops

Re: [PATCH] mm/zsmalloc: fix comment in zsmalloc

2017-02-08 Thread Sergey Senozhatsky
On (02/09/17 11:23), Yisheng Xie wrote: > The class index and fullness group are not encoded in > (first)page->mapping any more, after commit 3783689a1aa8 ("zsmalloc: > introduce zspage structure"). Instead, they are store in struct zspage. > > Cc: Minchan Kim > Cc: Sergey

Re: [PATCH] mm: fix KPF_SWAPCACHE

2017-02-08 Thread Nicholas Piggin
On Tue, 7 Feb 2017 11:11:16 -0800 (PST) Hugh Dickins wrote: > 4.10-rc1 commit 6326fec1122c ("mm: Use owner_priv bit for PageSwapCache, > valid when PageSwapBacked") aliased PG_swapcache to PG_owner_priv_1: > so /proc/kpageflags' KPF_SWAPCACHE should now be synthesized, instead

Re: [GIT PULL] PCI fixes for v4.10

2017-02-08 Thread Lukas Wunner
On Wed, Feb 08, 2017 at 01:22:56PM -0600, Bjorn Helgaas wrote: > Bjorn Helgaas (1): > Revert "PCI: pciehp: Add runtime PM support for PCIe hotplug ports" What's the rationale for reverting this? You've received patches to fix the issue on both affected machines, so a revert seems

[PATCH v2 2/2] fork: make number of cached stacks (vmapped) configurable using Kbuild

2017-02-08 Thread Hoeun Ryu
Introducing NR_VMAP_STACK_CACHE, the number of cached stacks for virtually mapped kernel stack can be configurable using Kbuild system. default value is 2. Signed-off-by: Hoeun Ryu --- arch/Kconfig | 8 kernel/fork.c | 2 +- 2 files changed, 9 insertions(+), 1

Re: [PATCH v2] PCI: pciehp: Don't enable PME on runtime suspend

2017-02-08 Thread Lukas Wunner
On Wed, Feb 08, 2017 at 11:57:36AM -0600, Bjorn Helgaas wrote: > On Tue, Feb 07, 2017 at 07:21:01AM +0100, Lukas Wunner wrote: > > On Mon, Feb 06, 2017 at 04:15:02PM -0600, Bjorn Helgaas wrote: > > > On Mon, Feb 06, 2017 at 10:20:41PM +0100, Lukas Wunner wrote: > > > > On Mon, Feb 06, 2017 at

Re: [PATCH v2] drivers/mailbox: Add Aspeed mailbox driver

2017-02-08 Thread Joel Stanley
On Wed, Feb 8, 2017 at 10:06 AM, Cyril Bur wrote: > This provides access to the mbox registers on the ast2400 and ast2500 > SoCs. > > This driver allows arbitrary reads and writes to the 16 data registers as > the other end may have configured the mbox hardware to provide an >

[PATCH v2] drm/i915/debugfs: Add i915_hpd_storm_ctl

2017-02-08 Thread Lyude
This adds a file in i915's debugfs directory that allows userspace to manually control HPD storm detection. This is mainly for hotplugging tests, where we might want to test HPD storm functionality or disable storm detection to speed up hotplugging tests without breaking anything. Changes since

[PATCH V2 2/6] PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()

2017-02-08 Thread Viresh Kumar
In order to use the same set of routines to register notifiers for different request types, update the existing dev_pm_qos_{add|remove}_notifier() routines with an additional parameter: request-type. For now, it only supports resume-latency request type. Signed-off-by: Viresh Kumar

Re: [PATCH] drm/amdgpu: shut up #warning for compile testing

2017-02-08 Thread Alex Deucher
On Fri, Feb 3, 2017 at 5:15 AM, Michel Dänzer wrote: > On 02/02/17 06:36 PM, Christian König wrote: >> Am 02.02.2017 um 07:09 schrieb Michel Dänzer: >>> [SNIP] >>> OTOH the people running the kernel aren't always the same people >>> building it, so the downside is that this

[PATCH V2 6/6] PM / OPP: Add support to parse domain-performance-state

2017-02-08 Thread Viresh Kumar
PLEASE DO NOT APPLY THIS PATCH It is only sent for completeness. It uses DT bindings which aren't finalized yet. Some platforms have the capability to configure the performance state of their Power Domains. The performance levels are represented by positive integer values, a lower value

<    2   3   4   5   6   7   8   9   10   11   >