[PATCHSET] nvme-pci: sort out nvme initialization procedure in nvme_rest_work

2018-01-02 Thread Jianchao Wang
Hello This patchset is to sort out the nvme initialization procedure in nvme_reset_work. There is no functional changes in it. Add two new helper interfaces nvme_pci_pre_init and nvme_pci_post_init to package the nvme specific initialization work before configuring adminq and after getting identif

[PATCH 3/3] nvme-pci: add nvme_pci_post_init

2018-01-02 Thread Jianchao Wang
No functional change. Add new interface nvme_pci_post_init to get in the nvme sepcific initialization work after identify. Signed-off-by: Jianchao Wang --- drivers/nvme/host/pci.c | 58 + 1 file changed, 34 insertions(+), 24 deletions(-) diff --gi

[RFC PATCH v2] pciehp: fix a race between pciehp and removing operations by sysfs

2018-01-02 Thread Xiongfeng Wang
From: Xiongfeng Wang When I run a stress test about pcie hotplug and removing operations by sysfs, I got a hange task, and the following call trace is printed. INFO: task kworker/0:2:4413 blocked for more than 120 seconds. Tainted: PW O4.12.0-rc1 #1 "echo 0 > /proc/sys/kern

Re: [linux-sunxi] [PATCH v4 3/6] clk: sunxi-ng: add support for Allwinner A64 DE2 CCU

2018-01-02 Thread Chen-Yu Tsai
On Sat, Dec 30, 2017 at 7:30 PM, Icenowy Zheng wrote: > Allwinner A64's DE2 needs to claim a section of SRAM (SRAM C) to work. > > Add support for it. > > Signed-off-by: Icenowy Zheng > --- > Changes in v4: > - Use a struct to maintain both ccu desc and quirks as Chen-Yu Tsai > suggested. This

Re: [linux-sunxi] [PATCH v4 1/6] ARM: sunxi: h3/h5: add simplefb nodes

2018-01-02 Thread Chen-Yu Tsai
On Sat, Dec 30, 2017 at 7:30 PM, Icenowy Zheng wrote: > The H3/H5 SoCs have a HDMI output and a TV Composite output. > > Add simplefb nodes for these outputs. > > Signed-off-by: Icenowy Zheng > --- > Changes in v4: > - Dropped extra clocks (bus clocks and HDMI DDC clocks), only keep the > clock

[PATCH] xen/input: do not advertise multi-touch pressure support

2018-01-02 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Some user-space applications expect multi-touch pressure on contact to be reported if it is advertised in device properties. Otherwise, such applications may treat reports not as actual touches, but hovering. Currently this is only advertised, but not reported. Fix t

Re: [linux-sunxi] [PATCH v4 1/6] ARM: sunxi: h3/h5: add simplefb nodes

2018-01-02 Thread Icenowy Zheng
在 2018年1月2日星期二 CST 下午4:11:04,Chen-Yu Tsai 写道: > On Sat, Dec 30, 2017 at 7:30 PM, Icenowy Zheng wrote: > > The H3/H5 SoCs have a HDMI output and a TV Composite output. > > > > Add simplefb nodes for these outputs. > > > > Signed-off-by: Icenowy Zheng > > --- > > Changes in v4: > > - Dropped extr

[GIT PULL] phy: for 4.16

2018-01-02 Thread Kishon Vijay Abraham I
Hi Greg, Please find the pull request for 4.16 merge window below. It includes a fix in exynos5-usbdrd to enumerate SuperSpeed devices on Odroid XU3 and includes fixes/cleanups in Broadcom and Mediatek PHYs. Please see the tag message for the complete list of changes. Consider merging it for the

Re: [PATCH] x86: xen: remove the use of VLAIS

2018-01-02 Thread Juergen Gross
On 24/12/17 19:02, Nick Desaulniers wrote: > Variable Length Arrays In Structs (VLAIS) is not supported by Clang, and > frowned upon by others. > > https://lkml.org/lkml/2013/9/23/500 > > Here, the VLAIS was used because the size of the bitmap returned from > xen_mc_entry() depended on possibly (

[PATCH v5 02/39] openrisc: add ioremap_nocache declaration before include asm-generic/io.h and sync ioremap prototype with it.

2018-01-02 Thread Greentime Hu
From: Greentime Hu It will be built failed if commit id: d25ea659 is selected. This patch can fix this build error. Signed-off-by: Greentime Hu --- arch/openrisc/include/asm/io.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/openrisc/include/asm/io.h b/arch/ope

