Re: [PATCH] staging: greybus: es2.c: fix some coding style issues

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 12:04:59PM +0100, Gioh Kim wrote: > Fix two coding style issues: > 1. line over 80 characters > 2. Octal permissions are preffered than symbolic ones I just said not to do this, why resend it? Also, you forgot to include the correct people and mailing list on the patch, pl

RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Salil Mehta
> -Original Message- > From: Lino Sanfilippo [mailto:linosanfili...@gmx.de] > Sent: Thursday, February 09, 2017 10:25 AM > To: Salil Mehta > Cc: da...@davemloft.net; Salil Mehta; Zhuangyuzeng (Yisen); > mehta.salil@gmail.com; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; Linu

Re: [PATCH] staging: fbtft: fix some coding style issues

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 12:04:01PM +0100, Gioh Kim wrote: > There are many coding style issues. > I fixed only obvious issues. > Fixied issues: > - Use 4 digit octal (0777) not decimal permissions > - line over 80 characters > - Avoid unnecessary line continuations Again, only do one thing per pat

Re: [PATCH] netlink: move nla_put_{u8,u16,u32} out of line

2017-02-09 Thread Dmitry Vyukov
On Wed, Feb 8, 2017 at 10:18 PM, Arnd Bergmann wrote: > When CONFIG_KASAN is enabled, the "--param asan-stack=1" causes rather large > stack frames in some functions. This goes unnoticed normally because > CONFIG_FRAME_WARN is disabled with CONFIG_KASAN by default as of commit > 3f181b4d8652 ("lib

Re: [PATCH] arm64: use is_vmalloc_addr

2017-02-09 Thread Miles Chen
e system] > > url: > https://github.com/0day-ci/linux/commits/Miles-Chen/arm64-use-is_vmalloc_addr/20170209-103100 > base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git > for-next/core > config: arm64-defconfig (attached as .config) > compiler: aarch

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

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 06:30:02PM +0800, Ganesh Mahendran wrote: > Hi, Greg: > > 2017-02-09 18:17 GMT+08:00 Greg KH : > > On Thu, Feb 09, 2017 at 05:54:03PM +0800, Ganesh Mahendran wrote: > >> A gentle ping. > > > > I don't see a patch here that can be accepted, what are you asking for > > a resp

Re: [PATCH] staging: comedi: Fix incorrect type assignment

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 01:53:56AM +0530, Karthik Nayak wrote: > This patch fixes the following sparse error: > drivers/staging/comedi/drivers//ni_pcimio.c:1229:32: warning: incorrect type > in assignment (different base types) > drivers/staging/comedi/drivers//ni_pcimio.c:1229:32:expected res

Linux 4.9.9

2017-02-09 Thread Greg KH
I'm announcing the release of the 4.9.9 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.9.9

2017-02-09 Thread Greg KH
diff --git a/Makefile b/Makefile index 1130803ab93c..c0c41c9fac0c 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 8 +SUBLEVEL = 9 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm64/crypto/aes-modes.S b/arch/arm64/crypto/aes-modes.S index c

Re: [PATCH 3/3] m68k: Add some spaces for better code readability in sys_cacheflush()

2017-02-09 Thread Geert Uytterhoeven
Hi Markus, On Wed, Jan 18, 2017 at 5:50 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 18 Jan 2017 17:34:29 +0100 > > * Use space characters at some source code places according to > the Linux coding style convention. > > * Adjust indentation a bit. > > Signed-off-by: Markus

Re: [PATCH v3 1/2] staging: omap4iss: fix multiline comment style

2017-02-09 Thread Greg KH
On Tue, Feb 07, 2017 at 05:40:57PM +0200, Avraham Shukron wrote: > Signed-off-by: Avraham Shukron > --- > drivers/staging/media/omap4iss/iss_video.c | 38 > -- > 1 file changed, 25 insertions(+), 13 deletions(-) Again, I don't take patches with no changelog text :(

Re: [PATCH 1/3] m68k: Return directly after a failed capable() in sys_cacheflush()

2017-02-09 Thread Geert Uytterhoeven
Hi Markus, On Wed, Jan 18, 2017 at 5:47 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 18 Jan 2017 16:30:36 +0100 > > Return directly after a call of the function "capable" failed > at the beginning. > > Signed-off-by: Markus Elfring > --- > arch/m68k/kernel/sys_m68k.c | 3 +-

Re: [PATCH] lz4: fix KERNEL_LZ4 support

2017-02-09 Thread Sven Schmidt
Hello, On Wed, Feb 08, 2017 at 11:06:34PM +0100, Arnd Bergmann wrote: > On Wed, Feb 8, 2017 at 10:34 PM, Andrew Morton > wrote: > > On Wed, 8 Feb 2017 22:19:23 +0100 Arnd Bergmann wrote: > > > >> The updated lz4 library removed the #ifdef guards around the various > >> EXPORT_SYMBOL statements

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

