re

2018-06-02 Thread Ms. Ella Golan
I am Ms.Ella Golan, I am the Executive Vice President Banking Division with FIRST INTERNATIONAL BANK OF ISRAEL LTD (FIBI). I am getting in touch with you regarding an extremely important and urgent matter. If you would oblige me the opportunity, I shall provide you with details upon your respons

Re: [Patch v2 13/15] CIFS: Add support for direct I/O read

2018-06-02 Thread kbuild test robot
/commits/Long-Li/CIFS-Add-direct-I-O-support/20180602-130240 config: i386-randconfig-x008-201821 (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): I

[PATCH] clk: qcom: Export clk_fabia_pll_configure()

2018-06-02 Thread sboyd
From: Stephen Boyd This is used by the video clk driver on sdm845 and that's a module. Export it to prevent module build failures. Cc: Amit Nischal Signed-off-by: Stephen Boyd --- drivers/clk/qcom/clk-alpha-pll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/qcom/clk-alpha-p

linux-next: Signed-off-by missing for commit in the vfs-fixes tree

2018-06-02 Thread Stephen Rothwell
Hi Al, Commit 9b8a76714b3d ("Revert "fs: fold open_check_o_direct into do_dentry_open"") is missing a Signed-off-by from its author and committer. Reverts are commits as well ;-) -- Cheers, Stephen Rothwell pgpk9K03zjGlG.pgp Description: OpenPGP digital signature

Re: Kconfig warnings with GCC 8.1.0

2018-06-02 Thread Masahiro Yamada
Hi. 2018-05-31 13:18 GMT+09:00 Nathan Chancellor : > Hi everyone, > > My apologies if this has already been reported in some capacity, I > searched the mailing list and patchwork but I didn't see anything. I think you are the first reporter. > With GCC 8.1.0, I am starting to see the followin

[PATCH] clk: davinci: cfgchip: testing the wrong variable

2018-06-02 Thread Dan Carpenter
There is a copy and paste bug here. We should be testing "usb1" instead of "usb0". Fixes: 58e1e2d2cd89 ("clk: davinci: cfgchip: Add TI DA8XX USB PHY clocks") Signed-off-by: Dan Carpenter diff --git a/drivers/clk/davinci/da8xx-cfgchip.c b/drivers/clk/davinci/da8xx-cfgchip.c index c97d2601..

Lucrative Business Proposal

2018-06-02 Thread Adrien Saif
-- Dear Friend, I would like to discuss a very important issue with you. I am writing to find out if this is your valid email. Please, let me know if this email is valid Kind regards Adrien Saif Attorney to Quatif Group of Companies

Re: [PATCH v3 2/5] gpio: syscon: rockchip: add GPIO_MUTE support for rk3328

2018-06-02 Thread Levin Du
Rob Herring writes: On Thu, May 31, 2018 at 9:05 PM, Levin wrote: Hi Rob, On 2018-05-31 10:45 PM, Rob Herring wrote: On Wed, May 30, 2018 at 10:27 PM, wrote: From: Levin Du In Rockchip RK3328, the output only GPIO_MUTE pin, originally for codec mute control, can also be used for

Re: [PATCH 1/6] arm64: dts: amlogic: Add missing cooling device properties for CPUs

2018-06-02 Thread Olof Johansson
On Mon, May 28, 2018 at 04:43:58PM +0530, Viresh Kumar wrote: > On 25-05-18, 14:10, Olof Johansson wrote: > > On Fri, May 25, 2018 at 11:10:01AM +0530, Viresh Kumar wrote: > > > The cooling device properties, like "#cooling-cells" and > > > "dynamic-power-coefficient", should either be present for

Re: [PATCH] ARM: tegra: fix compile-testing PCI host driver

2018-06-02 Thread Olof Johansson
On Mon, May 28, 2018 at 05:55:29PM +0200, Arnd Bergmann wrote: > The tegra_cpuidle_pcie_irqs_in_use() function is stubbed out for non-ARM > builds, but now we can compile-test the Tegra pci driver on non-Tegra > ARM platforms as well, which results in a new link error: > > drivers/pci/host/pci-teg

Lucrative Business Proposal

