Re: [PATCH v3 11/18] xen/pvcalls: implement accept command

2017-06-14 Thread Juergen Gross
On 14/06/17 21:27, Stefano Stabellini wrote: > On Wed, 14 Jun 2017, Juergen Gross wrote: >> On 14/06/17 02:47, Stefano Stabellini wrote: >>> On Tue, 13 Jun 2017, Juergen Gross wrote: On 02/06/17 21:31, Stefano Stabellini wrote: > Implement the accept command by calling inet_accept. To avoi

Re: [PATCH] usb: host: ehci: workaround PME bug on AMD EHCI controller

2017-06-14 Thread Kai-Heng Feng
On Wed, Jun 14, 2017 at 1:28 AM, Bjorn Helgaas wrote: > > The lspci output [1] shows: > > 00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI > Controller (rev 39) (prog-if 20 [EHCI]) > Capabilities: [c0] Power Management version 2 > Flags: PMEClk- DSI- D1+ D2+ Aux

Re: [PATCH v2 1/3] dt-bindings: mfd: update STM32 timers clock names

2017-06-14 Thread Lee Jones
On Wed, 14 Jun 2017, Fabrice Gasnier wrote: > Clock name has been updated during driver/DT binding review: > https://lkml.org/lkml/2016/12/13/718 > Update DT binding doc to reflect this. > > Fixes: 8f9359c6c6a0 (dt-bindings: mfd: Add bindings for STM32 Timers driver) > Signed-off-by: Fabrice Gasn

Re: [patch 1/2] staging: speakup: add function to convert dev name to number

2017-06-14 Thread Okash Khawaja
Hi, On Wed, Jun 14, 2017 at 03:04:18PM +0200, Greg Kroah-Hartman wrote: > The console stuff is odd though, but that is each driver defining the > name for itself, major/minor does not apply. Also, a separate driver is > not having to figure this all out. I wonder if we could just add a tty > co

Re: [PATCH v5 1/4] of: remove *phandle properties from expanded device tree

2017-06-14 Thread Michael Ellerman
frowand.l...@gmail.com writes: > From: Frank Rowand > > Remove "phandle", "linux,phandle", and "ibm,phandle" properties from > the internal device tree. The phandle will still be in the struct > device_node phandle field. > > This is to resolve the issue found by Stephen Boyd [1] when he changed

Re: [BISECTED, REGRESSION] v4.12-rc: omapdrm fails to probe on Nokia N900

2017-06-14 Thread Tomi Valkeinen
On 15/06/17 01:11, Aaro Koskinen wrote: > Hi, > > When booting v4.12-rc5 on Nokia N900, omapdrm fails to probe and there > is no display. Are you sure it doesn't probe? It fails the omapdss_stack_is_ready() check? If that's the case then this is easier to debug. > Bisected to: > > a09d2bc150350

Re: [systemd-devel] [WIP PATCH 0/4] Rework the unreliable LID switch exported by ACPI

