[RFC PATCH for 4.16 09/21] sched: Implement push_task_to_cpu

2017-12-14 Thread Mathieu Desnoyers
Implement push_task_to_cpu(), which moves the task received as argument to the destination cpu's runqueue. It only does so if the CPU is within the CPU allowed mask of the task, else it returns -EINVAL. It does not change the CPU allowed mask, and can therefore be used within applications which re

[RFC PATCH for 4.16 10/21] cpu_opv: Provide cpu_opv system call (v5)

2017-12-14 Thread Mathieu Desnoyers
The cpu_opv system call executes a vector of operations on behalf of user-space on a specific CPU with preemption disabled. It is inspired by readv() and writev() system calls which take a "struct iovec" array as argument. The operations available are: comparison, memcpy, add, or, and, xor, left s

[RFC PATCH for 4.16 18/21] rseq: selftests: Provide basic test

2017-12-14 Thread Mathieu Desnoyers
"basic_test" only asserts that RSEQ works moderately correctly. E.g. that the CPUID pointer works. Signed-off-by: Mathieu Desnoyers CC: Shuah Khan CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner CC: Andrew Hunter CC: Peter Zijlstra CC: Andy Lutomir

[RFC PATCH for 4.16 17/21] rseq: selftests: Provide percpu_op API

2017-12-14 Thread Mathieu Desnoyers
Introduce percpu-op.h API. It uses rseq internally as fast-path if invoked from the right CPU, else cpu_opv as slow-path if called from the wrong CPU or if rseq fails. This allows acting on per-cpu data from various CPUs transparently from user-space: cpu_opv will take care of migrating the thread

[RFC PATCH for 4.16 19/21] rseq: selftests: Provide basic percpu ops test

2017-12-14 Thread Mathieu Desnoyers
"basic_percpu_ops_test" is a slightly more "realistic" variant, implementing a few simple per-cpu operations and testing their correctness. Signed-off-by: Mathieu Desnoyers CC: Shuah Khan CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner CC: Andrew Hun

[RFC PATCH for 4.16 21/21] rseq: selftests: Provide Makefile, scripts, gitignore

2017-12-14 Thread Mathieu Desnoyers
A run_param_test.sh script runs many variants of the parametrizable tests. Wire up the rseq Makefile, add directory entry into MAINTAINERS file. Signed-off-by: Mathieu Desnoyers CC: Shuah Khan CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner CC: Andr

[RFC PATCH for 4.16 20/21] rseq: selftests: Provide parametrized tests

2017-12-14 Thread Mathieu Desnoyers
"param_test" is a parametrizable restartable sequences test. See the "--help" output for usage. "param_test_benchmark" is the same as "param_test", but it removes testing book-keeping code to allow accurate benchmarks. "param_test_skip_fastpath" is the same as "param_test", but it skips the rseq

[RFC PATCH for 4.16 14/21] selftests: lib.mk: Introduce OVERRIDE_TARGETS

2017-12-14 Thread Mathieu Desnoyers
Introduce OVERRIDE_TARGETS to allow tests to express dependencies on header files and .so, which require to override the selftests lib.mk targets. Signed-off-by: Mathieu Desnoyers Acked-by: Shuah Khan CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner C

[RFC PATCH for 4.16 13/21] arm: Wire up cpu_opv system call

2017-12-14 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: Thomas Gleixner CC: Paul Turner CC: Andrew Hunter CC: Peter Zijlstra CC: Andy Lutomirski CC: Andi Kleen CC: Dave Watson CC: Chris Lameter CC: Ingo Molnar CC: Ben Maurer CC: Steven Rostedt CC: "P

[RFC PATCH for 4.16 15/21] cpu_opv: selftests: Implement selftests (v6)

2017-12-14 Thread Mathieu Desnoyers
Implement cpu_opv selftests. It needs to express dependencies on header files and .so, which require to override the selftests lib.mk targets. Use OVERRIDE_TARGETS define for this. Signed-off-by: Mathieu Desnoyers Acked-by: Shuah Khan CC: Russell King CC: Catalin Marinas CC: Will Deacon CC: T

Re: [PATCH 1/1] dt-bindings: arm: document supported STM32 SoC family

2017-12-14 Thread Ludovic BARRE
On 12/14/2017 04:05 PM, Rob Herring wrote: On Wed, Dec 13, 2017 at 2:40 AM, Ludovic BARRE wrote: hi Rob Today there was no bindings documentation for STM32 SoC already upstreamed. This patch adds initial list of STM32 existing in kernel. The next serie adds just new soc and one compatible on

[RFC PATCH for 4.16 16/21] rseq: selftests: Provide rseq library (v5)

2017-12-14 Thread Mathieu Desnoyers
This rseq helper library provides a user-space API to the rseq() system call. The rseq fast-path exposes the instruction pointer addresses where the rseq assembly blocks begin and end, as well as the associated abort instruction pointer, in the __rseq_table section. This section allows debuggers m