2018-06-02 Thread Adrien Saif
-- Dear Friend, I would like to discuss a very important issue with you. I am writing to find out if this is your valid email. Please, let me know if this email is valid Kind regards Adrien Saif Attorney to Quatif Group of Companies

[PATCH v2 1/3] staging: rtlwifi: Fix "Trafic"->"Traffic"

2018-06-02 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in comment text. Signed-off-by: Sabin Mihai Rapan --- Changes in v2: - Added proper to and cc fields to the patch series. drivers/staging/rtlwifi/phydm/phydm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtlwifi/phydm/phyd

[PATCH v2 2/3] staging: rtlwifi: Fix "writen"->"written"

2018-06-02 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in comment text. Signed-off-by: Sabin Mihai Rapan --- Changes in v2: - Added proper to and cc fields to the patch series. drivers/staging/rtlwifi/rtl8822be/fw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtlwifi/rtl8822be

[PATCH v2 3/3] staging: rtlwifi: Fix "Alwyas"->"Always"

2018-06-02 Thread Sabin Mihai Rapan
Trivial fix to spelling mistake in comment text. Signed-off-by: Sabin Mihai Rapan --- Changes in v2: - Added proper to and cc fields to the patch series. drivers/staging/rtlwifi/rtl8822be/sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtlwifi/rtl8822be

Re: [PATCH v2 16/17] signal: make security_task_kill() return bool

2018-06-02 Thread Christian Brauner
On Fri, Jun 01, 2018 at 06:26:25PM +0200, Oleg Nesterov wrote: > On 06/01, Christian Brauner wrote: > > > > security_task_kill() already behaves like a boolean function. Let's > > actually declare it as such too. > > The subject/changelog is wrong, this patch changes sigkill_pending() Ah yes, s/s

Re: [PATCH] clkdev: Remove duplicated negative index check from __of_clk_get()

2018-06-02 Thread Geert Uytterhoeven
Hi Stephen, On Sat, Jun 2, 2018 at 6:47 AM, Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2018-06-01 12:22:33) >> On Fri, Jun 1, 2018 at 9:20 PM, Stephen Boyd wrote: >> > Quoting Geert Uytterhoeven (2018-05-18 03:58:40) >> >> __of_clk_get() calls of_parse_phandle_with_args(), which rejects >

[PATCH v3 08/17] signal: make sig_task_ignored() return bool

2018-06-02 Thread Christian Brauner
sig_task_ignored() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel

[PATCH v3 00/17] signal: refactor some functions

2018-06-02 Thread Christian Brauner
Hey, This series refactors a bunch of functions in signal.c to simplify parts of the code. As requested, v3 drops all 3 commits that were pure coding-style changes. The greatest single change is declaring the static do_sigpending() helper as void which makes it possible to remove a bunch of unnece

[PATCH v3 10/17] signal: make has_pending_signals() return bool

2018-06-02 Thread Christian Brauner
has_pending_signals() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * [Oleg Nestorov] remove other non-functional changes v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 2 +- 1 file changed, 1 inserti

[PATCH v3 01/17] signal: make force_sigsegv() void

2018-06-02 Thread Christian Brauner
force_sigsegv() returned 0 unconditionally so it doesn't make sense to have it return at all. In addition, there are no callers that check force_sigsegv()'s return value. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * unchanged --- include/linux/sched/sign

[PATCH v3 06/17] signal: make kill_ok_by_cred() return bool

2018-06-02 Thread Christian Brauner
kill_ok_by_cred() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * unchanged --- kernel/signal.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --

[PATCH v3 11/17] signal: make recalc_sigpending_tsk() return bool

2018-06-02 Thread Christian Brauner
recalc_sigpending_tsk() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH v3 05/17] signal: simplify rt_sigaction()

2018-06-02 Thread Christian Brauner
The goto is not needed and does not add any clarity. Simply return -EINVAL on unexpected sigset_t struct size directly. Signed-off-by: Christian Brauner Acked-by: Oleg Nesterov --- v2->v3: * added Oleg's Acked-by v1->v2: * [Christoph Hellwig] additional cleanups v0->v1: * unchanged --- kernel/s

[PATCH v3 04/17] signal: make do_sigpending() void

