Re: [PATCH] i2c: mux: only print failure message on error

2017-05-14 Thread Peter Rosin
On 2017-05-15 06:53, Leon Romanovsky wrote: > On Sun, May 14, 2017 at 06:41:13PM +0200, Peter Rosin wrote: >> As is, a failure message is printed unconditionally, which is confusing. >> And noisy. >> >> Fixes: 8d4d159f25a7 ("i2c: mux: provide more info on failure in >> i2c_mux_add_adapter") >> Sig

[PATCH 0/2] dmaengine: mtk-hsdma: add support for Mediatek High-Speed DMA controller on MT7623 SoC

2017-05-14 Thread sean.wang
From: Sean Wang This patchset introduces support for Mediatek High-Speed DMA controller (MTK-HSDMA) Currently, the driver is already tested successfully with dmatest module on MT7623 SoC. MTK-HSDMA on MT7623 SoC has the single channel which is dedicated to memory-to-memory transfer through ring

[RFC] A question about sysctl

2017-05-14 Thread Yisheng Xie
hi all, When doing FUZZ test with strict writes enabled: - $ 80 00 > /proc/sys/kernel/hung_task_timeout_secs - $ cat /proc/sys/kernel/hung_task_timeout_secs - $ 80 I have a silly question about this: Should we return -EINVAL in this case both for strict writes enabled and disabled? Thanks

Re: [PATCH v2 7/8] drm: Use mode_valid() in atomic modeset

2017-05-14 Thread Daniel Vetter
On Fri, May 12, 2017 at 12:53:56PM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 10 May 2017 19:55:56 Daniel Vetter wrote: > > On Wed, May 10, 2017 at 09:38:00PM +0530, Archit Taneja wrote: > > > On 5/9/2017 10:30 PM, Jose Abreu wrote: > > > > This patches makes use of the new mode_

Re: [PATCH v2 6/8] drm: Introduce drm_bridge_mode_valid()

2017-05-14 Thread Daniel Vetter
On Fri, May 12, 2017 at 02:01:49PM +0300, Laurent Pinchart wrote: > Hi Archit, > > On Friday 12 May 2017 16:20:07 Archit Taneja wrote: > > On 05/12/2017 03:08 PM, Laurent Pinchart wrote: > > > On Wednesday 10 May 2017 17:14:33 Daniel Vetter wrote: > > >> On Wed, May 10, 2017 at 04:41:09PM +0300, V

Re: [PATCH v2 5/8] drm: Use new mode_valid() helpers in connector probe helper

2017-05-14 Thread Daniel Vetter
On Sun, May 14, 2017 at 02:04:24PM +0300, Laurent Pinchart wrote: > On Friday 12 May 2017 17:06:14 Jose Abreu wrote: > > On 12-05-2017 10:35, Laurent Pinchart wrote: > > > On Tuesday 09 May 2017 18:00:12 Jose Abreu wrote: > > >> +if (mode->status == MODE_OK) > > >> +

Re: [PATCH v2 1/8] drm: Add crtc/encoder/bridge->mode_valid() callbacks

2017-05-14 Thread Daniel Vetter
On Fri, May 12, 2017 at 11:24:12AM +0300, Laurent Pinchart wrote: > Hi Daniel, > > On Wednesday 10 May 2017 10:03:37 Daniel Vetter wrote: > > On Tue, May 09, 2017 at 06:00:08PM +0100, Jose Abreu wrote: > > > This adds a new callback to crtc, encoder and bridge helper functions > > > called mode_va

[PATCH] crash: Fix linux-next build warning

2017-05-14 Thread Xunlei Pang
linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/asm-generic/bug.h:15:0, from arch/arm/include/asm/bug.h:59, from include/linux/bug.h:4, from include/linux/elfcore.h:5, from include/li

Re: ipack: Improve a size determination in ipack_bus_register()

2017-05-14 Thread SF Markus Elfring
>> Greg, Would you mind picking this patch series through your char-misc tree? > > I'm sorry, but this person is in my blacklist Some developers know this communication setting in the meantime. > and I don't have any of their emails, so I don't have these patches anywhere. I find this kind of

[PATCH 3/3] defconfig: PCI: Enable Kirin PCIe defconfig

2017-05-14 Thread Song Xiaowei
Cc: Guodong Xu Signed-off-by: Song Xiaowei --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 7c48028ec64a..d56d8f1062ab 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfi

RE: [PATCH v4 2/4] ACPICA: Tables: Add mechanism to allow to balance late stage acpi_get_table() independently

2017-05-14 Thread Zheng, Lv
Hi, Rafael > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Subject: Re: [PATCH v4 2/4] ACPICA: Tables: Add mechanism to allow to balance > late stage > acpi_get_table() independently > > On Tuesday, May 09, 2017 01:57:41 PM Lv Zheng wrote: > > For all frequent late stage acpi_get_table()

Re: [PATCH] ligtnvm: if LUNs are already allocated fix return