Re: Linux 4.15-rc2: Regression in resume from ACPI S3

2017-12-14 Thread Maarten Lankhorst
Op 14-12-17 om 16:54 schreef Rafael J. Wysocki: > On Thursday, December 14, 2017 4:52:22 PM CET Thomas Gleixner wrote: >> On Thu, 14 Dec 2017, Rafael J. Wysocki wrote: >>> The problem here is that pci_pm_thaw_noirq() calls pci_restore_state() which >>> in fact requires the device to be in D0, so th

[RFC PATCH for 4.16 11/21] x86: Wire up cpu_opv system call

2017-12-14 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers CC: "Paul E. McKenney" CC: Peter Zijlstra CC: Paul Turner CC: Thomas Gleixner CC: Andrew Hunter CC: Andy Lutomirski CC: Andi Kleen CC: Dave Watson CC: Chris Lameter CC: Ingo Molnar CC: "H. Peter Anvin" CC: Ben Maurer CC: Steven Rostedt CC: Josh Triplet

Re: [PATCH PTI v3 03/10] x86/pti/64: Fix ESPFIX64 user mapping

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 6:10 AM, Kirill A. Shutemov wrote: > On Wed, Dec 13, 2017 at 09:01:50AM -0800, Andy Lutomirski wrote: >> On Wed, Dec 13, 2017 at 5:12 AM, Kirill A. Shutemov >> wrote: >> > On Tue, Dec 12, 2017 at 07:56:38AM -0800, Andy Lutomirski wrote: >> >> The ESPFIX64 user mapping belo

[RFC PATCH for 4.16 08/21] powerpc: Wire up restartable sequences system call

2017-12-14 Thread Mathieu Desnoyers
From: Boqun Feng Wire up the rseq system call on powerpc. This provides an ABI improving the speed of a user-space getcpu operation on powerpc by skipping the getcpu system call on the fast path, as well as improving the speed of user-space operations on per-cpu data compared to using load-reser

Re: [BUG]kernel softlockup due to sidtab_search_context run for long time because of too many sidtab context node

2017-12-14 Thread Casey Schaufler
On 12/13/2017 7:18 AM, Stephen Smalley wrote: > On Wed, 2017-12-13 at 09:25 +, yangjihong wrote: >> Hello,  >> >> I am doing stressing testing on 3.10 kernel(centos 7.4), to >> constantly starting numbers of docker ontainers with selinux enabled, >> and after about 2 days, the kernel softlockup

[RFC PATCH for 4.16 12/21] powerpc: Wire up cpu_opv system call

2017-12-14 Thread Mathieu Desnoyers
Signed-off-by: Mathieu Desnoyers CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Michael Ellerman CC: Boqun Feng CC: Peter Zijlstra CC: "Paul E. McKenney" CC: linuxppc-...@lists.ozlabs.org --- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arc

Re: linux-next: manual merge of the v4l-dvb-next tree with the vfs tree

2017-12-14 Thread Mauro Carvalho Chehab
Hi Stephen, Em Mon, 11 Dec 2017 11:28:54 +1100 Stephen Rothwell escreveu: > Hi Mauro, > > Today's linux-next merge of the v4l-dvb-next tree got a conflict in: > > drivers/staging/media/lirc/lirc_zilog.c > > between commit: > > c23e0cb81e40 ("media: annotate ->poll() instances") > > from

[RFC PATCH for 4.16 05/21] x86: Add support for restartable sequences

2017-12-14 Thread Mathieu Desnoyers
Call the rseq_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Increment the event counter and perform fixup on the pre-signal frame when a signal is delivered on top of a restartable sequence critical section. Signed-off-by: Mathieu Desnoyers Revie

[RFC PATCH for 4.16 07/21] powerpc: Add support for restartable sequences

2017-12-14 Thread Mathieu Desnoyers
From: Boqun Feng Call the rseq_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Increment the event counter and perform fixup on the pre-signal when a signal is delivered on top of a restartable sequence critical section. Signed-off-by: Boqun Feng

Re: [PATCH v2 02/17] mm: Exempt special mappings from mlock(), mprotect() and madvise()

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > It makes no sense to ever prod at special mappings with any of these > syscalls. > > XXX should we include munmap() ? This is an ABI break for the vdso. Maybe that's okay, but mremap() on the vdso is certainly used, and I can imagine debug

[RFC PATCH for 4.16 03/21] arm: Add restartable sequences support

2017-12-14 Thread Mathieu Desnoyers
Call the rseq_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Increment the event counter and perform fixup on the pre-signal frame when a signal is delivered on top of a restartable sequence critical section. Signed-off-by: Mathieu Desnoyers CC: R

[RFC PATCH for 4.16 02/21] rseq: Introduce restartable sequences system call (v12)

