Re: [PATCH tip/core/rcu 02/19] rcu: Defer reporting RCU-preempt quiescent states when disabled

2018-10-31 Thread Paul E. McKenney
On Tue, Oct 30, 2018 at 03:21:23PM -0700, Joel Fernandes wrote: > On Tue, Oct 30, 2018 at 05:58:00AM -0700, Paul E. McKenney wrote: > > On Mon, Oct 29, 2018 at 08:44:52PM -0700, Joel Fernandes wrote: > > > On Mon, Oct 29, 2018 at 07:27:35AM -0700, Paul E. McKenney wrote: > > > > On Mon, Oct 29, 201

[PATCH v1 3/7] vfio: ap: AP Queue Interrupt structures definitions

2018-10-31 Thread Pierre Morel
We define all the structures we need to let GISA handle the AP Queues Interrupt. This patch defines the inline assembler for AP Queue Interrupt Control instruction with GISA, some utilities to manipulate the data in the registers used by this instruction. We also define new ap_matrix components t

[PATCH v1 7/7] s390: kvm: Handle all GISA IPM bits through GISA

2018-10-31 Thread Pierre Morel
Now that we use GISA and GIB we can handle all IPM bits from GISA directly from firmware. They will be interpreted on SIE entry or during guest run. We remove them from the pending_irqs() test. Signed-off-by: Pierre Morel --- arch/s390/kvm/interrupt.c | 3 +-- 1 file changed, 1 insertion(+), 2

[patch 7/9] sched/clock: Remove license boilerplate

2018-10-31 Thread Thomas Gleixner
The SPDX identifier defines the license of the file already. No need for the boilerplate. Signed-off-by: Thomas Gleixner Cc: Russell King Cc: John Stultz --- kernel/time/sched_clock.c |4 1 file changed, 4 deletions(-) --- a/kernel/time/sched_clock.c +++ b/kernel/time/sched_clock.c @

[patch 2/9] time: Add SPDX license identifiers

2018-10-31 Thread Thomas Gleixner
Update the time(r) core files files with the correct SPDX license identifier based on the license text in the file itself. The SPDX identifier is a legally binding shorthand, which can be used instead of the full boiler plate text. This work is based on a script and data from Philippe Ombredanne,

[patch 8/9] posix-clocks: Remove license boiler plate

2018-10-31 Thread Thomas Gleixner
The SPDX identifier defines the license of the file already. No need for the boilerplate. Signed-off-by: Thomas Gleixner Cc: Richard Cochran --- @Richard: This file is (C) OMICRON, but I don't have a contact anymore. That Cochran dude is not longer working there :) Do you have a contact? If so

[patch 9/9] posix-timers: Remove license boilerplate