2018-06-02 Thread Christian Brauner
do_sigpending() returned 0 unconditionally so it doesn't make sense to have it return at all. This allows us to simplify a bunch of syscall callers. Signed-off-by: Christian Brauner Acked-by: Al Viro Acked-by: Oleg Nesterov --- v2->v3: * added Oleg's Acked-by v1->v2: * unchanged v0->v1: * uncha

[PATCH v3 07/17] signal: make sig_handler_ignored() return bool

2018-06-02 Thread Christian Brauner
sig_handler_ignored() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ker

[PATCH v3 09/17] signal: make sig_ignored() return bool

2018-06-02 Thread Christian Brauner
sig_ignored() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/si

[PATCH v3 03/17] signal: make may_ptrace_stop() return bool

2018-06-02 Thread Christian Brauner
may_ptrace_stop() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * [Oleg Nestorov] s/likely/unlikely logic v1->v2: * unchanged v0->v1: * unchanged --- kernel/signal.c | 8 1 file changed, 4 insertions(+), 4 de

[PATCH v3 16/17] signal: make sigkill_pending() return bool

2018-06-02 Thread Christian Brauner
sigkill_pending() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * [Oleg Nestorov] fix wrong function name in commit message v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 6 +++--- 1 file changed, 3 i

[PATCH v3 17/17] signal: make get_signal() return bool