2017-12-14 Thread Mathieu Desnoyers
Expose a new system call allowing each thread to register one userspace memory area to be used as an ABI between kernel and user-space for two purposes: user-space restartable sequences and quick access to read the current CPU number value from user-space. * Restartable sequences (per-cpu atomics)

[RFC PATCH for 4.16 04/21] arm: Wire up restartable sequences system call

2017-12-14 Thread Mathieu Desnoyers
Wire up the rseq system call on 32-bit ARM. This provides an ABI improving the speed of a user-space getcpu operation on ARM by skipping the getcpu system call on the fast path, as well as improving the speed of user-space operations on per-cpu data compared to using load-linked/store-conditional.

[RFC PATCH for 4.16 06/21] x86: Wire up restartable sequence system call

2017-12-14 Thread Mathieu Desnoyers
Wire up the rseq system call on x86 32/64. This provides an ABI improving the speed of a user-space getcpu operation on x86 by removing the need to perform a function call, "lsl" instruction, or system call on the fast path, as well as improving the speed of user-space operations on per-cpu data.

Re: [PATCH v2] ASOC: wm8960: Add multiple MCLK frequency support

2017-12-14 Thread Charles Keepax
On Wed, Dec 13, 2017 at 08:37:30PM +0800, Chen.Liu wrote: > From: "Chen.Liu" > diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c > index 997c446..83dd746 100644 > --- a/sound/soc/codecs/wm8960.c > +++ b/sound/soc/codecs/wm8960.c > @@ -1036,28 +1036,38 @@ static bool is_pll_freq_av

Re: [PATCH v2 11/17] selftests/x86/ldt_gdt: Prepare for access bit forced

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > From: Thomas Gleixner > > In order to make the LDT mapping RO the access bit needs to be forced by > the kernel. Adjust the test case so it handles that gracefully. If this turns out to need reverting because it breaks Wine or something, w

Re: [PATCH v2 13/17] x86/mm: Force LDT desc accessed bit

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > In preparation to mapping the LDT RO, unconditionally set the accessed > bit. I like this patch, but only as part of a standalone series to harden the kernel by making the LDT be RO so we can revert the series if needed. I don't like it as

Re: [PATCH v2 03/17] arch: Allow arch_dup_mmap() to fail

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > From: Thomas Gleixner > > In order to sanitize the LDT initialization on x86 arch_dup_mmap() must be > allowed to fail. Fix up all instances. Reviewed-by: Andy Lutomirski

Re: [PATCH v2 14/17] x86/ldt: Reshuffle code

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > From: Thomas Gleixner > > Restructure the code, so the following VMA changes do not create an > unreadable mess. No functional change. Can the PF_KTHREAD thing be its own patch so it can be reviewed on its own?

Re: [PATCH v2 5/7] dt-bindings: i3c: Document core bindings

2017-12-14 Thread Geert Uytterhoeven
Hi Boris, On Thu, Dec 14, 2017 at 4:16 PM, Boris Brezillon wrote: > A new I3C subsystem has been added and a generic description has been > created to represent the I3C bus and the devices connected on it. > > Document this generic representation. > > Signed-off-by: Boris Brezillon Thanks for y

Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-12-14 Thread Joe Perches
On Fri, 2017-11-17 at 11:00 +0100, Thomas Gleixner wrote: > spdx Is there something preventing this from being applied to some tree included in -next?

[patch v14 3/4] Documentation: jtag: Add bindings for Aspeed SoC 24xx and 25xx families JTAG master driver

2017-12-14 Thread Oleksandr Shamray
It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Oleksandr Shamray Signed-off-by: Jiri Pirko Acked-by: Rob Herring --- v13->v14 v12->v13 v11->v12 v10->v11 v9->v10 v8->v9 v7->v8 Comments pointed by pointed by Joel Stanley

[patch v14 4/4] Documentation: jtag: Add ABI documentation

2017-12-14 Thread Oleksandr Shamray
Added document that describe the ABI for JTAG class drivrer Signed-off-by: Oleksandr Shamray Acked-by: Arnd Bergmann --- v13->v14 v12->v13 v11->v12 Tobias Klauser - rename /Documentation/ABI/testing/jatg-dev -> jtag-dev - Typo: s/interfase/interface v10->v11 v9->v10 Fixes added by Oleksandr: -

Re: [patch V4 01/11] Documentation: Add license-rules.rst to describe how to properly identify file licenses

2017-12-14 Thread Thomas Gleixner
On Thu, 14 Dec 2017, Joe Perches wrote: > On Fri, 2017-11-17 at 11:00 +0100, Thomas Gleixner wrote: > > spdx > > Is there something preventing this from being applied > to some tree included in -next? Nothing than me being busy and not coming around to fix the last review comments.

Re: [PATCH v19 3/7] xbitmap: add more operations