2017-02-09 Thread Sven Schmidt
Hey Eric, On Wed, Feb 08, 2017 at 09:24:25PM -0800, Eric Biggers wrote: > Also I noticed another bug, this time in LZ4_count(): > > > #if defined(CONFIG_64BIT) > > #define LZ4_ARCH64 1 > > #else > > #define LZ4_ARCH64 0 > > #endif > ... > > #ifdef LZ4_ARCH64 > >if ((pIn < (pInLimit-3)) >

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

2017-02-09 Thread Sven Schmidt
Hey Eric, On Wed, Feb 08, 2017 at 04:24:36PM -0800, Eric Biggers wrote: > 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 o

Linux 4.4.48

2017-02-09 Thread Greg KH
I'm announcing the release of the 4.4.48 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.48

2017-02-09 Thread Greg KH
diff --git a/Makefile b/Makefile index 7b233ac7f86c..0793cd412656 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 47 +SUBLEVEL = 48 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm64/crypto/aes-modes.S b/arch/arm64/crypto/aes-modes.S ind

Re: [PATCH V8 06/10] acpi: apei: panic OS with fatal error status block

2017-02-09 Thread James Morse
Hi Jonathan, Tyler, On 01/02/17 17:16, Tyler Baicar wrote: > From: "Jonathan (Zhixiong) Zhang" > > Even if an error status block's severity is fatal, the kernel does not > honor the severity level and panic. > > With the firmware first model, the platform could inform the OS about a > fatal har

Re: net: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected in skb_array_produce

2017-02-09 Thread Dmitry Vyukov
On Thu, Feb 9, 2017 at 11:02 AM, Jason Wang wrote: > > > - Original Message - >> Hello, >> >> I've got the following report while running syzkaller fuzzer on mmotm >> (git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git) >> remotes/mmotm/auto-latest ee4ba7533626ba7bf2f8b992266467ac

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

2017-02-09 Thread Ganesh Mahendran
Hi, Greg: 2017-02-09 18:17 GMT+08:00 Greg KH : > On Thu, Feb 09, 2017 at 05:54:03PM +0800, Ganesh Mahendran wrote: >> A gentle ping. > > I don't see a patch here that can be accepted, what are you asking for > a response from? I sent a patch before: https://patchwork.kernel.org/patch/9429257/ Pl

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

2017-02-09 Thread Sven Schmidt
Hey Minchan, On Thu, Feb 09, 2017 at 08:31:21AM +0900, Minchan Kim wrote: > Hello Sven, > > On Sun, Feb 05, 2017 at 08:09:03PM +0100, Sven Schmidt wrote: > > > > This patchset is for updating the LZ4 compression module to a version based > > on LZ4 v1.7.3 allowing to use the fast compression alg

Re: [PATCH 1/2] net: ethernet: ucc_geth: fix MEM_PART_MURAM mode