2018-06-02 Thread Christian Brauner
make get_signal() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- include/linux/signal.h | 2 +- kernel/signal.c| 4 ++-- 2 files changed, 3 insertions(+

[PATCH v3 02/17] signal: make kill_as_cred_perm() return bool

2018-06-02 Thread Christian Brauner
kill_as_cred_perm() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * simplify to use a single return --- kernel/signal.c | 13 +++-- 1 file changed, 7 insertions(+), 6 de

[PATCH v3 12/17] signal: make unhandled_signal() return bool

2018-06-02 Thread Christian Brauner
unhandled_signal() already behaves like a boolean function. Let's actually declare it as such too. All callers treat it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- include/linux/signal.h | 2 +- kernel/signal.c| 8 ++

[PATCH v3 14/17] signal: make wants_signal() return bool

2018-06-02 Thread Christian Brauner
wants_signal() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a

[PATCH v3 15/17] signal: make legacy_queue() return bool

2018-06-02 Thread Christian Brauner
legacy_queue() already behaves like a boolean function. Let's actually declare it as such too. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/signal.

[PATCH v3 13/17] signal: make flush_sigqueue_mask() void

2018-06-02 Thread Christian Brauner
The return value of flush_sigqueue_mask() is never checked anywhere. Signed-off-by: Christian Brauner --- v2->v3: * unchanged v1->v2: * unchanged v0->v1: * patch added --- kernel/signal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/signal.c b/kernel/signal.c i

bisected 4.17-rc - BUG: Bad page state in process qemu-system-x86 pfn:7178f3

2018-06-02 Thread Amadeusz Sławiński
Hey, so I've been getting system instability problems after shutting down virtual machine with GPU pass-through in 4.17-rc series and I finally got around to bisecting it. Seems to be caused by 356e88ebe4473a3663cf3d14727ce293a4526d34 and problem seems to be gone after reverting it. trce from /v

Re: [PATCH v1 3/4] clk: tegra20: Turn EMC clock gate into divider

2018-06-02 Thread Dmitry Osipenko
On 02.06.2018 09:37, Stephen Boyd wrote: > Quoting Dmitry Osipenko (2018-05-30 08:06:45) >> Kernel should never gate the EMC clock as it causes immediate lockup, so >> removing clk-gate functionality doesn't affect anything. Turning EMC clk >> gate into divider allows to implement glitch-less EMC s

[PATCH v7 1/2] Add an array of const char and enum oom_constraint in memcontrol.h

2018-06-02 Thread 禹舟键
From: yuzhoujian This patch will make some preparation for the follow-up patch: Refactor part of the oom report in dump_header. It puts enum oom_constraint in memcontrol.h and adds an array of const char for each constraint. Signed-off-by: yuzhoujian --- include/linux/memcontrol.h | 14 +++

[PATCH 2/2] tsens: Get rid of unused fields in structure

2018-06-02 Thread Amit Kucheria
status_field and trdy are unused in any of the tsens drivers. Remove them. Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/thermal/qcom/tsens.h b/drivers/thermal/qcom/tsens.h index f15660d..77ed8dc 100644 --- a/drivers/th

[PATCH 0/2] thermal: tsens: SDM845 support

2018-06-02 Thread Amit Kucheria
Add SDM845 support in the tsens driver. I've create a separate file (tsens-sdm845.c) because I expect it to diverge from the other drivers. Cleanup the tsens_device structure while we're at it. Amit Kucheria (2): thermal: tsens: Add support for SDM845 platform tsens: Get rid of unused fields

[PATCH 1/2] thermal: tsens: Add support for SDM845 platform

2018-06-02 Thread Amit Kucheria
There are two tsens blocks on the SDM845. These will be configured through the devicetree. Signed-off-by: Amit Kucheria --- .../devicetree/bindings/thermal/qcom-tsens.txt | 1 + drivers/thermal/qcom/Makefile | 2 +- drivers/thermal/qcom/tsens-sdm845.c|

Re: [PATCH v7 1/2] Add an array of const char and enum oom_constraint in memcontrol.h

2018-06-02 Thread Matthew Wilcox
On Sat, Jun 02, 2018 at 07:06:44PM +0800, 禹舟键 wrote: > From: yuzhoujian > > This patch will make some preparation for the follow-up patch: Refactor > part of the oom report in dump_header. It puts enum oom_constraint in > memcontrol.h and adds an array of const char for each constraint. This pat

Re: PROBLEM: [kernel BUG at fs/fat/inode.c:162] when writing to a broken VFAT

2018-06-02 Thread OGAWA Hirofumi
Anatoly Trosinenko writes: > Description: > > Writing to some file on a broken VFAT partition causes kernel bug Thanks. This patch should fix this issue. -- OGAWA Hirofumi [PATCH] fat: Use fat_fs_error() instead of BUG_ON() in __fat_get_block() If file size and FAT cluster chain is not matc

Re: [PATCH] rcu: Check the range of jiffies_till_{first,next}_fqs when setting them

2018-06-02 Thread Paul E. McKenney
On Fri, Jun 01, 2018 at 11:03:09AM +0900, Byungchul Park wrote: > Currently, the range of jiffies_till_{first,next}_fqs are checked and > adjusted on and on in the loop of rcu_gp_kthread on runtime. > > However, it's enough to check them only when setting them, not every > time in the loop. So mak

Re: [PATCH -tip v4 24/27] bpf: error-inject: kprobes: Clear current_kprobe and enable preempt in kprobe

2018-06-02 Thread Naveen N. Rao
Masami Hiramatsu wrote: On Thu, 31 May 2018 16:25:38 +0530 "Naveen N. Rao" wrote: Masami Hiramatsu wrote: > Clear current_kprobe and enable preemption in kprobe > even if pre_handler returns !0. > > This simplifies function override using kprobes. > > Jprobe used to require to keep the preem

[PATCH v7 1/2] Add an array of const char and enum oom_constraint in memcontrol.h

2018-06-02 Thread ufo19890607
From: yuzhoujian This patch will make some preparation for the follow-up patch: Refactor part of the oom report in dump_header. It puts enum oom_constraint in memcontrol.h and adds an array of const char for each constraint. Signed-off-by: yuzhoujian --- include/linux/memcontrol.h | 14 +++

[PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-02 Thread ufo19890607
From: yuzhoujian The dump_header does not print the memcg's name when the system oom happened, so users cannot locate the certain container which contains the task that has been killed by the oom killer. I follow the advices of David Rientjes and Michal Hocko, and refactor part of the oom report

[PATCH v7 2/2] Refactor part of the oom report in dump_header

2018-06-02 Thread ufo19890607
From: yuzhoujian The dump_header does not print the memcg's name when the system oom happened, so users cannot locate the certain container which contains the task that has been killed by the oom killer. I follow the advices of David Rientjes and Michal Hocko, and refactor part of the oom report

[PATCH v7 1/2] Add an array of const char and enum oom_constraint in memcontrol.h

2018-06-02 Thread ufo19890607
From: yuzhoujian This patch will make some preparation for the follow-up patch: Refactor part of the oom report in dump_header. It puts enum oom_constraint in memcontrol.h and adds an array of const char for each constraint. Signed-off-by: yuzhoujian --- include/linux/memcontrol.h | 14 +++

Re: [PATCH v3 12/17] signal: make unhandled_signal() return bool

2018-06-02 Thread Alexey Dobriyan
> -int unhandled_signal(struct task_struct *tsk, int sig) > +bool unhandled_signal(struct task_struct *tsk, int sig) This most likely makes code generation worse on embedded arhcs which will '& 0xFF" internally.

Donation!!!

2018-06-02 Thread Mr Mikhail Fridman
Charitable Donation for you, Respond for further directives. Mr. Mikhail Fridman --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

[GIT PULL] IIO driver fixes for 4.17-rc8

2018-06-02 Thread Greg KH
The following changes since commit 6da6c0db5316275015e8cc2959f12a17584aeb64: Linux v4.17-rc3 (2018-04-29 14:17:42 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.17-rc8 for you to fetch changes up to 9d569b1cf7

[GIT PULL] Char/Misc driver fixes for 4.17-rc8

2018-06-02 Thread Greg KH
The following changes since commit 6da6c0db5316275015e8cc2959f12a17584aeb64: Linux v4.17-rc3 (2018-04-29 14:17:42 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.17-rc8 for you to fetch changes up to 806e30

[RFC PATCH for 4.18 01/16] uapi headers: Provide types_32_64.h (v2)

2018-06-02 Thread Mathieu Desnoyers
Provide helper macros for fields which represent pointers in kernel-userspace ABI. This facilitates handling of 32-bit user-space by 64-bit kernels by defining those fields as 32-bit 0-padding and 32-bit integer on 32-bit architectures, which allows the kernel to treat those as 64-bit integers. The

[RFC PATCH for 4.18 07/16] x86: Wire up restartable sequence system call

2018-06-02 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.

[RFC PATCH for 4.18 06/16] x86: Add support for restartable sequences (v2)

2018-06-02 Thread Mathieu Desnoyers
Call the rseq_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. Perform fixup on the pre-signal frame when a signal is delivered on top of a restartable sequence critical section. Check that system calls are not invoked from within rseq critical secti

[RFC PATCH for 4.18 10/16] powerpc: Wire up restartable sequences system call

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

[RFC PATCH for 4.18 08/16] powerpc: Add support for restartable sequences

2018-06-02 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. Perform fixup on the pre-signal when a signal is delivered on top of a restartable sequence critical section. Signed-off-by: Boqun Feng Signed-off-by: Mathieu Desnoyer

[RFC PATCH for 4.18 05/16] arm: Wire up restartable sequences system call

2018-06-02 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.18 16/16] rseq: selftests: Provide Makefile, scripts, gitignore (v2)

2018-06-02 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.18 15/16] rseq: selftests: Provide parametrized tests (v2)

2018-06-02 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_compare_twice" is the same as "param_test", but it performs each c

[RFC PATCH for 4.18 12/16] rseq: selftests: Provide rseq library (v5)

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

[RFC PATCH for 4.18 11/16] selftests: lib.mk: Introduce OVERRIDE_TARGETS

2018-06-02 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.18 13/16] rseq: selftests: Provide basic test

2018-06-02 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.18 02/16] rseq: Introduce restartable sequences system call (v13)