2017-12-14 Thread Tetsuo Handa
Wei Wang wrote: > I used the example of xb_clear_bit_range(), and xb_find_next_bit() is > the same fundamentally. Please let me know if anywhere still looks fuzzy. I don't think it is the same for xb_find_next_bit() with set == 0. + if (radix_tree_exception(bmap)) { +

[patch v14 1/4] drivers: jtag: Add JTAG core driver

2017-12-14 Thread Oleksandr Shamray
Initial patch for JTAG driver JTAG class driver provide infrastructure to support hardware/software JTAG platform drivers. It provide user layer API interface for flashing and debugging external devices which equipped with JTAG interface using standard transactions. Driver exposes set of IOCTL to

[patch v14 0/4] JTAG driver introduction

2017-12-14 Thread Oleksandr Shamray
When a need raise up to use JTAG interface for system's devices programming or CPU debugging, usually the user layer application implements jtag protocol by bit-bang or using a proprietary connection to vendor hardware. This method can be slow and not generic. We propose to implement general JTA

[patch v14 2/4] drivers: jtag: Add Aspeed SoC 24xx and 25xx families JTAG master driver

2017-12-14 Thread Oleksandr Shamray
Driver adds support of Aspeed 2500/2400 series SOC JTAG master controller. Driver implements the following jtag ops: - freq_get; - freq_set; - status_get; - idle; - xfer; It has been tested on Mellanox system with BMC equipped with Aspeed 2520 SoC for programming CPLD devices. Signed-off-by: Ole

Re: [PATCH v2 14/17] x86/ldt: Reshuffle code

2017-12-14 Thread Thomas Gleixner
On Thu, 14 Dec 2017, Andy Lutomirski wrote: > On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > > From: Thomas Gleixner > > > > Restructure the code, so the following VMA changes do not create an > > unreadable mess. No functional change. > > Can the PF_KTHREAD thing be its own patch so

Re: [PATCH v2 14/17] x86/ldt: Reshuffle code

2017-12-14 Thread Thomas Gleixner
On Thu, 14 Dec 2017, Thomas Gleixner wrote: > > On Thu, 14 Dec 2017, Andy Lutomirski wrote: > > > On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra > > wrote: > > > From: Thomas Gleixner > > > > > > Restructure the code, so the following VMA changes do not create an > > > unreadable mess. No fu

Re: [PATCH v2 05/17] x86/ldt: Prevent ldt inheritance on exec

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > From: Thomas Gleixner > > The LDT is inheritet independent of fork or exec, but that makes no sense > at all because exec is supposed to start the process clean. > > The reason why this happens is that init_new_context_ldt() is called from

Re: [PATCH v2 14/17] x86/ldt: Reshuffle code

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 8:32 AM, Thomas Gleixner wrote: > On Thu, 14 Dec 2017, Thomas Gleixner wrote: > >> >> On Thu, 14 Dec 2017, Andy Lutomirski wrote: >> >> > On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra >> > wrote: >> > > From: Thomas Gleixner >> > > >> > > Restructure the code, so the f

Re: [PATCH v2 00/17] x86/ldt: Use a VMA based read only mapping

2017-12-14 Thread Andy Lutomirski
On Thu, Dec 14, 2017 at 4:08 AM, Peter Zijlstra wrote: > On Thu, Dec 14, 2017 at 01:03:37PM +0100, Thomas Gleixner wrote: >> On Thu, 14 Dec 2017, Peter Zijlstra wrote: >> > So here's a second posting of the VMA based LDT implementation; now without >> > most of the crazy. >> > >> > I took out the

Re: BUG: unable to handle kernel paging request in do_futex

2017-12-14 Thread Andrey Ryabinin
On 12/14/2017 06:31 PM, Thomas Gleixner wrote: > On Thu, 30 Nov 2017, syzbot wrote: >> Hello, >> >> syzkaller hit the following crash on 11fed7829beff10184503fd65e5919926464601a >> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master >> compiler: gcc (GCC) 7.1.1 20170620 >> .c

Re: Traversing XFS mounted VM puts process in D state

2017-12-14 Thread Christoph Hellwig
On Fri, Dec 08, 2017 at 02:00:19PM +0530, Dinesh Pathak wrote: > Hi Dave, Thanks for your time. The above link only reports a similar > bug, which has same kernel trace, which we found on internet. Our > client machine, where traversal is done, is using CentOS. Then you need to report it to your f

Re: [RFC PATCH for 4.16 02/21] rseq: Introduce restartable sequences system call (v12)

2017-12-14 Thread Christopher Lameter
On Thu, 14 Dec 2017, Mathieu Desnoyers wrote: > On x86, yet another possible approach would be to use the gs segment > selector to point to user-space per-cpu data. This approach performs > similarly to the cpu id cache, but it has two disadvantages: it is > not portable, and it is incompatible wi