2017-02-09 Thread Christophe LEROY
Acked-by: David S. Miller Le 07/02/2017 à 10:05, Christophe Leroy a écrit : Since commit 5093bb965a163 ("powerpc/QE: switch to the cpm_muram implementation"), muram area is not part of immrbar mapping anymore so immrbar_virt_to_phys() is not usable anymore. Fixes: 5093bb965a163 ("powerpc/QE: s

Re: [PATCH] PM / Domains: Provide dummy governors if CONFIG_PM_GENERIC_DOMAINS=n

2017-02-09 Thread Ulf Hansson
On 8 February 2017 at 19:37, Geert Uytterhoeven wrote: > This allows to compile-test drivers that refer to governors (always by > reference) when CONFIG_PM_GENERIC_DOMAINS=n. > > Signed-off-by: Geert Uytterhoeven Acked-by: Ulf Hansson Kind regards Uffe > --- > include/linux/pm_domain.h | 3 +

Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount

2017-02-09 Thread Josh Triplett
On Wed, Feb 08, 2017 at 07:22:45AM -0800, James Bottomley wrote: > On Tue, 2017-02-07 at 17:54 -0800, Josh Triplett wrote: > > On Tue, Feb 07, 2017 at 11:49:33AM -0800, Christoph Hellwig wrote: > > > On Tue, Feb 07, 2017 at 11:02:03AM -0800, James Bottomley wrote: > > > > > Another option would b

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

2017-02-09 Thread Peter Zijlstra
On Wed, Feb 08, 2017 at 06:08:19PM -0500, Tejun Heo wrote: > (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 mar

[PATCH] net: micrel: ks8851_mll: use new api ethtool_{get|set}_link_ksettings

2017-02-09 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/micrel/ks8851_mll.c | 14 -- 1 files

[PATCH v2] staging: rtl8712: rtl8712: fixed missing conversion to le32

2017-02-09 Thread Carlos Palminha
Fixed missing conversion to le32, detected by sparse (invalid assignment from int to __le32) Signed-off-by: Carlos Palminha --- v1->v2: missed sob line (too late in the night...) drivers/staging/rtl8712/rtl8712_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s

Re: [kernel-hardening] Re: [PATCH 4/4] refcount: Report failures through CHECK_DATA_CORRUPTION

2017-02-09 Thread Peter Zijlstra
On Wed, Feb 08, 2017 at 01:20:26PM -0800, Kees Cook wrote: > Ooooh, that is intense. And the trampolines (EX_REG_HANDLERs) are all > just there to catch whatever register gcc decides to stuff the value > into? *cover face* Sure, okay. :) Right, they shouldn't be big functions, but barring whole p

Re: [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports

2017-02-09 Thread Richard Genoud
2017-01-27 8:29 GMT+01:00 Richard Genoud : > On 25/01/2017 15:17, Krzysztof Kozlowski wrote: >> On Wed, Jan 25, 2017 at 3:48 PM, Marek Szyprowski >> wrote: >>> Hi Krzysztof, >>> >>> On 2017-01-25 08:55, Krzysztof Kozlowski wrote: On Wed, Jan 25, 2017 at 7:51 AM, Anand Moon wrote: >

Re: [PATCH v4 13/15] livepatch: change to a per-task consistency model

2017-02-09 Thread Petr Mladek
On Wed 2017-02-08 10:46:36, Josh Poimboeuf wrote: > On Wed, Feb 08, 2017 at 04:47:50PM +0100, Petr Mladek wrote: > > > Notice in this case that klp_target_state is KLP_PATCHED. Which means > > > that klp_complete_transition() would not call synchronize_rcu() at the > > > right time, nor would it c

Re: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Lino Sanfilippo
Hi, > From: Kejian Yan > > This patch fixes the device being used to DMA map skb->data. > Erroneous device assignment causes the crash when SMMU is enabled. > This happens during TX since buffer gets DMA mapped with device > correspondign to net_device and gets unmapped using the device > relate

RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Salil Mehta
> -Original Message- > From: Salil Mehta > Sent: Thursday, February 09, 2017 9:48 AM > To: 'YUAN Linyu'; da...@davemloft.net > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm; > Yankejian (Hackim Yim) > Subject: RE: [PATC

Quick Loans

2017-02-09 Thread Service Loans
Apply for a loan at 3% reply to this Email for more Info

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

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 05:54:03PM +0800, Ganesh Mahendran wrote: > A gentle ping. I don't see a patch here that can be accepted, what are you asking for a response from? confused, greg k-h

Re: [PATCH v2 1/2] fork: free vmapped stacks in cache when cpus are offline

2017-02-09 Thread kbuild test robot
-ci/linux/commits/Hoeun-Ryu/fork-free-vmapped-stacks-in-cache-when-cpus-are-offline/20170209-124143 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include/linux/compiler.h

Re: [PATCH RESEND v7 2/2] Add support for OV5647 sensor.

2017-02-09 Thread Ramiro Oliveira
Hi Sakari On 2/9/2017 10:02 AM, Sakari Ailus wrote: > Hi Ramiro, > > On Wed, Feb 08, 2017 at 09:56:12AM +, Ramiro Oliveira wrote: >> Hi Sakari >> >> On 2/7/2017 5:31 PM, Sakari Ailus wrote: >>> Hi Ramiro, >>> >>> On Mon, Feb 06, 2017 at 11:38:28AM +, Ramiro Oliveira wrote: >>> ... >>

Re: [RFC,v2 3/3] sched: ignore task_h_load for CPU_NEWLY_IDLE

2017-02-09 Thread Uladzislau Rezki
> > On Wed, 2017-02-08 at 09:43 +0100, Uladzislau Rezki wrote: > > From: Uladzislau 2 Rezki > > > > A load balancer calculates imbalance factor for particular shed > ^sched Will fix that. > > domain and tries to steal up the prescribed

Re: [PATCH] perf/core: remove useless cast when comparing

2017-02-09 Thread Peter Zijlstra
On Thu, Feb 09, 2017 at 04:25:46PM +0800, Mars Cheng wrote: > since nr_cpu_ids and cpu are both int, remove the casting Please as to learn C before playing. Consider negative numbers.

Re: [PATCH] omapfb: dss: Handle return error in dss_init_ports.

2017-02-09 Thread Arvind Yadav
Hi, Yes, We will have to handle cleanup of partially initialized ports. As per your suggestion, I have done the changes. Thanks -Arvind On Wednesday 08 February 2017 07:51 PM, Bartlomiej Zolnierkiewicz wrote: On Wednesday, February 08, 2017 11:25:47 AM Bartlomiej Zolnierkiewicz wrote: Hi, On

Re: [PATCH RESEND v7 2/2] Add support for OV5647 sensor.

2017-02-09 Thread Sakari Ailus
Hi Ramiro, On Wed, Feb 08, 2017 at 09:56:12AM +, Ramiro Oliveira wrote: > Hi Sakari > > On 2/7/2017 5:31 PM, Sakari Ailus wrote: > > Hi Ramiro, > > > > On Mon, Feb 06, 2017 at 11:38:28AM +, Ramiro Oliveira wrote: > > ... > +ret = ov5647_write_array(sd, ov5647_640x480, >

Re: net: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected in skb_array_produce

2017-02-09 Thread Jason Wang
- Original Message - > Hello, > > I've got the following report while running syzkaller fuzzer on mmotm > (git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git) > remotes/mmotm/auto-latest ee4ba7533626ba7bf2f8b992266467ac9fdc045e: > [...] > > other info that might help us debu

drivers: usb: musb: question about missing break in switch

2017-02-09 Thread Gustavo A. R. Silva
Hello everybody, I ran into the following piece of code at drivers/usb/musb/musb_core.c:1854 (linux-next) 1854/* 1855 * Check the musb devctl session bit to determine if we want to 1856 * allow PM runtime for the device. In general, we want to keep things 1857 * active when the session bit is

Re: [RFC][PATCH] treewide: Move set_memory_* functions away from cacheflush.h

2017-02-09 Thread Heiko Carstens
On Tue, Feb 07, 2017 at 01:10:16PM -0800, Laura Abbott wrote: > The set_memory_* APIs came out of a desire to have a better way to > change memory attributes. Many of these attributes were linked to cache > functionality so the prototypes were put in cacheflush.h. These days, > the APIs have grown

[PATCH v2] omapfb: dss: Handle return error in dss_init_ports.

2017-02-09 Thread Arvind Yadav
Here, dss_init_ports is not handling return error form dpi_init_port and sdi_init_port. Now dss_init_ports is returning always 0. And it's making below code as a dead code. static int dss_bind(struct device *dev) { . . r = dss_init_ports(pdev); //dss_init_ports will return always 0 if (r)/

DRM range manager selftest run time

2017-02-09 Thread Geert Uytterhoeven
Hi Chris, Dave, Recently, I started seeing ca. 2 minute delays during boot-up on Renesas R-Car Gen2 boards. It turned out the DRM range manager selftests started taking quite some time. With debug output, I get: [2.310472] drm_mm: Testing DRM range manger (struct drm_mm), with random_seed=0x

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Mars Cheng
On Thu, 2017-02-09 at 09:43 +, Marc Zyngier wrote: > On 09/02/17 09:31, Mars Cheng wrote: > > On Thu, 2017-02-09 at 09:03 +, Marc Zyngier wrote: > >> On 06/02/17 12:15, Mars Cheng wrote: > >>> Originally driver only supports one base. However, MT6797 has > >>> more than one bases to configu

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Marek Szyprowski
Hi Vinod, On 2017-02-09 05:11, Vinod Koul wrote: On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which

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

2017-02-09 Thread Ganesh Mahendran
A gentle ping. Thanks. 2016-11-15 21:18 GMT+08:00 Ganesh Mahendran : > Hi, Greg > > 2016-11-15 18:18 GMT+08:00 Greg KH : >> On Tue, Nov 15, 2016 at 05:55:39PM +0800, Ganesh Mahendran wrote: >>> VM_IOREMAP is used to access hardware through a mechanism called >>> I/O mapped memory. Android binder

RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Salil Mehta
> -Original Message- > From: YUAN Linyu [mailto:linyu.y...@alcatel-sbell.com.cn] > Sent: Thursday, February 09, 2017 9:36 AM > To: Salil Mehta; da...@davemloft.net > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm; > Yank

Re: Cherryview wake up events

2017-02-09 Thread Mika Westerberg
On Thu, Feb 09, 2017 at 10:24:26AM +0100, Johannes Stezenbach wrote: > On Thu, Feb 02, 2017 at 05:58:26PM +0200, Mika Westerberg wrote: > > On Thu, Feb 02, 2017 at 04:42:43PM +0100, Johannes Stezenbach wrote: > > > On Thu, Feb 02, 2017 at 05:02:12PM +0200, Mika Westerberg wrote: > > > > Is the mode

[PATCH v2 3/9] arm: fix return value of parse_cpu_capacity

2017-02-09 Thread Juri Lelli
parse_cpu_capacity() has to return 0 on failure, but it currently returns 1 instead if raw_capacity kcalloc failed. Fix it by removing the negation of the return value. Cc: Russell King Reported-by: Morten Rasmussen Fixes: 06073ee26775 ('ARM: 8621/3: parse cpu capacity-dmips-mhz from DT') Signe

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Marc Zyngier
On 09/02/17 09:31, Mars Cheng wrote: > On Thu, 2017-02-09 at 09:03 +, Marc Zyngier wrote: >> On 06/02/17 12:15, Mars Cheng wrote: >>> Originally driver only supports one base. However, MT6797 has >>> more than one bases to configure interrupt polarity. To support >>> possible design change, her

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

2017-02-09 Thread Philipp Zabel
On Wed, 2017-02-08 at 15:23 -0800, Steve Longerbeam wrote: [...] > >> + > >> +static int imxcsi2_get_fmt(struct v4l2_subdev *sd, > >> + struct v4l2_subdev_pad_config *cfg, > >> + struct v4l2_subdev_format *sdformat) > >> +{ > >> + struct imxcsi2_dev *csi2 =

[PATCH v2 1/9] Documentation: arm: fix wrong reference number in DT definition

2017-02-09 Thread Juri Lelli
Reference to cpu capacity binding has a wrong number. Fix it. Reported-by: Lorenzo Pieralisi Signed-off-by: Juri Lelli Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/cpus.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindi

[PATCH v6 2/3] MAINTAINERS: add zx2967 i2c controller driver to ARM ZTE architecture

2017-02-09 Thread Baoyou Xie
Add the zx2967 i2c controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e63063b..313fab5 100644 --- a/MAINTAINERS +++ b

[PATCH v2 0/9] Fix issues and factorize arm/arm64 capacity information code

2017-02-09 Thread Juri Lelli
Hi, arm and arm64 topology.c share a lot of code related to parsing of capacity information. This is v2 of a solution [1] (based on Will's, Catalin's and Mark's off-line suggestions) to move such common code in a single place: drivers/base/arch_topology.c (by creating such file and conditionally c

[PATCH v2 2/9] Documentation/ABI: add information about cpu_capacity

2017-02-09 Thread Juri Lelli
/sys/devices/system/cpu/cpu#/cpu_capacity describe information about CPUs heterogeneity (ref. to Documentation/devicetree/bindings/arm/ cpu-capacity.txt). Add such description. Signed-off-by: Juri Lelli --- Documentation/ABI/testing/sysfs-devices-system-cpu | 7 +++ 1 file changed, 7 insert

[PATCH v2 4/9] arm: remove wrong CONFIG_PROC_SYSCTL ifdef

2017-02-09 Thread Juri Lelli
The sysfs cpu_capacity entry for each CPU has nothing to do with PROC_FS, nor it's in /proc/sys path. Remove such ifdef. Cc: Russell King Reported-and-suggested-by: Sudeep Holla Fixes: 7e5930aaef5d ('ARM: 8622/3: add sysfs cpu_capacity attribute') Signed-off-by: Juri Lelli --- arch/arm/kernel

[PATCH v6 1/3] dt: bindings: add documentation for zx2967 family i2c controller

2017-02-09 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family i2c controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-zx2967.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/i

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

2017-02-09 Thread Anshuman Khandual
On 02/08/2017 07:31 PM, Anshuman Khandual wrote: > There are certain devices like specialized accelerator, GPU cards, network > cards, FPGA cards etc which might contain onboard memory which is coherent > along with the existing system RAM while being accessed either from the CPU > or from the devi

linux mkiss.c panic: fix

2017-02-09 Thread Thomas Osterried
Hello, linux mkiss driver could cause a panic. This patch fixes this issue: Signed-off-by: Thomas Osterried mkiss kernel panic fix: Correct device variables guarantees proper skb room. --- mkiss.c.orig2015-11-18 11:08:46.0 +0100 +++ mkiss.c 2016-02-06 18:04:05.0 +

RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread YUAN Linyu
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Salil Mehta > Sent: Thursday, February 09, 2017 5:24 PM > To: da...@davemloft.net > Cc: salil.me...@huawei.com; yisen.zhu...@huawei.com; > mehta.salil@gmail.com; net...@vger.

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Mars Cheng
On Thu, 2017-02-09 at 09:03 +, Marc Zyngier wrote: > On 06/02/17 12:15, Mars Cheng wrote: > > Originally driver only supports one base. However, MT6797 has > > more than one bases to configure interrupt polarity. To support > > possible design change, here comes a solution to use arbitrary > >

Re: tip: demise of tsk_cpus_allowed() and tsk_nr_cpus_allowed()

2017-02-09 Thread Thomas Gleixner
On Thu, 9 Feb 2017, Ingo Molnar wrote: > And -rt would do something like this in migration_disable()/enable(): > > t->cpus_ptr = &cpumask_of(task_cpu(p)); > t->nr_cpus = 1; > > ... > > t->cpus_ptr = &t->cpus_mask; > t->nr_cpus = cpumask_weight(t->cpus_mask); > > I

Re: [PATCH] mm, slab: rename kmalloc-node cache to kmalloc-

2017-02-09 Thread Vlastimil Babka
On 02/08/2017 10:54 PM, Andrew Morton wrote: > On Wed, 8 Feb 2017 10:12:13 +0100 Vlastimil Babka wrote: > >> Thanks for the fix. >> >> I was going to implement Christoph's suggestion and export the whole >> structure >> in mm/slab.h, but gcc was complaining that I'm redefining it, until I >> c

[PATCH v6 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-09 Thread Baoyou Xie
This patch adds i2c controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo --- drivers/i2c/busses/Kconfig | 9 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-zx2967.c | 676 3 files changed,

drivers: usb: dwc3: A question...

2017-02-09 Thread Gustavo A. R. Silva
Hello everybody, I ran into the following piece of code at drivers/usb/dwc3/dwc3-omap.c:218 (linux-next) 218static void dwc3_omap_set_mailbox(struct dwc3_omap *omap, 219enum omap_dwc3_vbus_id_status status) 220{ 221int ret; 222u32 val; 223 224switch (st

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

2017-02-09 Thread Stephan Müller
Am Mittwoch, 8. Februar 2017, 17:57:23 CET schrieb Linus Torvalds: Hi Linus, > 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

[PATCH v2] Btrfs: add another missing end_page_writeback on submit_extent_page failure

2017-02-09 Thread Takafumi Kubota
If btrfs_bio_alloc fails in submit_extent_page, submit_extent_page returns without clearing the writeback bit of the failed page. __extent_writepage_io, that is a caller of submit_extent_page, does not clear the remaining writeback bit anywhere. As a result, this will cause the hang at filemap_fda

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-09 Thread Anup Patel
On Wed, Feb 8, 2017 at 9:54 PM, Dan Williams wrote: > On Wed, Feb 8, 2017 at 12:57 AM, Anup Patel wrote: >> On Tue, Feb 7, 2017 at 11:46 PM, Dan Williams >> wrote: >>> On Tue, Feb 7, 2017 at 1:02 AM, Anup Patel wrote: On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams wrote: > On Tue

Re: [PATCH 04/14] RDMA/cxgb4: Use common error handling code in recover_queues()

2017-02-09 Thread Johannes Thumshirn
On 02/08/2017 10:14 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 8 Feb 2017 15:51:58 +0100 > > Add a jump target so that a bit of exception handling can be better reused > at the end of this function. > > Signed-off-by: Markus Elfring > --- > drivers/infiniband/hw/cxgb4/dev

[PATCH v2 6/9] arm, arm64: factorize common cpu capacity default code

2017-02-09 Thread Juri Lelli
arm and arm64 share lot of code relative to parsing CPU capacity information from DT, using that information for appropriate scaling and exposing a sysfs interface for chaging such values at runtime. Factorize such code in a common place (driver/base/arch_topology.c) in preparation for further add

[PATCH v2 9/9] arm,arm64,drivers: add a prefix to drivers arch_topology interfaces

2017-02-09 Thread Juri Lelli
Now that some functions that deal with arch topology information live under drivers, there is a clash of naming that might create confusion. Tidy things up by creating a drivers namespace for interfaces used by arch code; achieve this by prepending a 'atd_' (arch topology driver) prefix to driver

[PATCH v2 8/9] arm,arm64,drivers: move externs in a new header file

2017-02-09 Thread Juri Lelli
Create a new header file (include/linux/arch_topology.h) and put there declarations of interfaces used by arm, arm64 and drivers code. Signed-off-by: Juri Lelli --- arch/arm/kernel/topology.c| 7 +-- arch/arm64/kernel/topology.c | 4 +--- drivers/base/arch_topology.c | 1 + include/

[PATCH v2 5/9] arm64: remove wrong CONFIG_PROC_SYSCTL ifdef

2017-02-09 Thread Juri Lelli
The sysfs cpu_capacity entry for each CPU has nothing to do with PROC_FS, nor it's in /proc/sys path. Remove such ifdef. Cc: Will Deacon Cc: Catalin Marinas Reported-and-suggested-by: Sudeep Holla Fixes: be8f185d8af4 ('arm64: add sysfs cpu_capacity attribute') Signed-off-by: Juri Lelli --- a

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-09 Thread Stephan Müller
Am Donnerstag, 9. Februar 2017, 02:04:32 CET schrieb Alden Tondettar: Hi Alden, > On Thu, Feb 09, 2017 at 07:47:25AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > > > In short, the situation is: > > > > > > A) No usable hardware RNG or ar

[PATCH v2 7/9] arm,arm64,drivers: reduce scope of cap_parsing_failed

2017-02-09 Thread Juri Lelli
Reduce the scope of cap_parsing_failed (making it static in drivers/base/arch_topology.c) by slightly changing {arm,arm64} DT parsing code. For arm checking for !cap_parsing_failed before calling normalize_ cpu_capacity() is superfluous, as returning an error from parse_ cpu_capacity() (above) mea

[PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Salil Mehta
From: Kejian Yan This patch fixes the device being used to DMA map skb->data. Erroneous device assignment causes the crash when SMMU is enabled. This happens during TX since buffer gets DMA mapped with device correspondign to net_device and gets unmapped using the device related to DSAF. Signed-

[BUG] port(belong to a lacp aggregate group)cannot be unselected while the connected port failed

2017-02-09 Thread zhou zhengwu
Hi [1] Testing OS: SUSE 11SP3( kernel version 3.0.93) [2]Problem description: ServerA [bond] --- [bond] ServerB Two servers are connected with bonding interfaces LACP is enabled. Firstly, it works well. Then, one port (for example, port B) in serverB failed, it can send but

Re: Cherryview wake up events

2017-02-09 Thread Johannes Stezenbach
On Thu, Feb 02, 2017 at 05:58:26PM +0200, Mika Westerberg wrote: > On Thu, Feb 02, 2017 at 04:42:43PM +0100, Johannes Stezenbach wrote: > > On Thu, Feb 02, 2017 at 05:02:12PM +0200, Mika Westerberg wrote: > > > Is the model Asus E200HA? Something like this (sorry the information is > > > in Finnish

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-09 Thread Greg Kroah-Hartman
On Thu, Feb 09, 2017 at 02:04:32AM -0700, Alden Tondettar wrote: > On Thu, Feb 09, 2017 at 07:47:25AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > > > In short, the situation is: > > > > > > A) No usable hardware RNG or arch_get_random() (

Re: [PATCH v3 13/14] mm: migrate: move_pages() supports thp migration

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:51AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > This patch enables thp migration for move_pages(2). > > Signed-off-by: Naoya Horiguchi > --- > mm/migrate.c | 37 - > 1 file changed, 28 insertions(+), 9 deletions(-) > > di

Re: [PATCH] leds: pca9532: Extend pca9532 device tree support

2017-02-09 Thread Felix Brack
Hello Jacek, On 08.02.2017 20:42, Jacek Anaszewski wrote: > Hi Felix, > > On 02/08/2017 05:12 PM, Felix Brack wrote: >> Hello Jacek, >> >> On 07.02.2017 21:45, Jacek Anaszewski wrote: >>> Hi Felix, >>> >>> Thanks for the patch. >>> >>> On 02/07/2017 07:11 PM, Felix Brack wrote: This patch ex

Re: [PATCH v3 09/14] mm: thp: check pmd migration entry in common path

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:47AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > If one of callers of page migration starts to handle thp, > memory management code start to see pmd migration entry, so we need > to prepare for it before enabling. This patch changes various code > point which ch

Re: [PATCH v3 04/14] mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:42AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > pmd_present() checks _PAGE_PSE along with _PAGE_PRESENT to avoid > false negative return when it races with thp spilt > (during which _PAGE_PRESENT is temporary cleared.) I don't think that > dropping _PAGE_PSE ch

Re: [PATCH v3 08/14] mm: thp: enable thp migration in generic path

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:46AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > This patch adds thp migration's core code, including conversions > between a PMD entry and a swap entry, setting PMD migration entry, > removing PMD migration entry, and waiting on PMD migration entries. > > This

[PATCH 4/5] selftests/powerpc: Fix the clean rule since recent changes

2017-02-09 Thread Michael Ellerman
The clean rule is broken for the powerpc tests: make[1]: Entering directory 'tools/testing/selftests/powerpc' Makefile:63: warning: overriding recipe for target 'clean' ../lib.mk:51: warning: ignoring old recipe for target 'clean' /bin/sh: 3: Syntax error: end of file unexpected (expecting

Re: [PATCH 05/10] sched/core: Remove the tsk_cpus_allowed() wrapper

2017-02-09 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Feb 08, 2017 at 07:34:18PM +0100, Ingo Molnar wrote: > > > So the original intention of tsk_cpus_allowed() was to 'future-proof' the > > field - but it's pretty ineffectual at that, because half of the code uses > > ->cpus_allowed directly ... > > > > Also, t

[PATCH 5/5] selftests/powerpc: Fix remaining fallout from recent changes

2017-02-09 Thread Michael Ellerman
In benchmarks we need to use $(TEST_GEN_PROGS) after we include lib.mk, because lib.mk does the substitution to add $(OUTPUT). In math the vmx and fpu names were typoed so they no longer matched correctly, put back the 'v' and 'f'. In tm we need to substitute $(OUTPUT) into SIGNAL_CONTEXT_CHK_TES

Re: [tpmdd-devel] [RFC] tpm2-space: add handling for global session exhaustion

2017-02-09 Thread Dr. Greg Wettstein
On Jan 30, 11:58pm, Jarkko Sakkinen wrote: } Subject: Re: [tpmdd-devel] [RFC] tpm2-space: add handling for global sessi Good morning, I hope the day is going well for everyone. > I'm kind dilating to an opinion that we would leave this commit out > from the first kernel release that will contain

Re: [PATCH 1/4] reset: ath79: make it explicitly non-modular

2017-02-09 Thread Alban
On Tue, 7 Feb 2017 19:18:44 -0500 Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/reset/Kconfig:config RESET_ATH79 > drivers/reset/Kconfig: bool "AR71xx Reset Driver" if COMPILE_TEST > > ...meaning that it currently is not being built as a mod

[PATCH 1/5] selftests: Fix selftests build to just build, not run tests

2017-02-09 Thread Michael Ellerman
In commit 88baa78d1f31 ("selftests: remove duplicated all and clean target"), the "all" target was removed from individual Makefiles and added to lib.mk. However the "all" target was added to lib.mk *after* the existing "runtests" target. This means "runtests" becomes the first (default) target fo

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-09 Thread Alden Tondettar
On Thu, Feb 09, 2017 at 07:47:25AM +0100, Greg Kroah-Hartman wrote: > On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > > In short, the situation is: > > > > A) No usable hardware RNG or arch_get_random() (or we don't trust it...) > > Wait, why would you not trust arch_get_random

[PATCH 3/5] selftests: Fix the .S and .S -> .o rules

2017-02-09 Thread Michael Ellerman
Both these rules incorrectly use $< (first prerequisite) rather than $^ (all prerequisites), meaning they don't work if we're using more than one .S file as input. Switch them to using $^. They also don't include $(CPPFLAGS) and other variables used in the default rules, which breaks targets that

[PATCH] net: micrel: ks8851: use new api ethtool_{get|set}_link_ksettings

2017-02-09 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/micrel/ks8851.c | 14 -- 1 files cha

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Marc Zyngier
On 06/02/17 12:15, Mars Cheng wrote: > Originally driver only supports one base. However, MT6797 has > more than one bases to configure interrupt polarity. To support > possible design change, here comes a solution to use arbitrary > number of bases. > > Signed-off-by: Mars Cheng > --- > drivers

[PATCH 2/5] selftests: Fix the .c linking rule

2017-02-09 Thread Michael Ellerman
Currently we can't build some tests, for example: $ make -C tools/testing/selftests/ TARGETS=vm ... gcc -Wall -I ../../../../usr/include -lrt -lpthread ../../../../usr/include/linux/kernel.h userfaultfd.c -o tools/testing/selftests/vm/userfaultfd /tmp/ccmOkQSM.o: In function `stress':

Re: [PATCH 12/14] RDMA/cxgb4: Delete an unnecessary variable initialisation in create_qp()

2017-02-09 Thread Leon Romanovsky
On Wed, Feb 08, 2017 at 10:22:28PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 8 Feb 2017 21:07:07 +0100 > > The local variable "ret" will be set to an appropriate value a bit later. > Thus omit the explicit initialisation at the beginning in this function. > > Signed-off-b

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

2017-02-09 Thread Al Viro
On Thu, Feb 09, 2017 at 10:36:15AM +0300, Konstantin Khlebnikov wrote: > Ok, Thank you. I've expected that this fix isn't sane, > > Maybe we could minimize changes for now. For example: keep these > stale dentries in memory but silently unhash them in ->d_compare(). > Memory processure and reclai

Re: [PATCH -next] mtd: aspeed: remove redundant dev_err call in aspeed_smc_probe()

2017-02-09 Thread Marek Vasut
On 02/08/2017 05:23 PM, Wei Yongjun wrote: > From: Wei Yongjun > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Signed-off-by: Wei Yongjun Reviewed-by: Marek Vasut > --- > drivers/mtd/spi-nor/aspeed-smc.c

<    4   5   6   7   8   9   10   >