Re: [PATCH v2 1/3] dt: bindings: add documentation for zx2967 family thermal sensor

2017-01-11 Thread Shawn Guo
On Wed, Jan 11, 2017 at 06:14:09PM +0800, Baoyou Xie wrote: > This patch adds dt-binding documentation for zx2967 family thermal sensor. > > Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo Rob already gave his ACK on v1. Since v2 is just an improved version of v1 (without significant rewriti

[PATCH] f2fs: make discard command directly

2017-01-11 Thread Jaegeuk Kim
This can reduce the backporting efforts. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 30 +- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 0738f48293cc..ebfd5cd7619e 100644 --- a/fs/f2fs/segment.c +++

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-11 Thread Dave Hansen
On 01/11/2017 04:22 PM, Khalid Aziz wrote: ... > All of the tag coordination can happen in userspace. Once a process sets > a tag on a physical page mapped in its address space, another process > that has mapped the same physical page in its address space can only set > the tag to exact same value.

Re: [PATCH v4 1/2] arm64: dts: rockchip: add "rockchip, grf" property for RK3399 PMUCRU/CRU

2017-01-11 Thread Doug Anderson
Hi, On Tue, Jan 10, 2017 at 11:58 AM, Heiko Stübner wrote: > Hi Doug, > > Am Dienstag, 10. Januar 2017, 20:46:12 schrieb Heiko Stübner: >> Am Dienstag, 10. Januar 2017, 10:45:48 schrieb Doug Anderson: >> > Hi, >> > >> > On Mon, Jan 9, 2017 at 10:15 PM, Xing Zheng >> >> wrote: >> > > The structur

Re: [PATCH 1/2] capability: export has_capability

2017-01-11 Thread Jike Song
On 01/12/2017 02:47 AM, Alex Williamson wrote: > On Thu, 22 Dec 2016 00:10:15 +0800 > Jike Song wrote: > >> has_capability() is sometimes needed by modules to test capability >> for specified task other than current, so export it. >> >> Cc: Alex Williamson >> Cc: Kirti Wankhede >> Signed-off-by

Re: [PATCH v2 1/1] lib/vsnprintf: Add %par specifier for sake of consistency

2017-01-11 Thread Joe Perches
On Wed, 2017-01-11 at 15:57 -0800, Andrew Morton wrote: > On Wed, 11 Jan 2017 18:28:07 +0200 Andy Shevchenko > wrote: > > > While resource_size_t is repeating phys_addr_t, allocate %par specifier for > > that type for sake of consistency. > > > > I'm struggling to see the value in this. A mor

Re: [PATCH v2 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-01-11 Thread Shawn Guo
On Wed, Jan 11, 2017 at 06:14:11PM +0800, Baoyou Xie wrote: > This patch adds thermal driver for ZTE's zx2967 family. > > Signed-off-by: Baoyou Xie Looks fine to me, except a few minor comments below. > --- > drivers/thermal/Kconfig | 6 + > drivers/thermal/Makefile | 1 +

Re: [PATCH 1/4] PCI: exynos: replace to one register accessor from each accessors

2017-01-11 Thread Jaehoon Chung
Hi Bjorn, On 01/12/2017 03:50 AM, Bjorn Helgaas wrote: > Hi Jaehoon, > > On Mon, Dec 19, 2016 at 05:16:11PM +0900, Jaehoon Chung wrote: >> There is no reason to maintain *_blk/phy/elbi_* as register accessors. >> It can be replaced to one register accessor. >> >> Signed-off-by: Jaehoon Chung >>

mmotm 2017-01-11-17-14 uploaded

2017-01-11 Thread akpm
The mm-of-the-moment snapshot 2017-01-11-17-14 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [PATCH v5 2/9] mm/swap: Add cluster lock

2017-01-11 Thread Huang, Ying
Hi, Jonathan, Jonathan Corbet writes: > On Wed, 11 Jan 2017 15:00:29 -0800 > Andrew Morton wrote: > >> hm, bit_spin_lock() is a nasty thing. It is slow and it doesn't have >> all the lockdep support. >> >> Would the world end if we added a spinlock to swap_cluster_info? > > FWIW, I asked the

RE: [PATCH 1/3] ARM: at91: flush the L2 cache before entering cpu idle

2017-01-11 Thread Wenyou.Yang
> -Original Message- > From: Russell King - ARM Linux [mailto:li...@armlinux.org.uk] > Sent: 2017年1月11日 19:18 > To: Jean-Jacques Hiblot > Cc: Wenyou Yang - A41535 ; Alexandre Belloni > ; Mark Rutland ; > devicetree ; Nicolas Ferre > ; Linux Kernel Mailing List ker...@vger.kernel.org>; r

Re: [PATCH v4 1/2] arm64: dts: rockchip: add "rockchip, grf" property for RK3399 PMUCRU/CRU

2017-01-11 Thread Heiko Stuebner
Am Mittwoch, 11. Januar 2017, 16:50:10 CET schrieb Doug Anderson: > Hi, > > On Tue, Jan 10, 2017 at 11:58 AM, Heiko Stübner wrote: > > Hi Doug, > > > > Am Dienstag, 10. Januar 2017, 20:46:12 schrieb Heiko Stübner: > >> Am Dienstag, 10. Januar 2017, 10:45:48 schrieb Doug Anderson: > >> > Hi, > >>

Re: [PATCH] PCI: Enumerate switches below PCI-to-PCIe bridges

2017-01-11 Thread wangyijing
Reviewed-by: Yijing Wang 在 2017/1/11 23:44, Bjorn Helgaas 写道: > PCI: Enumerate switches below PCI-to-PCIe bridges > > A PCI-to-PCIe bridge (a "reverse bridge") has a PCI or PCI-X primary > interface and a PCI Express secondary interface. The PCIe interface is a > Downstream Port that originates

Re: [PATCH 56/62] watchdog: tangox_wdt: Convert to use device managed functions

2017-01-11 Thread Guenter Roeck
On 01/11/2017 04:12 PM, Andy Shevchenko wrote: On Wed, Jan 11, 2017 at 12:52 PM, Guenter Roeck wrote: On 01/11/2017 01:07 AM, Marc Gonzalez wrote: Not really. It would just make it more complicated to replace the call with devm_clk_prepare_enable(), should it ever find its way into the light of

[lkp-developer] [blk] ddb08a630e: BUG:sleeping_function_called_from_invalid_context_at_kernel/sched/completion.c

2017-01-11 Thread kernel test robot
FYI, we noticed the following commit: commit: ddb08a630e369fa2e327ece8e406bcdc3285b064 ("blk-mq-sched: fixes") https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git tmp-sched in testcase: boot on test machine: qemu-system-i386 -enable-kvm -cpu Haswell,+smep,+smap -m 360M caused

Re: [PATCH v4 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports

2017-01-11 Thread Lukas Wunner
On Wed, Jan 11, 2017 at 12:02:10PM +0200, Mika Westerberg wrote: > On Sun, Jan 08, 2017 at 09:41:45AM +0100, Lukas Wunner wrote: > > Hotplug ports generally block their parents from suspending to D3hot as > > otherwise their interrupts couldn't be delivered. > > > > An exception are Thunderbolt ho

Re: [PATCH v4 04/15] lockdep: Add a function building a chain between two classes

2017-01-11 Thread Byungchul Park
On Tue, Jan 10, 2017 at 10:00:38PM +0100, Peter Zijlstra wrote: > > +static inline int add_chain_cache_classes(unsigned int prev, > > + unsigned int next, > > + unsigned int irq_context, > > +

Re: [PATCH v5 2/9] mm/swap: Add cluster lock

2017-01-11 Thread Huang, Ying
Hi, Andrew, Andrew Morton writes: > On Wed, 11 Jan 2017 16:07:29 -0700 Jonathan Corbet wrote: > >> On Wed, 11 Jan 2017 15:00:29 -0800 >> Andrew Morton wrote: >> >> > hm, bit_spin_lock() is a nasty thing. It is slow and it doesn't have >> > all the lockdep support. >> > >> > Would the world

[PATCH v2 0/5] Reset Controller Nodes for TI Keystone platforms

2017-01-11 Thread Suman Anna
Hi Santosh, This is a slightly updated patch series for the reset controller nodes for TI Keystone2 SoCs. The only change is to rename the reset controller nodes from "psc-reset-controller" to just "reset-controller" following Rob Herring's comment on the Documentation update patch [1]. There are

[PATCH v2 2/5] ARM: dts: keystone: Add PSC node

2017-01-11 Thread Suman Anna
The Power Sleep Controller (PSC) module is responsible for the power and clock management for each of the peripherals present on the SoC. Represent this as a syscon node so that multiple users can leverage it for various functionalities. Signed-off-by: Suman Anna [a...@ti.com: add simple-mfd comp

[PATCH v2 1/5] ARM: Keystone: Enable ARCH_HAS_RESET_CONTROLLER

2017-01-11 Thread Suman Anna
The Keystone 2 family of SoCs will use various Reset Controller drivers for managing the resets of remote processor devices like DSPs on the SoC, so select the ARCH_HAS_RESET_CONTROLLER option by default to enable the Reset framework. Signed-off-by: Suman Anna Signed-off-by: Nishanth Menon --- v

[PATCH v2 4/5] ARM: dts: keystone-k2l: Add PSC reset controller node

2017-01-11 Thread Suman Anna
The Power Sleep Controller (PSC) module contains specific memory-mapped registers that can be used to perform reset management using specific bits for the DSPs available on the SoC. The PSC is defined using a syscon node, and the reset functionality is defined using a child syscon reset controller

[PATCH v2 3/5] ARM: dts: keystone-k2hk: Add PSC reset controller node

2017-01-11 Thread Suman Anna
The Power Sleep Controller (PSC) module contains specific memory-mapped registers that can be used to perform reset management using specific bits for the DSPs available on the SoC. The PSC is defined using a syscon node, and the reset functionality is defined using a child syscon reset controller

[PATCH v2 5/5] ARM: dts: keystone-k2e: Add PSC reset controller node

2017-01-11 Thread Suman Anna
The Power Sleep Controller (PSC) module contains specific memory-mapped registers that can be used to perform reset management using specific bits for the DSPs available on the SoC. The PSC is defined using a syscon node, and the reset functionality is defined using a child syscon reset controller

Re: [PATCH 2/2] gpio: davinci: Remove gpio2regs function to accommodate multi instances

2017-01-11 Thread Keerthy
On Wednesday 11 January 2017 09:23 PM, Linus Walleij wrote: On Wed, Jan 11, 2017 at 1:40 PM, Keerthy wrote: On Wednesday 11 January 2017 04:34 PM, Linus Walleij wrote: On Wed, Jan 4, 2017 at 9:26 AM, Keerthy wrote: gpio2regs is written making an assumption that driver supports only one in

Re: [PATCH 1/3] gpio: davinci: Remove unwanted blank line

2017-01-11 Thread Keerthy
On Wednesday 11 January 2017 11:07 PM, Grygorii Strashko wrote: On 01/10/2017 11:00 PM, Keerthy wrote: Remove redundant blank line. i think it's better to drop this patch ;) There were already too many things in the second patch so just did not want to add more lines of code change :-P.

Re: [PATCH v5 2/9] mm/swap: Add cluster lock

2017-01-11 Thread Andrew Morton
On Thu, 12 Jan 2017 09:47:51 +0800 "Huang\, Ying" wrote: > >> > 1MB swap space, so for 1TB swap space, the total size will be 80M > >> > compared with 8M of current implementation. > > > > Where did this 80 bytes come from? That swap_cluster_info is 12 bytes > > and could perhaps be squeezed int

Re: [PATCH 2/3] gpio: davinci: Redesign driver to accommodate ngpios in one gpio chip

2017-01-11 Thread Keerthy
On Wednesday 11 January 2017 11:23 PM, Grygorii Strashko wrote: On 01/10/2017 11:00 PM, Keerthy wrote: The Davinci GPIO driver is implemented to work with one monolithic Davinci GPIO platform device which may have up to Y(144) gpios. The Davinci GPIO driver instantiates number of GPIO chips

vger.kernel.org mail queue issue?

2017-01-11 Thread Florian Fainelli
Hi David, Linus, I am seeing emails being received right now from @vger.kernel.org that seem to be from this morning according to my mailer. Has anything changed on vger.kernel.org that could cause that? Other mailing-lists (e.g: infradead.org) seems to be fine. Here is an example that seems to b

Re: mmotm 2017-01-11-17-14 uploaded

2017-01-11 Thread Stephen Rothwell
Hi Andrew, On Wed, 11 Jan 2017 17:14:57 -0800 a...@linux-foundation.org wrote: > > The mm-of-the-moment snapshot 2017-01-11-17-14 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ Imported mostly fine ... > linux-next-git-rejects.patch That is not correct :-( I used (more or le

Re: [PATCH 0/4 v3] Fixes and workarounds for dwc2 on HiKey board (rebased to synopsys-usb/next)

2017-01-11 Thread John Youn
On 1/11/2017 4:22 PM, John Stultz wrote: > Just wanted to resend my patches for dwc2 controller on the > HiKey board for consideration for the 4.11 merge window. > > This patchset is the same as v2, only rebased against > John's synopsys-usb/next branch. > > This does still exclude my patchset[1]

Re: vger.kernel.org mail queue issue?

2017-01-11 Thread David Miller
From: Florian Fainelli Date: Wed, 11 Jan 2017 18:01:47 -0800 > I am seeing emails being received right now from @vger.kernel.org that > seem to be from this morning according to my mailer. Has anything > changed on vger.kernel.org that could cause that? Other mailing-lists > (e.g: infradead.org)

[PATCH V2 3/4] PCI: exynos: Use the bitops API to operate the bit shifting

2017-01-11 Thread Jaehoon Chung
Just use the bitops api to operate the bit. Signed-off-by: Jaehoon Chung Reviewed-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski --- Changelog on V2: - None drivers/pci/host/pci-exynos.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/pci

[PATCH V2 1/4] PCI: exynos: replace to one register accessor from each accessors

2017-01-11 Thread Jaehoon Chung
There is no reason to maintain *_blk/phy/elbi_* as register accessors. It can be replaced to one register accessor. Signed-off-by: Jaehoon Chung Reviewed-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski --- Changelog on V2; - Changes the all pointer names as "ep" instead of "exynos_pcie" driver

[PATCH V2 2/4] PCI: exynos: Remove the unnecessary variables

2017-01-11 Thread Jaehoon Chung
Remove the unnecessary variables(elbi/phy/block_base). It needs one resource structure for assigning each resource. So it replaces with one 'res' variable. Signed-off-by: Jaehoon Chung Reviewed-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski --- Changelog on V2: - None drivers/pci/host/pci-exy

[PATCH] spi: davinci: use dma_mapping_error()

2017-01-11 Thread Kevin Hilman
The correct error checking for dma_map_single() is to use dma_mapping_error(). Signed-off-by: Kevin Hilman --- Applies to v4.10-rc3 drivers/spi/spi-davinci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-davinci.c b/drivers/spi/spi-davinci.c index d36c1

[PATCH V2 4/4] PCI: exynos: remove the duplicated codes

2017-01-11 Thread Jaehoon Chung
Removed the duplicated codes. It can use the more simply than now. Signed-off-by: Jaehoon Chung Reviewed-by: Pankaj Dubey Acked-by: Krzysztof Kozlowski --- Changelog on V2: - None drivers/pci/host/pci-exynos.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff

[PATCH 2/2] drm/nouveau: Handle fbcon suspend/resume in seperate worker

2017-01-11 Thread Lyude
Resuming from RPM can happen while already holding dev->mode_config.mutex. This means we can't actually handle fbcon in any RPM resume workers, since restoring fbcon requires grabbing dev->mode_config.mutex again. So move the fbcon suspend/resume code into it's own worker, and rely on that instead

[PATCH v2 1/2] drm/nouveau: Don't enabling polling twice on runtime resume

2017-01-11 Thread Lyude
As it turns out, on cards that actually have CRTCs on them we're already calling drm_kms_helper_poll_enable(drm_dev) from nouveau_display_resume() before we call it in nouveau_pmops_runtime_resume(). This leads us to accidentally trying to enable polling twice, which results in a potential deadlock

RE: [PATCH] serial: fsl_lpuart: Remove the alias node dependence

2017-01-11 Thread Yao Yuan
On Wed, Jan 11, 2016 at 04:33:32PM +0800, Greg KH wrote: > On Wed, Dec 14, 2016 at 04:33:32PM +0800, Yuan Yao wrote: > > From: Yuan Yao > > > > Numbering the ttyLPn space should not depend on the generic name > > "serial". > > > > If don't add the alias node like:"serial0 = &lpuart0;", then lpuart

Re: [PATCH v2 0/5] Reset Controller Nodes for TI Keystone platforms

2017-01-11 Thread santosh.shilim...@oracle.com
On 1/11/17 5:48 PM, Suman Anna wrote: Hi Santosh, This is a slightly updated patch series for the reset controller nodes for TI Keystone2 SoCs. The only change is to rename the reset controller nodes from "psc-reset-controller" to just "reset-controller" following Rob Herring's comment on the Do

[PATCH] drivers: power: supply: Compress return logic into one line.

2017-01-11 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignments. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/power/supply/ab8500_btem

RE: [PATCH 01/18] Drivers: hv: vmbus: Move the definition of hv_x64_msr_hypercall_contents

2017-01-11 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Tuesday, January 10, 2017 9:27 AM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com; leann

[PATCH] drivers: power: supply: Compress return logic into one line.

2017-01-11 Thread Gustavo A. R. Silva
Simplify return logic to avoid unnecessary variable assignments. These issues were detected using Coccinelle and the following semantic patch: @@ local idexpression ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Gustavo A. R. Silva --- drivers/power/supply/pcf50633-ch

Re: [PATCH v5 2/9] mm/swap: Add cluster lock

2017-01-11 Thread Huang, Ying
Andrew Morton writes: > On Thu, 12 Jan 2017 09:47:51 +0800 "Huang\, Ying" > wrote: > >> >> > 1MB swap space, so for 1TB swap space, the total size will be 80M >> >> > compared with 8M of current implementation. >> > >> > Where did this 80 bytes come from? That swap_cluster_info is 12 bytes >>

Re: [PATCH v5 00/11] power: supply: bq27xxx: implement individual chip revision support

2017-01-11 Thread Sebastian Reichel
Hi, On Wed, Jan 11, 2017 at 12:44:37PM +1100, Chris Lapa wrote: > This patch series correctly renames the patch subject prefix to > 'power: supply: bq27xxx'. > > It also fixes up the deprecation of the BQ27500 and BQ27510 definitions. > > Otherwise the patch content is the same functionally as t

Re: [PATCH] block: loose check on sg gap

2017-01-11 Thread Ming Lei
On Wed, Jan 11, 2017 at 1:10 PM, Dexuan Cui wrote: >> From: Dexuan Cui >> Sent: Tuesday, December 20, 2016 11:41 >> To: 'Jens Axboe' ; Ming Lei >> Cc: Linux Kernel Mailing List ; linux-block >> ; Christoph Hellwig ; >> Vitaly Kuznetsov ; Keith Busch >> ; Hannes Reinecke ; Mike Christie >> ; Marti

Re: [PATCH] power: supply: axp20x_usb_power: fix warning on 64bit

2017-01-11 Thread Sebastian Reichel
Hi Michal, On Tue, Jan 10, 2017 at 06:48:12PM +0100, Michal Suchanek wrote: > Casting of_device_get_match_data return value to int causes warning on 64bit > architectures. > > ../drivers/power/supply/axp20x_usb_power.c: In function > 'axp20x_usb_power_probe': > ../drivers/power/supply/axp20x_usb_

Re: [PATCH] power: supply: axp20x_usb_power: fix 64-bit build warning

2017-01-11 Thread Sebastian Reichel
Hi Arnd, On Wed, Jan 11, 2017 at 03:51:55PM +0100, Arnd Bergmann wrote: > Casting a pointer to 'int' is not always valid: > > drivers/power/supply/axp20x_usb_power.c: In function 'axp20x_usb_power_probe': > drivers/power/supply/axp20x_usb_power.c:297:21: error: cast from pointer to > integer of

[PATCH v2] Documentation: dt: reset: Revise typos in TI syscon reset example

2017-01-11 Thread Suman Anna
Fix couple of typos in the example given in the TI syscon reset binding. The ti,reset-bits used for DSP0 are corrected to match the values that will be used in the actual DT node. Signed-off-by: Suman Anna --- v2: Address Rob Herring's comment to change the reset node name from "psc-reset" to

Re: [PATCH 1/4] mm, page_alloc: Split buffered_rmqueue

2017-01-11 Thread Hillf Danton
On Tuesday, January 10, 2017 12:35 AM Mel Gorman wrote: > > buffered_rmqueue removes a page from a given zone and uses the per-cpu > list for order-0. This is fine but a hypothetical caller that wanted > multiple order-0 pages has to disable/reenable interrupts multiple > times. This patch struct

Re: [PATCH 2/4] mm, page_alloc: Split alloc_pages_nodemask

2017-01-11 Thread Hillf Danton
On Tuesday, January 10, 2017 12:35 AM Mel Gorman wrote: > > alloc_pages_nodemask does a number of preperation steps that determine > what zones can be used for the allocation depending on a variety of > factors. This is fine but a hypothetical caller that wanted multiple > order-0 pages has to do

RE: [PATCH] block: loose check on sg gap

2017-01-11 Thread Dexuan Cui
> From: Ming Lei [mailto:ming@canonical.com] > Sent: Thursday, January 12, 2017 10:54 > To: Dexuan Cui > Cc: Jens Axboe ; Linux Kernel Mailing List ker...@vger.kernel.org>; linux-block ; > Christoph Hellwig ; Vitaly Kuznetsov > ; Keith Busch ; Hannes > Reinecke ; Mike Christie ; Martin K. > P

Re: [PATCH] Add +~800M crashkernel explaination

2017-01-11 Thread Xunlei Pang
On 01/12/2017 at 03:35 AM, Robert LeBlanc wrote: > On Wed, Dec 14, 2016 at 4:17 PM, Xunlei Pang wrote: >> As I replied in another post, if you really want to detail the behaviour, >> should mention >> "crashkernel=size[KMG][@offset[KMG]]" with @offset[KMG] specified >> explicitly, after >> all,

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-11 Thread Steve Longerbeam
Hi Tim, On 01/11/2017 03:14 PM, Tim Harvey wrote: Hi Steve, I took a stab at testing this today on a gw51xx which has an adv7180 hooked up as follows: - i2c3@0x20 - 8bit data bus from DAT12 to DAT19, HSYNC, VSYNC, PIXCLK on CSI0 pads (CSI0_IPU1) - PWRDWN# on MX6QDL_PAD_CSI0_DATA_EN__GPIO5_I

Re: lkp: make.cross: old aarch64-gcc has been removed

2017-01-11 Thread Fengguang Wu
Hi Masami, On Wed, Jan 11, 2017 at 07:08:40PM +0900, Masami Hiramatsu wrote: Ping? Oops, sorry for overlooking your previous email! BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that. So there are gcc 4.9, 5, 6 versions available for aarch64.

Re: lkp: make.cross: old aarch64-gcc has been removed

2017-01-11 Thread Fengguang Wu
BTW, I found that the old toolchain is archived in release.linaro.org. So I made a patch for that. Applied the patch, thank you! Regards, Fengguang

Re: [PATCH v1] scsi: ufs: fix arguments order some trace calls

2017-01-11 Thread Martin K. Petersen
> "Subhash" == Subhash Jadavani writes: Subhash> Colin Ian King reported that with Subhash> commit 7ff5ab473633 ("scsi: ufs: add tracing support") static Subhash> analysis is reporting that we may have swapped arguments on Subhash> calls to: [...] Applied to 4.11/scsi-queue. -- Martin K.

[PATCH 7/7] staging:wilc1000:wilc_sdio.c Deleted un-needed blank lines

2017-01-11 Thread Scott Matheina
Fixes checkpatch CHECK: Blank lines aren't necessary before a close brace '}' Please don't use multiple blank lines Signed-off-by: Scott Matheina --- drivers/staging/wilc1000/wilc_sdio.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging

[PATCH 2/7] staging:wilc1000:host_interface.c Added braces {} on else statemement

2017-01-11 Thread Scott Matheina
Fixes checkpatch warning: braces {} should be used on all arms of this statement Signed-off-by: Scott Matheina --- drivers/staging/wilc1000/host_interface.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000

[PATCH 4/7] staging:wilc1000:wilc_debugfs.c Aligns code to match open parenthesis

2017-01-11 Thread Scott Matheina
Fixes checkpatch CHECK: Alignment should match open parenthesis Signed-off-by: Scott Matheina --- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index 0

[PATCH 5/7] staging:wilc1000:wilc_debugfs.c Removes multiple blank lines

2017-01-11 Thread Scott Matheina
Fixes checkpatch CHECK: Please don't use multiple blank lines Signed-off-by: Scott Matheina --- drivers/staging/wilc1000/wilc_debugfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index 52aac75..7d32de9 1

[PATCH 6/7] staging:wilc1000:wilc_sdio.c Aligns code match open parenthesis

2017-01-11 Thread Scott Matheina
Fixes checkpatch CHECK: Alignment should match open parenthesis Signed-off-by: Scott Matheina --- drivers/staging/wilc1000/wilc_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index 3ad7cec..e

[PATCH 1/7] staging:wlan-ng:cfg80211.c Aligned code with open parenthesis

2017-01-11 Thread Scott Matheina
Fixed Alignment should match open parenthesis checkpatch CHECK. Signed-off-by: Scott Matheina --- drivers/staging/wlan-ng/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/cfg80211.c b/drivers/staging/wlan-ng/cfg80211.c index aa0e5a3..1

[PATCH 3/7] staging:wilc1000:linux_wlan.c Align code to match open parenthesis

2017-01-11 Thread Scott Matheina
Fixes checkpatch CHECK: Alignment should match open parenthesis Signed-off-by: Scott Matheina --- drivers/staging/wilc1000/linux_wlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 185fcd1

[PATCH net-next v2 08/10] net: dsa: Add support for platform data

2017-01-11 Thread Florian Fainelli
Allow drivers to use the new DSA API with platform data. Most of the code in net/dsa/dsa2.c does not rely so much on device_nodes and can get the same information from platform_data instead. We purposely do not support distributed configurations with platform data, so drivers should be providing a

[PATCH net-next v2 00/10] net: dsa: Support for pdata in dsa2

2017-01-11 Thread Florian Fainelli
Hi all, This is not exactly new, and was sent before, although back then, I did not have an user of the pre-declared MDIO board information, but now we do. Note that I have additional changes queued up to have b53 register platform data for MIPS bcm47xx and bcm63xx. Yes I know that we should have

[PATCH net-next v2 06/10] net: dsa: Migrate to device_find_class()

2017-01-11 Thread Florian Fainelli
Now that the base device driver code provides an identical implementation of dev_find_class() utilize device_find_class() instead of our own version of it. Signed-off-by: Florian Fainelli --- net/dsa/dsa.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git

[PATCH net-next v2 09/10] net: phy: Allow pre-declaration of MDIO devices

2017-01-11 Thread Florian Fainelli
Allow board support code to collect pre-declarations for MDIO devices by registering them with mdiobus_register_board_info(). SPI and I2C buses have a similar feature, we were missing this for MDIO devices, but this is particularly useful for e.g: MDIO-connected switches which need to provide their

[PATCH net-next v2 10/10] ARM: orion: Register DSA switch as a MDIO device

2017-01-11 Thread Florian Fainelli
Utilize the ability to pass board specific MDIO bus information towards a particular MDIO device thus allowing us to provide the per-port switch layout to the Marvell 88E6XXX switch driver. Since we would end-up with conflicting registration paths, do not register the "dsa" platform device anymore

[PATCH net-next v2 07/10] net: Relocate dev_to_net_device() into core

2017-01-11 Thread Florian Fainelli
dev_to_net_device() is moved from net/dsa/dsa.c to net/core/dev.c since it going to be used by net/dsa/dsa2.c and the namespace of the function justifies making it available to other users potentially. Signed-off-by: Florian Fainelli --- include/linux/netdevice.h | 2 ++ net/core/dev.c

[PATCH net-next v2 02/10] net: dsa: Make most functions take a dsa_port argument

2017-01-11 Thread Florian Fainelli
In preparation for allowing platform data, and therefore no valid device_node pointer, make most DSA functions takes a pointer to a dsa_port structure whenever possible. While at it, introduce a dsa_port_is_valid() helper function which checks whether port->dn is NULL or not at the moment. Signed-

[PATCH net-next v2 05/10] drivers: base: Add device_find_class()

2017-01-11 Thread Florian Fainelli
Add a helper function to lookup a device reference given a class name. This is a preliminary patch to remove adhoc code from net/dsa/dsa.c and make it more generic. Signed-off-by: Florian Fainelli --- drivers/base/core.c| 19 +++ include/linux/device.h | 1 + 2 files changed

[PATCH net-next v2 04/10] net: dsa: Move ports assignment closer to error checking

2017-01-11 Thread Florian Fainelli
Move the assignment of ports in _dsa_register_switch() closer to where it is checked, no functional change. Re-order declarations to be preserve the inverted christmas tree style. Signed-off-by: Florian Fainelli --- net/dsa/dsa2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[PATCH net-next v2 03/10] net: dsa: Suffix function manipulating device_node with _dn

2017-01-11 Thread Florian Fainelli
Make it clear that these functions take a device_node structure pointer Signed-off-by: Florian Fainelli --- net/dsa/dsa2.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/net/dsa/dsa2.c b/net/dsa/dsa2.c index 6e3675220fef..04ab62251fe3 100644 --- a/net/dsa/ds

[PATCH net-next v2 01/10] net: dsa: Pass device pointer to dsa_register_switch

2017-01-11 Thread Florian Fainelli
In preparation for allowing dsa_register_switch() to be supplied with device/platform data, pass down a struct device pointer instead of a struct device_node. Signed-off-by: Florian Fainelli --- drivers/net/dsa/b53/b53_common.c | 2 +- drivers/net/dsa/mv88e6xxx/chip.c | 11 ++- drivers/

Re: [PATCH 3/4] dt-bindings: power/supply: Update TPS65217 properties

2017-01-11 Thread Sebastian Reichel
Hi Milo, On Fri, Dec 09, 2016 at 03:28:32PM +0900, Milo Kim wrote: > Add interrupt specifiers for USB and AC charger input. Interrupt numbers > are from the datasheet. > Fix wrong property for compatible string. > > Signed-off-by: Milo Kim > --- > .../devicetree/bindings/power/supply/tps65217_c

linux-next: build failure after merge of the akpm-current tree

2017-01-11 Thread Stephen Rothwell
Hi Andrew, After merging the akpm tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from fs/ocfs2/file.c:49:0: fs/ocfs2/file.c: In function 'ocfs2_permission': fs/ocfs2/dlmglue.h:189:29: error: inlining failed in call to always_inline 'ocfs2_is_locked_by_me

linux-next: Tree for Jan 12

2017-01-11 Thread Stephen Rothwell
Hi all, Changes since 20170111: New tree: aspeed The akpm-current tree gained a build failure for which I applied a patch. Non-merge commits (relative to Linus' tree): 2953 3790 files changed, 114528 insertions(+), 64138 dele

Re: [PATCH] lpfc: avoid double free of resource identifiers

2017-01-11 Thread Martin K. Petersen
> "Johannes" == Johannes Thumshirn writes: Johannes> Set variables initialized in Johannes> lpfc_sli4_alloc_resource_identifiers() to NULL if an error Johannes> occurred. Otherwise, lpfc_sli4_driver_resource_unset() Johannes> attempts to free the memory again. Applied to 4.10/scsi-fixes. --

RE: [PATCH v8 00/18] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2017-01-11 Thread Bharat Bhushan
> -Original Message- > From: Eric Auger [mailto:eric.au...@redhat.com] > Sent: Wednesday, January 11, 2017 3:12 PM > To: eric.au...@redhat.com; eric.auger@gmail.com; > christoffer.d...@linaro.org; marc.zyng...@arm.com; > robin.mur...@arm.com; alex.william...@redhat.com; > will.dea...@

Re: [PATCH 0/5 v3] adv7511 EDID probing improvements

2017-01-11 Thread Archit Taneja
On 01/12/2017 05:36 AM, John Stultz wrote: On Wed, Jan 11, 2017 at 12:48 AM, Archit Taneja wrote: Hi, On 01/04/2017 01:11 AM, John Stultz wrote: Hope everyone had a good newyears! Wanted to re-send out v3 of this patch set improving the EDID probing on the adv7511 used on HiKey, for consi

Re: ANNOUNCE: mdadm 4.0 - A tool for managing md Soft RAID under Linux

2017-01-11 Thread Guoqing Jiang
On 01/12/2017 12:59 AM, Jes Sorensen wrote: On 01/11/17 11:52, Shaohua Li wrote: On Tue, Jan 10, 2017 at 11:49:04AM -0600, Bruce Dubbs wrote: Jes Sorensen wrote: I am pleased to announce the availability of mdadm version 4.0 It is available at the usual places: http://www.kernel.o

[patch] mm, memcg: do not retry precharge charges

2017-01-11 Thread David Rientjes
When memory.move_charge_at_immigrate is enabled and precharges are depleted during move, mem_cgroup_move_charge_pte_range() will attempt to increase the size of the precharge. This livelocks if reclaim fails and if an oom killed process attached to the destination memcg is trying to exit, which re

Re: net/atm: warning in alloc_tx/__might_sleep

2017-01-11 Thread Cong Wang
On Wed, Jan 11, 2017 at 11:46 AM, Michal Hocko wrote: > On Wed 11-01-17 20:45:25, Michal Hocko wrote: >> On Wed 11-01-17 09:37:06, Chas Williams wrote: >> > On Mon, 2017-01-09 at 18:20 +0100, Andrey Konovalov wrote: >> > > Hi! >> > > >> > > I've got the following error report while running the syz

Re: [greybus-dev] [PATCH v3] staging: greybus: checkpatch: Change parameter type unsigned to unsigned int

2017-01-11 Thread Viresh Kumar
On 11-01-17, 16:00, Roman Sommer wrote: > Note that this patch does not fix all checkpatch warnings for the > affected files. > > Signed-off-by: Christian Bewermeyer > Signed-off-by: Roman Sommer > > --- > drivers/staging/greybus/gpio.c | 24 > drivers/staging/grey

Re: [PATCH v5] arm64: dts: mt8173: add mmsel clocks for 4K support

2017-01-11 Thread Daniel Kurtz
Hi Matthias, (Trying again to send plain text email)... On Thu, Aug 4, 2016 at 10:57 AM, Bibby Hsieh wrote: > To support HDMI 4K resolution, mmsys need clcok > mm_sel to be 400MHz. > > The board .dts file should override the clock rate > property with the higher VENCPLL frequency the board > sup

[PATCH RESEND] Staging: greybus: style fix, permissions as octal

2017-01-11 Thread Derek Robson
Changed permissions to be in octal style. Found by checkpatch. Signed-off-by: Derek Robson --- drivers/staging/greybus/camera.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/greybus/camera.c b/drivers/staging/greybus/camera.c index 0ee291ca2c72..a

Re: linux-next: build failure after merge of the akpm-current tree

2017-01-11 Thread Eric Ren
Hi Stephen, Thanks for your report and the fix for it. The 0-day project has reported several days ago, but this patch set is still in discussion, so I am waiting for more days to see if other developers have any other questions. I am confused that how to deal with your patch if I need to w

Re: + mm-vmscan-add-mm_vmscan_inactive_list_is_low-tracepoint.patch added to -mm tree

2017-01-11 Thread Minchan Kim
Hello, On Wed, Jan 11, 2017 at 04:52:39PM +0100, Michal Hocko wrote: > On Wed 11-01-17 08:52:50, Minchan Kim wrote: > [...] > > > @@ -2055,8 +2055,8 @@ static bool inactive_list_is_low(struct > > > if (!file && !total_swap_pages) > > > return false; > > > > > > - inactive = lruvec_lr

Re: [PATCH v2 0/3] PCI: designware/dra7xx: misc fixes and cleanups

2017-01-11 Thread Kishon Vijay Abraham I
Hi Bjorn, On Thursday 12 January 2017 02:51 AM, Bjorn Helgaas wrote: > On Fri, Dec 30, 2016 at 03:26:11PM +0530, Kishon Vijay Abraham I wrote: >> This series contains >> *) a patch to cleanup dra7xx probe >> *) a patch to force DRA7xx controller to work in GEN1 mode >> *) a

RE: [lkp-developer] [ACPICA] 174cc7187e: kmsg.ACPI_Error:Mutex[ACPI_MTX_Tables]already_acquired_by_this_thread[#](#/utmutex-#)

2017-01-11 Thread Zheng, Lv
Hi, Xiaolong I noticed the tested version in your the test dmesg: Linux version 4.9.0-rc5 While the commit bisected should be in v4.10-rc1. Does that mean your test tree doesn't contain some basic lock fixes? Thanks and best regards Lv > From: lkp-developer-requ...@eclists.intel.com > [mailto:l

[PATCH] [PATCH]thermal/intel_powerclamp:fix sched_setscheduler fail

2017-01-11 Thread xinwu . liu
From: "Liu, Xinwu" The schedule policy of thread "kidle_inject" is SCHED_NORMAL: [ 772.796284] intel_powerclamp: Start idle injection to reduce power [ 772.825757] [ cut here ] [ 772.825877] WARNING: CPU: 0 PID: 2140 at ../../../../../../kernel/glv/kernel/sched/idle.c:

Re: Enabling peer to peer device transactions for PCIe devices

2017-01-11 Thread Stephen Bates
On Fri, January 6, 2017 4:10 pm, Logan Gunthorpe wrote: > > > On 06/01/17 11:26 AM, Jason Gunthorpe wrote: > > >> Make a generic API for all of this and you'd have my vote.. >> >> >> IMHO, you must support basic pinning semantics - that is necessary to >> support generic short lived DMA (eg filesys

[GIT PULL] xfs: updates for 4.10-rc4

2017-01-11 Thread Darrick J. Wong
Hi Linus, As promised last week, here's some stability fixes from Christoph and Jan Kara. I think they fall within the guidelines for non-merge window patches. Could you please pull the changes? --Darrick The following changes since commit a121103c922847ba5010819a3f250f1f7fc84ab8: Linux 4.1

[GIT PULL] xfs: updates for 4.10-rc4

2017-01-11 Thread Darrick J. Wong
[Resend from the correct email account... sorry for the noise] Hi Linus, As promised last week, here's some stability fixes from Christoph and Jan Kara. I think they fall within the guidelines for non-merge window patches. Could you please pull the changes? --Darrick The following changes sin

Re: [PATCH v3 04/10] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-01-11 Thread Anurup M
On Tuesday 10 January 2017 11:25 PM, Mark Rutland wrote: On Mon, Jan 02, 2017 at 01:49:37AM -0500, Anurup M wrote: +The Hisilicon SoC HiP05/06/07 chips consist of various independent system +device PMU's such as L3 cache(L3C) and Miscellaneous Nodes(MN). +These PMU devices are independent and

Re: [PATCH 2/2] arm64: avoid increasing DMA masks above what hardware supports

2017-01-11 Thread Nikita Yushchenko
>> @@ -959,6 +990,15 @@ void arch_setup_dma_ops(struct device *dev, u64 >> dma_base, u64 size, >> if (!dev->archdata.dma_ops) >> dev->archdata.dma_ops = &swiotlb_dma_ops; >> >> + /* >> +* Whatever the parent bus can set. A device must not set >> +* a

Re: [PATCH 1/2] dma-mapping: let arch know origin of dma range passed to arch_setup_dma_ops()

2017-01-11 Thread Nikita Yushchenko
>> diff --git a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c >> b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c >> index 5ac373c..480b644 100644 >> --- a/drivers/staging/fsl-mc/bus/fsl-mc-bus.c >> +++ b/drivers/staging/fsl-mc/bus/fsl-mc-bus.c >> @@ -540,7 +540,7 @@ int fsl_mc_device_add(struct dprc_obj_desc

Re: [lkp-developer] [ACPICA] 174cc7187e: kmsg.ACPI_Error:Mutex[ACPI_MTX_Tables]already_acquired_by_this_thread[#](#/utmutex-#)

2017-01-11 Thread Ye Xiaolong
Hi, Lv On 01/12, Zheng, Lv wrote: >Hi, Xiaolong > >I noticed the tested version in your the test dmesg: Linux version 4.9.0-rc5 >While the commit bisected should be in v4.10-rc1. >Does that mean your test tree doesn't contain some basic lock fixes? The reported kernel version is Linux version 4.9

<    4   5   6   7   8   9   10   >