[PATCH] libata: update documentation for sysfs interfaces

2018-02-13 Thread Aishwarya Pant
Dcoumentation has been added by parsing through git commit history and reading code. This might be useful for scripting and tracking changes in the ABI. I do not have complete descriptions for the following 3 attributes; they have been annotated with the comment [to be documented] - /sys/

rmi4 defunct on T460p [was: [git pull] Input updates for v4.15-rc8]

2018-02-13 Thread Jiri Slaby
On 02/09/2018, 02:39 AM, Dmitry Torokhov wrote: > On Thu, Feb 08, 2018 at 11:04:22AM +0100, Jiri Slaby wrote: >> On 01/19/2018, 06:42 PM, Dmitry Torokhov wrote: >>> Please pull from: >>> >>> git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus >>> >>> to receive updates for th

Re: [PATCH v7 3/6] iommu/arm-smmu: Invoke pm_runtime during probe, add/remove device

2018-02-13 Thread Tomasz Figa
Hi Vivek, Thanks for the patch. Please see my comments inline. On Wed, Feb 7, 2018 at 7:31 PM, Vivek Gautam wrote: > From: Sricharan R > > The smmu device probe/remove and add/remove master device callbacks > gets called when the smmu is not linked to its master, that is without > the context o

[PATCH v2 RESENT] blk: optimization for classic polling

2018-02-13 Thread Nitesh Shetty
This removes the dependency on interrupts to wake up task. Set task state as TASK_RUNNING, if need_resched() returns true, while polling for IO completion. Earlier, polling task used to sleep, relying on interrupt to wake it up. This made some IO take very long when interrupt-coalescing is enabled

Re: [PATCH V2] auxdisplay: use correct string length

2018-02-13 Thread Arnd Bergmann
On Tue, Feb 13, 2018 at 8:23 AM, Willy Tarreau wrote: > On Tue, Feb 13, 2018 at 09:19:21AM +0800, Xiongfeng Wang wrote: >> This may suppress the gcc warning. > > In fact there are two big problems with gcc warnings : > - writing -Wno-something-unknown triggers an error on versions where > "

[PATCH] usb: dwc2: add support for host mode external vbus supply

2018-02-13 Thread Amelie Delaunay
This patch adds a way to enable an external vbus supply in host mode, when dwc2 drvvbus signal is not used. This patch is very similar to the one done in U-Boot dwc2 driver [1]. It also adds dynamic vbus supply management depending on the role and state of the core. [1] https://lists.denx.de/pipe

Re: [PATCH 1/2] dt-bindings: gpio: Add Spreadtrum EIC controller documentation

2018-02-13 Thread Linus Walleij
Hi Baolin! Thank you for your patch. On Thu, Feb 8, 2018 at 9:01 AM, Baolin Wang wrote: > This patch adds the device tree bindings for the Spreadtrum EIC > controller. The EIC can be recognized as one special type of GPIO, s/recognized as one/seen as a/g > which can only be used as input. > >

Re: [PATCH v9 2/3] arm: dts: add Nuvoton NPCM750 device tree

2018-02-13 Thread Arnd Bergmann
On Tue, Feb 6, 2018 at 12:57 AM, Brendan Higgins wrote: > Add a common device tree for all Nuvoton NPCM750 BMCs and a board > specific device tree for the NPCM750 (Poleg) evaluation board. > > Signed-off-by: Brendan Higgins > Reviewed-by: Tomer Maimon > Reviewed-by: Avi Fishman > Reviewed-by: J

Re: [PATCH v2] tools/memory-model: Make compat with herd7 7.47 ("-" -> "_")

2018-02-13 Thread Ingo Molnar
* Paul E. McKenney wrote: > Cat-language code has used "-" as a word > separator in names, and the model had previously had an odd mixture of > "-" and "_". Hence, the switch to the cat-language convention. > > Of course, if underscore is strongly preferred, underscore does work, > and it shou

Re: [PATCH v2] printk: move dump stack related code to lib/dump_stack.c

