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 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 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] 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] 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 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 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

[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

[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 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 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 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 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 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/

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 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

[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 ++

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 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

[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 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 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 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 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 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 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

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

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

[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

[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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

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 (

[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: [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

[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 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

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

[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

[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

[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

<    4   5   6   7   8   9