2018-06-02 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.18 03/16] arm: Add restartable sequences support

2018-06-02 Thread Mathieu Desnoyers
Call the rseq_handle_notify_resume() function on return to userspace if TIF_NOTIFY_RESUME thread flag is set. 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: Russell King CC: Catalin Marinas

[RFC PATCH for 4.18 04/16] arm: Add syscall detection for restartable sequences

2018-06-02 Thread Mathieu Desnoyers
Syscalls are not allowed inside restartable sequences, so add a call to rseq_syscall() at the very beginning of system call exiting path for CONFIG_DEBUG_RSEQ=y kernel. This could help us to detect whether there is a syscall issued inside restartable sequences. Signed-off-by: Mathieu Desnoyers CC

[RFC PATCH for 4.18 00/16] Restartable Sequences

2018-06-02 Thread Mathieu Desnoyers
Hi, Here is an updated RFC of the rseq patchset. It only includes rseq. Further improvements are kept for later. Compared to the previous version of this series, CONFIG_DEBUG_RSEQ=y now ensures that system calls are not issued within a rseq critical section, else the process is killed. This check

[RFC PATCH for 4.18 14/16] rseq: selftests: Provide basic percpu ops test (v2)

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

[GIT PULL] tpmdd 4.17 fixes

2018-06-02 Thread Jarkko Sakkinen
The following changes since commit 424eaf910c329ab06ad03a527ef45dcf6a328f00: tpm: reduce polling time to usecs for even finer granularity (2018-05-18 10:00:01 +0300) are available in the Git repository at: git://git.infradead.org/users/jjs/linux-tpmdd.git tags/tpmdd-next-20180602 for you