2017-06-14 Thread Peter Hutterer
On Thu, Jun 15, 2017 at 02:52:57AM +, Zheng, Lv wrote: > Hi, Benjamin > > > From: Benjamin Tissoires [mailto:benjamin.tissoi...@redhat.com] > > Subject: Re: [systemd-devel] [WIP PATCH 0/4] Rework the unreliable LID > > switch exported by ACPI > > > > Hi, > > > > [Sorry for the delay, I have

[PATCH 1/2] platform/x86: silead_dmi: Add touchscreen info for PoV mobii wintab p800w

2017-06-14 Thread Hans de Goede
Add touchscreen info for the Point of View mobii wintab p800w tablet. Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c index db3

Re: Qemu crashes in -next due to 'of: remove *phandle properties from expanded device tree'

2017-06-14 Thread Michael Ellerman
P NR_CPUS=2048 NUMA pSeries Modules linked in: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.12.0-rc5-gcc5-next-20170614-gb147461 #1 task: c0eb1180 task.stack: c1084000 NIP: c008d780 LR: c008d770 CTR: REGS: c

[PATCH 2/2] platform/x86: silead_dmi: Add touchscreen info for Pipo W2S tablet

2017-06-14 Thread Hans de Goede
Add touchscreen info for Pipo W2S tablet. Signed-off-by: Hans de Goede --- drivers/platform/x86/silead_dmi.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/platform/x86/silead_dmi.c b/drivers/platform/x86/silead_dmi.c index 46c5e1ebfb53..25cbea307a5e 100644

[PATCH net-next 0/3] r8152: support new chips

2017-06-14 Thread Hayes Wang
These patches are used to support new chips. Hayes Wang (3): r8152: support new chip 8050 r8152: support RTL8153B r8152: add byte_enable for ocp_read_word function drivers/net/usb/r8152.c | 687 ++-- 1 file changed, 671 insertions(+), 16 deletion

[PATCH net-next 1/3] r8152: support new chip 8050

2017-06-14 Thread Hayes Wang
The settings of the new chip are the same with RTL8152, except that its product ID is 0x8050. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 5a02053..2744405 100644 ---

[PATCH net-next 3/3] r8152: add byte_enable for ocp_read_word function

2017-06-14 Thread Hayes Wang
Add byte_enable for ocp_read_word() to replace reading 4 bytes data with reading the desired 2 bytes data. This is used to avoid the issue which is described in commit b4d99def0938 ("r8152: remove sram_read"). The original method always reads 4 bytes data, and it may have problem when reading the

[PATCH net-next 2/3] r8152: support RTL8153B

2017-06-14 Thread Hayes Wang
This patch supports two new chips for RTL8153B. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 673 ++-- 1 file changed, 658 insertions(+), 15 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 2744405..4c197da

[PATCH v2] staging: wlan-ng: Amend type mismatch warnings

2017-06-14 Thread sunil . m
From: Suniel Mahesh le16_to_cpu() accepts argument of type __le16 and cpu_to_le16() returns an argument of type __le16. This patch fixes warnings related to incorrect type in assignment and changes the types in the corresponding header file. The following type mismatch warnings reported by sparse

Re: [4.4.70 REGRESSION] Nouveau hangs up at boot

2017-06-14 Thread Greg Kroah-Hartman
On Tue, Jun 13, 2017 at 03:32:22PM +0200, Takashi Iwai wrote: > On Tue, 13 Jun 2017 08:08:17 +0200, > Takashi Iwai wrote: > > > > On Tue, 13 Jun 2017 00:40:26 +0200, > > Ben Skeggs wrote: > > > > > > On 06/10/2017 06:25 AM, Takashi Iwai wrote: > > > > Hi, > > > > > > > > we've received a bug rep

[PATCH v2] gpio: lp87565: Add support for GPIO

2017-06-14 Thread Keerthy
Add driver for lp87565 PMIC family GPIOs. Three GPIOs are supported and can be configured in Open-drain output or Push-pull output. Signed-off-by: Keerthy --- Latest version of mfd patch: https://patchwork.kernel.org/patch/9783079/ Changes in v2: * included * stored the struct regmap *ma

Re: [PATCH v2] [media] mtk-mdp: Fix g_/s_selection capture/compose logic

2017-06-14 Thread Minghsiu Tsai
Hi, Hans, Would you have time to review this patch v2? The patch v1 violates v4l2 spec. I have fixed it in v2. Sincerely, Ming Hsiu On Fri, 2017-05-12 at 10:42 +0800, Minghsiu Tsai wrote: > From: Daniel Kurtz > > Experiments show that the: > (1) mtk-mdp uses the _MPLANE form of CAPTURE/OUTPU

[PATCH v2] PCI: dwc: dra7xx: Fix compilation warning.

2017-06-14 Thread Arvind Yadav
drivers/pci/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_enable_msi_interrupts’: drivers/pci/dwc/pci-dra7xx.c:177:7: warning: large integer implicitly truncated to unsigned type [-Woverflow] ~LEG_EP_INTERRUPTS & ~MSI); ^ drivers/pci/dwc/pci-dra7xx.c: In function ‘dra7xx_pcie_enable_wr

Re: [PATCH kernel] powerpc/debug: Add missing warn flag to WARN_ON's non-builtin path

2017-06-14 Thread Michael Ellerman
Alexey Kardashevskiy writes: > On 14/06/17 21:04, Michael Ellerman wrote: >> Alexey Kardashevskiy writes: >> >>> When trapped on WARN_ON(), report_bug() is expected to return >>> BUG_TRAP_TYPE_WARN so the caller could increment NIP by 4 and continue. >>> The __builtin_constant_p() path of the P

[Oops][next-20170614] powerpc boot fails with WARNING: CPU: 12 PID: 0 at mm/memblock.c

2017-06-14 Thread Abdul Haleem
Hi, linux-next fails to boot on powerpc Bare-metal with these warnings. machine booted fine on next-20170613 Test: Boot Machine type: Power8 Bare-metal Kernel : 4.12.0-rc5-next-20170614 config: attached Trace logs: --- numa: NODE_DATA [mem 0x3fff50a300-0x3fff513fff] numa

Re: [PATCH v1 1/1] gpio: of: provide option generic property for initial line states

2017-06-14 Thread Oleksij Rempel
Hi Vladimir, On Sun, Jun 11, 2017 at 10:57:18PM +0300, Vladimir Zapolskiy wrote: > Hi Oleksij, > > On 06/11/2017 09:19 AM, Oleksij Rempel wrote: > > Hi Rob, > > > > On Fri, Jun 09, 2017 at 10:41:30AM -0500, Rob Herring wrote: > >> On Fri, Jun 9, 2017 at 9:16 AM, Oleksij Rempel > >> wrote: > >>

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

2017-06-14 Thread Michael Ellerman
Daniel Micay writes: > ... > > The arch mailing list was pinged about this which is how the powerpc > folks got involved and fixed the issues there, including at least one > runtime one. Not sure where (if anywhere) those are queued up, but Kees > could pick those up too. I was expecting Kees to

[PATCH] ASoC: rockchip: Fix an error handling in 'rockchip_i2s_probe'

2017-06-14 Thread Christophe JAILLET
If this memory allocation fail, we must disable what has been enabled. Do not return immediately but go thrue the error handling path instead. Also use 'devm_kmemdup' instead of 'devm_kzalloc+memcpy' to simplify code. Signed-off-by: Christophe JAILLET --- sound/soc/rockchip/rockchip_i2s.c | 9 +