2018-02-13 Thread Sergey Senozhatsky
On (02/13/18 15:28), Dave Young wrote: > > dump_stack related stuff should belong to lib/dump_stack.c thus move them > there. Also conditionally compile lib/dump_stack.c since dump_stack code > does not make sense if printk is disabled. > > Signed-off-by: Dave Young > Suggested-by: Steven Rosted

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-13 Thread Arnd Bergmann
On Tue, Feb 13, 2018 at 2:53 AM, Randy Dunlap wrote: > On 02/12/2018 05:41 PM, Masahiro Yamada wrote: >> 2018-02-13 8:48 GMT+09:00 Randy Dunlap : >>> On 02/12/2018 07:24 AM, Kees Cook wrote: On Mon, Feb 12, 2018 at 6:39 AM, Masahiro Yamada wrote: >>> >> (And in thinking about this,

Re: [PATCH v7 4/6] iommu/arm-smmu: Add the device_link between masters and smmu

2018-02-13 Thread Tomasz Figa
Hi Vivek, Thanks for the patch. Please see my comments inline. On Wed, Feb 7, 2018 at 7:31 PM, Vivek Gautam wrote: > From: Sricharan R > > Finally add the device link between the master device and > smmu, so that the smmu gets runtime enabled/disabled only when the > master needs it. This is do

Re: [tip:x86/boot] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2018-02-13 Thread Andrei Vagin
On Tue, Feb 13, 2018 at 11:08:16AM +0300, Kirill A. Shutemov wrote: > On Mon, Feb 12, 2018 at 10:51:56PM -0800, Andrei Vagin wrote: > > Hi Kirill, > > > > Something is wrong in this patch. > > Was it bisected to exactly this patch? Is the previous one fine? Yes. Yes. > > > We regularly run CRIU

[PATCH] drm/simple_kms_helper: Fix NULL pointer dereference with no active CRTC

2018-02-13 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko It is possible that drm_simple_kms_plane_atomic_check called with no CRTC set, e.g. when user-space application sets CRTC_ID/FB_ID to 0 before doing any actual drawing. This leads to NULL pointer dereference because in this case new CRTC state is NULL and must be che

Re: Thinkpad X1 Carbon 3rd - Reducing the compressed framebuffer size

2018-02-13 Thread Pali Rohár
On Tuesday 06 February 2018 16:21:43 Pali Rohár wrote: > Hi! I'm periodically getting following message in dmesg on Lenovo > Thinkpad X1 Carbon 3rd generation: > > [drm] Reducing the compressed framebuffer size. This may lead to less power > savings than a non-reduced-size. Try to increase stolen

Re: [PATCHv3 0/5] x86: Enumerate TME and PCONFIG, add MKTME_KEY_PROG helper

2018-02-13 Thread Ingo Molnar
* Kirill A. Shutemov wrote: > On Sun, Feb 11, 2018 at 08:02:41PM +0100, Ingo Molnar wrote: > > > > * Kirill A. Shutemov wrote: > > > > > Multikey Total Memory Encryption (MKTME)[1] is a technology that allows > > > transparent memory encryption in upcoming Intel platforms. > > > > > > MKTME i

Re: [PATCH 00/31 v2] PTI support for x86_32

2018-02-13 Thread Greg KH
On Sun, Feb 11, 2018 at 09:40:41AM -0800, Mark D Rustad wrote: > > On Feb 11, 2018, at 2:59 AM, Adam Borowski wrote: > > > >> Does Debian make it easy to upgrade to a 64-bit kernel if you have a > >> 32-bit install? > > > > Quite easy, yeah. Crossgrading userspace is not for the faint of the he

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-13 Thread Ulf Magnusson
On Tue, Feb 13, 2018 at 01:10:34AM +0900, Masahiro Yamada wrote: > 2018-02-13 0:46 GMT+09:00 Kees Cook : > > On Mon, Feb 12, 2018 at 2:44 AM, Masahiro Yamada > > wrote: > >> Linus said: > >> > >>> But yes, I also reacted to your earlier " It can't silently rewrite it > >>> to _REGULAR because the

Re: [PATCH v8 5/6] iommu/arm-smmu: Add support for qcom,smmu-v2 variant

2018-02-13 Thread Tomasz Figa
Hi Vivek, Thanks for the patch. Please see my comments inline. On Fri, Feb 9, 2018 at 7:57 PM, Vivek Gautam wrote: > qcom,smmu-v2 is an arm,smmu-v2 implementation with specific > clock and power requirements. This smmu core is used with > multiple masters on msm8996, viz. mdss, video, etc. > Add

Re: samples/seccomp/ broken when cross compiling s390, ppc allyesconfig

2018-02-13 Thread Michal Hocko
On Mon 12-02-18 21:54:39, Kees Cook wrote: > On Mon, Feb 12, 2018 at 7:25 PM, Michael Ellerman wrote: > > Michal Hocko writes: > >> Hi, > >> my build test machinery chokes on samples/seccomp when cross compiling > >> s390 and ppc64 allyesconfig. This has been the case for quite some > >> time alr

[PATCH] sched: typo: remove space in #ifdef

2018-02-13 Thread Vincent Guittot
Remove a useless space in # ifdef and align it with others Signed-off-by: Vincent Guittot --- kernel/sched/fair.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index 1070803..cad1932 100644 --- a/kernel/sched/fair.c +++ b/kernel

Re: [RFC PATCH 4/7] kconfig: support new special property shell=

2018-02-13 Thread Masahiro Yamada
2018-02-13 17:35 GMT+09:00 Arnd Bergmann : > On Tue, Feb 13, 2018 at 2:53 AM, Randy Dunlap wrote: >> On 02/12/2018 05:41 PM, Masahiro Yamada wrote: >>> 2018-02-13 8:48 GMT+09:00 Randy Dunlap : On 02/12/2018 07:24 AM, Kees Cook wrote: > On Mon, Feb 12, 2018 at 6:39 AM, Masahiro Yamada

Re: [tip:x86/boot] x86/boot/compressed/64: Handle 5-level paging boot if kernel is above 4G

2018-02-13 Thread Kirill A. Shutemov
On Tue, Feb 13, 2018 at 12:41:22AM -0800, Andrei Vagin wrote: > On Tue, Feb 13, 2018 at 11:08:16AM +0300, Kirill A. Shutemov wrote: > > On Mon, Feb 12, 2018 at 10:51:56PM -0800, Andrei Vagin wrote: > > > Hi Kirill, > > > > > > Something is wrong in this patch. Could you please check if this makes

[tip:x86/pti] x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 92816f571af81e9a71cc6f3dc8ce1e2fcdf7b6b8 Gitweb: https://git.kernel.org/tip/92816f571af81e9a71cc6f3dc8ce1e2fcdf7b6b8 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:48 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:54 +0100 x86/entry/64: Indent

[tip:x86/pti] x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: dde3036d62ba3375840b10ab9ec0d568fd773b07 Gitweb: https://git.kernel.org/tip/dde3036d62ba3375840b10ab9ec0d568fd773b07 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:47 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:54 +0100 x86/entry/64: Get rid

[tip:x86/pti] x86/entry/64: Remove the unused 'icebp' macro

2018-02-13 Thread tip-bot for Borislav Petkov
Commit-ID: b498c261107461d5c42140dfddd05df83d8ca078 Gitweb: https://git.kernel.org/tip/b498c261107461d5c42140dfddd05df83d8ca078 Author: Borislav Petkov AuthorDate: Mon, 12 Feb 2018 21:13:18 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:55 +0100 x86/entry/64: Remove th

[tip:x86/pti] x86/entry/64: Fix paranoid_entry() frame pointer warning

2018-02-13 Thread tip-bot for Josh Poimboeuf
Commit-ID: b3ccefaed922529e6a67de7b30af5aa38c76ace9 Gitweb: https://git.kernel.org/tip/b3ccefaed922529e6a67de7b30af5aa38c76ace9 Author: Josh Poimboeuf AuthorDate: Mon, 12 Feb 2018 11:45:03 -0600 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:55 +0100 x86/entry/64: Fix parano

[tip:x86/pti] selftests/x86: Fix vDSO selftest segfault for vsyscall=none

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 198ee8e17502da2634f7366395db1d77630e0219 Gitweb: https://git.kernel.org/tip/198ee8e17502da2634f7366395db1d77630e0219 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 12:10:10 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:55 +0100 selftests/x86: Fix vD

[tip:x86/pti] selftests/x86: Clean up and document sscanf() usage

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: d8e92de8ef952bed88c56c7a44c02d8dcae0984e Gitweb: https://git.kernel.org/tip/d8e92de8ef952bed88c56c7a44c02d8dcae0984e Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 21:59:24 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:56 +0100 selftests/x86: Clean

[tip:x86/pti] selftests/x86: Fix build bug caused by the 5lvl test which has been moved to the VM directory

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 7f95122067ab26fb8344b2a9de64ffbd0fea0010 Gitweb: https://git.kernel.org/tip/7f95122067ab26fb8344b2a9de64ffbd0fea0010 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 12:10:09 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:05:32 +0100 selftests/x86: Fix bu

[tip:x86/pti] selftests/x86: Do not rely on "int $0x80" in test_mremap_vdso.c

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 2cbc0d66de0480449c75636f55697c7ff3af61fc Gitweb: https://git.kernel.org/tip/2cbc0d66de0480449c75636f55697c7ff3af61fc Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 12:10:11 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:05:37 +0100 selftests/x86: Do not

[tip:x86/pti] selftests/x86: Do not rely on "int $0x80" in single_step_syscall.c

2018-02-13 Thread tip-bot for Ingo Molnar
Commit-ID: 9e2b962d35d746bca8b51902807553191ccb06b2 Gitweb: https://git.kernel.org/tip/9e2b962d35d746bca8b51902807553191ccb06b2 Author: Ingo Molnar AuthorDate: Tue, 13 Feb 2018 09:13:21 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:13:21 +0100 selftests/x86: Do not rely

include/linux/compiler.h:183: undefined reference to `__tracepoint_vb2_buf_queue'

2018-02-13 Thread kbuild test robot
Hi Mauro, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 178e834c47b0d01352c48730235aae69898fbc02 commit: 03fbdb2fc2b8bb27b0ee0534fd3e9c57cdc3854a media: move videobuf2 to drivers/media/common date: 7 weeks ago c

[tip:x86/pti] x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 2e3f0098bc45f710a2f4cbcc94b80a1fae7a99a1 Gitweb: https://git.kernel.org/tip/2e3f0098bc45f710a2f4cbcc94b80a1fae7a99a1 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:42 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:52 +0100 x86/entry/64: Merge S

[tip:x86/pti] x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 502af0d70843c2a9405d7ba1f79b4b0305aaf5f5 Gitweb: https://git.kernel.org/tip/502af0d70843c2a9405d7ba1f79b4b0305aaf5f5 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:43 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:52 +0100 x86/entry/64: Merge t

[tip:x86/pti] x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 3f01daecd545e818098d84fd1ad43e19a508d705 Gitweb: https://git.kernel.org/tip/3f01daecd545e818098d84fd1ad43e19a508d705 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:45 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:53 +0100 x86/entry/64: Introdu

[tip:x86/urgent] vfs/proc/kcore, x86/mm/kcore: Fix SMAP fault when dumping vsyscall user page

2018-02-13 Thread tip-bot for Jia Zhang
Commit-ID: 595dd46ebfc10be041a365d0a3fa99df50b6ba73 Gitweb: https://git.kernel.org/tip/595dd46ebfc10be041a365d0a3fa99df50b6ba73 Author: Jia Zhang AuthorDate: Mon, 12 Feb 2018 22:44:53 +0800 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:15:58 +0100 vfs/proc/kcore, x86/mm/kcore:

[tip:x86/pti] x86/entry/64: Interleave XOR register clearing with PUSH instructions

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: f7bafa2b05ef25eda1d9179fd930b0330cf2b7d1 Gitweb: https://git.kernel.org/tip/f7bafa2b05ef25eda1d9179fd930b0330cf2b7d1 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:44 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:53 +0100 x86/entry/64: Interle

[tip:x86/pti] x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases

2018-02-13 Thread tip-bot for Dominik Brodowski
Commit-ID: 30907fd13bb593202574bb20af58d67c70a1ee14 Gitweb: https://git.kernel.org/tip/30907fd13bb593202574bb20af58d67c70a1ee14 Author: Dominik Brodowski AuthorDate: Sun, 11 Feb 2018 11:49:46 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:04:53 +0100 x86/entry/64: Use PUS

[tip:x86/urgent] x86/mm/kcore: Add vsyscall page to /proc/kcore conditionally

2018-02-13 Thread tip-bot for Jia Zhang
Commit-ID: cd026ca2861e7f384d677626a483da797c76b9da Gitweb: https://git.kernel.org/tip/cd026ca2861e7f384d677626a483da797c76b9da Author: Jia Zhang AuthorDate: Mon, 12 Feb 2018 22:44:54 +0800 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:15:59 +0100 x86/mm/kcore: Add vsyscall pa

[tip:x86/pti] selftests/x86: Disable tests requiring 32-bit support on pure 64-bit systems

2018-02-13 Thread tip-bot for Ingo Molnar
Commit-ID: d09a04140a61e82e938534b0c3983e8d90d5c54d Gitweb: https://git.kernel.org/tip/d09a04140a61e82e938534b0c3983e8d90d5c54d Author: Ingo Molnar AuthorDate: Tue, 13 Feb 2018 09:15:19 +0100 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:15:19 +0100 selftests/x86: Disable test

Re: [PATCH v7 6/6] drm/msm: iommu: Replace runtime calls with runtime suppliers

2018-02-13 Thread Tomasz Figa
Hi Vivek, Thanks for the patch. Please see my comments inline. On Wed, Feb 7, 2018 at 7:31 PM, Vivek Gautam wrote: > While handling the concerned iommu, there should not be a > need to power control the drm devices from iommu interface. > If these drm devices need to be powered around this time,

[PATCH v7 01/37] openrisc: add ioremap_nocache declaration before include asm-generic/io.h and sync ioremap prototype with it.

2018-02-13 Thread Greentime Hu
A future commit for the nds32 architecture bootstrap("asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that in order to suppress re-definition errors we need to setup #define's be

[PATCH v7 13/37] nds32: Process management

2018-02-13 Thread 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 Acked-by: Arnd Bergmann --- arch/nds32/include/asm/current.h | 12 ++ arch/nds32/inclu

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

2018-02-13 Thread Greentime Hu
A commit for the nds32 architecture bootstrap("asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU") will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that in order to suppress re-definition errors we need to remove the #define in io_

[PATCH v7 15/37] nds32: Atomic operations

2018-02-13 Thread 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 Acked-by: Arnd Bergmann --- arch/nds32/include/asm/barrier.h | 15 ++ arch/nds32/includ

[PATCH v7 17/37] nds32: DMA mapping API

2018-02-13 Thread 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 Acked-by: Arnd Bergmann --- arch/nds32/include/asm/dma-mapping.h | 14 + arch/nds32/kernel/dma.c | 477 +++

[PATCH v7 19/37] nds32: System calls handling

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

[PATCH v7 21/37] nds32: Signal handling support

2018-02-13 Thread 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 | 324 +++ 2 files changed, 384 insertions(+) create mode 100644

[PATCH v7 22/37] nds32: Library functions

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

[PATCH v7 28/37] nds32: Miscellaneous header files

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

[PATCH v7 30/37] nds32: Build infrastructure

2018-02-13 Thread 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 | 103 ++ arch/nds32/Kconfig.cpu | 174

[PATCH v7 26/37] nds32: Generic timers support

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

Re: [PATCH 04/10] ARM: dts: sun[4-7]i: Remove "cooling-{min|max}-level" for CPU nodes

2018-02-13 Thread Maxime Ripard
On Fri, Feb 09, 2018 at 02:28:04PM +0530, Viresh Kumar wrote: > The "cooling-min-level" and "cooling-max-level" properties are not > parsed by any part of the kernel currently and the max cooling state of > a CPU cooling device is found by referring to the cpufreq table instead. > > Remove the unu

[PATCH v7 36/37] irqchip: Andestech Internal Vector Interrupt Controller driver

2018-02-13 Thread 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/irqchip/Makefile |

[PATCH v7 34/37] dt-bindings: nds32 SoC Bindings

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

[PATCH v7 0/3] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2018-02-13 Thread Greentime Hu
Hi, all: 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 underfl

[PATCH v7 3/3] dt-bindings: timer: Add andestech atcpit100 timer binding doc

2018-02-13 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 Acked-by: Arnd Bergmann --- .../bindings/timer/andestech,atcpit100-timer.txt | 33 ++ 1 file changed

[PATCH v7 1/3] clocksource/drivers/atcpit100: Add andestech atcpit100 timer

2018-02-13 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

[tip:x86/pti] X86/nVMX: Properly set spec_ctrl and pred_cmd before merging MSRs

2018-02-13 Thread tip-bot for KarimAllah Ahmed
Commit-ID: 206587a9fb764d71f035dc7f6d3b6488f5d5b304 Gitweb: https://git.kernel.org/tip/206587a9fb764d71f035dc7f6d3b6488f5d5b304 Author: KarimAllah Ahmed AuthorDate: Sat, 10 Feb 2018 23:39:25 + Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:00:06 +0100 X86/nVMX: Properly set

[tip:x86/pti] x86/speculation: Correct Speculation Control microcode blacklist again

2018-02-13 Thread tip-bot for David Woodhouse
Commit-ID: d37fc6d360a404b208547ba112e7dabb6533c7fc Gitweb: https://git.kernel.org/tip/d37fc6d360a404b208547ba112e7dabb6533c7fc Author: David Woodhouse AuthorDate: Mon, 12 Feb 2018 15:27:34 + Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 08:58:59 +0100 x86/speculation: Correc

[tip:x86/pti] KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods

2018-02-13 Thread tip-bot for David Woodhouse
Commit-ID: 928a4c39484281f8ca366f53a1db79330d058401 Gitweb: https://git.kernel.org/tip/928a4c39484281f8ca366f53a1db79330d058401 Author: David Woodhouse AuthorDate: Sat, 10 Feb 2018 23:39:24 + Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 08:59:45 +0100 KVM/x86: Reduce retpoli

[tip:x86/pti] Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()"

2018-02-13 Thread tip-bot for David Woodhouse
Commit-ID: f208820a321f9b23d77d7eed89945d862d62a3ed Gitweb: https://git.kernel.org/tip/f208820a321f9b23d77d7eed89945d862d62a3ed Author: David Woodhouse AuthorDate: Sat, 10 Feb 2018 23:39:23 + Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 08:59:00 +0100 Revert "x86/speculation

[tip:x86/pti] KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap

2018-02-13 Thread tip-bot for KarimAllah Ahmed
Commit-ID: 3712caeb14dcb33fb4d5114f14c0beef10aca101 Gitweb: https://git.kernel.org/tip/3712caeb14dcb33fb4d5114f14c0beef10aca101 Author: KarimAllah Ahmed AuthorDate: Sat, 10 Feb 2018 23:39:26 + Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 09:00:17 +0100 KVM/nVMX: Set the CPU_

[PATCH v7 2/3] clocksource/drivers/atcpit100: VDSO support

2018-02-13 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

Re: [PATCH 4.9 46/92] x86/alternative: Print unadorned pointers

2018-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 10, 2018 at 08:21:36PM +0100, Borislav Petkov wrote: > On Sat, Feb 10, 2018 at 11:14:18AM -0800, Kees Cook wrote: > > I would just revert this commit from kernels earlier than 4.15; this > > %p usage is in debugging, so %pK doesn't make much sense here. > > Yes, just drop it. That's on

Re: [PATCH 2/2] gpio: Add Spreadtrum EIC driver support

2018-02-13 Thread Linus Walleij
Hi Baolin, thank you for your patch! On Thu, Feb 8, 2018 at 9:01 AM, Baolin Wang wrote: > The Spreadtrum platform has 2 EIC controllers, one is in digital chip and > another one is in PMIC. The digital-chip EIC controller has 4 sub-modules: > debounce EIC, latch EIC, async EIC and sync EIC, eac

Re: [PATCH 4.15 00/23] 4.15.3-stable review

2018-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 10, 2018 at 08:07:16AM -0800, Guenter Roeck wrote: > On 02/09/2018 05:39 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.15.3 release. > > There are 23 patches in this series, all will be posted as a response > > to this one. If anyone has any i

Re: [PATCH v3 1/5] clk: mediatek: update missing clock data for MT7622 audsys

2018-02-13 Thread Matthias Brugger
On 02/12/2018 12:28 PM, Ryder Lee wrote: > Add missing clock data 'CLK_AUDIO_AFE_CONN' for MT7622 audsys. > > Signed-off-by: Ryder Lee > Reviewed-by: Rob Herring > --- > drivers/clk/mediatek/clk-mt7622-aud.c | 1 + > include/dt-bindings/clock/mt7622-clk.h | 3 ++- > 2 files changed, 3 insert

Re: [PATCH 4.14 00/22] 4.14.19-stable review

2018-02-13 Thread Greg Kroah-Hartman
On Sat, Feb 10, 2018 at 07:47:55AM -0800, Guenter Roeck wrote: > On 02/09/2018 05:39 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.19 release. > > There are 22 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 04/10] ARM: dts: sun[4-7]i: Remove "cooling-{min|max}-level" for CPU nodes

2018-02-13 Thread Chen-Yu Tsai
On Tue, Feb 13, 2018 at 5:13 PM, Maxime Ripard wrote: > On Fri, Feb 09, 2018 at 02:28:04PM +0530, Viresh Kumar wrote: >> The "cooling-min-level" and "cooling-max-level" properties are not >> parsed by any part of the kernel currently and the max cooling state of >> a CPU cooling device is found by

Re: INFO: rcu detected stall in xfrm_confirm_neigh

2018-02-13 Thread Dmitry Vyukov
On Mon, Feb 12, 2018 at 4:26 PM, Dmitry Vyukov wrote: > On Mon, Feb 12, 2018 at 4:23 PM, syzbot > wrote: >> Hello, >> >> syzbot hit the following crash on net-next commit >> 9515a2e082f91457db0ecff4b65371d0fb5d9aad (Thu Jan 25 03:37:38 2018 +) >> net/ipv4: Allow send to local broadcast from a

drivers/watchdog/rave-sp-wdt.c:278: undefined reference to `nvmem_cell_get'

2018-02-13 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 178e834c47b0d01352c48730235aae69898fbc02 commit: c3bb333457218ca4ed9553be47c0f567b4ef8a38 watchdog: Add RAVE SP watchdog driver date: 5 weeks ago config: x86_64-randconfig-u0-02131401 (attached as .config)

Re: [PATCH v3 1/2] dt-bindings: gpio: Add Spreadtrum GPIO controller documentation

2018-02-13 Thread Linus Walleij
On Mon, Feb 5, 2018 at 2:55 AM, Baolin Wang wrote: > This patch adds the device tree bindings for the Spreadtrum > GPIO controller. The gpios will be supported by the GPIO > generic library. > > Signed-off-by: Baolin Wang I took this patch out again for now, as it turns out that not all of the

[PATCH v7 37/37] net: faraday add nds32 support.

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

Re: [PATCH 2/3] Documentation: bindings: add usb3-host-disable and usb3-host-port for Rockchip USB Type-C PHY

2018-02-13 Thread Emil Renner Berthing
On 12 February 2018 at 23:29, Rob Herring wrote: > On Mon, Feb 12, 2018 at 3:26 PM, Brian Norris > wrote: >> Hi, >> >> On Mon, Feb 12, 2018 at 10:43:41AM -0600, Rob Herring wrote: >>> On Thu, Feb 8, 2018 at 3:23 PM, Enric Balletbo Serra >>> wrote: >>> > 2018-02-08 18:52 GMT+01:00 Rob Herring :

[PATCH v7 35/37] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2018-02-13 Thread 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 Acked-by: Arnd Bergmann --- .../interrupt-controller/andestech,ativic32.txt | 19 +++ 1 file c

[PATCH v7 32/37] dt-bindings: nds32 CPU Bindings

2018-02-13 Thread 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 | 38 1 file changed, 38 insertions(+)

Re: [PATCH] ASoC: codecs: Add support for AK4458 DAC driver

2018-02-13 Thread Cosmin Samoila
Hi Mark, > > > > +static int ak4458_hw_params(struct snd_pcm_substream *substream, > > + struct snd_pcm_hw_params *params, > > + struct snd_soc_dai *dai) > > +{ > > + struct snd_soc_codec *codec = dai->codec; > > + struct ak4458_priv *ak4458 = > > s

[PATCH v7 33/37] dt-bindings: nds32 L2 cache controller Bindings

2018-02-13 Thread Greentime Hu
This patch adds nds32 L2 cache controller binding documents. Signed-off-by: Greentime Hu Reviewed-by: Rob Herring Acked-by: Arnd Bergmann --- Documentation/devicetree/bindings/nds32/atl2c.txt | 28 +++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devic

[PATCH v7 31/37] MAINTAINERS: Add nds32

2018-02-13 Thread Greentime Hu
Add a maintainer information for the nds32(Andes) architecture. Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3bdc260e36b7..bf7c2ac6bb5a 100644 --- a/MAINTAINERS +++ b/MAINTAIN

[PATCH v7 29/37] nds32: defconfig

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

Re: [PATCH v3 2/5] clk: mediatek: modify MT7622 audsys to adapt MFD device

2018-02-13 Thread Matthias Brugger
On 02/12/2018 12:28 PM, Ryder Lee wrote: > As the new MFD device is in place, switch probing method to adapt it. > > Signed-off-by: Ryder Lee > --- > drivers/clk/mediatek/clk-mt7622-aud.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/drivers/clk/mediatek/clk-m

[PATCH v7 27/37] nds32: Device tree support

2018-02-13 Thread Greentime Hu
This patch adds support for device tree. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann --- arch/nds32/boot/dts/Makefile | 8 arch/nds32/boot/dts/ae3xx.dts | 85 +++ arch/nds32/kernel/devtree.c | 19 ++ 3

Re: [PATCH 17/18] tracing: Add indirect to indirect access for function based events

2018-02-13 Thread Namhyung Kim
Hi Steve, On Mon, Feb 12, 2018 at 12:23:54PM -0500, Steven Rostedt wrote: > On Mon, 12 Feb 2018 11:15:34 +0900 > Namhyung Kim wrote: > > > > It should have been: > > > > > > return process_redirects(arg, val, buf); > > > > But I think you need to consider data type of the arg when

[PATCH v7 25/37] nds32: Loadable modules

2018-02-13 Thread Greentime Hu
This patch adds support for loadable modules. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu Acked-by: Arnd Bergmann --- arch/nds32/include/asm/module.h | 11 ++ arch/nds32/kernel/module.c | 278 2 files changed, 289 insertions(+) creat

Re: drivers/watchdog/rave-sp-wdt.c:278: undefined reference to `nvmem_cell_get'

2018-02-13 Thread Lee Jones
On Tue, 13 Feb 2018, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 178e834c47b0d01352c48730235aae69898fbc02 > commit: c3bb333457218ca4ed9553be47c0f567b4ef8a38 watchdog: Add RAVE SP > watchdog driver > date: 5 weeks ago

[PATCH v7 24/37] nds32: L2 cache support

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

Re: [PATCH] sched: typo: remove space in #ifdef

2018-02-13 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Feb 13, 2018 at 09:59:42AM +0100, Vincent Guittot wrote: > > Remove a useless space in # ifdef and align it with others > > > > Signed-off-by: Vincent Guittot > > --- > > kernel/sched/fair.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > >

[PATCH v7 23/37] nds32: Debugging support

2018-02-13 Thread 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 | 119 +++ 2 files changed, 144 insertions(+) create mode 100644 arch/nds32/incl

Re: [PATCH v9 2/3] arm: dts: add Nuvoton NPCM750 device tree

2018-02-13 Thread Avi Fishman
On Tue, Feb 13, 2018 at 10:30 AM, Arnd Bergmann wrote: > On Tue, Feb 6, 2018 at 12:57 AM, Brendan Higgins > wrote: >> Add a common device tree for all Nuvoton NPCM750 BMCs and a board >> specific device tree for the NPCM750 (Poleg) evaluation board. >> >> Signed-off-by: Brendan Higgins >> Review

Linux 4.14.19

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

Re: Linux 4.14.19

2018-02-13 Thread Greg KH
diff --git a/.gitignore b/.gitignore index 0c39aa20b6ba..f6050b88e95b 100644 --- a/.gitignore +++ b/.gitignore @@ -7,38 +7,40 @@ # command after changing this file, to see if there are # any tracked files which get ignored after the change. # -# Normal rules +# Normal rules (sorted alphabeticall

Linux 4.15.3

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

Re: Linux 4.15.3

2018-02-13 Thread Greg KH
diff --git a/Makefile b/Makefile index 54f1bc10b531..13566ad7863a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 15 -SUBLEVEL = 2 +SUBLEVEL = 3 EXTRAVERSION = NAME = Fearless Coyote diff --git a/crypto/tcrypt.c b/crypto/tcrypt

[PATCH v4 03/24] fpga: mgr: add status for fpga-manager

2018-02-13 Thread Wu Hao
This patch adds status to fpga-manager data structure, to allow driver to store full/partial reconfiguration errors and other status information, and adds one status callback to fpga_manager_ops to allow fpga_manager to collect latest status when failures are detected. The following sysfs file is

[PATCH v4 07/24] fpga: dfl: add feature device infrastructure

2018-02-13 Thread Wu Hao
From: Xiao Guangrong This patch abstracts the common operations of the sub features, and defines the feature_ops data structure, including init, uinit and ioctl function pointers. And this patch adds some common helper functions for FME and AFU drivers, e.g feature_dev_use_begin/end which are use

[PATCH v4 12/24] fpga: dfl: fme: add FPGA_GET_API_VERSION/CHECK_EXTENSION ioctls support

2018-02-13 Thread Wu Hao
FPGA_GET_API_VERSION and FPGA_CHECK_EXTENSION ioctls are common ones which need to be supported by all feature devices drivers including FME and AFU. Userspace application can use these ioctl interfaces to get the API info and check if specific extension is supported or not in current driver. This

[PATCH v7 20/37] nds32: VDSO support

2018-02-13 Thread 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 Acked-by: Arnd Bergmann --- arch/nds32/include/asm/vdso.h | 24 +++ arch/nds32/

[PATCH v4 16/24] fpga: dfl: add fpga manager platform driver for FME

2018-02-13 Thread Wu Hao
This patch adds fpga manager driver for FPGA Management Engine (FME). It implements fpga_manager_ops for FPGA Partial Reconfiguration function. Signed-off-by: Tim Whisonant Signed-off-by: Enno Luebbers Signed-off-by: Shiva Rao Signed-off-by: Christopher Rauer Signed-off-by: Kang Luwei Signed-

<    1   2   3   4   5   6   7   8   9   10   >