Re: [PATCH v3 4/4] seccomp: add support for passing fds via USER_NOTIF

2018-06-02 Thread Jann Horn
On Sat, Jun 2, 2018 at 2:58 PM Tycho Andersen wrote: > The idea here is that the userspace handler should be able to pass an fd > back to the trapped task, for example so it can be returned from socket(). > > I've proposed one API here, but I'm open to other options. In particular, > this only let

Re: [PATCH] Make elf2ecoff work on 64bit host machines

2018-06-02 Thread Thomas Bogendoerfer
On Thu, 31 May 2018 17:03:11 -0700 Paul Burton wrote: > Perhaps we should #include before making use of the types it > provides? good point, will send a new version. > > @@ -518,7 +518,7 @@ int main(int argc, char *argv[]) > > > > for (i = 0; i < nosecs; i++) { > >

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Fabio Estevam
Hi Stefan, On Tue, May 22, 2018 at 9:25 AM, Stefan Wahren wrote: >> --- a/include/dt-bindings/clock/imx6ul-clock.h >> +++ b/include/dt-bindings/clock/imx6ul-clock.h >> @@ -242,20 +242,25 @@ >> #define IMX6UL_CLK_CKO2_PODF 229 >> #define IMX6UL_CLK_CKO2 230 >> #def

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Michael Nazzareno Trimarchi
Hi On Sat, Jun 2, 2018 at 3:48 PM, Fabio Estevam wrote: > Hi Stefan, > > On Tue, May 22, 2018 at 9:25 AM, Stefan Wahren wrote: > >>> --- a/include/dt-bindings/clock/imx6ul-clock.h >>> +++ b/include/dt-bindings/clock/imx6ul-clock.h >>> @@ -242,20 +242,25 @@ >>> #define IMX6UL_CLK_CKO2_PODF

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Fabio Estevam
Hi Michael, On Sat, Jun 2, 2018 at 11:04 AM, Michael Nazzareno Trimarchi wrote: > ull is a preatty new platform so one board was listed. Are you sure > that we need? There are several imx6ul based dts in mainline and it is better if we can avoid dtb breakage when possible. In this case we can

Re: [RESEND] [PATCH] platform/x86: dell-wmi: Ignore new rfkill and fn-lock events

2018-06-02 Thread Andy Shevchenko
On Fri, Jun 1, 2018 at 7:47 PM, Darren Hart wrote: > On Fri, Jun 01, 2018 at 11:20:39AM +0300, Andy Shevchenko wrote: >> On Fri, Jun 1, 2018 at 6:23 AM, Kai-Heng Feng >> wrote: >> Pushed to my review and testing queue, thanks! >> >> P.S. There are some patches under Darren's queue, but for some

Re: [PATCH 1/2] clk: imx6ul: add GPIO clock gates

2018-06-02 Thread Michael Nazzareno Trimarchi
Hi Fabio On Sat, Jun 2, 2018 at 4:07 PM, Fabio Estevam wrote: > Hi Michael, > > On Sat, Jun 2, 2018 at 11:04 AM, Michael Nazzareno Trimarchi > wrote: > >> ull is a preatty new platform so one board was listed. Are you sure >> that we need? > > There are several imx6ul based dts in mainline and i

[PATCH] DMA: OMAP: fix OMAP1510 incorrect residue_granularity

2018-06-02 Thread Janusz Krzysztofik
Commit 0198d7bb8a0c ("ASoC: omap-mcbsp: Convert to use the sdma-pcm instead of omap-pcm") resulted in broken audio playback on OMAP1510 (discovered on Amstrad Delta). When running on OMAP1510, omap-pcm used to obtain DMA offset from snd_dmaengine_pcm_pointer_no_residue() based on DMA interrupt tri