Re: [PATCH v2] ARM64: dts: meson-axg: add ethernet mac controller

2017-12-14 Thread Jerome Brunet
On Thu, 2017-12-14 at 11:02 +0800, Yixun Lan wrote: > --- > Changes in v2 since [1]: > - rebase to kevin's v4.16/dt64 branch > - add Neil's Reviewed-by > - move clock info to board.dts instead of in soc.dtsi You got this comment regarding the pwm clock setup. the setup of the pwm clocks depends

Re: [PATCH v2] ASOC: wm8960: Add multiple MCLK frequency support

2017-12-14 Thread Mark Brown
On Thu, Dec 14, 2017 at 03:51:51PM +, Charles Keepax wrote: > On Thu, Dec 14, 2017 at 03:31:39PM +, Mark Brown wrote: > > Removing set_clkdiv() would be a better thing if there were conflicts > > here, in general we're trying to avoid uses of it. > Ok that can probably be done as a separa

Re: [PATCH v7 6/6] arm64: dts: meson-axg: switch uart_ao clock to CLK81

2017-12-14 Thread Jerome Brunet
On Mon, 2017-12-11 at 22:13 +0800, Yixun Lan wrote: > Switch the uart_ao pclk to CLK81 since the clock driver is ready. > Also move the clock info to the board.dts instead in the soc.dtsi. Same comment as for ethmac, is it really wise ? Isn't the clock setup the same for the axg family ? > > Sig