[PATCH v5 09/39] nds32: MMU initialization

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes memory initializations and highmem supporting. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/mm/highmem.c | 79 + arch/nds32/mm/init.c | 277 ++ arch/nds32/mm/mm-nds

[PATCH v5 11/39] nds32: Cache and TLB routines

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch contains cache and TLB maintenance functions. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/cache.h | 12 + arch/nds32/include/asm/cache_info.h| 13 + arch/nds32/include/asm/cacheflush.h| 44 +++ arch/nds

[PATCH v5 04/39] earlycon: add reg-offset to physical address before mapping

2018-01-02 Thread Greentime Hu
From: Greentime Hu It will get the wrong virtual address because port->mapbase is not added the correct reg-offset yet. We have to update it before earlycon_map() is called Signed-off-by: Greentime Hu --- drivers/tty/serial/earlycon.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[PATCH v5 07/39] nds32: Exception handling

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes the exception/interrupt entries, pt_reg structure and related accessors. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/ptrace.h | 66 + arch/nds32/kernel/ex-entry.S| 157 ++ arch/nds32/kernel/ex-exi

[PATCH v5 13/39] nds32: IRQ handling

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes irq related functions and irqchip_init(). Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/irqflags.h | 36 arch/nds32/kernel/irq.c |9 + 2 files changed, 45 i

[PATCH v5 15/39] nds32: Device specific operations

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch introduces ioremap implementations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/io.h | 83 +++ arch/nds32/mm/ioremap.c | 62 2 files changed, 1

[PATCH v5 18/39] nds32: System calls handling

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds support for system calls. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/syscall.h | 188 ++ arch/nds32/include/asm/syscalls.h| 13 +++ arch/nds32/include/asm/unistd.h |6

[PATCH v5 24/39] nds32: Loadable modules

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds support for loadable modules. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/module.h | 11 ++ arch/nds32/kernel/module.c | 286 +++ 2 files changed, 297 insertions(+) create mo

[PATCH v5 22/39] nds32: Debugging support

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds ptrace support. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/ptrace.h | 25 +++ arch/nds32/kernel/ptrace.c | 311 ++ 2 files changed, 336 insertions(+) create mode 10064

[PATCH v5 28/39] nds32: defconfig

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 defconfig. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/configs/defconfig | 108 ++ 1 file changed, 108 insertions(+) create mode 100644 arch/nds32/configs/defconfig diff --git a/arch