2018-10-31 Thread Thomas Gleixner
The SPDX identifier defines the license of the file already. No need for the boilerplate. Remove also the completely outdated Montavista snail mail address. Signed-off-by: Thomas Gleixner Cc: Corey Minyard --- kernel/time/posix-timers.c | 20 +--- 1 file changed, 1 insertion(

[patch 1/9] time: Remove useless filenames in top level comments

2018-10-31 Thread Thomas Gleixner
Remove the pointless filenames in the top level comments. They have no value at all and just occupy space. While at it tidy up some of the comments and remove a stale one. Signed-off-by: Thomas Gleixner --- include/linux/hrtimer.h |2 -- kernel/time/clockevents.c|

[patch 0/9] time: Add SPDX identifiers and cleanup boilerplates

2018-10-31 Thread Thomas Gleixner
Add SPDX identifiers to all files in kernel/time and remove the license boiler plates. Aside of that use the chance to get rid of (stale) file references and tidy up the top of file comments as they are touched anyway by this work. This work is based on a script and data from Philippe Ombredanne,

[patch 4/9] time/debug: Remove license boilerplate

2018-10-31 Thread Thomas Gleixner
The SPDX identifier is enough. Remove the license boilerplate. Signed-off-by: Thomas Gleixner Cc: Kees Cook Cc: David Riley Cc: Colin Cross --- kernel/time/test_udelay.c |9 - kernel/time/timekeeping_debug.c | 10 -- 2 files changed, 19 deletions(-) --- a/kernel/t

[patch 6/9] posix-timers/stubs: Remove license boilerplate

2018-10-31 Thread Thomas Gleixner
The SPDX identifier defines the license of the file already. No need for the boilerplate. Signed-off-by: Thomas Gleixner Cc: Nicolas Pitre Cc: Mark Brown Cc: Arnd Bergmann --- kernel/time/posix-stubs.c |4 1 file changed, 4 deletions(-) --- a/kernel/time/posix-stubs.c +++ b/kernel/t

[patch 3/9] hrtimers/tick/clockevents: Remove sloppy license references

2018-10-31 Thread Thomas Gleixner
"For licencing details see kernel-base/COPYING" and similar license references have no value over the SPDX identifier. Remove them. Signed-off-by: Thomas Gleixner Cc: Ingo Molnar --- include/linux/hrtimer.h |2 -- kernel/time/clockevents.c|3 --- kernel/time/hrtimer.c|

[patch 5/9] time: Remove license boilerplate

2018-10-31 Thread Thomas Gleixner
The SPDX identifier defines the license of the files already. No need for the boilerplates. Signed-off-by: Thomas Gleixner Cc: John Stultz Cc: Paul E. McKenney --- kernel/time/alarmtimer.c |4 kernel/time/clocksource.c | 14 -- kernel/time/jiffies.c | 25 +

[PATCH v2] include/linux/compiler*.h: add version detection to asm_volatile_goto

2018-10-31 Thread ndesaulniers
asm_volatile_goto should also be defined for other compilers that support asm goto. Signed-off-by: Nick Desaulniers --- V1 -> V2: drop changes to include/linux/compiler-gcc.h. include/linux/compiler_types.h | 4 1 file changed, 4 insertions(+) diff --git a/include/linux/compiler_types.h b

Re: [GIT PULL] Thermal management updates for v4.20-rc1

2018-10-31 Thread Linus Torvalds
On Tue, Oct 30, 2018 at 6:24 PM Zhang Rui wrote: > > Thermal management updates for v4.20-rc1 [..] Pulled, Linus

Re: [PATCH] of/platform: Support dynamic device tree on AMBA bus

2018-10-31 Thread Rob Herring
On Thu, Oct 25, 2018 at 11:40 AM Jaewon Kim wrote: > > This patch supports dynamic device-tree for AMBA device. > The AMBA device must be registered on the AMBA bus, not the platform bus. I'm not convinced we should even support this. There's a limited number of AMBA devices. They would almost ce

Re: [RFC/RFT][PATCH v2] cpuidle: New timer events oriented governor for tickless systems

2018-10-31 Thread Giovanni Gherdovich
On Fri, 2018-10-26 at 11:12 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > [... cut ...] > > The new governor introduced here, the timer events oriented (TEO) > governor, uses the same basic strategy as menu: it always tries to > find the deepest idle state that can be used in the

Re: [PATCH 17/28] tools include uapi: Update asound.h copy

2018-10-31 Thread Takashi Iwai
On Wed, 31 Oct 2018 18:27:02 +0100, Joe Perches wrote: > > On Wed, 2018-10-31 at 18:00 +0100, Takashi Iwai wrote: > > On Wed, 31 Oct 2018 17:44:57 +0100, > > Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo > > > > > > To silence this perf build warning: > > > > > > Warnin

Re: [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates

2018-10-31 Thread John Stultz
On Wed, Oct 31, 2018 at 11:21 AM, Thomas Gleixner wrote: > Add SPDX identifiers to all files in kernel/time and remove the license > boiler plates. > > Aside of that use the chance to get rid of (stale) file references and tidy > up the top of file comments as they are touched anyway by this work.

Re: Git pull ack emails..

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 7:28 AM Konstantin Ryabitsev wrote: > > Regarding your case specifically, what's a good cutoff period for > treating a pull request as effectively ignored/abandoned (i.e. no > matching commit-id ever found in the repo). I'm guessing about a month, > or do you want to go lon

Re: [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates

2018-10-31 Thread Kees Cook
On Wed, Oct 31, 2018 at 11:21 AM, Thomas Gleixner wrote: > Add SPDX identifiers to all files in kernel/time and remove the license > boiler plates. > > Aside of that use the chance to get rid of (stale) file references and tidy > up the top of file comments as they are touched anyway by this work.

Re: [PATCH v2] include/linux/compiler*.h: add version detection to asm_volatile_goto

2018-10-31 Thread Linus Torvalds
On Wed, Oct 31, 2018 at 11:29 AM wrote: > > V1 -> V2: drop changes to include/linux/compiler-gcc.h. Now the subject line of the patch doesn't match the patch any more.. Linus

[PATCH 3/7] arm64: allwinner: h6: Add OrangePi Lite2 initial support

2018-10-31 Thread Jagan Teki
From: Jagan Teki OrangePi Lite2 is Allwinner H6 based open-source SBC, which support: - Allwinner H6 Quad-core 64-bit ARM Cortex-A53 - GPU Mali-T720 - 1GB LPDDR3 RAM - AXP805 PMIC - AP6356S Wifi/BT - USB 2.0, USB 3.0 Host, OTG - HDMI port - 5V/2A DC power supply Signed-off-by: Jagan Teki --- a

[PATCH 2/7] arm64: allwinner: h6: Add common orangepi nodes into dtsi

2018-10-31 Thread Jagan Teki
Orangepi H6 boards, One Plus and Lite2 shares common nodes like axp805, uart, mmc0 etc and the common differences between them is Ethernet is available in One Plus where as Wifi, USB3, CSI port is available in Lite2. So, add common orangepi nodes into sun50i-h6-orangepi.dtsi Signed-off-by: Jagan

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Santosh Shilimkar
On 10/31/2018 11:21 AM, Marc Zyngier wrote: Hi Grygorii, [...] Well, I'm convinced that we do not want a networking driver to be tied to an interrupt architecture, and that the two should be completely independent. But that's my own opinion. I can only see two solutions moving forward: 1)

Re: [git pull] mount API series

2018-10-31 Thread David Howells
> My objections fundamentally is that I can find real problems when I look > at the code. Eric. You have repeatedly stated that there are "thinkos, typos and bugs" in the code, but you have not been very forthcoming in actually disclosing *what* those things are. You had a go at rewriting it for

Re: [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates

2018-10-31 Thread Nicolas Pitre
On Wed, 31 Oct 2018, Thomas Gleixner wrote: > Add SPDX identifiers to all files in kernel/time and remove the license > boiler plates. > > Aside of that use the chance to get rid of (stale) file references and tidy > up the top of file comments as they are touched anyway by this work. > > This w

[PATCH] Fix compat_sys_preadv64v2/compat_sys_pwritev64v2

2018-10-31 Thread H.J. Lu
Update compat_sys_preadv64v2 and compat_sys_pwritev64v2 to handle the offset argument == -1, which should use and update the the current file offset. -- H.J. From 934a68be8a092dba9558bdf8025239934efb5d7e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 3 Oct 2018 08:07:18 -0700 Subject: [PAT

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Marc Zyngier
On 31/10/18 18:38, Santosh Shilimkar wrote: > On 10/31/2018 11:21 AM, Marc Zyngier wrote: >> Hi Grygorii, >> > > [...] > >> >> Well, I'm convinced that we do not want a networking driver to be tied >> to an interrupt architecture, and that the two should be completely >> independent. But that's m

[PATCH] pinctrl: mediatek: clean up indentation issues, add missing tab

2018-10-31 Thread Colin King
From: Colin Ian King Trivial fix to clean up indentation issues, add one level of indentation on two if statements. Signed-off-by: Colin Ian King --- drivers/pinctrl/mediatek/pinctrl-moore.c | 4 ++-- drivers/pinctrl/mediatek/pinctrl-paris.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deleti

[PATCH] vfs: Fix incorrect user_ns assignment in proc and mqueue

2018-10-31 Thread David Howells
The user namespace set on a proc superblock should derive from the pid_ns that the superblock is associated with and, similarly, an mqueue superblock should derive from the ipc_ns that that is associated with. Fix both of these to set the proposed user_ns appropriately in the respective get_t

Re: [PATCH] sched/fair: util_est: fix cpu_util_wake for execl

2018-10-31 Thread Peter Zijlstra
On Tue, Oct 30, 2018 at 04:09:47PM +, Patrick Bellasi wrote: > Let's fix this by ensuring to always discount the task estimated > utilization from the CPU's estimated utilization when the task is also > the current one. The same benchmark of the bug report, executed on a > dual socket 40 CPUs

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Santosh Shilimkar
On 10/31/2018 11:42 AM, Marc Zyngier wrote: On 31/10/18 18:38, Santosh Shilimkar wrote: On 10/31/2018 11:21 AM, Marc Zyngier wrote: Hi Grygorii, [...] Well, I'm convinced that we do not want a networking driver to be tied to an interrupt architecture, and that the two should be completely

[PATCH] power: supply: cpcap-charger: clean an indentation issue, remove tab

2018-10-31 Thread Colin King
From: Colin Ian King Trivial fix to clean up indentation issue, remove an extraneous tab Signed-off-by: Colin Ian King --- drivers/power/supply/cpcap-charger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/supply/cpcap-charger.c b/drivers/power/supply/cpcap

Re: [PATCH 07/10] sched/fair: Provide can_migrate_task_llc

2018-10-31 Thread Valentin Schneider
On 31/10/2018 15:43, Steven Sistare wrote: > On 10/29/2018 3:34 PM, Valentin Schneider wrote: [...] >> Suppose you have 2 rq's sharing a workload of 3 tasks. You get one rq with >> nr_running == 1 (r_1) and one rq with nr_running == 2 (r_2). >> >> As soon as the task on r_1 ends/blocks, we'll go

Re: [PATCH] x86/fsgsbase/64: Fix the base write helper functions

2018-10-31 Thread Bae, Chang Seok
> On Oct 30, 2018, at 14:25, Andy Lutomirski wrote: > > On Tue, Oct 30, 2018 at 10:28 AM Chang S. Bae > wrote: >> >> Factor out the code to change index from x86_fsbase_write_cpu() and >> x86_gsbase_write_cpu_inactive(). Now the code is located in >> do_arch_prctl_64(). >> > >> @@ -359,9

[PATCH] x86/fsgsbase/64: Fix the base write helper functions

2018-10-31 Thread Chang S. Bae
Factor out the code to change index from the relavant helpers. Now, the code is located in do_arch_prctl_64(). The helper functions that purport to write the base should just write it only. It shouldn't have magic optimizations to change the index. putreg() in ptrace does not write the current ta

Re: [PATCH] staging: vt6656: clean up few indentation issues

2018-10-31 Thread Joe Perches
On Tue, 2018-10-30 at 11:13 +, Colin King wrote: > From: Colin Ian King > > Trivial fix to clean up indentation issues [] > diff --git a/drivers/staging/vt6656/main_usb.c > b/drivers/staging/vt6656/main_usb.c > index ccafcc2c87ac..b613a1d113bb 100644 > --- a/drivers/staging/vt6656/main_usb.c

[PATCH v2] x86/fsgsbase/64: Fix the base write helper functions

2018-10-31 Thread Chang S. Bae
Factor out the code to change index from the relavant helpers. Now, the code is located in do_arch_prctl_64(). The helper functions that purport to write the base should just write it only. It shouldn't have magic optimizations to change the index. putreg() in ptrace does not write the current ta

Re: [patch 0/9] time: Add SPDX identifiers and cleanup boilerplates

2018-10-31 Thread Corey Minyard
On 10/31/18 1:21 PM, Thomas Gleixner wrote: Add SPDX identifiers to all files in kernel/time and remove the license boiler plates. Aside of that use the chance to get rid of (stale) file references and tidy up the top of file comments as they are touched anyway by this work. This work is based

Re: linux-next: Tree for Oct 31 (vboxguest)

2018-10-31 Thread Randy Dunlap
On 10/31/18 9:50 AM, Hans de Goede wrote: > Hi, > > On 31-10-18 16:51, Randy Dunlap wrote: >> On 10/30/18 8:59 PM, Stephen Rothwell wrote: >>> Hi all, >>> >>> Please do not add any v4.21/v5.1 code to your linux-next included trees >>> until after the merge window closes. >>> >>> Changes since 2018

[PATCH 1/7] ext4: lost brelse in __ext4_read_dirblock()

2018-10-31 Thread Vasily Averin
Fixes dc6982ff4db1 ("ext4: refactor code to read directory blocks ...") # 3.9 Signed-off-by: Vasily Averin --- fs/ext4/namei.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index d388cce72db2..1a21e59ede72 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c

[PATCH 0/7] ext4 long-lived issues, part two

2018-10-31 Thread Vasily Averin
I've found one more batch of long-lived ext4 issues, most of them are lost brelse + two leaks on rollback in ext4_fill_super. Oldest one was found in 2.6.23, last one -- in 4.18. Vasily Averin (7): ext4: lost brelse in __ext4_read_dirblock() ext4: possible sbi->s_group_desc leak in ext4_fill_

[PATCH 2/7] ext4: possible sbi->s_group_desc leak in ext4_fill_super

2018-10-31 Thread Vasily Averin
Fixes bfe0a5f47ada ("ext4: add more mount time checks of the superblock") # 4.18 Signed-off-by: Vasily Averin --- fs/ext4/super.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index a221f1cdf704..ed4d36506ec2 100644 --- a/fs/ext4/super.c

[PATCH 3/7] ext4: lost release of s_journal_flag_rwsem on rollback in ext4_fill_super

2018-10-31 Thread Vasily Averin
Fixes c8585c6fcaf2 ("ext4: fix races between changing inode journal ...") # 4.7 cc: Daeho Jeong Signed-off-by: Vasily Averin --- fs/ext4/super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/ext4/super.c b/fs/ext4/super.c index ed4d36506ec2..0c9e165b4e3f 100644 --- a/fs/ext4/super.c ++

[PATCH 4/7] ext4: lost brelse in ext4_xattr_get_block()

2018-10-31 Thread Vasily Averin
Fixes dec214d00e0d ("ext4: xattr inode deduplication") # 4.13 Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index dc1aeab06dba..07c3a115f7ae 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xatt

[PATCH][V2] tlclk: clean an indentation issue, remove extraneous tabs

2018-10-31 Thread Colin King
From: Colin Ian King Trivial fix to clean up an indentation issue, remove tabs --- V2: Put { } braces around else statement Signed-off-by: Colin Ian King --- drivers/char/tlclk.c | 87 ++-- 1 file changed, 44 insertions(+), 43 deletions(-) diff --git

[PATCH 6/7] ext4: lost brelse in ext4_xattr_move_to_block()

2018-10-31 Thread Vasily Averin
Fixes 3f2571c1f91f ("ext4: factor out xattr moving") cc: Jan Kara however issue was present in original ext4_expand_extra_isize_ea() Fixes 6dd4ee7cab7e ("ext4: Expand extra_inodes space per ...") # 2.6.23 cc: Kalpak Shah Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 2 ++ 1 file changed,

[PATCH 5/7] ext4: bs.bh cleanup before re-using in ext4_xattr_block_find()

2018-10-31 Thread Vasily Averin
bs.bh was taken in previous ext4_xattr_block_find() call, it should be released before re-using Fixes 7e01c8e5420b ("ext3/4: fix uninitialized bs in ...") # 2.6.26 cc: Tiger Yang Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/ext4/xatt

[PATCH 7/7] ext4: lost brelse in ext4_expand_extra_isize_ea()

2018-10-31 Thread Vasily Averin
Fixes de05ca852679 ("ext4: move call to ext4_error() into ...") # 4.17 Signed-off-by: Vasily Averin --- fs/ext4/xattr.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index 5c9bc0d85cc0..0b9688683526 100644 --- a/fs/ext4/xattr.c +++ b

Re: [PATCH 07/10] sched/fair: Provide can_migrate_task_llc

2018-10-31 Thread Peter Zijlstra
On Mon, Oct 29, 2018 at 07:34:50PM +, Valentin Schneider wrote: > On a sidenote, I find it a bit odd that the exec_start threshold depends on > sysctl_sched_migration_cost, which to me is more about idle_balance() cost > than "how long does it take for a previously run task to go cache cold".

Re: [PATCH] memory_hotplug: cond_resched in __remove_pages

2018-10-31 Thread Andrew Morton
On Wed, 31 Oct 2018 13:58:40 +0100 Michal Hocko wrote: > From: Michal Hocko > > We have received a bug report that unbinding a large pmem (>1TB) > can result in a soft lockup: > > ... > > It has been reported on an older (4.12) kernel but the current upstream > code doesn't cond_resched in the

Re: [RFC 0/2] RISC-V: A proposal to add vendor-specific code

2018-10-31 Thread Olof Johansson
On Wed, Oct 31, 2018 at 10:27 AM Palmer Dabbelt wrote: > > On Wed, 31 Oct 2018 04:16:10 PDT (-0700), a...@brainfault.org wrote: > > On Wed, Oct 31, 2018 at 4:06 PM Vincent Chen wrote: > >> > >> RISC-V permits each vendor to develop respective extension ISA based > >> on RISC-V standard ISA. Thi

Re: WARNING in get_unlocked_entry

2018-10-31 Thread Matthew Wilcox
On Wed, Oct 31, 2018 at 10:46:19AM +0100, Dmitry Vyukov wrote: > On Wed, Oct 31, 2018 at 4:18 AM, Matthew Wilcox wrote: > > On Tue, Oct 30, 2018 at 08:00:03AM -0700, syzbot wrote: > >> syzbot found the following crash on: > >> > >> HEAD commit:4b42745211af Merge tag 'armsoc-soc' of > >> git:/

[PATCH 1/3] x86: add support for Huawei WMI hotkeys.

2018-10-31 Thread Ayman Bagabas
This driver adds support for missing hotkeys on some Huawei laptops. Currently, only Huawei Matebook X Pro is supported. The driver recognizes the following keys: brightness keys, micmute, wlan, and Huawei special key. The brightness keys are ignored since they work out of the box. Signed-off-by:

[PATCH 2/3] ALSA:hda: fix front speakers on Huawei MBXP.

2018-10-31 Thread Ayman Bagabas
This patch enables the front speakers on Huawei Matebook X Pro laptops. These laptops come with Dolby Atmos sound system and these pins configuration enables the front speakers. Signed-off-by: Ayman Bagabas --- sound/pci/hda/patch_realtek.c | 18 ++ 1 file changed, 18 insertions(

Re: [PATCH] RISC-V: defconfig: Enable printk timestamps

2018-10-31 Thread Olof Johansson
On Tue, Oct 30, 2018 at 5:37 AM Anup Patel wrote: > > The printk timestamps are very useful information to visually see > where kernel is spending time during boot. It also helps us see > the timing of hotplug events at runtime. > > This patch enables printk timestamps in RISC-V defconfig so that

[PATCH 3/3] ALSA:hda: add support for Huawei WMI MicMute LED

2018-10-31 Thread Ayman Bagabas
Some of Huawei laptops come with a LED in the mic mute key. This patch enables and disable this LED when the internal microphone status is changed. Signed-off-by: Ayman Bagabas --- include/linux/huawei_wmi.h| 7 sound/pci/hda/huawei_wmi_helper.c | 66 +++

Re: WARNING in get_unlocked_entry

2018-10-31 Thread Dmitry Vyukov
On Wed, Oct 31, 2018 at 8:18 PM, Matthew Wilcox wrote: > On Wed, Oct 31, 2018 at 10:46:19AM +0100, Dmitry Vyukov wrote: >> On Wed, Oct 31, 2018 at 4:18 AM, Matthew Wilcox wrote: >> > On Tue, Oct 30, 2018 at 08:00:03AM -0700, syzbot wrote: >> >> syzbot found the following crash on: >> >> >> >> HEA

Re: [PATCH 17/28] tools include uapi: Update asound.h copy

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 31, 2018 at 06:00:47PM +0100, Takashi Iwai escreveu: > On Wed, 31 Oct 2018 17:44:57 +0100, > Arnaldo Carvalho de Melo wrote: > > > > From: Arnaldo Carvalho de Melo > > > > To silence this perf build warning: > > > > Warning: Kernel ABI header at 'tools/include/uapi/sound/asound.h'

Re: [PATCH 17/28] tools include uapi: Update asound.h copy

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 31, 2018 at 10:27:02AM -0700, Joe Perches escreveu: > On Wed, 2018-10-31 at 18:00 +0100, Takashi Iwai wrote: > > On Wed, 31 Oct 2018 17:44:57 +0100, > > Arnaldo Carvalho de Melo wrote: > > > From: Arnaldo Carvalho de Melo > > > > > > To silence this perf build warning: > > > > > >

[PATCH] ASoC: stm32: sai: fix less than zero comparison on unsigned int

2018-10-31 Thread Colin King
From: Colin Ian King Currently, the comparison of div < 0 is always false because div is an unsigned int. Fix this by making div an int. Detected by CoverityScan, CID#1475309 ("Unsigned compared against 0") Fixes: 8307b2afd386 "(ASoC: stm32: sai: set sai as mclk clock provider") Signed-off-by:

Re: [PATCH v3] Implement /proc/pid/kill

2018-10-31 Thread Daniel Colascione
On Wed, Oct 31, 2018 at 6:17 PM, Tycho Andersen wrote: > On Wed, Oct 31, 2018 at 06:00:49PM +, Daniel Colascione wrote: >> On Wed, Oct 31, 2018 at 5:54 PM, Tycho Andersen wrote: >> > Why not just use an ioctl() like Jann suggested instead of this big >> > security check? Then we avoid the who

Re: [PATCH 00/10] steal tasks to improve CPU utilization

2018-10-31 Thread Steven Sistare
Thanks very much to everyone who has commented on my patch series. Here are the issues to be addressed in V2 of the series, and the person that suggested it, or raised the issue that led to it. Changes for V2: * Remove stray patch 10 hunk from patch 5 (Valentin) * Fix "warning: label out defin

[PATCH v3] include/linux/compiler*.h: define asm_volatile_goto

2018-10-31 Thread ndesaulniers
asm_volatile_goto should also be defined for other compilers that support asm goto. Fixes commit 815f0ddb346c ("include/linux/compiler*.h: make compiler-*.h mutually exclusive"). Signed-off-by: Nick Desaulniers --- V2 -> V3: update subject line & add reference to fixed commit. V1 -> V2: drop cha

[PATCH anybus v2 4/5] dt-bindings: anybuss-host: document devicetree binding.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch adds devicetree binding documentation for the Arcx Anybus-S host. Signed-off-by: Sven Van Asbroeck --- .../bindings/bus/arcx,anybuss-host.txt| 36 +++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindin

[PATCH anybus v2 0/5] Support HMS Profinet Card over Anybus

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch set adds support for the HMS Industrial Networks AB Profinet card. Profinet is an industry technical standard for data communication over Industrial Ethernet, designed for collecting data from, and controlling, equipment in industrial systems, with a particular

[PATCH anybus v2 1/5] misc: support the Arcx anybus bridge.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck Add a driver for the Arcx anybus bridge. This chip embeds up to two Anybus-S application connectors (slots), and connects to the SoC via a parallel memory bus. There is also a CAN power readout, unrelated to the Anybus. Signed-off-by: Sven Van Asbroeck --- drivers/misc

[PATCH anybus v2 5/5] misc: support HMS Profinet IRT industrial controller.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck The Anybus-S PROFINET IRT communication module provides instant integration to any Ethernet based LAN via SMTP, FTP, HTTP as well as PROFINET and Modbus-TCP. Additional protocols can be implemented on top of TCP/IP or UDP using the transparent socket interface. Official d

[PATCH anybus v2 3/5] bus: support HMS Anybus-S bus.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck The Anybus-S/Anybus-M is a series of interchangeable fieldbus communication modules featuring on board memory and processing power. All software and hardware functionality required to communicate on the fieldbus is incorporated in the module itself, allowing the applicatio

[PATCH anybus v2 2/5] dt-bindings: anybus-bridge: document devicetree binding.

2018-10-31 Thread thesven73
From: Sven Van Asbroeck This patch adds devicetree binding documentation for the Arcx anybus bridge. Signed-off-by: Sven Van Asbroeck --- .../bindings/misc/arcx,anybus-bridge.txt | 34 +++ .../devicetree/bindings/vendor-prefixes.txt | 1 + 2 files changed, 35 insertions

Re: [PATCH v2 3/3] pinctrl: upboard: Add UP2 pinctrl and gpio driver

2018-10-31 Thread Dan O'Donovan
Thanks for your review feedback, Andy!  I'll send a v3 shortly with those changes you suggested.  I've added some comments inline below. On 10/20/2018 12:40 PM, Andy Shevchenko wrote: > On Fri, Oct 19, 2018 at 8:24 PM Dan O'Donovan wrote: > >> +static int upboard_get_functions_count(struct pinct

Re: s390: runtime warning about pgtables_bytes

2018-10-31 Thread Joe Lawrence
On Fri, Oct 12, 2018 at 05:08:33PM +0200, Martin Schwidefsky wrote: > On Thu, 11 Oct 2018 15:02:11 +0200 > Martin Schwidefsky wrote: > > > On Thu, 11 Oct 2018 18:04:12 +0800 > > Li Wang wrote: > > > > > When running s390 system with LTP/cve-2017-17052.c[1], the following BUG > > > is > > > cam

[GIT PULL] c6x changes for 4.20

2018-10-31 Thread Mark Salter
The following changes since commit b59dfdaef173677b0b7e10f375226c0a1114fd20: i2c-hid: properly terminate i2c_hid_dmi_desc_override_table[] array (2018-10-27 09:10:48 -0700) are available in the Git repository at: git://linux-c6x.org/git/projects/linux-c6x-upstreaming.git tags/for-linus for

Re: [PATCH v3] Implement /proc/pid/kill

2018-10-31 Thread Tycho Andersen
On Wed, Oct 31, 2018 at 07:33:06PM +, Daniel Colascione wrote: > On Wed, Oct 31, 2018 at 6:17 PM, Tycho Andersen wrote: > > On Wed, Oct 31, 2018 at 06:00:49PM +, Daniel Colascione wrote: > >> On Wed, Oct 31, 2018 at 5:54 PM, Tycho Andersen wrote: > >> > Why not just use an ioctl() like Ja

Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL)

2018-10-31 Thread Dean Wallace
On 31-10-18, Hans de Goede wrote: > Hi, > > On 30-10-18 17:15, Dean Wallace wrote: > > On 30-10-18, Hans de Goede wrote: > > > Hi, > > > > > > On 30-10-18 16:46, Hans de Goede wrote: > > > > Hi, > > > > > > > > On 30-10-18 16:04, Pierre-Louis Bossart wrote: > > > > > In addition I am not aware o

Re: [PATCH 2/3] ALSA:hda: fix front speakers on Huawei MBXP.

2018-10-31 Thread ayman . bagabas
This patch solves bug 200501 'Only 2 of 4 speakers playing sound.' https://bugzilla.kernel.org/show_bug.cgi?id=200501 On Wed, 2018-10-31 at 15:20 -0400, Ayman Bagabas wrote: > This patch enables the front speakers on Huawei Matebook X Pro > laptops. > These laptops come with Dolby Atmos sound sys

[GIT PULL] fuse update for 4.20

2018-10-31 Thread Miklos Szeredi
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-4.20 As well as the usual bug fixes, this adds the following new features: - cached readdir and readlink - max I/O size increased from 128k to 1M - improved performance and scalabi

Re: [PATCH 3/7] dt-bindings: pinctrl: ds90ux9xx: add description of TI DS90Ux9xx pinmux

2018-10-31 Thread Vladimir Zapolskiy
Hi Luca, On 10/30/2018 06:44 PM, Luca Ceresoli wrote: > Hi Vladimir, > > On 16/10/18 14:48, Laurent Pinchart wrote: >> Hi Vladimir, >> >> On Saturday, 13 October 2018 16:47:48 EEST Vladimir Zapolskiy wrote: >>> On 10/12/2018 03:01 PM, Laurent Pinchart wrote: On Tuesday, 9 October 2018 00:12:

Re: [PATCH v2 09/10] irqchip: ti-sci-inta: Add support for Interrupt Aggregator driver

2018-10-31 Thread Grygorii Strashko
On 10/31/18 1:21 PM, Marc Zyngier wrote: Hi Grygorii, On 31/10/18 16:39, Grygorii Strashko wrote: [...] I'd try to provide some additional information here. (Sry, I'll still use term "events") As Lokesh explained in other mail on K3 SoC everything is generic and most of resources allocate

Re: [PATCH] NTB: ntb_hw_idt: replace IS_ERR_OR_NULL with regular NULL checks

2018-10-31 Thread Jon Mason
On Mon, Aug 27, 2018 at 05:13:06PM -0500, Gustavo A. R. Silva wrote: > Both devm_kcalloc() and devm_kzalloc() return NULL on error. They > never return error pointers. > > The use of IS_ERR_OR_NULL is currently applied to the wrong > context. > > Fix this by replacing IS_ERR_OR_NULL with regular

Re: [PATCH] ntb: ntb_transport: Mark expected switch fall-throughs

2018-10-31 Thread Jon Mason
On Fri, Oct 05, 2018 at 01:03:01PM -0400, Allen Hubbe wrote: > On Fri, Oct 5, 2018 at 3:12 AM Gustavo A. R. Silva > wrote: > > In preparation to enabling -Wimplicit-fallthrough, mark switch cases > > where we are expecting to fall through. > > > > Addresses-Coverity-ID: 1373888 ("Missing break in

Re: [PATCH v2 1/3] mfd: upboard: Add UP2 platform controller driver

2018-10-31 Thread Dan O'Donovan
On 10/20/2018 12:49 PM, Andy Shevchenko wrote: > On Fri, Oct 19, 2018 at 8:26 PM Dan O'Donovan wrote: >> From: Javier Arteaga >> >> UP Squared (UP2) is a x86 SBC from AAEON based on Intel Apollo Lake. It >> features a MAX 10 FPGA that routes lines from both SoC and on-board >> devices to two I/O

Re: [PATCH] RISC-V: defconfig: Enable printk timestamps

2018-10-31 Thread Palmer Dabbelt
On Wed, 31 Oct 2018 12:20:40 PDT (-0700), Olof Johansson wrote: On Tue, Oct 30, 2018 at 5:37 AM Anup Patel wrote: The printk timestamps are very useful information to visually see where kernel is spending time during boot. It also helps us see the timing of hotplug events at runtime. This pat

[PATCH v3 2/3] leds: upboard: Add LED support

2018-10-31 Thread Dan O'Donovan
Allow userspace to use the on-board LEDs as "upboard::". Acked-by: Pavel Machek Signed-off-by: Dan O'Donovan --- drivers/leds/Kconfig| 10 + drivers/leds/Makefile | 1 + drivers/leds/leds-upboard.c | 103 3 files changed, 114 ins

[PATCH v3 3/3] pinctrl: upboard: Add UP2 pinctrl and gpio driver

2018-10-31 Thread Dan O'Donovan
The UP2 board features a Raspberry Pi compatible pin header (HAT) and a board-specific expansion connector (EXHAT). Both expose assorted functions from either the SoC (such as GPIO, I2C, SPI, UART...) or other on-board devices (ADC, FPGA IP blocks...). These lines are routed through an on-board FP

[PATCH v3 0/3] UP Squared board drivers

2018-10-31 Thread Dan O'Donovan
Hi all, This series adds platform support for AAEON's UP Squared, a x86 SBC based on Apollo Lake [1]. Specifically, it enables control for the board pin headers and for the LEDs, as both of these features are only available behind a FPGA-based platform controller. This is structured around a MFD

[PATCH v3 1/3] mfd: upboard: Add UP2 platform controller driver

2018-10-31 Thread Dan O'Donovan
UP Squared (UP2) is a x86 SBC from AAEON based on Intel Apollo Lake. It features a MAX 10 FPGA that routes lines from both SoC and on-board devices to two I/O headers: ++ | 40-pin RPi-like header |

Re: Crash report: Broken NUMA distance map causes crash on arm64 system

2018-10-31 Thread Peter Zijlstra
On Tue, Oct 30, 2018 at 03:35:35PM +, John Garry wrote: > [7.154740] ERROR: Node-distance not symmetric > [7.154740] > [7.160724] 10 15 20 25 > [7.163456] 15 10 25 30 > [7.166190] 20 25 10 15 > [7.168921] 10 10 15 10 > [7.171655] But I'm not getting the rest

Re: [git pull] mount API series

2018-10-31 Thread Miklos Szeredi
On Wed, Oct 31, 2018 at 7:39 PM, David Howells wrote: >> My objections fundamentally is that I can find real problems when I look >> at the code. I think the big risk with such a change is not that there are bugs, but that we get the API wrong, and have to keep supporting a broken API forever. W

[PATCH v3 6/8] selftests/resctrl: Add MBM test

2018-10-31 Thread Fenghua Yu
From: Arshiya Hayatkhan Pathan MBM (Memory Bandwidth Monitoring) test is the first implemented selftest. It starts a stressful memory bandwidth benchmark and assigns the bandwidth pid in a resctrl monitoring group. Read and compare perf IMC counter and MBM total bytes for the benchmark. The numbe

[PATCH v3 4/8] selftests/resctrl: Add callback to start a benchmark

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya The callback starts a child process and puts the child pid in created resctrl group with specified memory bandwidth in schemata. The child starts running benchmark. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu

[PATCH v3 8/8] selftests/resctrl: Add the test in MAINTAINERS

2018-10-31 Thread Fenghua Yu
The resctrl selftest will be maintained by RDT maintainers. Signed-off-by: Fenghua Yu --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 48a65c3a4189..ecd1369ef761 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -12270,6 +12270,7 @@ S: Supporte

[PATCH v3 0/8] selftests/resctrl: Add resctrl selftest

2018-10-31 Thread Fenghua Yu
With more and more resctrl features are being added by Intel, AMD and ARM, a test tool is becoming more and more useful to validate that both hardware and software functionalities work as expected. We introduce resctrl selftest to cover resctrl features on both X86 and ARM architectures. It first

[PATCH v3 5/8] selftests/resctrl: Add built in benchmark

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya Built-in benchmark fill_buf generates stressful memory bandwidth and cache traffic. Later it will be used as a default benchmark by various resctrl tests such as MBA (Memory Bandwidth Allocation) and MBM (Memory Bandwidth Monitoring) tests. Signed-off-by: Sai Praneeth

[PATCH v3 2/8] selftests/resctrl: Add basic resctrl file system operations and data

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya The basic resctrl file system operations and data are added for future usage by resctrl selftest tool. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/Makefile| 10 + too

[PATCH v3 7/8] selftests/resctrl: Add MBA test

2018-10-31 Thread Fenghua Yu
From: Arshiya Hayatkhan Pathan MBA (Memory Bandwidth Allocation) test starts a stressful memory bandwidth benchmark and allocates memory bandwidth from 100% down to 10% for the benchmark process. For each allocation, compare perf IMC counter and mbm total bytes from resctrl. The difference betwee

[PATCH v3 3/8] selftests/resctrl: Read memory bandwidth from perf IMC counter and from resctrl file system

2018-10-31 Thread Fenghua Yu
From: Sai Praneeth Prakhya Total memory bandwidth can be monitored from perf IMC counter and from resctrl file system. Later the two will be compared to verify the total memory bandwidth read from resctrl is correct. Signed-off-by: Sai Praneeth Prakhya Signed-off-by: Arshiya Hayatkhan Pathan S

[PATCH v3 1/8] selftests/resctrl: Add README for resctrl tests

2018-10-31 Thread Fenghua Yu
resctrl tests will be implemented. README is added for the tool first. Signed-off-by: Fenghua Yu --- tools/testing/selftests/resctrl/README | 53 ++ 1 file changed, 53 insertions(+) create mode 100644 tools/testing/selftests/resctrl/README diff --git a/tools/tes

Re: arm64 tools build failure wrt smp_load_{acquire,release} expansion on gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)

2018-10-31 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 31, 2018 at 07:08:29PM +0100, Daniel Borkmann escreveu: > On 10/31/2018 06:44 PM, Will Deacon wrote: > > Diff below... > I just gave this a spin on 16.04 and it resolves the build issue, thanks > for the quick fix, Will! > Tested-by: Daniel Borkmann It buildz, ship it: # time dm

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