2017-05-14 Thread Javier Gonzalez
> > On 13 May 2017, at 21.50, Rakesh Pandit wrote: > > While creating new device with NVM_DEV_CREATE if LUNs are already > allocated ioctl would return -ENOMEM which is wrong. This patch > propagates -EBUSY from nvm_reserve_luns which is correct response. > > Fixes: ade69e243 ("lightnvm: merge

[PATCH 2/3] PCI: dwc: kirin: add PCIe Driver for HiSilicon Kirin SoC

2017-05-14 Thread Song Xiaowei
Hisilicon PCIe Driver shares the common functions fo PCIe dw-host The poweron functions is developed on hi3660 SoC, while Others Functions are common for Kirin series SoCs. Lowpower(L1ss and SR), hotplug and MSI feature are not supported currently. Cc: Guodong Xu Signed-off-by: Song Xiaowei --

[PATCH 1/3] arm64: dts: hi3660: add pcie node

2017-05-14 Thread Song Xiaowei
Add PCIe node for hi3660, and add binding documentation. Cc: Guodong Xu Signed-off-by: Song Xiaowei --- .../devicetree/bindings/pci/hisilicon-pcie.txt | 52 ++ arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 31 + 2 files changed, 83 insertions(+) diff

[PATCH] mm/kasan: use kasan_zero_pud for p4d table

2017-05-14 Thread js1304
From: Joonsoo Kim There is missing optimization in zero_p4d_populate() that can save some memory when mapping zero shadow. Implement it like as others. Signed-off-by: Joonsoo Kim --- mm/kasan/kasan_init.c | 12 1 file changed, 12 insertions(+) diff --git a/mm/kasan/kasan_init.c b

Re: [patch 08/18] mm: Adjust system_state check

2017-05-14 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 08:27:24PM +0200, Thomas Gleixner wrote: > To enable smp_processor_id() and might_sleep() debug checks earlier, it's > required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. > > get_nid_for_pfn() checks for system_state == BOOTING to decide whether to > us

Re: [PATCH 3.18 00/39] 3.18.53-stable review

2017-05-14 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 04:38:09PM -0700, Guenter Roeck wrote: > On 05/14/2017 01:58 PM, Greg Kroah-Hartman wrote: > > On Sun, May 14, 2017 at 07:02:43AM -0700, Guenter Roeck wrote: > > > On 05/14/2017 03:56 AM, Greg Kroah-Hartman wrote: > > > > On Fri, May 12, 2017 at 12:47:38PM -0700, Guenter Roe

Re: [RFC/RFT PATCH 3/3] PCI/ACPI: Add ACPI pci_bus_find_numa_node() implementation

2017-05-14 Thread Zhou Wang
On 2017/4/26 18:06, Lorenzo Pieralisi wrote: > The introduction of pci_bus_find_numa_node(pci_bus) allows at PCI > host bridge registration to detect the NUMA node for a given > struct pci_bus.dev. Implement an ACPI method that, through > the struct pci_bus.bridge ACPI companion, retrieve and retur

Re: [PATCH] kmod: don't load module unless req process has CAP_SYS_MODULE

2017-05-14 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 08:57:34AM -0500, Eric W. Biederman wrote: > Greg Kroah-Hartman writes: > > > On Fri, May 12, 2017 at 04:22:59PM -0700, Mahesh Bandewar wrote: > >> From: Mahesh Bandewar > >> > >> A process inside random user-ns should not load a module, which is > >> currently possible.

Re: [PATCH] kmod: don't load module unless req process has CAP_SYS_MODULE

2017-05-14 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 07:42:08PM -0700, Mahesh Bandewar (महेश बंडेवार) wrote: > On Sun, May 14, 2017 at 3:45 AM, Greg Kroah-Hartman > wrote: > > On Fri, May 12, 2017 at 04:22:59PM -0700, Mahesh Bandewar wrote: > >> From: Mahesh Bandewar > >> > [...] > >> Now try to create a bridge inside this

[PATCH v3 0/2] XRA1403,gpio - add XRA1403 gpio expander driver

2017-05-14 Thread Nandor Han
The patchset will add a driver to support basic functionality for XRA1403 device. Features supported: - get/set GPIO direction (input, output) - get/set GPIO level (low, high) Documentation: A gpio-xra1403.txt file was added to document the DTS bindings related to driver.

[PATCH v3 2/2] Add XRA1403 support to MAINTAINERS file

2017-05-14 Thread Nandor Han
Add XRA1403 support to MAINTAINERS list. Signed-off-by: Nandor Han --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f9deb67..db86335 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -14078,6 +14078,14 @@ L: linux-kernel@vger.kernel.org

[PATCH v3 1/2] gpio - Add EXAR XRA1403 SPI GPIO expander driver

2017-05-14 Thread Nandor Han
This driver support basic XRA1403 functionalities: - set gpio direction - get gpio direction - set gpio high/low - get gpio status Signed-off-by: Nandor Han Signed-off-by: Semi Malinen --- drivers/gpio/Kconfig| 5 + drivers/gpio/Makefile | 1 + drivers/gpio/gpi

Re: [PATCH 2/2] ipack: Improve a size determination in ipack_bus_register()

2017-05-14 Thread Greg Kroah-Hartman
On Mon, May 15, 2017 at 06:52:47AM +0200, Samuel Iglesias Gonsálvez wrote: > Hello Markus, > > Thanks for the patches! > > Series is, > > Acked-by: Samuel Iglesias Gonsalvez > > Greg, Would you mind picking this patch series through your char-misc > tree? I'm sorry, but this person is in my b

[PATCH 3/3] clk: hi3660: Set PPLL2 to 2880M

2017-05-14 Thread Guodong Xu
From: Zhong Kaihua Set PPLL2 to 2880M. With this patch, we saw better compatibility on various 1080p HDMI monitors. Signed-off-by: Zhong Kaihua Signed-off-by: Zheng Shaobo --- drivers/clk/hisilicon/clk-hi3660.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cl

[PATCH 2/3] clk: hi3660: add clocks for video encoder and decoder

2017-05-14 Thread Guodong Xu
From: Chen Jun This patch adds clocks for video encoder and decoder. Signed-off-by: Chen Jun Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c | 23 +++ include/dt-bindings/clock/hi3660-clock.h | 10 ++ 2 files changed, 33 insertions(+) diff -

[PATCH 1/3] clk: hi3660: fix wrong parent name of clk_mux_sysbus

2017-05-14 Thread Guodong Xu
From: Chen Jun Parent name of clk_mux_sysbus is not correct. This patch fixes it. Signed-off-by: Chen Jun Signed-off-by: John Stultz Signed-off-by: Guodong Xu --- drivers/clk/hisilicon/clk-hi3660.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/hisilico

Re: [PATCH] net: fec: select queue depending on VLAN priority

2017-05-14 Thread Stefan Agner
On 2017-05-10 21:49, Andy Duan wrote: > From: Stefan Agner Sent: Thursday, May 11, 2017 12:08 PM >>To: Andy Duan >>Cc: David Miller ; and...@lunn.ch; >>feste...@gmail.com; net...@vger.kernel.org; linux- >>ker...@vger.kernel.org >>Subject: Re: [PATCH] net: fec: select queue depending on VLAN prior

[PATCH] drivers/staging/ccree: Removing trailing whitespaces

2017-05-14 Thread Pushkar Jambhlekar
Fixing 'checkpatch.pl' warnings: Trailing whitespaces Signed-off-by: Pushkar Jambhlekar --- drivers/staging/ccree/ssi_cipher.c | 110 ++--- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/drivers/staging/ccree/ssi_cipher.c b/drivers/staging/ccree/

Re: [patch 09/18] cpufreq/pasemi: Adjust system_state check

2017-05-14 Thread Viresh Kumar
On 14-05-17, 20:27, Thomas Gleixner wrote: > To enable smp_processor_id() and might_sleep() debug checks earlier, it's > required to add system states between SYSTEM_BOOTING and SYSTEM_RUNNING. > > Adjust the system_state check in pas_cpufreq_cpu_exit() to handle the extra > states. > > Signed-of

Re: [PATCH v5] iio: adc: Add support for TI ADC108S102 and ADC128S102

2017-05-14 Thread Jan Kiszka
On 2017-05-14 17:50, Jonathan Cameron wrote: > On 08/05/17 09:46, Jan Kiszka wrote: >> This is an upstream port of an IIO driver for the TI ADC108S102 and >> ADC128S102. The former can be found on the Intel Galileo Gen2 and the >> Siemens SIMATIC IOT2000. For those boards, ACPI-based enumeration is

Re: [PATCH 2/2] ipack: Improve a size determination in ipack_bus_register()

2017-05-14 Thread Samuel Iglesias Gonsálvez
Hello Markus, Thanks for the patches! Series is, Acked-by: Samuel Iglesias Gonsalvez Greg, Would you mind picking this patch series through your char-misc tree? Sam On Sat, 2017-05-13 at 10:56 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 13 May 2017 10:37:06 +0200 >

Re: nouveau "eDP-1: EDID is invalid" regression after 4.11 with HP ZBook 15 G3

2017-05-14 Thread Tommi Rantala
2017-05-15 3:03 GMT+03:00 Ben Skeggs : > On 05/15/2017 01:10 AM, Tommi Rantala wrote: >> >> Hi, > > Hey Tommi, > > Thanks for bisecting this. It's rather unexpected that you should be seeing > problems here, but, the commit makes sense for it at least. > > Are you able to get me new kernel logs of

Re: [PATCH 04/11] arm64: dts: Initial DTS files for Broadcom Stingray SOC

2017-05-14 Thread Anup Patel
On Tue, May 9, 2017 at 2:02 AM, Scott Branden wrote: > One update below needed dealing with memreserve > > > On 17-05-06 04:54 AM, Anup Patel wrote: >> >> The Broadcom Stingray SoC is a new member in Broadcom iProc >> SoC family. >> >> This patch adds initial DTS files for Broadcom Stingray SoC >>

Re: [PATCH 04/11] arm64: dts: Initial DTS files for Broadcom Stingray SOC

2017-05-14 Thread Anup Patel
On Mon, May 8, 2017 at 5:00 AM, Florian Fainelli wrote: > Le 05/06/17 à 04:54, Anup Patel a écrit : >> The Broadcom Stingray SoC is a new member in Broadcom iProc >> SoC family. >> >> This patch adds initial DTS files for Broadcom Stingray SoC >> and two of its reference boards (bcm958742k and bcm

Re: [PATCH 02/11] dt-bindings: clk: Extend binding doc for Stingray SOC

2017-05-14 Thread Anup Patel
On Fri, May 12, 2017 at 8:51 PM, Rob Herring wrote: > On Sat, May 06, 2017 at 05:24:37PM +0530, Anup Patel wrote: >> From: Sandeep Tripathy >> >> Update iproc clock dt-binding documentation with >> Stingray pll and clock details. >> >> Signed-off-by: Sandeep Tripathy >> Reviewed-by: Ray Jui >>

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

2017-05-14 Thread Stephen Rothwell
Hi Xunlei, On Mon, 15 May 2017 12:02:18 +0800 Xunlei Pang wrote: > > The following patch will fix it, do you want to me to send it out separately? > or help merge it into > fc7d2b44367f ("powerpc/fadump: use the correct VMCOREINFO_NOTE_SIZE for > phdr") directly? Andrew normally takes these as

Re: [linux-next, bisected, 1945bc45] build brakes for PowerPC BE configuration on LPAR

2017-05-14 Thread Michael Ellerman
On Thu, 2017-05-04 at 10:41:12 UTC, Nicholas Piggin wrote: > On Thu, 04 May 2017 14:54:19 +0530 > Abdul Haleem wrote: > > > Hi, > > > > linux-next build fails on BE config with next-20170424 onwards > > > > the patch https://lkml.org/lkml/2017/4/20/994 fixes a similar issue > > with kvm guest

Re: powerpc: fix distclean with Makefile.postlink

2017-05-14 Thread Michael Ellerman
On Mon, 2017-05-08 at 08:50:16 UTC, =?utf-8?q?Horia_Geant=C4=83?= wrote: > Makefile.postlink always includes include/config/auto.conf, however > this file is not present in a clean kernel tree, causing make to fail: > > arch/powerpc/Makefile.postlink:10: include/config/auto.conf: No such file or

[PATCH v8 2/4] async_tx: Fix DMA_PREP_FENCE usage in do_async_gen_syndrome()

2017-05-14 Thread Anup Patel
The DMA_PREP_FENCE is to be used when preparing Tx descriptor if output of Tx descriptor is to be used by next/dependent Tx descriptor. The DMA_PREP_FENSE will not be set correctly in do_async_gen_syndrome() when calling dma->device_prep_dma_pq() under following conditions: 1. ASYNC_TX_FENCE not s

[PATCH v8 4/4] dt-bindings: Add DT bindings document for Broadcom SBA RAID driver

2017-05-14 Thread Anup Patel
This patch adds the DT bindings document for newly added Broadcom SBA RAID driver. Acked-by: Rob Herring Reviewed-by: Ray Jui Reviewed-by: Scott Branden Signed-off-by: Anup Patel --- .../devicetree/bindings/dma/brcm,iproc-sba.txt | 29 ++ 1 file changed, 29 insertions(

[PATCH v8 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-05-14 Thread Anup Patel
The Broadcom stream buffer accelerator (SBA) provides offloading capabilities for RAID operations. This SBA offload engine is accessible via Broadcom SoC specific ring manager. This patch adds Broadcom SBA RAID driver which provides one DMA device with RAID capabilities using one or more Broadcom

[PATCH v8 0/4] Broadcom SBA RAID support

2017-05-14 Thread Anup Patel
The Broadcom SBA RAID is a stream-based device which provides RAID5/6 offload. It requires a SoC specific ring manager (such as Broadcom FlexRM ring manager) to provide ring-based programming interface. Due to this, the Broadcom SBA RAID driver (mailbox client) implements DMA device having one DMA

[PATCH v8 1/4] lib/raid6: Add log-of-2 table for RAID6 HW requiring disk position

2017-05-14 Thread Anup Patel
The raid6_gfexp table represents {2}^n values for 0 <= n < 256. The Linux async_tx framework pass values from raid6_gfexp as coefficients for each source to prep_dma_pq() callback of DMA channel with PQ capability. This creates problem for RAID6 offload engines (such as Broadcom SBA) which take dis

RE: [PATCH 1/2] Revert "ACPI / button: Remove lid_init_state=method mode"

2017-05-14 Thread Zheng, Lv
Hi, Benjamin Let's stop endless discussing and focus on our needs. I just copied my questions here. You can ask them directly. For the below inlined replies, I'll stop replying if they are based on dependent on our basic agreements. And I'll reply if something is really bad from my point of view

Re: [PATCH] i2c: mux: only print failure message on error

2017-05-14 Thread Leon Romanovsky
On Sun, May 14, 2017 at 06:41:13PM +0200, Peter Rosin wrote: > As is, a failure message is printed unconditionally, which is confusing. > And noisy. > > Fixes: 8d4d159f25a7 ("i2c: mux: provide more info on failure in > i2c_mux_add_adapter") > Signed-off-by: Peter Rosin > --- > drivers/i2c/i2c-mu

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know about correct iio git tree. I checked out 'togreg' branch, and noticed that latest ade7758_core.c still has checkpatch.pl warnings. Actually Quentin Swain fixed the similar warnings in the ade7854.c, and my patch is fix for similar warnings but it is for d

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know about correct iio git tree. I checked out 'togreg' branch, and noticed that latest ade7758_core.c still has checkpatch.pl warnings. Actually Quentin Swain fixed the similar warnings in the ade7854.c, and my patch is fix for similar warnings but it is for d

Re: [drm:qxl] BUG: sleeping function called from invalid context - qxl_bo_kmap_atomic_page()...splat

2017-05-14 Thread Gabriel Krisman Bertazi
Mike Galbraith writes: > On Tue, 2017-05-09 at 04:37 +0200, Mike Galbraith wrote: >> On Mon, 2017-05-08 at 16:48 -0300, Gabriel Krisman Bertazi wrote: >> >> > Thanks for reporting this. Can you confirm the following patch prevents >> > the issue? >> >> Nope, it still gripes. > > The reason for

Re: [PATCH v2 6/8] drm: Introduce drm_bridge_mode_valid()

2017-05-14 Thread Archit Taneja
On 05/12/2017 04:31 PM, Laurent Pinchart wrote: Hi Archit, On Friday 12 May 2017 16:20:07 Archit Taneja wrote: On 05/12/2017 03:08 PM, Laurent Pinchart wrote: On Wednesday 10 May 2017 17:14:33 Daniel Vetter wrote: On Wed, May 10, 2017 at 04:41:09PM +0300, Ville Syrjälä wrote: On Tue, May 0

[PATCH] net: x25: fix one potential use-after-free issue

2017-05-14 Thread linzhang
The function x25_init is not properly unregister related resources on error handler.It is will result in kernel oops if x25_init init failed, so add right unregister call on error handler. Signed-off-by: linzhang --- net/x25/af_x25.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) d

Re: [PATCH v2 1/3] sched/deadline: Zero out positive runtime after throttling constrained tasks

2017-05-14 Thread Xunlei Pang
On 05/12/2017 at 11:32 AM, Xunlei Pang wrote: > When a contrained task is throttled by dl_check_constrained_dl(), > it may carry the remaining positive runtime, as a result when > dl_task_timer() fires and calls replenish_dl_entity(), it will > not be replenished correctly due to the positive dl_se

Re: [PATCH] selftests/vm: Fix test for virtual address range mapping for arm64

2017-05-14 Thread Anshuman Khandual
On 05/10/2017 12:30 AM, Michal Suchanek wrote: > Arm64 has 256TB address space so fix the test to pass on Arm as well. > > Also remove unneeded numaif include. > > Signed-off-by: Michal Suchanek > --- > tools/testing/selftests/vm/virtual_address_range.c | 36 > -- > 1 file

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

2017-05-14 Thread Xunlei Pang
On 05/15/2017 at 09:56 AM, Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > In file included from include/asm-generic/bug.h:15:0, > from arch/arm/include/asm/bug.h:59, >

Re: [PATCH v7 0/7] Introduce ZONE_CMA

2017-05-14 Thread Joonsoo Kim
On Fri, May 12, 2017 at 08:38:15AM +0200, Michal Hocko wrote: > On Fri 12-05-17 11:00:48, Joonsoo Kim wrote: > > On Thu, May 11, 2017 at 11:13:04AM +0200, Michal Hocko wrote: > > > On Thu 11-05-17 11:12:43, Joonsoo Kim wrote: > > > > Sorry for the late response. I was on a vacation. > > > > > > >

Re: [PATCH v2 2/3] sched/deadline: Throttle the task when missing its deadline

2017-05-14 Thread Xunlei Pang
On 05/13/2017 at 04:58 AM, luca abeni wrote: > On Fri, 12 May 2017 15:19:55 +0800 > Xunlei Pang wrote: > [...] "As seen, enforcing that the total utilization is smaller than M does not guarantee that global EDF schedules the tasks without missing any deadline (in other words, globa

RE: [RFC PATCH 6/6] drm/i915/gvt: support QEMU getting the dmabuf

2017-05-14 Thread Chen, Xiaoguang
Hi Alex and Gerd, >-Original Message- >From: Alex Williamson [mailto:alex.william...@redhat.com] >Sent: Saturday, May 13, 2017 12:38 AM >To: Gerd Hoffmann >Cc: Chen, Xiaoguang ; Tian, Kevin >; intel-...@lists.freedesktop.org; linux- >ker...@vger.kernel.org; zhen...@linux.intel.com; Lv, Zh

Re: [PATCH 1/3] Fix ERROR: trailing statements should be on next line

2017-05-14 Thread Alex Williamson
On Mon, 15 May 2017 05:58:05 +0300 "Michael S. Tsirkin" wrote: > On Sun, May 14, 2017 at 07:51:28PM +0200, Maciek Fijalkowski wrote: > > From: Maciej Fijalkowski > > > > Signed-off-by: Maciej Fijalkowski > > I prefer the original form - ; isn't a full statement. > > > --- > > drivers/net/

[PATCH v4 2/2] dt-bindings: pcie: Add documentation for Mediatek PCIe

2017-05-14 Thread Ryder Lee
Add documentation for PCIe host driver available in MT7623 series SoCs. Signed-off-by: Ryder Lee Acked-by: Rob Herring --- .../bindings/pci/mediatek,mt7623-pcie.txt | 130 + 1 file changed, 130 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci

Re: [PATCH v2 3/3] staging: iio: meter: Replace symbolic permissions with octal permissions.

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know. In future I will work on 'togreg' branch of iio.git tree to send my patches. Thanks, Harinath On Sun, May 14, 2017 at 11:29 AM, Jonathan Cameron wrote: > On 10/05/17 00:41, Harinath Nampally wrote: >> >> This patch fixes below kind of warnings: >> WARNIN

[PATCH v4 0/2] Add PCIe host driver support for Mediatek SoCs

2017-05-14 Thread Ryder Lee
Hi, This patch series add Mediatek Gen2 PCIe host controller driver and dt-binding document. It can be found on MT7623 series SoCs. This driver was validated using Broadcom Tigon3 and Intel(R) 82575/82576 gigabit ethernet card. P.S. Hi Arnd, I still keep interrupt-map properties of the child

[PATCH v4 1/2] PCI: mediatek: Add Mediatek PCIe host controller support

2017-05-14 Thread Ryder Lee
Add support for the Mediatek PCIe Gen2 controller which can be found on MT7623 series SoCs. Signed-off-by: Ryder Lee --- drivers/pci/host/Kconfig | 11 + drivers/pci/host/Makefile| 1 + drivers/pci/host/pcie-mediatek.c | 559 +++ 3 files cha

Re: [PATCH 3/3] Fix ERROR: code indent should use tabs where possible

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:30PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski Acked-by: Michael S. Tsirkin But you really want to fix the subject. Make it less verbose drop upper case and add info about module. Something like: virtio_ne

linux-next: Tree for May 15

2017-05-14 Thread Stephen Rothwell
Hi all, Changes since 20170512: Non-merge commits (relative to Linus' tree): 508 569 files changed, 13787 insertions(+), 5574 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/k

Re: [PATCH 1/3] Fix ERROR: trailing statements should be on next line

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:28PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski I prefer the original form - ; isn't a full statement. > --- > drivers/net/virtio_net.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --gi

Re: [PATCH 2/3] Fix ERROR: Macros with complex values should be enclosed in parentheses

2017-05-14 Thread Michael S. Tsirkin
On Sun, May 14, 2017 at 07:51:29PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski > > Signed-off-by: Maciej Fijalkowski This is not a complex value. > --- > drivers/net/virtio_net.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/virtio_n

Re: [PATCH] kmod: don't load module unless req process has CAP_SYS_MODULE

2017-05-14 Thread महेश बंडेवार
On Sun, May 14, 2017 at 3:45 AM, Greg Kroah-Hartman wrote: > On Fri, May 12, 2017 at 04:22:59PM -0700, Mahesh Bandewar wrote: >> From: Mahesh Bandewar >> [...] >> Now try to create a bridge inside this newly created net-ns which would >> mean bridge module need to be loaded. >> # ip link ad

Re: [PATCH] ACPI / GED: use late init to allow other drivers init

2017-05-14 Thread Sinan Kaya
Hi Rafael, On 5/11/2017 10:52 AM, Rafael J. Wysocki wrote: >> OK. I'll reach out to Harb and let's see where the proposal goes. > It looks like this is about operation regions after all, however, so _DEP as > is > should be sufficient here. > > There is some limited _DEP support in the ACPI lay

Re: [PATCH v3 3/3] media: mtk-mdp: Fix mdp device tree

2017-05-14 Thread Minghsiu Tsai
On Fri, 2017-05-12 at 17:05 +0200, Matthias Brugger wrote: > > On 12/05/17 05:22, Minghsiu Tsai wrote: > > From: Daniel Kurtz > > > > If the mdp_* nodes are under an mdp sub-node, their corresponding > > platform device does not automatically get its iommu assigned properly. > > > > Fix this by

Re: [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog

2017-05-14 Thread Guenter Roeck
On 05/14/2017 07:00 PM, Shawn Guo wrote: On Sun, May 14, 2017 at 07:39:33AM -0700, Guenter Roeck wrote: On 05/11/2017 12:22 AM, Shawn Guo wrote: On Fri, May 05, 2017 at 03:32:59PM -0400, Sebastien Bourdelin wrote: This watchdog is instantiated in a FPGA and can only be access using a GPIOs bit

[PATCH] net: socket: mark socket protocol handler structs as const

2017-05-14 Thread linzhang
Signed-off-by: linzhang --- net/bluetooth/af_bluetooth.c | 2 +- net/caif/caif_socket.c | 2 +- net/kcm/kcmsock.c| 2 +- net/nfc/af_nfc.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.

Re: [PATCH 03/13] docs: update old references for DocBook from the documentation

2017-05-14 Thread SeongJae Park
On Sun, 14 May 2017, Mauro Carvalho Chehab wrote: DocBook is mentioned several times at the documentation. Update the obsolete references from it at the DocBook. Signed-off-by: Mauro Carvalho Chehab --- Documentation/PCI/MSI-HOWTO.txt| 2 +- Documentation/admin-guide/README.rst

Re: [PATCH v3 6/6] watchdog: ts4600: add driver for TS-4600 watchdog

2017-05-14 Thread Shawn Guo
On Sun, May 14, 2017 at 07:39:33AM -0700, Guenter Roeck wrote: > On 05/11/2017 12:22 AM, Shawn Guo wrote: > >On Fri, May 05, 2017 at 03:32:59PM -0400, Sebastien Bourdelin wrote: > >>This watchdog is instantiated in a FPGA and can only be access using a > >>GPIOs bit-banged bus, called the NBUS by T

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

2017-05-14 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: In file included from include/asm-generic/bug.h:15:0, from arch/arm/include/asm/bug.h:59, from include/linux/bug.h:4, from in

Re: [PATCH v2 2/2] ARM: dts: imx7: add USDHC NAND and IPG clock to SDHC instances

2017-05-14 Thread Shawn Guo
On Mon, Apr 10, 2017 at 02:00:15PM -0700, Stefan Agner wrote: > The USDHC instances need the USDHC NAND and IPG clock in order to > operate. Reference them properly by replacing the dummy clocks with > the actual clocks. > > Note that both clocks are currently implicitly enabled since they > are p

Re: [PATCH v2 8/8] drm: arc: Use crtc->mode_valid() callback

2017-05-14 Thread Jose Abreu
Hi Laurent, Sorry for the late reply. On 12-05-2017 10:57, Laurent Pinchart wrote: > Hi Jose, > > Thank you for the patch. > > On Tuesday 09 May 2017 18:00:15 Jose Abreu wrote: >> Now that we have a callback to check if crtc supports a given mode >> we can use it in arcpgu so that we restrict t

[PATCH v4 3/3] hwmon: (adt7475) add high frequency support

2017-05-14 Thread Chris Packham
Systems using 4-wire fans usually require high frequency (22.5kHz) output on the pwm. Add 22500 as a valid option in the pwmfreq_table. In high frequency mode the low-order bit are ignored so they can safely be set to 0. Signed-off-by: Chris Packham --- Changes in v3: - New Changes in v4: - Fix p

[PATCH v4 1/3] hwmon: (adt7475) fan stall prevention

2017-05-14 Thread Chris Packham
By default adt7475 will stop the fans (pwm duty cycle 0%) when the temperature drops past Tmin - hysteresis. Some systems want to keep the fans moving even when the temperature drops so add new sysfs attributes that configure the enhanced acoustics min 1-3 which allows the fans to run at the minimu

[PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-14 Thread Chris Packham
When enabled temperature smoothing allows ramping the fan speed over a configurable period of time instead of jumping to the new speed instantaneously. Signed-off-by: Chris Packham --- Changes in v2: - use a single tempN_smoothing attribute Changes in v3: - change enh_acou to enh_acoustics - simp

Re: [PATCH v2] perf report: distinguish between inliners in the same function

2017-05-14 Thread Namhyung Kim
Hi Milian, On Sun, May 14, 2017 at 08:10:50PM +0200, Milian Wolff wrote: > On Freitag, 12. Mai 2017 15:01:29 CEST Namhyung Kim wrote: > > On Fri, May 12, 2017 at 12:37:01PM +0200, Milian Wolff wrote: > > > On Mittwoch, 10. Mai 2017 07:53:52 CEST Namhyung Kim wrote: > > > > Hi, > > > > > > > On We

RE: [kbuild-all] Makefile:541: arch/avr32/Makefile: No such file or directory

2017-05-14 Thread Li, Philip
> Hi robby, > > Too much automation maybe?? > > See the commit message: > avr32: remove support for AVR32 > and then the error message... > Thanks for input, we had applied patch to remove arv testing, which will fully take effect this week, sorry for some noises. > > On 05/13/17 17:05,

[PATCH 0/2] arm64: meson-gxbb: NanoPi K2 enablement

2017-05-14 Thread Andreas Färber
Hello, This mini-series adds initial support for the Amlogic S905 based FriendlyARM NanoPi K2 SBC. Tested with mainline U-Boot. Regards, Andreas Cc: devicet...@vger.kernel.org Cc: techsupp...@friendlyarm.com Andreas Färber (2): dt-bindings: arm: amlogic: Add NanoPi K2 arm64: dts: amlogic:

[PATCH 2/2] arm64: dts: amlogic: Add NanoPi K2

2017-05-14 Thread Andreas Färber
The FriendlyARM NanoPi K2 is a single-board computer. Cc: techsupp...@friendlyarm.com Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/amlogic/Makefile | 1 + .../boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 152 + 2 files changed, 153 insertions(+)

[PATCH 1/2] dt-bindings: arm: amlogic: Add NanoPi K2

2017-05-14 Thread Andreas Färber
The FriendlyARM NanoPi K2 is a single-board computer. Cc: techsupp...@friendlyarm.com Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/arm/amlogic.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicet

Re: [PATCH] ASoC: hdmi-codec: fix spelling mistake: "deteced" -> "detected"

2017-05-14 Thread Kuninori Morimoto
Hi Colin Cc Mark > From: Colin Ian King > > Trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King > --- > sound/soc/codecs/hdmi-codec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/codecs/hdmi-codec.c b/sound/soc/codecs/hd

Re: [PATCH v2] perf report: distinguish between inliners in the same function

2017-05-14 Thread Namhyung Kim
Hi Andi, On Fri, May 12, 2017 at 07:55:13AM -0700, Andi Kleen wrote: > Milian Wolff writes: > > > > I think I'm missing something, but isn't this what this function provides? > > The > > function above is now being used by the match_chain_inliner function below. > > > > Ah, or do you mean for

Re: [PATCH 2/3] Fix ERROR: Macros with complex values should be enclosed in parentheses

2017-05-14 Thread Andrew Lunn
On Sun, May 14, 2017 at 07:51:29PM +0200, Maciek Fijalkowski wrote: > From: Maciej Fijalkowski Hi Maciek Please include some commit message, even if it is just the checkpatch error you are fixing. Please include the subsystem/driver you are patch in the subject line. Also, your subject of Fix E

Re: nouveau "eDP-1: EDID is invalid" regression after 4.11 with HP ZBook 15 G3

2017-05-14 Thread Ben Skeggs
On 05/15/2017 01:10 AM, Tommi Rantala wrote: Hi, Hey Tommi, Thanks for bisecting this. It's rather unexpected that you should be seeing problems here, but, the commit makes sense for it at least. Are you able to get me new kernel logs of both before and after this patch with "log_buf_len=8

Re: [PATCH 06/17] doc: security: minor cleanups to build kernel-doc

2017-05-14 Thread Casey Schaufler
On 5/13/2017 4:51 AM, Kees Cook wrote: > These fixes were needed to parse lsm_hooks.h kernel-doc. More work is > needed, but this is the first step. > > Cc: Casey Schaufler > Signed-off-by: Kees Cook Acked_by: Casey Schaufler Tell me more about the additional work that's needed. > --- > inc

Re: [PATCH trivial] security: Grammar s/allocates/allocated/

2017-05-14 Thread James Morris
On Tue, 2 May 2017, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next -- James Morris

Re: [PATCH v3] LSM: Enable multiple calls to security_add_hooks() for the same LSM

2017-05-14 Thread James Morris
On Wed, 10 May 2017, Mickaël Salaün wrote: > The commit d69dece5f5b6 ("LSM: Add /sys/kernel/security/lsm") extend > security_add_hooks() with a new parameter to register the LSM name, > which may be useful to make the list of currently loaded LSM available > to userspace. However, there is no clea

Re: [PATCH 3.18 00/39] 3.18.53-stable review

2017-05-14 Thread Guenter Roeck
On 05/14/2017 01:58 PM, Greg Kroah-Hartman wrote: On Sun, May 14, 2017 at 07:02:43AM -0700, Guenter Roeck wrote: On 05/14/2017 03:56 AM, Greg Kroah-Hartman wrote: On Fri, May 12, 2017 at 12:47:38PM -0700, Guenter Roeck wrote: On Thu, May 11, 2017 at 03:02:35PM +0200, Greg Kroah-Hartman wrote:

Re: [PATCH 06/17] doc: security: minor cleanups to build kernel-doc

2017-05-14 Thread James Morris
On Sat, 13 May 2017, Kees Cook wrote: > These fixes were needed to parse lsm_hooks.h kernel-doc. More work is > needed, but this is the first step. > > Cc: Casey Schaufler > Signed-off-by: Kees Cook Should these changes go in via the docs tree or mine? In any case: Acked-by: James Morris --

Re: [PATCH] X86: don't report PAT on CPUs that don't support it

2017-05-14 Thread Mikulas Patocka
On Tue, 18 Apr 2017, Mikulas Patocka wrote: > > > On Tue, 18 Apr 2017, H. Peter Anvin wrote: > > > On 04/18/17 12:07, Mikulas Patocka wrote: > > > In the file arch/x86/mm/pat.c, there's a variable __pat_enabled. The > > > variable is set to 1 by default and the function pat_init() sets > > >

Re: [PATCH v3 3/4] hwmon: (adt7475) temperature smoothing

2017-05-14 Thread Guenter Roeck
On 05/14/2017 02:23 PM, Chris Packham wrote: On 15/05/17 03:40, Guenter Roeck wrote: On 05/10/2017 08:45 PM, Chris Packham wrote: When enabled temperature smoothing allows ramping the fan speed over a configurable period of time instead of jumping to the new speed instantaneously. Signed-off-b

Re: [PATCHv2] Make initramfs honor CONFIG_DEVTMPFS_MOUNT

2017-05-14 Thread Rob Landley
Andrew asked for "a more complete changelog" and I've had a reply window open for _days_ trying to figure out what he wants. Maybe it's in the following somewhere... Otherwise the same v2 patch. From: Rob Landley Make initramfs honor CONFIG_DEVTMPFS_MOUNT (fixing commit 2b2af54a5bb6 which didn'

Re: [PATCH v3 3/4] hwmon: (adt7475) temperature smoothing

2017-05-14 Thread Chris Packham
On 15/05/17 03:40, Guenter Roeck wrote: > On 05/10/2017 08:45 PM, Chris Packham wrote: >> When enabled temperature smoothing allows ramping the fan speed over a >> configurable period of time instead of jumping to the new speed >> instantaneously. >> >> Signed-off-by: Chris Packham >> --- >> >> Ch

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-05-14 Thread Aleksey Makarov
On 05/12/2017 04:46 PM, Petr Mladek wrote: On Fri 2017-05-12 14:57:29, Petr Mladek wrote: On Thu 2017-05-11 17:41:58, Sergey Senozhatsky wrote: On (05/11/17 17:24), Sergey Senozhatsky wrote: On (05/09/17 10:29), Sabrina Dubroca wrote: [..] That's caused a change of behavior in my qemu setup

Re: [PATCH v3 2/4] hwmon: (adt7475) fan stall prevention

2017-05-14 Thread Chris Packham
On 15/05/17 02:54, Guenter Roeck wrote: > On 05/10/2017 08:45 PM, Chris Packham wrote: >> By default adt7475 will stop the fans (pwm duty cycle 0%) when the >> temperature drops past Tmin - hysteresis. Some systems want to keep the >> fans moving even when the temperature drops so add new sysfs att

Re: [PATCH 3.18 00/39] 3.18.53-stable review

2017-05-14 Thread Greg Kroah-Hartman
On Sun, May 14, 2017 at 07:02:43AM -0700, Guenter Roeck wrote: > On 05/14/2017 03:56 AM, Greg Kroah-Hartman wrote: > > On Fri, May 12, 2017 at 12:47:38PM -0700, Guenter Roeck wrote: > > > On Thu, May 11, 2017 at 03:02:35PM +0200, Greg Kroah-Hartman wrote: > > > > This is the start of the stable rev

  1   2   3   >