[PATCH v5 20/39] nds32: Signal handling support

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds support for signal handling. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/sigcontext.h | 60 ++ arch/nds32/kernel/signal.c | 337 ++ 2 files changed, 397 insertions(+

[PATCH v5 29/39] nds32: Build infrastructure

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building an nds32 kernel. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/Kconfig | 108 arch/nds32/Kconfig.cpu | 161 +++

[PATCH v5 34/39] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds an irqchip driver document for the Andestech Internal Vector Interrupt Controller. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu Reviewed-by: Rob Herring --- .../interrupt-controller/andestech,ativic32.txt| 19 +++ 1 file change

[PATCH v5 35/39] irqchip: Andestech Internal Vector Interrupt Controller driver

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds the Andestech Internal Vector Interrupt Controller driver. You can find the spec here. Ch4.9 of AndeStar SPA V3 Manual. http://www.andestech.com/product.php?cls=9 Signed-off-by: Rick Chen Signed-off-by: Greentime Hu Reviewed-by: Marc Zyngier --- drivers/irq

[PATCH v5 39/39] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2018-01-02 Thread Greentime Hu
From: Rick Chen Add a document to describe Andestech atcpit100 timer and binding information. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu Acked-by: Rob Herring --- .../bindings/timer/andestech,atcpit100-timer.txt | 33 1 file changed, 33 insertions(+) creat

[PATCH v5 38/39] clocksource/drivers/atcpit100: VDSO support

2018-01-02 Thread Greentime Hu
From: Rick Chen VDSO needs real-time cycle count to ensure the time accuracy. Unlike others, nds32 architecture does not define clock source, hence VDSO needs atcpit100 offering real-time cycle count to derive the correct time. Signed-off-by: Vincent Chen Signed-off-by: Rick Chen Signed-off-by

[PATCH v5 37/39] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2018-01-02 Thread Greentime Hu
From: Rick Chen ATCPIT100 is often used on the Andes architecture, This timer provide 4 PIT channels. Each PIT channel is a multi-function timer, can be configured as 32,16,8 bit timers or PWM as well. For system timer it will set channel 1 32-bit timer0 as clock source and count downwards until

[PATCH v5 36/39] net: faraday add nds32 support.

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch is used to support nds32 architecture to use these faraday mac IP. Signed-off-by: Greentime Hu --- drivers/net/ethernet/faraday/Kconfig |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/faraday/Kconfig b/drivers/n

Re: [linux-sunxi] [PATCH v4 5/6] arm64: allwinner: a64: add simplefb for A64 SoC

2018-01-02 Thread Chen-Yu Tsai
On Sat, Dec 30, 2017 at 7:30 PM, Icenowy Zheng wrote: > The A64 SoC features two display pipelines, one has a LCD output, the > other has a HDMI output. > > Add support for simplefb for these pipelines on A64 SoC. > > Signed-off-by: Icenowy Zheng > --- > Changes in v4: > - Dropped extra clocks. >

[PATCH v5 33/39] dt-bindings: nds32 SoC Bindings

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 SoC(AE3XX and AG101P) binding documents. Signed-off-by: Greentime Hu Reviewed-by: Rob Herring --- .../devicetree/bindings/nds32/andestech-boards | 40 1 file changed, 40 insertions(+) create mode 100644 Documentation/devicet

Re: [linux-sunxi] [PATCH v4 1/6] ARM: sunxi: h3/h5: add simplefb nodes

2018-01-02 Thread Jernej Škrabec
Hi, Dne torek, 02. januar 2018 ob 09:14:37 CET je Icenowy Zheng napisal(a): > 在 2018年1月2日星期二 CST 下午4:11:04,Chen-Yu Tsai 写道: > > > On Sat, Dec 30, 2017 at 7:30 PM, Icenowy Zheng wrote: > > > The H3/H5 SoCs have a HDMI output and a TV Composite output. > > > > > > Add simplefb nodes for these out

[PATCH v5 31/39] dt-bindings: nds32 CPU Bindings

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 CPU binding documents. Signed-off-by: Vincent Chen Signed-off-by: Rick Chen Signed-off-by: Zong Li Signed-off-by: Greentime Hu Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/nds32/cpus.txt | 37 ++ 1 file change

[PATCH v5 32/39] dt-bindings: nds32 L2 cache controller Bindings

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 L2 cache controller binding documents. Signed-off-by: Greentime Hu --- Documentation/devicetree/bindings/nds32/atl2c.txt | 29 + 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/nds32/atl2c.txt

[PATCH v5 30/39] MAINTAINERS: Add nds32

2018-01-02 Thread Greentime Hu
From: Greentime Hu Signed-off-by: Greentime Hu --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2f4e462..20284c8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -857,6 +857,17 @@ X: drivers/iio/*/adjd* F: drivers/staging/iio/*

[PATCH v5 26/39] nds32: Device tree support

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds support for device tree. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/boot/dts/Makefile |8 + arch/nds32/boot/dts/ae3xx.dts | 73 + arch/nds32/kernel/devtree.c | 19 +++

[PATCH v5 27/39] nds32: Miscellaneous header files

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch introduces some miscellaneous header files. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/delay.h | 39 +++ arch/nds32/include/asm/linkage.h| 11 + arch/nds32/include/ua

[PATCH v5 25/39] nds32: Generic timers support

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds support for timer. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu Reviewed-by: Linus Walleij --- arch/nds32/kernel/time.c | 11 +++ 1 file changed, 11 insertions(+) create mode 100644 arch/nds32/kernel/time.c diff --git a/arch/nds32/ker

[PATCH v5 23/39] nds32: L2 cache support

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds L2 cache support. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/l2_cache.h | 137 + arch/nds32/kernel/atl2c.c | 64 + 2 files changed, 201 insertions(+) crea

[PATCH v5 21/39] nds32: Library functions

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch add support for various library functions. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/string.h | 17 +++ arch/nds32/include/asm/swab.h| 35 + arch/nds32/include/asm/uaccess.h | 283

[PATCH v5 19/39] nds32: VDSO support

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds VDSO support. The VDSO code is currently used for sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter). Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/vdso.h | 24 +++ arch/nds32/inc

Re: [PATCH -next] xen/pvcalls: use GFP_ATOMIC under spin lock

2018-01-02 Thread Juergen Gross
On 28/12/17 04:46, Wei Yongjun wrote: > A spin lock is taken here so we should use GFP_ATOMIC. > > Fixes: 9774c6cca266 ("xen/pvcalls: implement accept command") > Signed-off-by: Wei Yongjun Reviewed-by: Juergen Gross Juergen

[PATCH v5 17/39] nds32: ELF definitions

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds definitions for the ELF format, relocation types, vdso locations and EXEC_PAGESIZE. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/elf.h | 179 ++ arch/nds32/include/uapi/asm/auxvec

[PATCH v5 16/39] nds32: DMA mapping API

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch adds support for the DMA mapping API. It uses dma_map_ops for flexibility. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/dma-mapping.h | 14 ++ arch/nds32/kernel/dma.c | 459 ++

[PATCH v5 14/39] nds32: Atomic operations

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes the atomic and futex operations. Many atomic operations use the load-lock word(llw) and store-condition word(scw) operations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/barrier.h | 15 ++ arch/nds32/include/a

Re: [RFC PATCH 1/4] rtc: Introduce one interface to save the RTC hardware time range

2018-01-02 Thread Baolin Wang
Hi Alexandre, On 2 January 2018 at 15:47, Alexandre Belloni wrote: > Hi Baolin, > > Could you have a look at > https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-ranges > > My approach has multiple advantages as it works for 64-bit counters and > the range can be upd

[PATCH v5 12/39] nds32: Process management

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes copy_thread(), start_thread() implementation and cpu_context structure definition. nds32 uses $r25 to get current task_struct. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/current.h | 12 ++ arch/nds32/include/

[PATCH v5 08/39] nds32: MMU definitions

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It also includes the 4KB/8KB page size configurations and pte operations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/fixmap.h | 29 +++ arch/nds32/include/a

[PATCH v5 03/39] sparc: io: To use the define of ioremap_[nocache|wc|wb] in asm-generic/io.h

2018-01-02 Thread Greentime Hu
From: Greentime Hu It will be built failed if commit id: d25ea659 is selected. This patch can fix this build error. Signed-off-by: Greentime Hu --- arch/sparc/include/asm/io_32.h |5 - arch/sparc/kernel/ioport.c |4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --

[PATCH v5 06/39] nds32: Kernel booting and initialization

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes the kernel startup code. It can get dtb pointer passed from bootloader. It will create a temp mapping by tlb instructions at beginning and goto start_kernel. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/kernel/head.S | 188 +++

[PATCH v5 05/39] nds32: Assembly macros and definitions

2018-01-02 Thread Greentime Hu
From: Greentime Hu This patch includes assembly macros, bit field definitions used in .S files across arch/nds32/. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/assembler.h | 39 ++ arch/nds32/include/asm/bitfield.h | 963 ++

[PATCH v5 01/39] asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU

2018-01-02 Thread Greentime Hu
From: Greentime Hu It allows some architectures to use this generic macro instead of defining theirs. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann --- include/asm-generic/io.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff

[PATCH v5 00/39] Andes(nds32) Linux Kernel Port

2018-01-02 Thread Greentime Hu
This is the 5th version patchset to add the Linux kernel port for Andes(nds32) processors. Almost all of the feedbacks from v4 patchseries has been addressed. Thanks to everyone who provided feedback on the previous version. This patchset adds core architecture support to Linux for Andestech's N1

Re: [PATCH v3 06/27] gpio: replace devm_ioremap_nocache with devm_ioremap

2018-01-02 Thread Linus Walleij
On Sat, Dec 23, 2017 at 11:58 AM, Yisheng Xie wrote: > Default ioremap is ioremap_nocache, so devm_ioremap has the same > function with devm_ioremap_nocache, which can just be killed to > save the size of devres.o > > This patch is to use use devm_ioremap instead of devm_ioremap_nocache, > which

Re: [PATCH v3 18/27] pinctrl: replace devm_ioremap_nocache with devm_ioremap

2018-01-02 Thread Linus Walleij
On Sat, Dec 23, 2017 at 12:00 PM, Yisheng Xie wrote: > Default ioremap is ioremap_nocache, so devm_ioremap has the same > function with devm_ioremap_nocache, which can just be killed to > save the size of devres.o > > This patch is to use use devm_ioremap instead of devm_ioremap_nocache, > which

Re: [PATCH] pinctrl: at91: Delete an error message for a failed memory allocation in at91_pinctrl_mux_mask()

2018-01-02 Thread Linus Walleij
On Sat, Dec 23, 2017 at 8:55 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 23 Dec 2017 20:44:27 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring P

Re: [PATCH] pinctrl: palmas: Delete an error message for a failed memory allocation in palmas_pinctrl_probe()

2018-01-02 Thread Linus Walleij
On Sat, Dec 23, 2017 at 9:30 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 23 Dec 2017 21:16:42 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring P

Re: [PATCH 1/3] pinctrl: rockchip: Delete error messages for a failed memory allocation in two functions

2018-01-02 Thread Linus Walleij
On Sat, Dec 23, 2017 at 10:38 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 23 Dec 2017 22:02:47 +0100 > > Omit extra messages for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring

Re: [PATCH 2/3] pinctrl: rockchip: Improve a size determination in rockchip_pinctrl_probe()

2018-01-02 Thread Linus Walleij
On Sat, Dec 23, 2017 at 10:40 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 23 Dec 2017 22:07:30 +0100 > > Replace the specification of a data structure by a pointer dereference > as the parameter for the operator "sizeof" to make the corresponding size > determination a bit s

Re: [PATCH] MIPS: Loongson64: Drop 32-bit support for Loongson 2E/2F devices

2018-01-02 Thread James Hogan
On Tue, Dec 26, 2017 at 12:21:38PM +0800, Jiaxun Yang wrote: > Make loongson64 a pure 64-bit mach. Please expand to provide some rationale behind the change. Was 32-bit support broken at runtime, or broken at build time, or are we simply no longer interested in supporting it? Cheers James > > S

Re: [PATCH 3/3] pinctrl: rockchip: Fix a typo in four comment lines

2018-01-02 Thread Linus Walleij
On Sat, Dec 23, 2017 at 10:42 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 23 Dec 2017 22:22:54 +0100 > > Adjust words in these descriptions. > > Signed-off-by: Markus Elfring Patch applied. Yours, Linus Walleij

Re: [PATCH 1/2] pinctrl: single: Delete an error message for a failed memory allocation in pcs_probe()

2018-01-02 Thread Linus Walleij
On Mon, Dec 25, 2017 at 2:06 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 25 Dec 2017 11:27:55 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring P

Re: [PATCH 2/2] pinctrl: single: Delete an unnecessary return statement in pcs_irq_chain_handler()

2018-01-02 Thread Linus Walleij
On Mon, Dec 25, 2017 at 2:07 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 25 Dec 2017 11:35:44 +0100 > > The script "checkpatch.pl" pointed information out like the following. > > WARNING: void function return statements are not generally useful > > Thus remove such a stateme

Re: [PATCH] pinctrl: tz1090: Delete an error message for a failed memory allocation in two functions

2018-01-02 Thread Linus Walleij
On Mon, Dec 25, 2017 at 6:13 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 25 Dec 2017 17:55:48 +0100 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring

Re: [PATCH] pinctrl: tz1090-pdc: Delete an error message for a failed memory allocation in two functions

2018-01-02 Thread Linus Walleij
On Mon, Dec 25, 2017 at 6:34 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 25 Dec 2017 18:28:02 +0100 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring

Re: [PATCH] pinctrl: utils: Delete an error message for a failed memory allocation in pinctrl_utils_add_map_configs()

2018-01-02 Thread Linus Walleij
On Mon, Dec 25, 2017 at 8:15 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 25 Dec 2017 20:04:05 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring P

Re: [PATCH] pinctrl: xway: Delete two error messages for a failed memory allocation in pinmux_xway_probe()

2018-01-02 Thread Linus Walleij
On Mon, Dec 25, 2017 at 10:02 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 25 Dec 2017 21:51:26 +0100 > > Omit extra messages for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Pa

Documentation: OMAPDSS: move sysfs documentation to ABI

2018-01-02 Thread Aishwarya Pant
Hi In Documentation/arm/OMAP/DSS, there is a description of the DSS and FB sysfs interfaces which could be moved to Documentation/ABI. Would such a change be useful? I can see that the sysfs interface is still in testing. The ABI documentation format looks like the following: What: (th

Re: [PATCH] pinctrl: samsung: Add SPDX license identifiers

2018-01-02 Thread Linus Walleij
On Tue, Dec 26, 2017 at 7:09 PM, Krzysztof Kozlowski wrote: > Replace GPL license statements with SPDX GPL-2.0+ license identifiers. > > Signed-off-by: Krzysztof Kozlowski Patch applied. Yours, Linus Walleij

Re: [PATCH] pinctrl/spear/plgpio: Delete two error messages for a failed memory allocation in plgpio_probe()

2018-01-02 Thread Linus Walleij
On Wed, Dec 27, 2017 at 10:39 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 27 Dec 2017 22:34:28 +0100 > > Omit extra messages for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Pa

Re: [PATCH] pinctrl: spear: Delete an error message for a failed memory allocation in spear_pinctrl_probe()

2018-01-02 Thread Linus Walleij
On Wed, Dec 27, 2017 at 10:48 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 27 Dec 2017 22:44:04 +0100 > > Omit an extra message for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring

Re: [PATCH 4.14 000/146] 4.14.11-stable review

2018-01-02 Thread Greg Kroah-Hartman
On Tue, Jan 02, 2018 at 01:58:30AM +0530, Naresh Kamboju wrote: > On 1 January 2018 at 20:06, Greg Kroah-Hartman > wrote: > > This is the start of the stable review cycle for the 4.14.11 release. > > There are 146 patches in this series, all will be posted as a response > > to this one. If anyone

Re: [PATCH v2 6/9] v4l: i2c: Copy ov772x soc_camera sensor driver

2018-01-02 Thread jacopo mondi
Hi Philippe, thanks for the comment, On Fri, Dec 29, 2017 at 01:47:30PM +0100, Philippe Ombredanne wrote: > Jacopo, > > On Thu, Dec 28, 2017 at 3:01 PM, Jacopo Mondi > wrote: > > Copy the soc_camera based driver in v4l2 sensor driver directory. > > This commit just copies the original file wi

Re: [PATCH] pinctrl: tegra: Delete two error messages for a failed memory allocation in tegra_pinctrl_probe()

2018-01-02 Thread Linus Walleij
On Thu, Dec 28, 2017 at 3:32 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 28 Dec 2017 15:15:08 +0100 > > Omit extra messages for a memory allocation failure in this function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring Pat

[PATCH 1/5] drm/panel: simple: add support for Ampire AM-800480AYTZQW-00H

2018-01-02 Thread Jagan Teki
This adds support for the Ampire AM-800480AYTZQW-00H 7.0" WGA LCD, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki --- .../display/panel/ampire,am-800480aytzqw-00h.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 27 ++ 2 fi

[PATCH 4/5] drm/panel: simple: Add support for KEO TX31D200VM0BAA

2018-01-02 Thread Jagan Teki
This adds support for the Kaohsiung Opto-Electronics., TX31D200VM0BAA 12.3" HSXGA LVDS panel, which can be supported by the simple panel driver. Signed-off-by: Jagan Teki --- .../bindings/display/panel/koe,tx31d200vm0baa.txt | 7 ++ drivers/gpu/drm/panel/panel-simple.c | 27 +

[PATCH 2/5] ARM: dts: imx6q-icore: Switch LVDS timings from panel-simple

2018-01-02 Thread Jagan Teki
Switch to use ampire,am-800480aytzqw-00h LVDS timings from panel-simple instead hard coding the same in dts. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6q-icore.dts| 31 +-- arch/arm/boot/dts/imx6qdl-icore.dtsi | 2 +- 2 files changed, 18 insertions(+), 1

[PATCH 5/5] ARM: dts: imx6q-icore-ofcap12: Switch LVDS timings from panel-simple

2018-01-02 Thread Jagan Teki
Switch to use koe_tx31d200vm0baa LVDS timings from panel-simple instead hard coding the same in dts. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6q-icore-ofcap12.dts | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx

[PATCH 3/5] ARM: dts: imx6dl-icore: Add LVDS node

2018-01-02 Thread Jagan Teki
Add ampire,am-800480aytzqw-00h LVDS support by using timings from panel-simple. Signed-off-by: Jagan Teki --- arch/arm/boot/dts/imx6dl-icore.dts | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/imx6dl-icore.dts b/arch/arm/boot/dts/imx6dl-icore.

Re: [PATCH] pinctrl: mcp23s08: fix irq setup order

2018-01-02 Thread Linus Walleij
On Thu, Dec 28, 2017 at 4:19 PM, Dmitry Mastykin wrote: > When using mcp23s08 module with gpio-keys, often (50% of boots) > it fails to get irq numbers with message: > "gpio-keys keys: Unable to get irq number for GPIO 0, error -6". > Seems that irqs must be setup before devm_gpiochip_add_data().

Re: [PATCH] pinctrl: vt8500: Delete an error message for a failed memory allocation in five functions

2018-01-02 Thread Linus Walleij
On Thu, Dec 28, 2017 at 4:20 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Thu, 28 Dec 2017 16:12:17 +0100 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring

[PATCH] drivers: gpu: drm: Fix warning for incomplete Declarations in client.c

2018-01-02 Thread Vaibhav Kothari
This patch fixes the Sparse Warning "symbol was not declared. Should it be static?" in nvkm/core/client.c Signed-off-by: Vaibhav Kothari --- drivers/gpu/drm/nouveau/nvkm/core/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/core/client.c

Re: [PATCH 2/4] extcon: axp288: Remove unused platform data

2018-01-02 Thread Lee Jones
On Tue, 02 Jan 2018, Chanwoo Choi wrote: > + MFD Maintainer (Lee Jones ) > > Hi Hans, > > You better to use the scripts/get_maintainer.pl for the mailing list. > I added the MFD maintainer. > > This patch looks good to me. > Reviewed-by: Chanwoo Choi > > > Best Regards, > Chanwoo Choi > > O

Re: [PATCH 3/3] gpio: Change ISA_BUS_API dependency to selection

2018-01-02 Thread Linus Walleij
On Thu, Dec 28, 2017 at 5:02 PM, William Breathitt Gray wrote: > The ISA_BUS_API Kconfig option enables the compilation of the ISA bus > driver. The ISA bus driver does not perform any hardware interaction, > and is instead just a thin layer of software abstraction to eliminate > boilerplate code

Re: [PATCH 3/3] gpio: Change ISA_BUS_API dependency to selection

2018-01-02 Thread Linus Walleij
On Tue, Jan 2, 2018 at 10:18 AM, Linus Walleij wrote: > On Thu, Dec 28, 2017 at 5:02 PM, William Breathitt Gray > wrote: > >> The ISA_BUS_API Kconfig option enables the compilation of the ISA bus >> driver. The ISA bus driver does not perform any hardware interaction, >> and is instead just a thi

Re: [PATCH net-next 2/2] tun: allow to attach ebpf socket filter

2018-01-02 Thread Willem de Bruijn
>>> /* Net device start xmit */ >>> static netdev_tx_t tun_net_xmit(struct sk_buff *skb, struct net_device >>> *dev) >>> { >>> struct tun_struct *tun = netdev_priv(dev); >>> int txq = skb->queue_mapping; >>> struct tun_file *tfile; >>> + int len = skb->len; >>

Order in "compatibility" DT property ignored by a platform bus

2018-01-02 Thread Rafał Miłecki
I was wondering how platform bus handles order of strings in the "compatibility" property. After reading the code & testing it I realized it doesn't. The property should store strings ordered from the most specific to the most generic. You could expect a more specific string to have a priority whi

[PATCH][crypto-next] crypto: tcrypt: fix spelling mistake: "bufufer"-> "buffer"

2018-01-02 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistakes in pr_err error message text. Signed-off-by: Colin Ian King --- crypto/tcrypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 58e3344d7169..f61d2f40dd90 100644 --- a/crypto/t

Re: [PATCH v2 3/3] gpio: rcar: Use WAKEUP_PATH driver PM flag

2018-01-02 Thread Linus Walleij
On Fri, Dec 29, 2017 at 2:31 PM, Ulf Hansson wrote: > From: Geert Uytterhoeven > > Since commit ab82fa7da4dce5c7 ("gpio: rcar: Prevent module clock disable > when wake-up is enabled"), when a GPIO is used for wakeup, the GPIO block's > module clock (if exists) is manually kept running during sys

Re: [PATCH V1 3/4] usb: serial: f81534: add output pin control

2018-01-02 Thread Johan Hovold
On Tue, Jan 02, 2018 at 11:24:26AM +0800, Ji-Ze Hong (Peter Hong) wrote: > Hi Johan, > > >> In this code, I'm only read/write 3 registers of 0x2ae8, 0x2a90, 0x2a80, > >> but some register will read/write more than once. Should I change the > >> code from port_probe() to attach() and re-write it as

Re: [PATCH v2 0/5] Change ISA_BUS_API dependency to selection

2018-01-02 Thread Linus Walleij
On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray wrote: > Linus, please pickup this entire patchset through your GPIO subsystem > tree; a recursive dependency error is present if these patches are > cherry-picked (see https://lkml.org/lkml/2017/12/26/235), so they should > be merged togeth

Re: [PATCH] drm/ttm: optimize errors checking and free _manager when finishing

2018-01-02 Thread Christian König
Am 02.01.2018 um 04:05 schrieb He, Roger: -Original Message- From: Xiongwei Song [mailto:sxwj...@gmail.com] Sent: Sunday, December 31, 2017 7:40 PM To: Koenig, Christian ; He, Roger ; airl...@linux.ie Cc: dri-de...@lists.freedesktop.org; linux-kernel@vger.kernel.org Subject: [PATCH] drm

[PATCH 1/2] ARM: dts: imx6ul: add 696MHz operating point

2018-01-02 Thread Anson Huang
Add 696MHz operating point according to datasheet (Rev. 0, 12/2015). Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6ul.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi index e0b4a46..86b3251 100644 --- a/arch/arm/boot/

[PATCH 2/2] cpufreq: imx6q: add 696MHz operating point for i.mx6ul

2018-01-02 Thread Anson Huang
Add 696MHz operating point for i.MX6UL, only for those parts with speed grading fuse set to 2b'10 supports 696MHz operating point, so, speed grading check is also added for i.MX6UL in this patch, the clock tree for each operating point are as below: 696MHz: pll1 69600

Re: [PATCH v4 1/2] dt-bindings: clocksource: Add Spreadtrum SC9860 timer

2018-01-02 Thread Daniel Lezcano
On 12/12/2017 12:28, Baolin Wang wrote: > This patch adds documentation of device tree bindings for the timers > found on Spreadtrum SC9860 platform. > > Signed-off-by: Baolin Wang > Acked-by: Rob Herring > --- > Changes since v3: > - Use clocks property instead of "clock-frequency". > > chang

Re: [PATCH 2/2] MIPS: Remove a warning when PHYS_OFFSET is 0x0

2018-01-02 Thread James Hogan
On Tue, Dec 26, 2017 at 12:37:14PM +0100, Mathieu Malaterre wrote: > Rewrite the comparison in `else if` statement, case where `min_low_pfn > > ARCH_PFN_OFFSET` has already been checked in the first `if` statement: > > if (min_low_pfn > ARCH_PFN_OFFSET) { > > Fix non-fatal warning: > > arch/mi

Re: [PATCH v4 2/2] clocksource: sprd: Add timer driver for Spreadtrum SC9860 platform

2018-01-02 Thread Daniel Lezcano
On 12/12/2017 12:28, Baolin Wang wrote: > The Spreadtrum SC9860 platform will use the architected timers as local > clock events, but we also need a broadcast timer device to wakeup the > cpus when the cpus are in sleep mode. > > The Spreadtrum timer can support 32bit or 64bit counter, as well as

Re: [PATCH v2 1/9] dt-bindings: media: Add Renesas CEU bindings

2018-01-02 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Dec 28, 2017 at 3:01 PM, Jacopo Mondi wrote: > Add bindings documentation for Renesas Capture Engine Unit (CEU). Thanks for your patch! > Signed-off-by: Jacopo Mondi > --- /dev/null > +++ b/Documentation/devicetree/bindings/media/renesas,ceu.txt > @@ -0,0 +1,85 @@ > +Renesa

Re: [PATCH v2 4/9] ARM: dts: r7s72100: Add Capture Engine Unit (CEU)

2018-01-02 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Dec 28, 2017 at 3:01 PM, Jacopo Mondi wrote: > Add Capture Engine Unit (CEU) node to device tree. Thanks for your patch! > Signed-off-by: Jacopo Mondi With the issue below fixed: Reviewed-by: Geert Uytterhoeven > --- a/arch/arm/boot/dts/r7s72100.dtsi > +++ b/arch/arm/boot

Re: [PATCH v2 3/3] gpio: rcar: Use WAKEUP_PATH driver PM flag

2018-01-02 Thread Geert Uytterhoeven
Hi Linus, On Tue, Jan 2, 2018 at 10:27 AM, Linus Walleij wrote: > On Fri, Dec 29, 2017 at 2:31 PM, Ulf Hansson wrote: >> From: Geert Uytterhoeven >> Since commit ab82fa7da4dce5c7 ("gpio: rcar: Prevent module clock disable >> when wake-up is enabled"), when a GPIO is used for wakeup, the GPIO bl

Re: [PATCH v4 2/3] dt-bindings: Add binding for Sitronix ST7735R display panels

2018-01-02 Thread Linus Walleij
On Mon, Jan 1, 2018 at 8:02 PM, David Lechner wrote: > This adds a new device tree binding for Sitronix ST7735R display panels, > such as the Adafruit 1.8" TFT. > > Signed-off-by: David Lechner > Reviewed-by: Rob Herring Reviewed-by: Linus Walleij Yours, Linus Walleij

  1   2   3   4   5   6   7   8   9   >