[PATCH v2 0/5] staging: mt7621-spi: Fix Coding style issues.

2018-06-02 Thread Sankalp Negi
This patch series lists different changes for coding style fixes as reported by checkpatch.pl, changes can be broken down as : 1. Indent switch and case labels at the same level 2. Fix a line over 80 columns 3. Place tabs for indentation instead of spaces 4. Add a space before open paranthesis in

[PATCH v2 1/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : switch and case should be at the same indent Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-

[PATCH v2 5/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : braces {} are not necessary for single statement blocks Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c

[PATCH v2 4/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : space required before the open parenthesis Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging

[PATCH v2 3/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: ERROR : code indent should use tabs where possible Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging

[PATCH v2 2/5] staging: mt7621-spi: Fix Coding style issues reported by checkpatch.pl.

2018-06-02 Thread Sankalp Negi
The patch fixes following checkpatch.pl issue: WARNING : line over 80 characters Signed-off-by: Sankalp Negi --- drivers/staging/mt7621-spi/spi-mt7621.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/mt7621-spi/spi-mt7621.c b/drivers/staging/mt7621-spi/spi

Re: [PATCH] clk: Return void from debug_init op

2018-06-02 Thread David Lechner
On 06/02/2018 12:06 AM, sb...@kernel.org wrote: From: Stephen Boyd We only have two users of the debug_init hook, and we recently stopped caring about the return value from that op. Finish that off by changing the clk_op to return void instead of int because it doesn't matter if debugfs fails o

Re: [PATCH] clk: davinci: cfgchip: testing the wrong variable

2018-06-02 Thread David Lechner
On 06/02/2018 02:52 AM, Dan Carpenter wrote: There is a copy and paste bug here. We should be testing "usb1" instead of "usb0". Fixes: 58e1e2d2cd89 ("clk: davinci: cfgchip: Add TI DA8XX USB PHY clocks") Signed-off-by: Dan Carpenter diff --git a/drivers/clk/davinci/da8xx-cfgchip.c b/drivers/c

Re: [PATCH] DMA: OMAP: fix OMAP1510 incorrect residue_granularity

2018-06-02 Thread Janusz Krzysztofik
On Saturday, June 2, 2018 4:22:04 PM CEST Janusz Krzysztofik wrote: > - by passing dma_caps.residue_granularity = > DMA_RESIDUE_GRANULARITY_DESCRIPTOR from drivers/dma/omap-dma.c. > > Let's do the latter. > > Created and tested against next-20180531 tag from linux-next tree. I'm sorry, I misse

Re: LKMM litmus test for Roman Penyaev's rcu-rr

2018-06-02 Thread Paul E. McKenney
On Thu, May 31, 2018 at 10:27:33AM -0400, Alan Stern wrote: > On Wed, 30 May 2018, Paul E. McKenney wrote: > > > On Wed, May 30, 2018 at 05:01:01PM -0500, Linus Torvalds wrote: > > > On Wed, May 30, 2018 at 2:08 PM Alan Stern > > > wrote: > > > > > > > > Indeed. The very first line Linus quoted

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Souptick Joarder
On Wed, May 30, 2018 at 4:46 PM, Matthew Wilcox wrote: > On Wed, May 30, 2018 at 09:10:47AM +0530, Souptick Joarder wrote: >> On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox wrote: >> > I see: >> > >> > mm/gup.c:817:15: warning: invalid assignment: |= >> > mm/gup.c:817:15:left side has type

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Souptick Joarder
Please ignoe this mail. I send it by mistake. On Sat, Jun 2, 2018 at 8:14 PM, Souptick Joarder wrote: > On Wed, May 30, 2018 at 4:46 PM, Matthew Wilcox wrote: >> On Wed, May 30, 2018 at 09:10:47AM +0530, Souptick Joarder wrote: >>> On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox >>> wrote: >>

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Souptick Joarder
On Wed, May 30, 2018 at 4:46 PM, Matthew Wilcox wrote: > On Wed, May 30, 2018 at 09:10:47AM +0530, Souptick Joarder wrote: >> On Tue, May 29, 2018 at 11:04 PM, Matthew Wilcox wrote: >> > I see: >> > >> > mm/gup.c:817:15: warning: invalid assignment: |= >> > mm/gup.c:817:15:left side has type

[PATCH 3/4] tools headers: Sync x86 cpufeatures.h with the kernel sources

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up changes found in these csets: 11fb0683493b x86/speculation: Add virtualized speculative store bypass disable support d1035d971829 x86/cpufeatures: Add FEATURE_ZEN 52817587e706 x86/cpufeatures: Disentangle SSBD enumeration 7eb8956a7fec x86/cpufeature

[PATCH 4/4] perf tools intel-pt-decoder: Update insn.h from the kernel sources

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up the changes in: ee6a7354a362 ("kprobes/x86: Prohibit probing on exception masking instructions") That doesn't entail changes in tooling, but silences this perf build warning: Warning: Intel PT: x86 instruction decoder header at 'tools/perf/util/i

[PATCH 1/4] perf trace beauty prctl: Default header_dir to cwd to work without parms

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Useful when checking the effects of header synchs for the files it uses as a input to generate string tables, in retrospect this is how it should've been done from day 1, not requiring the header_dir to be set on the Makefile, will change everything later, so that t

Re: [PATCH] mm: Change return type to vm_fault_t

2018-06-02 Thread Luc Van Oostenryck
On Sat, Jun 02, 2018 at 08:25:29PM +0530, Souptick Joarder wrote: > CHECK mm/gup.c > mm/gup.c:394:17: error: undefined identifier '__COUNTER__' > mm/gup.c:439:9: error: undefined identifier '__COUNTER__' > mm/gup.c:441:9: error: undefined identifier '__COUNTER__' > mm/gup.c:443:9: error: undefi

[PATCH 2/4] tools headers: Synchronize prctl.h ABI header

2018-06-02 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo To pick up changes from: $ git log --oneline -2 -i include/uapi/linux/prctl.h 356e4bfff2c5 prctl: Add force disable speculation b617cfc85816 prctl: Add speculation control prctls $ tools/perf/trace/beauty/prctl_option.sh > before.c $ cp include/uapi/linu

[GIT PULL 0/4] perf/urgent fixes

2018-06-02 Thread Arnaldo Carvalho de Melo
acme/linux into perf/urgent (2018-05-31 12:37:07 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo-4.17-20180602 for you to fetch changes up to 0b3a18387f3e5cdcfaaf884860a4688280d09c9d: perf tools intel-

Re: bisected 4.17-rc - BUG: Bad page state in process qemu-system-x86 pfn:7178f3

2018-06-02 Thread Alex Williamson
On Sat, 2 Jun 2018 11:56:24 +0200 Amadeusz Sławiński wrote: > Hey, > > so I've been getting system instability problems after shutting down > virtual machine with GPU pass-through in 4.17-rc series and I finally > got around to bisecting it. > > Seems to be caused by 356e88ebe4473a3663cf3d14727

Re: [PATCH v2 0/5] staging: mt7621-spi: Fix Coding style issues.

2018-06-02 Thread Joe Perches
On Sat, 2018-06-02 at 19:56 +0530, Sankalp Negi wrote: > This patch series lists different changes for coding style fixes > as reported by checkpatch.pl, changes can be broken down as : > > 1. Indent switch and case labels at the same level > 2. Fix a line over 80 columns > 3. Place tabs for inden

[PATCH v2] DMA: OMAP: fix OMAP1510 incorrect residue_granularity

2018-06-02 Thread Janusz Krzysztofik
Commit 0198d7bb8a0c ("ASoC: omap-mcbsp: Convert to use the sdma-pcm instead of omap-pcm") resulted in broken audio playback on OMAP1510 (discovered on Amstrad Delta). When running on OMAP1510, omap-pcm used to obtain DMA offset from snd_dmaengine_pcm_pointer_no_residue() based on DMA interrupt tri

Re: [PATCH] ARM: dts: exynos: Add missing CPU clocks to secondary CPUs on Exynos542x

2018-06-02 Thread Alim Akhtar
Hi Krzysztof, On Wed, May 30, 2018 at 10:19 PM, Krzysztof Kozlowski wrote: > Secondary CPUs should have the same information in DeviceTree as booting > CPU from both correctness point of view and for possible hotplug > scenarios. > > Suggested-by: Viresh Kumar > Signed-off-by: Krzysztof Kozlowsk

  1   2   >