Re: [PATCH 10/18] spi: qup: Fix DMA mode interrupt handling

2017-06-14 Thread Sricharan R
Hi Andy, On 6/15/2017 1:36 AM, Andy Gross wrote: > On Wed, Jun 14, 2017 at 12:51:11PM +0530, Sricharan R wrote: >> Hi Varada, >> >> On 6/14/2017 11:22 AM, Varadarajan Narayanan wrote: >>> This is needed for v1, where the i/o completion is not >>> handled in the dma driver. >>> >>> Signed-off-by: A

[PATCH kernel 2/3] pci-ioda: Set PCI_BUS_FLAGS_MSI_REMAP for IODA host bridge

2017-06-14 Thread Alexey Kardashevskiy
From: Yongji Xie Any IODA host bridge have the capability of IRQ remapping. So we set PCI_BUS_FLAGS_MSI_REMAP when this kind of host birdge is detected. Signed-off-by: Yongji Xie Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/platforms/powernv/pci-ioda.c | 8 1 file changed, 8

[PATCH kernel 1/3] PCI: Add a new PCI_BUS_FLAGS_MSI_REMAP flag

2017-06-14 Thread Alexey Kardashevskiy
From: Yongji Xie We introduce a new pci_bus_flags, PCI_BUS_FLAGS_MSI_REMAP which indicates interrupts of all devices on the bus are managed by the hardware enabling IRQ remapping(intel naming). When the capability is enabled, a given PCI device can only shoot the MSIs assigned for it. In other wo

[PATCH kernel 0/3 REPOST] vfio-pci: Add support for mmapping MSI-X table

2017-06-14 Thread Alexey Kardashevskiy
Here is a patchset which Yongji was working on before leaving IBM LTC. Since we still want to have this functionality in the kernel (DPDK is the first user), here is a rebase on the current upstream. Current vfio-pci implementation disallows to mmap the page containing MSI-X table in case that u

[PATCH kernel 3/3] vfio-pci: Allow to expose MSI-X table to userspace if interrupt remapping is enabled

2017-06-14 Thread Alexey Kardashevskiy
From: Yongji Xie This patch tries to expose MSI-X tables to userspace if hardware enables interrupt remapping which can ensure that a given PCI device can only shoot the MSIs assigned for it. So we could never worry that userspace driver can hurt other devices by writing to the exposed MSI-X tabl

Re: [PATCH kernel 0/3] vfio-pci: Add support for mmapping MSI-X table

2017-06-14 Thread Alexey Kardashevskiy
Ouch, this is a wrong one, please ignore. I'll repost in a sec. On 15/06/17 15:06, Alexey Kardashevskiy wrote: > Here is a patchset which Yongji was working on before > leaving IBM LTC. Since we still want to have this functionality > in the kernel (DPDK is the first user), here is a rebase > on

Re: [PATCH 2/3] arm: dts: mt2701: Add display bls related nodes for MT2701

2017-06-14 Thread Weiqing Kong
On Fri, 2017-06-09 at 10:12 +0200, Matthias Brugger wrote: > > On 01/06/17 08:08, Erin Lo wrote: > > From: YT Shen > > I miss the Singed-off-by from YT Shen. > > > > > This patch adds the device node of display backlight for MT2701 > > > > Signed-off-by: Weiqing Kong > > Signed-off-by: Erin

Re: [PATCH 11/18] spi: qup: properly detect extra interrupts

2017-06-14 Thread Sricharan R
Hi Andy, On 6/15/2017 1:29 AM, Andy Gross wrote: > On Wed, Jun 14, 2017 at 12:57:25PM +0530, Sricharan R wrote: >> Hi Varada, >> >> On 6/14/2017 11:22 AM, Varadarajan Narayanan wrote: >>> It's possible for a SPI transaction to complete and get another >>> interrupt and have it processed on the sam

Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver

2017-06-14 Thread Greg KH
On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote: > +struct sbefifo { > + struct timer_list poll_timer; > + struct fsi_device *fsi_dev; > + struct miscdevice mdev; > + wait_queue_head_t wait; > + struct list_head link; > + struct list_head xfrs; > + struct

Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver

2017-06-14 Thread Greg KH
On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote: > +static ssize_t sbefifo_read(struct file *file, char __user *buf, > + size_t len, loff_t *offset) > +{ > + struct sbefifo_client *client = file->private_data; > + > + WARN_ON(*offset); Huh? Why? > + if (!a

Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver

2017-06-14 Thread Greg KH
On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote: > + dev_info(dev, "Found sbefifo device\n"); Don't be chatty, this isn't needed at all, right? thanks, greg k-h

Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver

2017-06-14 Thread Greg KH
On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote: > --- /dev/null > +++ b/include/linux/fsi-sbefifo.h > @@ -0,0 +1,30 @@ > +/* > + * SBEFIFO FSI Client device driver > + * > + * Copyright (C) IBM Corporation 2017 > + * > + * This program is free software; you can redistribute it and/

Re: [PATCH linux] drivers/fsi: Add SBEFIFO FSI client device driver

2017-06-14 Thread Greg KH
On Wed, Jun 14, 2017 at 02:47:27PM -0500, Edward A. James wrote: > +static DEFINE_IDA(sbefifo_ida); WHen your module exits, you don't clean up this structure. Common mistake :) thanks, greg k-h

xgetbv nondeterminism

2017-06-14 Thread Andy Lutomirski
I saw your post about XGETBV (http://robert.ocallahan.org/2017/06/another-case-of-obscure-cpu.html), and it sounds like it could plausibly be a kernel bug. What kernel are you on? I wonder if CPUs have an optimization in which, if a given register set is in the init state but XINUSE=1, then they'

Re: [PATCH 07/18] spi: qup: Fix transaction done signaling

2017-06-14 Thread Sricharan R
Hi Andy, On 6/15/2017 1:21 AM, Andy Gross wrote: > On Wed, Jun 14, 2017 at 12:43:43PM +0530, Sricharan R wrote: >> Hi Varada, >> >> On 6/14/2017 11:22 AM, Varadarajan Narayanan wrote: >>> Wait to signal done until we get all of the interrupts we are expecting >>> to get for a transaction. If we d

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Daniel, On Thu, 15 Jun 2017 00:49:21 -0400 Daniel Micay wrote: > > > So after that the errors (x86_64 allmodconfig build) are only: > > > > In file included from include/linux/bitmap.h:8:0, > > from include/linux/cpumask.h:11, > > from arch/x86/include/asm/cp

[PATCH kernel 2/3] pci-ioda: Set PCI_BUS_FLAGS_MSI_REMAP for IODA host bridge

2017-06-14 Thread Alexey Kardashevskiy
From: Yongji Xie Any IODA host bridge have the capability of IRQ remapping. So we set PCI_BUS_FLAGS_MSI_REMAP when this kind of host birdge is detected. Signed-off-by: Yongji Xie Reviewed-by: Alexey Kardashevskiy Signed-off-by: Paul Mackerras --- arch/powerpc/platforms/powernv/pci-ioda.c | 8

[PATCH kernel 3/3] vfio-pci: Allow to expose MSI-X table to userspace if interrupt remapping is enabled

2017-06-14 Thread Alexey Kardashevskiy
From: Yongji Xie This patch tries to expose MSI-X tables to userspace if hardware enables interrupt remapping which can ensure that a given PCI device can only shoot the MSIs assigned for it. So we could never worry that userspace driver can hurt other devices by writing to the exposed MSI-X tabl

[PATCH kernel 1/3] PCI: Add a new PCI_BUS_FLAGS_MSI_REMAP flag

2017-06-14 Thread Alexey Kardashevskiy
From: Yongji Xie We introduce a new pci_bus_flags, PCI_BUS_FLAGS_MSI_REMAP which indicates interrupts of all devices on the bus are managed by the hardware enabling IRQ remapping(intel naming). When the capability is enabled, a given PCI device can only shoot the MSIs assigned for it. In other wo

[PATCH kernel 0/3] vfio-pci: Add support for mmapping MSI-X table

2017-06-14 Thread Alexey Kardashevskiy
Here is a patchset which Yongji was working on before leaving IBM LTC. Since we still want to have this functionality in the kernel (DPDK is the first user), here is a rebase on the current upstream. Current vfio-pci implementation disallows to mmap the page containing MSI-X table in case that us

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Kees, On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook > Cc: Josh Poimboeuf Tested-by: Stephen Rothwell --

linux-next: Tree for Jun 15

2017-06-14 Thread Stephen Rothwell
Hi all, Changes since 20170614: The sound-asoc tree lost its build failure. The driver-core tree lost its build failure. The akpm (was akpm-current) tree still had its build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 6467 6462 files changed, 2

Re: [PATCH] USB: gtco: remove unnecessary variable assignments

2017-06-14 Thread Joe Perches
On Wed, 2017-06-14 at 20:50 -0500, Gustavo A. R. Silva wrote: > Remove unnecessary variable assignments. > Variable _val_ is overwritten before the value stored in it can be used. > > Addresses-Coverity-ID: 1397695 > Signed-off-by: Gustavo A. R. Silva > --- > drivers/input/tablet/gtco.c | 2 -- >

Re: [PATCH v2 03/11] tty: kbd: reduce stack size with KASAN

2017-06-14 Thread Greg Kroah-Hartman
On Thu, Jun 15, 2017 at 06:52:21AM +0200, Greg Kroah-Hartman wrote: > On Wed, Jun 14, 2017 at 11:15:38PM +0200, Arnd Bergmann wrote: > > As reported by kernelci, some functions in the VT code use significant > > amounts of kernel stack when local variables get inlined into the caller > > multiple t

Re: [PATCH v2 03/11] tty: kbd: reduce stack size with KASAN

2017-06-14 Thread Greg Kroah-Hartman
On Wed, Jun 14, 2017 at 11:15:38PM +0200, Arnd Bergmann wrote: > As reported by kernelci, some functions in the VT code use significant > amounts of kernel stack when local variables get inlined into the caller > multiple times: > > drivers/tty/vt/keyboard.c: In function 'kbd_keycode': > drivers/t

Re: [PATCH v3 1/9] ARM: dts: imx6ul-isiot: Add Sound card with codec node

2017-06-14 Thread Jagan Teki
On Thu, Jun 15, 2017 at 7:50 AM, Shawn Guo wrote: > On Wed, Jun 14, 2017 at 08:17:04PM +0530, Jagan Teki wrote: >> On Fri, Apr 7, 2017 at 6:46 PM, Shawn Guo wrote: >> > On Thu, Apr 06, 2017 at 11:32:07PM +0530, Jagan Teki wrote: >> >> From: Jagan Teki >> >> >> >> Add support for Sound card and r

[PATCH v2] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-14 Thread Arvind Yadav
clk_prepare_enable() can fail here and we must check its return value. Signed-off-by: Arvind Yadav Changes in v2: Remove useless initialization of retval. --- drivers/usb/host/ohci-pxa27x.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Daniel Micay
> So after that the errors (x86_64 allmodconfig build) are only: > > In file included from include/linux/bitmap.h:8:0, > from include/linux/cpumask.h:11, > from arch/x86/include/asm/cpumask.h:4, > from arch/x86/include/asm/msr.h:10, >

Re: [PATCH 1/3] x86/mm: Provide pmdp_mknotpresent() helper

2017-06-14 Thread kbuild test robot
Hi Kirill, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.12-rc5 next-20170614] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Kirill-A

Re: [HMM-CDM 2/5] mm/hmm: add new helper to hotplug CDM memory region

2017-06-14 Thread Balbir Singh
On Wed, 14 Jun 2017 16:11:41 -0400 Jérôme Glisse wrote: > Unlike unaddressable memory, coherent device memory has a real > resource associated with it on the system (as CPU can address > it). Add a new helper to hotplug such memory within the HMM > framework. > > Signed-off-by: Jérôme Glisse >

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi all, On Thu, 15 Jun 2017 14:05:22 +1000 Stephen Rothwell wrote: > > On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > > so objtool needs to know about it too. > > > > Suggested-by: Daniel Micay > > Signe

Re: [PATCH] sm501fb: Silence a coccinelle script warning.

2017-06-14 Thread Christophe JAILLET
Le 14/06/2017 à 12:54, Bartlomiej Zolnierkiewicz a écrit : Hi, On Monday, May 08, 2017 08:11:16 AM Christophe JAILLET wrote: According to surrounding goto, it is likely that 'goto err_probed_panel' is expected here. This change is just done in order to silence some coccinelle scripts which try

Re: [PATCH v2] mfd: Add driver for RAVE Supervisory Processor

2017-06-14 Thread Chris Healy
On Mon, Jun 12, 2017 at 6:23 PM, Andrey Smirnov wrote: > Add a driver for RAVE Supervisory Processor, an MCU implementing > varoius bits of housekeeping functionality (watchdoging, backlight > control, LED control, etc) on RAVE family of products by Zodiac > Inflight Innovations. > > This driver i

[GIT] Networking

2017-06-14 Thread David Miller
1) The netlink attribute passed in to dev_set_alias() is not necessarily NULL terminated, don't use strlcpy() on it. From Alexander Potapenko. 2) Fix implementation of atomics in arm64 bpf JIT, from Daniel Borkmann. 3) Correct the release of netdevs and driver private data in certain

Re: [PATCH tip/sched/core] Add comments to aid in safer usage of swake_up.

2017-06-14 Thread Boqun Feng
On Wed, Jun 14, 2017 at 09:25:58AM -0700, Krister Johansen wrote: > On Wed, Jun 14, 2017 at 11:02:40AM -0400, Steven Rostedt wrote: > > On Wed, 14 Jun 2017 09:10:15 -0400 > > Steven Rostedt wrote: > > > > > Now let's make it simpler. I'll even add the READ_ONCE and WRITE_ONCE > > > where applicab

Re: Qemu crashes in -next due to 'of: remove *phandle properties from expanded device tree'

2017-06-14 Thread Guenter Roeck
On 06/14/2017 05:45 PM, Frank Rowand wrote: On 06/14/17 15:35, Guenter Roeck wrote: On Wed, Jun 14, 2017 at 02:31:58PM -0700, Frank Rowand wrote: Hi Guenter, < snip > Can you also include the console messages before the "[ cut here ]" line? http://kerneltests.org/builders Check qemu test

Re: [PATCH] objtool: Add fortify_panic as __noreturn function

2017-06-14 Thread Stephen Rothwell
Hi Kees, On Wed, 14 Jun 2017 19:18:51 -0700 Kees Cook wrote: > > CONFIG_FORTIFY_SOURCE implements fortify_panic() as a __noreturn function, > so objtool needs to know about it too. > > Suggested-by: Daniel Micay > Signed-off-by: Kees Cook > Cc: Josh Poimboeuf > --- > tools/objtool/builtin-ch

Re: [PATCH] dmaengine: qcom-bam: Process multiple pending descriptors

2017-06-14 Thread Vinod Koul
On Wed, Jun 07, 2017 at 05:59:07PM +0530, Sricharan R wrote: > The bam dmaengine has a circular FIFO to which we > add hw descriptors that describes the transaction. > The FIFO has space for about 4096 hw descriptors. > > Currently we add one descriptor and wait for it to > complete with interrupt

Re: [linux-sunxi] Re: [PATCH 1/2] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

2017-06-14 Thread Icenowy Zheng
于 2017年6月15日 GMT+08:00 上午11:54:08, Vinod Koul 写到: >On Wed, Jun 14, 2017 at 11:04:39AM +0200, Maxime Ripard wrote: >> On Wed, Jun 14, 2017 at 02:15:29PM +0530, Vinod Koul wrote: >> > > SoC info is in compatible, so there's no reason to make it a >property. >> > >> > that's why it would need to b

Re: [PATCH v2] ip6_tunnel: Correct tos value in collect_md mode

2017-06-14 Thread Peter Dawson
On Thu, 15 Jun 2017 10:30:29 +0800 Haishuang Yan wrote: > Same as ip_gre, geneve and vxlan, use key->tos as tos value. > > CC: Peter Dawson > Fixes: 0e9a709560db ("ip6_tunnel, ip6_gre: fix setting of DSCP on > encapsulated packets”) > Suggested-by: Daniel Borkmann > Signed-off-by: Haishuang Ya

Re: [linux-sunxi] Re: [PATCH 1/2] dmaengine: sun6i: make gate bit in sun8i's DMA engines a common quirk

2017-06-14 Thread Vinod Koul
On Wed, Jun 14, 2017 at 11:04:39AM +0200, Maxime Ripard wrote: > On Wed, Jun 14, 2017 at 02:15:29PM +0530, Vinod Koul wrote: > > > SoC info is in compatible, so there's no reason to make it a property. > > > > that's why it would need to be optional for the SoC's that needs these.. > > There's no

Re: [HMM 07/15] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v3

2017-06-14 Thread zhong jiang
On 2017/5/25 1:20, Jérôme Glisse wrote: > HMM (heterogeneous memory management) need struct page to support migration > from system main memory to device memory. Reasons for HMM and migration to > device memory is explained with HMM core patch. > > This patch deals with device memory that is un-ad

Re: [HMM-CDM 3/5] mm/memcontrol: allow to uncharge page without using page->lru field

2017-06-14 Thread Balbir Singh
On Wed, 14 Jun 2017 16:11:42 -0400 Jérôme Glisse wrote: > HMM pages (private or public device pages) are ZONE_DEVICE page and > thus you can not use page->lru fields of those pages. This patch > re-arrange the uncharge to allow single page to be uncharge without > modifying the lru field of the s

Re: [PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes

2017-06-14 Thread Wei Yang
On Thu, Jun 08, 2017 at 02:23:18PM +0200, Michal Hocko wrote: >From: Michal Hocko > >movable_node kernel parameter allows to make hotplugable NUMA >nodes to put all the hotplugable memory into movable zone which >allows more or less reliable memory hotremove. At least this >is the case for the NU

Re: [PATCH 1/1] - Fix reiserfs WARNING in dquot_writeback_dquots

2017-06-14 Thread Tim Savannah
Any comments? Can we get this merged, or some variation? It affects a lot more than just all my machines. Google shows this traceback is occurring for others as well. On Mon, May 29, 2017 at 12:57 AM, Tim Savannah wrote: > Oops, sent last one without patch on accident. Attached this time. > > > T

Re: [PATCH v4 2/6] ARM: imx6: register pm_power_off handler if "fsl,pmic-stby-poweroff" is set

2017-06-14 Thread Shawn Guo
+Leonard, in case he wants to have a look. One small comment below ... On Fri, Jun 09, 2017 at 04:07:35PM +0200, Oleksij Rempel wrote: > One of the Freescale recommended sequences for power off with external > PMIC is the following: > ... > 3. SoC is programming PMIC for power off when standby i

Investment portfolio

2017-06-14 Thread Hassan Dako
Hello, How are you today? we have the financial capability to finance any investment portfolio as far as is it genuine, all we need is a capable business partner that possesses investment strategies or profitable business information for good turn over within 10-20years. We can provide proof

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

2017-06-14 Thread Daniel Micay
On Wed, 2017-06-14 at 19:16 -0700, Kees Cook wrote: > On Wed, Jun 14, 2017 at 7:06 PM, Stephen Rothwell u> wrote: > > Hi Kees, > > > > On Wed, 14 Jun 2017 18:56:30 -0700 Kees Cook > > wrote: > > > > > > I sent a series for -mm (or maintainers) to merge that should > > > catch > > > everything.

Re: [HMM-CDM 5/5] mm/hmm: simplify kconfig and enable HMM and DEVICE_PUBLIC for ppc64

2017-06-14 Thread John Hubbard
On 06/14/2017 07:09 PM, Jerome Glisse wrote: On Wed, Jun 14, 2017 at 04:10:32PM -0700, John Hubbard wrote: On 06/14/2017 01:11 PM, Jérôme Glisse wrote: [...] Hi Jerome, There are still some problems with using this configuration. First and foremost, it is still possible (and likely, given the

Re: [PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes

2017-06-14 Thread Wei Yang
On Mon, Jun 12, 2017 at 08:45:02AM +0200, Michal Hocko wrote: >On Mon 12-06-17 12:28:32, Wei Yang wrote: >> On Thu, Jun 08, 2017 at 02:23:18PM +0200, Michal Hocko wrote: >> >From: Michal Hocko >> > >> >movable_node kernel parameter allows to make hotplugable NUMA >> >nodes to put all the hotplugab

Re: [HMM-CDM 4/5] mm/memcontrol: support MEMORY_DEVICE_PRIVATE and MEMORY_DEVICE_PUBLIC

2017-06-14 Thread Balbir Singh
On Wed, 14 Jun 2017 22:04:55 -0400 Jerome Glisse wrote: > On Thu, Jun 15, 2017 at 11:41:59AM +1000, Balbir Singh wrote: > > On Wed, 14 Jun 2017 16:11:43 -0400 > > Jérôme Glisse wrote: > > > > > HMM pages (private or public device pages) are ZONE_DEVICE page and > > > thus need special handlin

Re: [PATCH v4] Introduce v3 namespaced file capabilities

2017-06-14 Thread Serge E. Hallyn
On Wed, Jun 14, 2017 at 08:27:40AM -0400, Stefan Berger wrote: > On 06/13/2017 07:55 PM, Serge E. Hallyn wrote: > >Quoting Stefan Berger (stef...@linux.vnet.ibm.com): > >> If all extended > >>attributes were to support this model, maybe the 'uid' could be > >>associated with the 'name' of the xatt

[PATCH v4 09/20] arm64: dts: hi3660: Add pl031 rtc node

2017-06-14 Thread Guodong Xu
From: Chen Feng Add dts node to enable pl031 rtc. Signed-off-by: Chen Feng Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi ind

[PATCH v4 12/20] arm64: dts: hi3660: add spi device nodes

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin Add spi2 and spi3 device nodes for hi3660, and enable them for hikey960. On HiKey960: - SPI2 is wired out through low speed expansion connector. - SPI3 is wired out through high speed expansion connector. Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- arch/arm

[PATCH v4 19/20] arm64: dts: hi3660: add sd/sdio device nodes

2017-06-14 Thread Guodong Xu
From: Li Wei Add sd/sdio device nodes for hi3660 soc Signed-off-by: Li Wei Signed-off-by: Chen Jun --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 8 arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 58 +++ 2 files changed, 66 insertions(+) diff --git a/a

[PATCH v4 20/20] arm64: dts: hi3660-hikey960: add nodes for WiFi

2017-06-14 Thread Guodong Xu
Add nodes for WiFi. HiKey960 is using TI WL1837MOD module. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 33 +++ 1 file changed, 33 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilic

[PATCH v4 17/20] arm64: dts: hikey960: add device node for pmic and regulators

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin add device node for hi6421 pmic core and hi6421v530 voltage regulator,include LDO(1,3,9,11,15,16) Signed-off-by: Wang Xiaoyin Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 46 +++ 1 file changed, 46 insertions(+) diff

[PATCH v4 18/20] dt-bindings: mmc: dw_mmc-k3: add document of hi3660 mmc

2017-06-14 Thread Guodong Xu
Add bindings for hi3660 mmc support Signed-off-by: Li Wei Signed-off-by: Guodong Xu --- Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/k3-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/k3-dw-ms

[PATCH v4 15/20] arm64: dts: hisi: add kirin pcie node

2017-06-14 Thread Guodong Xu
From: Xiaowei Song Add PCIe node for hi3660, and add binding documentation. Cc: Guodong Xu Signed-off-by: Xiaowei Song Acked-by: Arnd Bergmann --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 32 +++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dt

[PATCH v4 16/20] dt-bindings: mfd: hi6421: Add hi6421v530 compatible string

2017-06-14 Thread Guodong Xu
Add compatible string for HiSilicon Hi6421v530 PMIC. Signed-off-by: Guodong Xu Acked-for-mfd-by: Lee Jones Acked-by: Arnd Bergmann --- Documentation/devicetree/bindings/mfd/hi6421.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/h

[PATCH v4 13/20] arm64: dts: hi3660: add sp804 timer node

2017-06-14 Thread Guodong Xu
From: Leo Yan The Hi3660 SoC comes with the sp804 timer in addition to the architecture timers. These ones are shutdown when reaching a deep idle states and a backup timer is needed. The sp804 belongs to another power domain and can fulfill the purpose of replacing temporarily an architecture tim

[PATCH v4 14/20] dt-bindings: PCI: hisi: Add document for PCIe of Kirin SoCs

2017-06-14 Thread Guodong Xu
From: Xiaowei Song This patch adds document for PCIe of Kirin SoC series. Signed-off-by: Xiaowei Song Acked-by: Rob Herring --- .../devicetree/bindings/pci/kirin-pcie.txt | 50 ++ 1 file changed, 50 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH v4 11/20] arm64: dts: hikey960: add LED nodes

2017-06-14 Thread Guodong Xu
HiKey960 has four user LEDs, and two special purpose LEDs: WiFi and BT respectively. All of them are implemented as GPIO. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 48 +++ 1 file changed, 48 insertions(+) diff --git a/arch/arm64/boot/

[PATCH v4 06/20] arm64: dts: hi3660: add gpio dtsi file for Hisilicon Hi3660 SOC

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin This patch adds pl061 device nodes for Hi3660 SoC. Signed-off-by: Wang Xiaoyin --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 380 ++ 1 file changed, 380 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts

[PATCH v4 08/20] arm64: dts: hikey960: add WL1837 Bluetooth device node

2017-06-14 Thread Guodong Xu
This adds the serial slave device for the WL1837 Bluetooth interface. Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts b/arch/arm64/boot/dts/hisilico

[PATCH v4 07/20] arm64: dts: hi3660: Add uarts nodes

2017-06-14 Thread Guodong Xu
From: Chen Feng Add nodes uart0 to uart4 and uart6 for hi3660 SoC. Enable uart3 and uart6, disable uart5, in hikey960 board dts. On HiKey960: - UART6 is used as default console, and is wired out through low speed expansion connector. - UART3 has RTS/CTS hardware handshake, and is wire

[PATCH v4 10/20] arm64: dts: hi3660: add power key dts node

2017-06-14 Thread Guodong Xu
From: Chen Jun We use gpio_034 as power key on hikey960, and set gpio with pull-up state, when key press the voltage on the gpio will come to lower, and power key event will be reported. Signed-off-by: Chen Jun Signed-off-by: John Stultz Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisi

[PATCH v4 05/20] arm64: dts: Add I2C nodes for Hi3660

2017-06-14 Thread Guodong Xu
From: Zhangfei Gao Add I2C nodes for Hi3660-hikey960. On HiKey960, I2C0, I2C7 are connected to Low Speed Expansion Connector. I2C1 is connected to ADV7535. I2C3 is connected to USB5734. Cc: Jarkko Nikula Signed-off-by: Zhangfei Gao Signed-off-by: Guodong Xu --- arch/arm64/boot/dts/hisilicon

[PATCH v4 03/20] arm64: dts: hikey960: pinctrl: add more pinmux and pinconfig

2017-06-14 Thread Guodong Xu
From: Wang Xiaoyin This commit adds more pinmux and pinctrl information for devices on HiKey960, including i2c, spi, cam, uart, ufs, pcie, csi, pwr_key, isp, sd/sdio, i2s, and usb. Signed-off-by: Wang Xiaoyin Signed-off-by: Chen Jun Signed-off-by: Guodong Xu Acked-by: Rob Herring --- .../ar

[PATCH v4 02/20] arm64: dts: hisilicon: update compatible string for hikey960

2017-06-14 Thread Guodong Xu
Update compatible string for hikey960. HiKey960 is a develpment board built with SoC Hi3660. Signed-off-by: Guodong Xu Signed-off-by: Chen Feng Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/a

[PATCH v4 04/20] arm64: dts: hi3660: add resources for clock and reset

2017-06-14 Thread Guodong Xu
From: Zhangfei Gao Add some resource nodes for clock and reset Signed-off-by: Zhangfei Gao Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 53 +++ 1 file changed, 46 insertions(+), 7 deletions(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3

[PATCH v4 01/20] dt-bindings: arm: hisilicon: add bindings for HiKey960 board

2017-06-14 Thread Guodong Xu
Add bindings for HiKey960 Board. Signed-off-by: Guodong Xu Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt b/Documentation/devicetree/bi

[PATCH v4 00/20] arm64: dts: hi3660: add device nodes

2017-06-14 Thread Guodong Xu
This patchset adds various devices nodes for hi3660 and hikey960. HiKey960 is one of 96boards. For details information about it, please refer to [1]. In v4, I removed cpuidle patch * (v3-0014-arm64-dts-hi3660-enable-idle-states.patch) , since we are not sure yet whether the corresponding driver

Re: [PATCH 3/4] watchdog: Split up config options

2017-06-14 Thread Nicholas Piggin
On Wed, 14 Jun 2017 21:16:04 -0500 Babu Moger wrote: > Hi Don, > > On 6/14/2017 9:09 AM, Don Zickus wrote: > > On Wed, Jun 14, 2017 at 02:11:18AM +1000, Nicholas Piggin wrote: > >>> Yeah, if you wouldn't mind. Sorry for dragging this out, but I feel like > >>> we > >>> are getting close to h

Re: [HMM-CDM 5/5] mm/hmm: simplify kconfig and enable HMM and DEVICE_PUBLIC for ppc64

2017-06-14 Thread Balbir Singh
On Wed, 14 Jun 2017 22:07:09 -0400 Jerome Glisse wrote: > On Thu, Jun 15, 2017 at 11:46:11AM +1000, Balbir Singh wrote: > > On Wed, 14 Jun 2017 16:11:44 -0400 > > Jérôme Glisse wrote: > > > > > This just simplify kconfig and allow HMM and DEVICE_PUBLIC to be > > > selected for ppc64 once ZONE

[PATCH] net: s2io: remove useless variable in fill_rx_buffers

2017-06-14 Thread Gustavo A. R. Silva
Remove useless variable rxd_index and code related. Addresses-Coverity-ID: 1397691 Signed-off-by: Gustavo A. R. Silva --- drivers/net/ethernet/neterion/s2io.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c inde

  1   2   3   4   5   6   7   8   9   10   >