Re: [PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-14 Thread Mark Brown
On Tue, Dec 05, 2017 at 10:17:59PM +, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > This patch adds support toi APR bus (Asynchronous Packet Router) driver. > ARP driver is made as a bus driver so that the apr devices can added removed > more dynamically depending on t

Re: FS: EXT4: should we sync error info in __ext4_grp_locked_error?

2017-12-14 Thread Theodore Ts'o
On Thu, Dec 14, 2017 at 03:13:15PM +0800, Zhouyi Zhou wrote: > Hi, > In function __ext4_grp_locked_error, __save_error_info(sb, function, > line) > is called to save error info in super block block, but does not sync > that information > to disk to info the subsequence fsck after reboot. The

Re: [BUG]kernel softlockup due to sidtab_search_context run for long time because of too many sidtab context node

2017-12-14 Thread Stephen Smalley
On Thu, 2017-12-14 at 08:18 -0800, Casey Schaufler wrote: > On 12/13/2017 7:18 AM, Stephen Smalley wrote: > > On Wed, 2017-12-13 at 09:25 +, yangjihong wrote: > > > Hello,  > > > > > > I am doing stressing testing on 3.10 kernel(centos 7.4), to > > > constantly starting numbers of docker ontai

Re: [PATCH] mm: save/restore current->journal_info in handle_mm_fault

2017-12-14 Thread Jan Kara
On Thu 14-12-17 22:30:26, Yan, Zheng wrote: > On Thu, Dec 14, 2017 at 9:43 PM, Jan Kara wrote: > > On Thu 14-12-17 18:55:27, Yan, Zheng wrote: > >> We recently got an Oops report: > >> > >> BUG: unable to handle kernel NULL pointer dereference at (null) > >> IP: jbd2__journal_start+0x38/0x1a2 > >>

[PATCH] arc: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

[PATCH] xtensa: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

[PATCH] mips: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

[PATCH] arm64: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

[PATCH] powerpc: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

[PATCH] arm: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

[RFC PATCH 0/2] select master clock in wm8994 driver based on DT clocks configuration

2017-12-14 Thread Olivier Moysan
Hello, This RFC follows a previous RFC related to master clock issues with Wolfson wm8994 codec: http://mailman.alsa-project.org/pipermail/alsa-devel/2017-March/118834.html This RFC provides a new proposal regarding master clock selection in wm8994 driver. Below is a reminder of the problem: U

[RFC PATCH 2/2] ASoC: select sysclk clock from mlck clock provider in wm8994 driver

2017-12-14 Thread Olivier Moysan
When defined in device tree, MCLK1 and MCLK2 are used as sysclk for aif1 and aif2 interfaces respectively. If clock rate is let 0, the frequency provided by wm8994_set_dai_sysclk() is used instead. Signed-off-by: Olivier Moysan --- sound/soc/codecs/wm8994.c | 20 +++- 1 file chan

[RFC PATCH 1/2] ASoC: add support of mclk clock providers in wm8894 driver

2017-12-14 Thread Olivier Moysan
Wolfson wm8994 codec bindings exposes MCLK1 and MCLK1 clocks. This patch adds support of MCLK1 and MCLK2 in mfd driver. Signed-off-by: Olivier Moysan --- drivers/mfd/wm8994-core.c| 9 + include/linux/mfd/wm8994/pdata.h | 6 ++ 2 files changed, 15 insertions(+) diff --git a/d

Re: [BUG]kernel softlockup due to sidtab_search_context run for long time because of too many sidtab context node

2017-12-14 Thread Casey Schaufler
On 12/14/2017 8:42 AM, Stephen Smalley wrote: > On Thu, 2017-12-14 at 08:18 -0800, Casey Schaufler wrote: >> On 12/13/2017 7:18 AM, Stephen Smalley wrote: >>> On Wed, 2017-12-13 at 09:25 +, yangjihong wrote: Hello,  I am doing stressing testing on 3.10 kernel(centos 7.4), to

Re: [PATCH 1/6] blk-mq: protect completion path with RCU

2017-12-14 Thread Bart Van Assche
On Tue, 2017-12-12 at 11:01 -0800, Tejun Heo wrote: > + } else { > + srcu_idx = srcu_read_lock(hctx->queue_rq_srcu); > + if (!blk_mark_rq_complete(rq)) > + __blk_mq_complete_request(rq); > + srcu_read_unlock(hctx->queue_rq_srcu, srcu_idx);

[PATCH] c6x: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

[PATCH] nios2: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

Re: [RESEND PATCH] partial revert of "[media] tvp5150: add HW input connectors support"

2017-12-14 Thread Mauro Carvalho Chehab
Em Wed, 6 Dec 2017 01:33:05 +0100 Javier Martinez Canillas escreveu: > Commit f7b4b54e6364 ("[media] tvp5150: add HW input connectors support") > added input signals support for the tvp5150, but the approach was found > to be incorrect so the corresponding DT binding commit 82c2ffeb217a > ("[med

Re: [PATCH 5/5] PCI: cadence: add EndPoint Controller driver for Cadence PCIe controller

2017-12-14 Thread Cyrille Pitchen
Le 13/12/2017 à 17:50, Cyrille Pitchen a écrit : > Hi Kishon, > > Le 05/12/2017 à 10:19, Kishon Vijay Abraham I a écrit : >> Hi, >> >> On Friday 01 December 2017 05:50 PM, Lorenzo Pieralisi wrote: >>> On Thu, Nov 23, 2017 at 04:01:50PM +0100, Cyrille Pitchen wrote: This patch adds support to

Re: BUG: unable to handle kernel paging request in do_futex

2017-12-14 Thread Thomas Gleixner
On Thu, 14 Dec 2017, Andrey Ryabinin wrote: > On 12/14/2017 06:31 PM, Thomas Gleixner wrote: > > On Thu, 30 Nov 2017, syzbot wrote: > >> BUG: unable to handle kernel paging request at c314149f > > > > That's a user space address which is nowhere in the registers. Is that > > perhaps pre co

Re: [PATCH] xtensa: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Max Filippov
Hi Mathieu, On Thu, Dec 14, 2017 at 8:54 AM, Mathieu Malaterre wrote: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading > "0x" > > and > > Warning (unit_address_fo

Re: [PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2017-12-14 Thread Mauro Carvalho Chehab
Em Fri, 8 Dec 2017 18:05:37 +0530 Dhaval Shah escreveu: > SPDX-License-Identifier is used for the Xilinx Video IP and > related drivers. > > Signed-off-by: Dhaval Shah Hi Dhaval, You're not listed as one of the Xilinx driver maintainers. I'm afraid that, without their explicit acks, sent to

Re: [PATCH] sched/fair: Consider RT/IRQ pressure in capacity_spare_wake

2017-12-14 Thread Joel Fernandes
Hi Vincent, Thanks for your reply. On Thu, Dec 14, 2017 at 7:46 AM, Vincent Guittot wrote: > Hi Joel, > > On 13 December 2017 at 21:00, Joel Fernandes wrote: >> On Mon, Dec 11, 2017 at 4:43 PM, Joel Fernandes wrote: >>> Hi Vincent, >>> > >> >>> --

Re: [PATCH] em28xx: split up em28xx_dvb_init to reduce stack size

2017-12-14 Thread Mauro Carvalho Chehab
Em Mon, 11 Dec 2017 13:05:02 +0100 Arnd Bergmann escreveu: > With CONFIG_KASAN, the init function uses a large amount of kernel stack: > > drivers/media/usb/em28xx/em28xx-dvb.c: In function 'em28xx_dvb_init.part.4': > drivers/media/usb/em28xx/em28xx-dvb.c:2061:1: error: the frame size of 3232 >

[PATCH] metag: dts: Remove leading 0x and 0s from bindings notation

2017-12-14 Thread Mathieu Malaterre
Improve the DTS files by removing all the leading "0x" and zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading "0x" and Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following com

Re: BUG: unable to handle kernel paging request in __switch_to

2017-12-14 Thread Thomas Gleixner
On Sun, 3 Dec 2017, syzbot wrote: > BUG: unable to handle kernel paging request at fff8 > IP: switch_fpu_prepare arch/x86/include/asm/fpu/internal.h:535 [inline] > IP: __switch_to+0x95b/0x1330 arch/x86/kernel/process_64.c:407 > PGD 5e28067 P4D 5e28067 PUD 5e2a067 PMD 0 > Oops: 0002 [#1]

Re: [PATCH 4.14 000/164] 4.14.6-stable review

2017-12-14 Thread Shuah Khan
Hi Naresh, >> Results from Linaro’s test farm. >> No regressions on arm64 and x86_64. >> armv7 beagleboard x15 results are not available due to infrastructure issues. >> >> Note: >> Newly added selftests/net/reuseport_bpf FAILED in full run on x86_64 and >> the independent test execution resulted

Re: [BUG]kernel softlockup due to sidtab_search_context run for long time because of too many sidtab context node

2017-12-14 Thread Stephen Smalley
On Thu, 2017-12-14 at 09:00 -0800, Casey Schaufler wrote: > On 12/14/2017 8:42 AM, Stephen Smalley wrote: > > On Thu, 2017-12-14 at 08:18 -0800, Casey Schaufler wrote: > > > On 12/13/2017 7:18 AM, Stephen Smalley wrote: > > > > On Wed, 2017-12-13 at 09:25 +, yangjihong wrote: > > > > > Hello, 

Re: [PATCH] sched/fair: Consider RT/IRQ pressure in capacity_spare_wake

2017-12-14 Thread Vincent Guittot
On 14 December 2017 at 18:08, Joel Fernandes wrote: > Hi Vincent, > Thanks for your reply. > > On Thu, Dec 14, 2017 at 7:46 AM, Vincent Guittot > wrote: >> Hi Joel, >> >> On 13 December 2017 at 21:00, Joel Fernandes wrote: >>> On Mon, Dec 11, 2017 at 4:43 PM, Joel Fernandes wrote: Hi Vince

Re: [alsa-devel] [PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-14 Thread Srinivas Kandagatla
On 14/12/17 16:48, Mark Brown wrote: On Tue, Dec 05, 2017 at 10:17:59PM +, srinivas.kandaga...@linaro.org wrote: From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed

Re: [PATCH v10 00/13] Introduce framework for SLIMbus device driver

2017-12-14 Thread Mark Brown
On Mon, Dec 11, 2017 at 11:42:54PM +, srinivas.kandaga...@linaro.org wrote: > From: Srinivas Kandagatla > > SLIMbus (Serial Low Power Interchip Media Bus) is a specification > developed by MIPI (Mobile Industry Processor Interface) alliance. > SLIMbus is a 2-wire implementation, which is used

Re: [PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2017-12-14 Thread Joe Perches
On Thu, 2017-12-14 at 15:05 -0200, Mauro Carvalho Chehab wrote: > Em Fri, 8 Dec 2017 18:05:37 +0530 > Dhaval Shah escreveu: > > > SPDX-License-Identifier is used for the Xilinx Video IP and > > related drivers. > > > > Signed-off-by: Dhaval Shah > > Hi Dhaval, > > You're not listed as one of

Re: [PATCH v10 08/13] regmap: add SLIMbus support

2017-12-14 Thread Mark Brown
On Wed, Dec 13, 2017 at 10:25:37AM +0100, Greg Kroah-Hartman wrote: > Mark, can I get an Ack for this patch so I can take it through my tree > with the other patches in this series? I just gave a reviewed-by to the whole series. Might still make sense for me to do this one patch, let me know if

Re: [RFC PATCH 1/2] ASoC: add support of mclk clock providers in wm8894 driver

2017-12-14 Thread Mark Brown
On Thu, Dec 14, 2017 at 05:53:57PM +0100, Olivier Moysan wrote: > + pdata->mclk1 = devm_clk_get(wm8994->dev, "MCLK1"); > + if (IS_ERR(pdata->mclk1)) > + pdata->mclk1 = NULL; These should special case -EPROBE_DEFER so we defer properly if we need to (and ideally log an error in

Re: 4.14: WARNING: CPU: 4 PID: 2895 at block/blk-mq.c:1144 with virtio-blk (also 4.12 stable)

2017-12-14 Thread Christian Borntraeger
Independent from the issues with the dasd disks, this also seem to not enable additional hardware queues. with cpus 0,1 (and 248 cpus max) I get cpus 0 and 2-247 attached to hardware contect 0 and I get cpu 1 for hardware context 1. If I now add a cpu this does not change anything. hardware cont

RE: [PATCH v4 00/12] [dt-bindings] [media] Add document file and driver for Sony CXD2880 DVB-T2/T tuner + demodulator

2017-12-14 Thread Bird, Timothy
> -Original Message- > From: Philippe on Thursday, December 14, 2017 6:25 AM > Dear Mauro, > > On Thu, Dec 14, 2017 at 11:55 AM, Mauro Carvalho Chehab > wrote: > > > SPDX is a new requirement that started late on Kernel 4.14 development > > cycle (and whose initial changes were merged

Re: [PATCH] media: v4l: xilinx: Use SPDX-License-Identifier

2017-12-14 Thread Mauro Carvalho Chehab
Em Thu, 14 Dec 2017 09:26:27 -0800 Joe Perches escreveu: > On Thu, 2017-12-14 at 15:05 -0200, Mauro Carvalho Chehab wrote: > > Em Fri, 8 Dec 2017 18:05:37 +0530 > > Dhaval Shah escreveu: > > > > > SPDX-License-Identifier is used for the Xilinx Video IP and > > > related drivers. > > > > > >

[RESEND PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-14 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed more dynamically depending on the state of the services on the dsp. APR is used for communication between application pro

[RESEND PATCH v2 05/15] ASoC: qcom: qdsp6: Add support to Q6ADM

2017-12-14 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 ADM (Audio Device Manager) module in q6dsp. ADM performs routing between audio streams and AFE ports. It does Rate matching for streams going to devices driven by different clocks, it handles volume ramping, Mixing with channel and bit-width

[RESEND PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver

2017-12-14 Thread srinivas . kandagatla
From: Srinivas Kandagatla uThis patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 +++- sound/soc/qcom/apq8096.c | 124 +++ 2 files changed, 132 insertions(+), 1 deletion(-) create mod

[RESEND PATCH v2 15/15] arm64: dts: msm8996: db820c: Add sound card support

2017-12-14 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds hdmi sound card support to db820c via qdsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 5 + arch/arm64/boot/dts/qcom/msm8996.dtsi| 33 2 files changed, 38 insertions(+

Re: [PATCH v2 02/17] mm: Exempt special mappings from mlock(), mprotect() and madvise()

2017-12-14 Thread Peter Zijlstra
On Thu, Dec 14, 2017 at 08:19:36AM -0800, Andy Lutomirski wrote: > On Thu, Dec 14, 2017 at 3:27 AM, Peter Zijlstra wrote: > > It makes no sense to ever prod at special mappings with any of these > > syscalls. > > > > XXX should we include munmap() ? > > This is an ABI break for the vdso. Maybe t

Re: [RESEND PATCH] partial revert of "[media] tvp5150: add HW input connectors support"

2017-12-14 Thread Javier Martinez Canillas
Hello Mauro, On 12/14/2017 06:02 PM, Mauro Carvalho Chehab wrote: > Em Wed, 6 Dec 2017 01:33:05 +0100 > Javier Martinez Canillas escreveu: > >> Commit f7b4b54e6364 ("[media] tvp5150: add HW input connectors support") >> added input signals support for the tvp5150, but the approach was found >>

Re: [alsa-devel] [PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-14 Thread Mark Brown
On Thu, Dec 14, 2017 at 05:18:29PM +, Srinivas Kandagatla wrote: > I did add arm-msm mailing list in the CC. > I think I missed Andy and Sboyd and dt-maintainers too in the list. > It's better I resend this series!! Probably, yeah. I'd been wondering why it wasn't getting any reviews... si

[RESEND PATCH v2 10/15] ASoC: qcom: qdsp6: Add support to q6routing driver

2017-12-14 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 routing driver which configures route between ASM and AFE module using ADM apis. This driver uses dapm widgets to setup the matrix between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig

[PATCH v2 1/2] leds: as3645a: Fix quoted string split warning

2017-12-14 Thread Dan Murphy
Fix a warning for a split quoted string across lines. WARNING: quoted string split across lines 459: FILE: drivers/leds/leds-as3645a.c:459: dev_err(dev, "AS3645A not detected " "(model %d rfu %d)\n", model, rfu); Acked-by: Laurent Pinchart Signed-off-by: D

[PATCH v2 2/2] leds: as3645a: Fix line over 80 characters

2017-12-14 Thread Dan Murphy
Fix the warning for line over 80 characters. WARNING: line over 80 characters 363: FILE: drivers/leds/leds-as3645a.c:363: flash->flash_current = as3645a_current_to_reg(flash, true, brightness_ua); Acked-by: Laurent Pinchart Signed-off-by: Dan Murphy --- v2 - Split the warning fixes in

Detecting RWF_NOWAIT support

2017-12-14 Thread Avi Kivity
I'm looking to add support for RWF_NOWAIT within a linux-aio iocb. Naturally, I need to detect at runtime whether the kernel support RWF_NOWAIT or not. The only method I could find was to issue an I/O with RWF_NOWAIT set, and look for errors. This is somewhat less than perfect:  - from the

[RESEND PATCH v2 13/15] dt-bindings: sound: qcom: Add devicetree bindings for apq8096

2017-12-14 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/device

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