Re: [PATCH] kernel/sched/core.c: Avoid unused variable on non-SMP configs

2018-09-10 Thread Vincent Guittot
On Sun, 9 Sep 2018 at 19:00, Miguel Ojeda wrote: > > On Sun, Sep 9, 2018 at 6:45 PM, Borislav Petkov wrote: > > On Sun, Sep 09, 2018 at 06:36:01PM +0200, Miguel Ojeda wrote: > >> No, you get a different warning depending on whether you have enabled > >> CONFIG_PARAVIRT_TIME_ACCOUNTING or CONFIG_I

Re: [PATCH 4.9 00/63] 4.9.126-stable review

2018-09-10 Thread Greg Kroah-Hartman
On Sun, Sep 09, 2018 at 11:54:36PM -0700, Guenter Roeck wrote: > On 09/09/2018 11:35 PM, Greg Kroah-Hartman wrote: > > On Sun, Sep 09, 2018 at 01:53:51PM -0700, Guenter Roeck wrote: > > > On 09/09/2018 11:03 AM, Greg Kroah-Hartman wrote: > > > > On Sun, Sep 09, 2018 at 08:54:41AM -0700, Guenter Roe

Re: [patch 01/10] x86/mm/cpa: Split, rename and clean up try_preserve_large_page()

2018-09-10 Thread Thomas Gleixner
On Mon, 10 Sep 2018, Yang, Bin wrote: Can you please trim your replies? It's a pain in the neck to find the single line of information within a large pile of useless quoted text. > On Fri, 2018-09-07 at 17:01 +0200, Thomas Gleixner wrote: > > /* > > -* We need to check the full range, whe

Re: Linux 3.18.122

2018-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index 9a58c977c946..7f8ee7afb801 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 121 +SUBLEVEL = 122 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index c

Linux 3.18.122

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

Re: Linux 4.4.155

2018-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index b184286cf7e6..2d9f89ec8397 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 154 +SUBLEVEL = 155 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index

Linux 4.4.155

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

Linux 4.9.126

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

Re: Linux 4.9.126

2018-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index aef09ca7a924..b26481fef3f0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 125 +SUBLEVEL = 126 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/alpha/kernel/osf_sys.c b/arch/alpha/kernel/osf_sys.c index 4

Linux 4.14.69

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

Re: Linux 4.14.69

2018-09-10 Thread Greg KH
diff --git a/Makefile b/Makefile index 3da579058926..3ecda1d2e23a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 68 +SUBLEVEL = 69 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/alpha/kernel/osf_sys.c b/a

Re: [PATCH 4.4 41/43] x86/mm/pat: Make set_memory_np() L1TF safe

2018-09-10 Thread Greg Kroah-Hartman
On Sun, Sep 09, 2018 at 10:06:06AM -0700, Guenter Roeck wrote: > On 09/09/2018 09:46 AM, Ben Hutchings wrote: > > On Tue, 2018-08-14 at 19:18 +0200, Greg Kroah-Hartman wrote: > > > 4.4-stable review patch.  If anyone has any objections, please let me > > > know. > > > > > > -- > >

[PATCH v1 0/2] Add gpu and camera thermal zones for msm8916

2018-09-10 Thread Amit Kucheria
Expose temperature values from the tsens sensors next to the camera and gpu. Amit Kucheria (2): arm64: dts: msm8916: Add gpu thermal management arm64: dts: msm8916: Add camera thermal zone arch/arm64/boot/dts/qcom/msm8916.dtsi | 41 +++ 1 file changed, 41 insertions(+

[PATCH v1 1/2] arm64: dts: msm8916: Add gpu thermal management

2018-09-10 Thread Amit Kucheria
Initialise the gpu thermal zone to export temperature to userspace. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi inde

[PATCH v1 2/2] arm64: dts: msm8916: Add camera thermal zone

2018-09-10 Thread Amit Kucheria
Initialise the camera thermal zone to export temperature to userspace. Signed-off-by: Amit Kucheria --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi

WARNING: refcount bug in kobject_get

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9a5682765a2e Merge branch 'x86-urgent-for-linus' of git://.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15ebecda40 kernel config: https://syzkaller.appspot.com/x/.config?x=8f59875069d721b6 da

Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection

2018-09-10 Thread Linus Walleij
On Sat, Sep 8, 2018 at 9:41 PM Grygorii Strashko wrote: > On 09/06/2018 09:16 AM, Keerthy wrote: > > Okay now its numbered differently: > > > > cat /sys/class/gpio/gpiochip340/ngpio > > 144 > > > > cat /sys/class/gpio/gpiochip272/ngpio > > 68 (...) So: > >> Are there applications that rely on t

Re: Does Rockchip RK808 driver unload work as intended?

2018-09-10 Thread Matti Vaittinen
Hello, On Fri, Sep 07, 2018 at 01:19:40PM +0300, Matti Vaittinen wrote: > While doing this I hit to Rockchip RK808 driver which seems to utilize > oarent device (MFD dev) for pretty much all devm releasing. I wonder if > this is safe? What happens if one tries to remove the RK808 clk module? > >

Re: [PATCH V3 10/26] csky: IRQ handling

2018-09-10 Thread Guo Ren
On Thu, Sep 06, 2018 at 03:39:01PM +0200, Thomas Gleixner wrote: > On Wed, 5 Sep 2018, Guo Ren wrote: > > > +static void (*handle_arch_irq)(struct pt_regs *regs) = NULL; > > + > > +void __init set_handle_irq(void (*handle_irq)(struct pt_regs *)) > > +{ > > + if (handle_arch_irq) > > +

WARNING in kernfs_get

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9a5682765a2e Merge branch 'x86-urgent-for-linus' of git://.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1624858e40 kernel config: https://syzkaller.appspot.com/x/.config?x=8f59875069d721b6 da

Re: [PATCH] pinctrl: qcom: spmi-mpp: Fix drive strength setting

2018-09-10 Thread Linus Walleij
On Fri, Aug 31, 2018 at 2:58 AM Stephen Boyd wrote: > It looks like we parse the drive strength setting here, but never > actually write it into the hardware to update it. Parse the setting and > then write it at the end of the pinconf setting function so that it > actually sticks in the hardware

Re: [PATCH v2 13/16] nvmem: add support for cell lookups from machine code

2018-09-10 Thread Srinivas Kandagatla
On 07/09/18 11:07, Bartosz Golaszewski wrote: From: Bartosz Golaszewski Add a way for machine code users to associate devices with nvmem cells. Signed-off-by: Bartosz Golaszewski --- drivers/nvmem/core.c | 143 +++--- include/linux/nvmem-machine.h |

Re: [PATCH 2/5] gpio: davinci: Use dev name for label and automatic base selection

2018-09-10 Thread Sekhar Nori
On Monday 10 September 2018 12:55 PM, Linus Walleij wrote: > On Sat, Sep 8, 2018 at 9:41 PM Grygorii Strashko > wrote: >> On 09/06/2018 09:16 AM, Keerthy wrote: > >>> Okay now its numbered differently: >>> >>> cat /sys/class/gpio/gpiochip340/ngpio >>> 144 >>> >>> cat /sys/class/gpio/gpiochip272/n

Re: [PATCH] mm, thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-09-10 Thread Michal Hocko
[Cc Vlastimil. The full report is http://lkml.kernel.org/r/f7ed71c1-d599-5257-fd8f-041eb24d9...@profihost.ag] On Sat 08-09-18 20:52:35, Stefan Priebe - Profihost AG wrote: > [305146.987742] khugepaged: page allocation stalls for 224236ms, order:9, > mode:0x4740ca(__GFP_HIGHMEM|__GFP_IO|__GFP_FS|__

INFO: rcu detected stall in kvm_mmu_unprotect_page

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f8f65382c98a Merge tag 'for-linus' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12d3157140 kernel config: https://syzkaller.appspot.com/x/.config?x=8f59875069d721b6 da

Re: [PATCH] drm/tilcdc: Convert drm_atomic_helper_suspend/resume()

2018-09-10 Thread Jyri Sarha
On 10/09/18 09:45, Souptick Joarder wrote: > On Wed, Aug 8, 2018 at 9:43 PM Souptick Joarder wrote: >> >> convert drm_atomic_helper_suspend/resume() to use >> drm_mode_config_helper_suspend/resume(). >> >> saved_state in tilcdc_drm_private will not be used >> anymore, so it can be removed. > > An

possible deadlock in aio_poll

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f8f65382c98a Merge tag 'for-linus' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1587e26640 kernel config: https://syzkaller.appspot.com/x/.config?x=8f59875069d721b6 da

[PATCH 2/2] eeprom: at25: use devm_nvmem_register()

2018-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the resource managed variant of nvmem_register(). Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/at25.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c index 840afb398f9e..d8

[PATCH 0/2] eeprom: use devres for nvmem providers

2018-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski While working on the nvmem framework recently I noticed that there are many providers that don't use the devm variant of nvmem_register(). This series contains relevant updates for eeprom drivers. Bartosz Golaszewski (2): eeprom: eeprom_93xx46: use resource management

[PATCH 1/2] eeprom: eeprom_93xx46: use resource management

2018-09-10 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use resource managed variants of nvmem_register() and kzalloc(). Signed-off-by: Bartosz Golaszewski --- drivers/misc/eeprom/eeprom_93xx46.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/misc/eeprom/eeprom_93xx46.c b/drivers/misc/e

[PATCH] radix-tree: Use DIV_ROUND_UP instead of reimplementing its function

2018-09-10 Thread zhong jiang
DIV_ROUND_UP has implemented the code-opened function. Therefore, just replace the implementation with DIV_ROUND_UP. Signed-off-by: zhong jiang --- include/linux/radix-tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/radix-tree.h b/include/linux/radix-tree

Re: [PATCH] error-injection: remove meaningless null pointer check before debugfs_remove_recursive

2018-09-10 Thread zhong jiang
On 2018/9/10 15:21, Ingo Molnar wrote: > * zhong jiang wrote: > >> debugfs_remove_recursive has taken the null pointer into account. >> just remove the null check before debugfs_remove_recursive. >> >> Signed-off-by: zhong jiang >> --- >> kernel/fail_function.c | 3 +-- >> 1 file changed, 1 inse

Re: [PATCH 0/2] eeprom: use devres for nvmem providers

2018-09-10 Thread Srinivas Kandagatla
On 10/09/18 08:44, Bartosz Golaszewski wrote: From: Bartosz Golaszewski While working on the nvmem framework recently I noticed that there are many providers that don't use the devm variant of nvmem_register(). This series contains relevant updates for eeprom drivers. Bartosz Golaszewski (2

next-20180910: boots on thinkpad x60 (32bit machine) but has problems during suspend

2018-09-10 Thread Pavel Machek
attributes in process `ip'. [ 233.853638] netlink: 16 bytes leftover after parsing attributes in process `ip'. [ 243.146818] INFO: task kworker/u4:6:1174 blocked for more than 120 seconds. [ 243.146836] Not tainted 4.19.0-rc2-next-20180910 #157 [ 243.146844] "echo 0 >

Re: [PATCH v4 0/8] Introduce the for_each_set_clump macro

2018-09-10 Thread Linus Walleij
On Wed, Sep 5, 2018 at 5:04 PM William Breathitt Gray wrote: > On Wed, May 16, 2018 at 04:03:51PM +0200, Linus Walleij wrote: > >On Tue, May 15, 2018 at 6:22 PM, William Breathitt Gray > > wrote: > > > >> For example, suppose you would like to iterate over a 16-bit integer 4 > >> bits at a time, s

Re: [PATCH v2 00/16] nvmem: rework of the subsystem for non-DT users

2018-09-10 Thread Srinivas Kandagatla
On 07/09/18 11:07, Bartosz Golaszewski wrote: Next three patches improve the framework by adding a notifier chain for future use and fixing the issue with nvmem device names. Finally we add support for cell definitions, cell lookups and make DT systems resolve the nvmem cells during provider'

Re: [PATCH 0/2] eeprom: use devres for nvmem providers

2018-09-10 Thread Bartosz Golaszewski
2018-09-10 9:50 GMT+02:00 Srinivas Kandagatla : > > > On 10/09/18 08:44, Bartosz Golaszewski wrote: >> >> From: Bartosz Golaszewski >> >> While working on the nvmem framework recently I noticed that there are >> many providers that don't use the devm variant of nvmem_register(). >> This series con

Re: [PATCH v2 4/5] dt-bindings: Add vendor prefix for Microsys

2018-09-10 Thread Alexandre Belloni
On 10/09/2018 08:38:53+0800, Shawn Guo wrote: > +Rob > > @Rob, Are you okay with this? The patch should really be sent to you > from the beginning. > Ah right, Rob was cced on v1 and I forgot to do that in v2. > Shawn > > On Mon, Sep 03, 2018 at 04:08:39PM +0200, Alexandre Belloni wrote: > >

[tip:locking/core] jump_label: Use static_key_linked() accessor

2018-09-10 Thread tip-bot for Borislav Petkov
Commit-ID: 34e12b864e617ca7e4f6a3108460aa143bf20056 Gitweb: https://git.kernel.org/tip/34e12b864e617ca7e4f6a3108460aa143bf20056 Author: Borislav Petkov AuthorDate: Sun, 9 Sep 2018 13:42:52 +0200 Committer: Ingo Molnar CommitDate: Mon, 10 Sep 2018 08:23:37 +0200 jump_label: Use static_k

Re: [PATCH 0/2] eeprom: use devres for nvmem providers

2018-09-10 Thread Srinivas Kandagatla
On 10/09/18 08:54, Bartosz Golaszewski wrote: 2018-09-10 9:50 GMT+02:00 Srinivas Kandagatla : On 10/09/18 08:44, Bartosz Golaszewski wrote: From: Bartosz Golaszewski While working on the nvmem framework recently I noticed that there are many providers that don't use the devm variant of

Re: [PATCH] tools/perf: fix use of alternatives to find JDIR

2018-09-10 Thread Jiri Olsa
On Thu, Sep 06, 2018 at 06:18:12PM -0400, Jarod Wilson wrote: > When a build is run from something like a cron job, the user's $PATH is > rather minimal, of note, not including /usr/sbin in my own case. Because > of that, an automated rpm package build ultimately fails to find > libperf-jvmti.so, b

Re: [PATCH 0/2] eeprom: use devres for nvmem providers

2018-09-10 Thread Bartosz Golaszewski
2018-09-10 9:59 GMT+02:00 Srinivas Kandagatla : > > > On 10/09/18 08:54, Bartosz Golaszewski wrote: >> >> 2018-09-10 9:50 GMT+02:00 Srinivas Kandagatla >> : >>> >>> >>> >>> On 10/09/18 08:44, Bartosz Golaszewski wrote: From: Bartosz Golaszewski While working on the nvmem f

[PATCH 2/2] ASoC: AMD: Ensure reset bit is cleared before configuring

2018-09-10 Thread Akshu Agrawal
HW register descriptions says: "DMA Channel Reset...Software must confirm that this bit is cleared before reprogramming any of the channel configuration registers." There could be cases where dma stop errored out leaving dma channel in reset state. We need to ensure that before the start of another

Re: Reply For Details

2018-09-10 Thread Reem Al-Hashimy
Hello, My name is ms. Reem Al-Hashimi. The UAE minister of state for international affairs. I got your contact from a certain email database from your country while i was looking for someone to handle a huge financial transaction for me in confidence. Can you receive and invest on behalf of my

Re: [PATCH v2 1/1] perf: Sharing PMU counters across compatible events

2018-09-10 Thread Jiri Olsa
On Thu, Aug 30, 2018 at 06:35:37PM +, Song Liu wrote: > > > > On Aug 30, 2018, at 8:13 AM, Jiri Olsa wrote: > > > > On Wed, Aug 15, 2018 at 10:03:13AM -0700, Song Liu wrote: > > > > SNIP > > > >> > >> + perf_event_remove_dup(event, ctx); > >>/* > >> * We can have double detach d

possible deadlock in userfaultfd_ctx_read

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f8f65382c98a Merge tag 'for-linus' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=14279c2140 kernel config: https://syzkaller.appspot.com/x/.config?x=8f59875069d721b6 da

Re: [PATCH v2 1/1] perf: Sharing PMU counters across compatible events

2018-09-10 Thread Jiri Olsa
On Thu, Aug 30, 2018 at 06:51:07PM +, Song Liu wrote: > > > > On Aug 30, 2018, at 8:18 AM, Jiri Olsa wrote: > > > > On Wed, Aug 15, 2018 at 10:03:13AM -0700, Song Liu wrote: > > > > SNIP > > > >> @@ -6100,7 +6333,7 @@ static void perf_output_read_group(struct > >> perf_output_handle *han

Re: [GIT PULL] Staging/IIO driver patches for 4.19-rc1

2018-09-10 Thread Greg KH
On Tue, Aug 28, 2018 at 02:30:49PM +, Ahmed S. Darwish wrote: > Hi! > > On Tue, Aug 28, 2018 at 02:36:07PM +0200, Greg KH wrote: > > On Tue, Aug 28, 2018 at 10:38:17AM +, Ahmed S. Darwish wrote: > > > [ re-send; forgotten lkml CC added; sorry ] > > > > > > Hi, > > > > > > On Sat, 18 Aug 20

Re: [PATCH 1/1] staging:rtl8192u: Rename dot11d_init to fix name clash

2018-09-10 Thread Greg KH
On Tue, Sep 04, 2018 at 11:56:23AM +0100, John Whitmore wrote: > The function dot11d_init() was previously renamed to clear a style > issue. Unfortunately the new name used, dot11d_init(), clashes with > a sybmol which is exported with the same name. To correct this > problem the function has been

Re: [PATCH 1/4] sched/topology: SD_ASYM_CPUCAPACITY flag detection

2018-09-10 Thread Ingo Molnar
* Morten Rasmussen wrote: > The SD_ASYM_CPUCAPACITY sched_domain flag is supposed to mark the > sched_domain in the hierarchy where all cpu capacities are visible for > any cpu's point of view on asymmetric cpu capacity systems. The > /* > + * Find the sched_domain_topology_level where all cp

general protection fault in create_empty_buffers (2)

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f2b6e66e9885 Add linux-next specific files for 20180904 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=11994d0140 kernel config: https://syzkaller.appspot.com/x/.config?x=15ad48400e39c1b3 dashb

[PATCH 1/2] ASoC: AMD: Fix simultaneous playback and capture on different channel

2018-09-10 Thread Akshu Agrawal
If capture and playback are started on different channel (I2S/BT) there is a possibilty that channel information passed from machine driver is overwritten before the configuration is done in dma driver. Example: 113.597588: cz_max_startup: ---playback sets BT channel 113.597694: cz_dmic1_startup: -

Re: [PATCH v6 13/14] sched/topology: Make Energy Aware Scheduling depend on schedutil

2018-09-10 Thread Quentin Perret
Hi Rafael, On Sunday 09 Sep 2018 at 22:13:52 (+0200), Rafael J. Wysocki wrote: > On Fri, Sep 7, 2018 at 5:29 PM Quentin Perret wrote: > > On Friday 07 Sep 2018 at 10:52:01 (+0200), Rafael J. Wysocki wrote: > > > Well, why don't you implement it as something like "if the governor > > > changes >

Re: [PATCH v2 00/16] nvmem: rework of the subsystem for non-DT users

2018-09-10 Thread Bartosz Golaszewski
2018-09-10 9:54 GMT+02:00 Srinivas Kandagatla : > > > On 07/09/18 11:07, Bartosz Golaszewski wrote: >> >> Next three patches improve the framework by adding a notifier chain >> for future use and fixing the issue with nvmem device names. >> >> Finally we add support for cell definitions, cell looku

Re: [PATCH v3 12/13] ASoC: apq8096: add slim support

2018-09-10 Thread kbuild test robot
Hi Srinivas, I love your patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v4.19-rc2 next-20180906] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/li

WARNING in __local_bh_enable_ip (3)

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f2b6e66e9885 Add linux-next specific files for 20180904 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=110d0dea40 kernel config: https://syzkaller.appspot.com/x/.config?x=15ad48400e39c1b3 dashb

BUG: unable to handle kernel NULL pointer dereference in __do_page_cache_readahead

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3d0e7a9e00fd Merge tag 'md/4.19-rc2' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1654ac2140 kernel config: https://syzkaller.appspot.com/x/.config?x=8f59875069d721b6 da

[PATCH 0/1] add IPV6_MULTICAST_ALL sockopt

2018-09-10 Thread Andre Naujoks
The patch applies to the current net-next tree. I tried to keep the impact of this to a minimum and to replicate the behaviour of IP_MULTICAST_ALL. Andre Naujoks (1): ipv6: Add sockopt IPV6_MULTICAST_ALL analogue to IP_MULTICAST_ALL include/linux/ipv6.h | 3 ++- include/uapi/linux/in6.h

Re: BUG: unable to handle kernel NULL pointer dereference in __do_page_cache_readahead

2018-09-10 Thread Dmitry Vyukov
On Mon, Sep 10, 2018 at 10:28 AM, syzbot wrote: > Hello, > > syzbot found the following crash on: > > HEAD commit:3d0e7a9e00fd Merge tag 'md/4.19-rc2' of git://git.kernel.o.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=1654ac2140 > kernel config:

Re: [PATCH RESEND] drivers: soc: Allow building the sunxi driver without ARCH_SUNXI

2018-09-10 Thread Chen-Yu Tsai
Hi Hans, On Mon, Sep 10, 2018 at 3:04 AM Paul Kocialkowski wrote: > > This makes it possible to build the sunxi SRAM driver without building > for the sunxi architecture. This allows selecting the driver when > building the kernel in testing environments. > > In particular, this is necessary for

Re: [RFC][PATCH 1/8] start unifying termios convertors

2018-09-10 Thread David Howells
Al Viro wrote: > +static inline int kernel_termios_to_user_termios(struct termios2 __user *u, > + struct ktermios *k) > +{ > + int err; > + err = put_user(k->c_iflag, &u->c_iflag); > + err |= put_user(k->c_oflag, &u->c_oflag); > + err

Re: [PATCH 0/4] staging: comedi: Correct multiline dereference as per TODO

2018-09-10 Thread Greg Kroah-Hartman
On Thu, Aug 30, 2018 at 01:32:09PM -0400, Ray Clinton wrote: > Hi, > > I've been working on the correcting the checkpatch.pl failures found in > staging/drivers/staging/comedi of 4.18.0 and have a few patches to submit > for review. > > The files that I changed are: > > drivers/dt3000.c > driver

BUG: Bad page map (3)

2018-09-10 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:3d0e7a9e00fd Merge tag 'md/4.19-rc2' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1782d70a40 kernel config: https://syzkaller.appspot.com/x/.config?x=8f59875069d721b6 da

Re: [PATCH 2/4] staging: comedi: Correct multiline dereference as per TODO

2018-09-10 Thread Greg KH
On Thu, Aug 30, 2018 at 01:32:17PM -0400, Ray Clinton wrote: > Using checkpatch.pl I was able to find a multiline dereference which goes > again the coding style for the kernel. I'm still working on my email client so > the indentation looks bad here (in gmail) but the arguments for > comedi_check_

[PATCH] RDMA/hns: Fix an error code in hns_roce_v2_init_eq_table()

2018-09-10 Thread Dan Carpenter
The error code isn't set on this path. Signed-off-by: Dan Carpenter diff --git a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c b/drivers/infiniband/hw/hns/hns_roce_hw_v2.c index 0218c0f8c2a7..b84bfa48371d 100644 --- a/drivers/infiniband/hw/hns/hns_roce_hw_v2.c +++ b/drivers/infiniband/hw/hns/hns_r

Re: [PATCH v7] Add udmabuf misc device

2018-09-10 Thread Gerd Hoffmann
Hi, > > + fput(memfd); > > + } > > + memfd = NULL; > Now memfd is NULL > > + buf = dma_buf_export(&exp_info); > > + if (IS_ERR(buf)) { > > + ret = PTR_ERR(buf); > > + goto err_put_pages; > Assume an error occured > > +err_put_pages: > > + while (pgbuf

[PATCH 00/13] x86/KVM/Hyper-v: Add HV ept tlb range flush hypercall support in KVM

2018-09-10 Thread Tianyu Lan
For nested memory virtualization, Hyper-v doesn't set write-protect L1 hypervisor EPT page directory and page table node to track changes while it relies on guest to tell it changes via HvFlushGuestAddressLlist hypercall. HvFlushGuestAddressLlist hypercall provides a way to flush EPT page table wi

[PATCH 1/13] KVM: Add tlb_remote_flush_with_range callback in kvm_x86_ops

2018-09-10 Thread Tianyu Lan
Add flush range call back in the kvm_x86_ops and platform can use it to register its associated function. The parameter "kvm_tlb_range" accepts a single range and flush list which contains a list of ranges. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 8 1 file change

[PATCH 2/13] KVM/MMU: Add tlb flush with range helper function

2018-09-10 Thread Tianyu Lan
This patch is to add wrapper functions for tlb_remote_flush_with_range callback. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 48 1 file changed, 48 insertions(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 456d4d0f7eb7..8cf4

[PATCH 3/13] KVM: Replace old tlb flush function with new one to flush a specified range.

2018-09-10 Thread Tianyu Lan
This patch is to replace kvm_flush_remote_tlbs() with kvm_flush_ remote_tlbs_with_address() in some functions without logic change. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 34 +++--- arch/x86/kvm/paging_tmpl.h | 9 +++-- 2 files changed, 30 ins

[PATCH] vlynq: uninitialized return in vlynq_probe()

2018-09-10 Thread Dan Carpenter
"result" isn't initialized on this error path. Fixes: 55e331cf7ebe ("drivers: add support for the TI VLYNQ bus") Signed-off-by: Dan Carpenter diff --git a/drivers/vlynq/vlynq.c b/drivers/vlynq/vlynq.c index c0227f9418eb..44d3485d1108 100644 --- a/drivers/vlynq/vlynq.c +++ b/drivers/vlynq/vlynq.c

[PATCH 5/13] KVM/MMU: Flush tlb directly in the kvm_zap_gfn_range()

2018-09-10 Thread Tianyu Lan
Originally, flush tlb is done by slot_handle_level_range(). This patch is to flush tlb directly in the kvm_zap_gfn_range() when range flush is available. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/x86

[PATCH 4/13] KVM/MMU: Flush tlb directly in the kvm_handle_hva_range()

2018-09-10 Thread Tianyu Lan
This patch is to flush tlb directly in the kvm_handle_hva_range() when range flush is available. Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 0ee310bad2c6..cadb6a0b5247 100644 --- a/arch/x

[PATCH 9/13] KVM/MMU: Replace tlb flush function with range list flush function

2018-09-10 Thread Tianyu Lan
This patch is to use range list flush function in the mmu_sync_children(), kvm_mmu_commit_zap_page() and FNAME(sync_page)(). Signed-off-by: Lan Tianyu --- arch/x86/kvm/mmu.c | 26 +++--- arch/x86/kvm/paging_tmpl.h | 5 - 2 files changed, 27 insertions(+), 4 delet

[PATCH 7/13] KVM: Add flush_link and parent_pte in the struct kvm_mmu_page

2018-09-10 Thread Tianyu Lan
PV EPT tlb flush function will accept a list of flush ranges and use struct kvm_mmu_page as the list entry. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index dc

[PATCH 6/13] KVM/MMU: Flush tlb directly in kvm_mmu_zap_collapsible_spte()

2018-09-10 Thread Tianyu Lan
kvm_mmu_zap_collapsible_spte() returns flush request to the slot_handle_leaf() and the latter does flush on demand. When range flush is available, make kvm_mmu_zap_collapsible_spte() to flush tlb with range directly to avoid returning range back to slot_handle_leaf(). Signed-off-by: Lan Tianyu --

Re: [PATCH 2/6] mm/migrate: Use trylock while resetting rate limit

2018-09-10 Thread Ingo Molnar
* Srikar Dronamraju wrote: > Since this spinlock will only serialize migrate rate limiting, > convert the spinlock to a trylock. If another task races ahead of this task > then this task can simply move on. > > While here, add correct two abnormalities. > - Avoid time being stretched for every

[PATCH 13/13] KVM/VMX: Add hv tlb range flush support

2018-09-10 Thread Tianyu Lan
This patch is to register tlb_remote_flush_with_range callback with hv tlb range flush interface. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 34 +++--- 1 file changed, 27 insertions(+), 7 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index

[PATCH 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support

2018-09-10 Thread Tianyu Lan
Hyper-V provides HvFlushGuestAddressList() hypercall to flush EPT tlb with specified ranges. This patch is to add the hypercall support. Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c | 110 + arch/x86/include/asm/hyperv-tlfs.h | 17 ++

[PATCH 12/13] KVM/VMX: Change hv flush logic when ept tables are mismatched.

2018-09-10 Thread Tianyu Lan
If ept table pointers are mismatched, flushing tlb for each vcpus via hv flush interface still helps to reduce vmexits which are triggered by IPI and INEPT emulation. Signed-off-by: Lan Tianyu --- arch/x86/kvm/vmx.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --gi

[PATCH 8/13] KVM: Add spte's point in the struct kvm_mmu_page

2018-09-10 Thread Tianyu Lan
It's necessary to check whether mmu page is last or large page when add mmu page into flush list. "spte" is needed for such check and so add spte point in the struct kvm_mmu_page. Signed-off-by: Lan Tianyu --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/kvm/mmu.c | 5 + arch

[PATCH 11/13] x86/Hyper-v: Add trace in the hyperv_nested_flush_guest_mapping_range()

2018-09-10 Thread Tianyu Lan
This patch is to trace log in the hyperv_nested_flush_ guest_mapping_range(). Signed-off-by: Lan Tianyu --- arch/x86/hyperv/nested.c| 1 + arch/x86/include/asm/trace/hyperv.h | 14 ++ 2 files changed, 15 insertions(+) diff --git a/arch/x86/hyperv/nested.c b/arch/x86/hyp

Re: [PATCH 1/6] sched/numa: Stop multiple tasks from moving to the cpu at the same time

2018-09-10 Thread Ingo Molnar
* Srikar Dronamraju wrote: > Task migration under numa balancing can happen in parallel. More than > one task might choose to migrate to the same cpu at the same time. This > can result in > - During task swap, choosing a task that was not part of the evaluation. > - During task swap, task whic

Re: [PATCH v11 03/11] firmware: xilinx: Add zynqmp IOCTL API for device control

2018-09-10 Thread Sudeep Holla
On 09/09/18 02:18, Olof Johansson wrote: > Hi, > > On Fri, Aug 3, 2018 at 10:53 AM, Jolly Shah wrote: >> From: Rajan Vaja >> >> Add ZynqMP firmware IOCTL API to control and configure >> devices like PLLs, SD, Gem, etc. >> >> Signed-off-by: Rajan Vaja >> Signed-off-by: Jolly Shah > > This p

Re: [PATCH 3/6] sched/numa: Avoid task migration for small numa improvement

2018-09-10 Thread Ingo Molnar
* Srikar Dronamraju wrote: > If numa improvement from the task migration is going to be very > minimal, then avoid task migration. > > specjbb2005 / bops/JVM / higher bops are better > on 2 Socket/2 Node Intel > JVMS PrevCurrent %Change > 4 200892 210118 4.59252 > 1 325766 31

Re: [PATCH 5/6] sched/numa: Reset scan rate whenever task moves across nodes

2018-09-10 Thread Ingo Molnar
* Srikar Dronamraju wrote: > Currently task scan rate is reset when numa balancer migrates the task > to a different node. If numa balancer initiates a swap, reset is only > applicable to the task that initiates the swap. Similarly no scan rate > reset is done if the task is migrated across nod

Question: How to switch a process namespace by nsfs "device" and inode number directly?

2018-09-10 Thread Chengdong Li
Hi folks, I am getting stuck by the lack of approach to switch process namespace by nsfs "device" and inode number in user-space,  for example (mnt: 0xf000) From my best understanding, the normal way to do that is by setns system call. But setns only accept fd that refer to a opened name

Re: [RFC] pipe: prevent compiler reordering in pipe_poll

2018-09-10 Thread Paolo Bonzini
On 25/08/2018 00:54, Eric Wong wrote: > The pipe_poll function does not use locks, and adding an entry > to the waitqueue is not guaranteed to happen before pipe->nrbufs > (or other fields) are read, leading to missed wakeups. > > Looking at Ruby CI build logs and backtraces, I've noticed > occasi

Re: [PATCH v6 13/14] sched/topology: Make Energy Aware Scheduling depend on schedutil

2018-09-10 Thread Rafael J. Wysocki
On Mon, Sep 10, 2018 at 10:24 AM Quentin Perret wrote: > > Hi Rafael, > > On Sunday 09 Sep 2018 at 22:13:52 (+0200), Rafael J. Wysocki wrote: > > On Fri, Sep 7, 2018 at 5:29 PM Quentin Perret > > wrote: > > > On Friday 07 Sep 2018 at 10:52:01 (+0200), Rafael J. Wysocki wrote: > > > > Well, why d

Re: [RFC PATCH] platform/x86: asus-wmi: Simplify the keyboard brightness updating process

2018-09-10 Thread Jian-Hong Pan
2018-08-16 16:41 GMT+08:00 Jian-Hong Pan : > The original asus-wmi queues a work which calls the ACPI/WMI methods to > update the keyboard LED brightness. Similar drivers - acer-wmi, > dell-wmi-led just call the ACPI/WMI methods directly without workqueues. > > This patch simplifies the keyboard b

Fwd: [PATCH] tee: optee: log message if dynamic shm is enabled

2018-09-10 Thread Victor Chong
Suggested-by: Jerome Forissier Signed-off-by: Victor Chong Reviewed-by: Jerome Forissier --- drivers/tee/optee/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tee/optee/core.c b/drivers/tee/optee/core.c index e1aafe842d66..cca5c091e55a 100644 --- a/drivers/tee/optee/core.c

Re: [PATCH v3] PCI: dwc: fix scheduling while atomic issues

2018-09-10 Thread Jisheng Zhang
Hi all, On Wed, 29 Aug 2018 11:04:08 +0800 Jisheng Zhang wrote: > When programming inbound/outbound atu, we call usleep_range() after > each checking PCIE_ATU_ENABLE bit. Unfortunately, the atu programming > can be called in atomic context: > > inbound atu programming could be called through > p

Re: [PATCH] of: Split up name & type in modalias generation

2018-09-10 Thread Thierry Reding
On Fri, Sep 07, 2018 at 12:56:09PM -0700, Frank Rowand wrote: > On 09/07/18 11:49, Rob Herring wrote: > > On Fri, Sep 7, 2018 at 9:22 AM Thierry Reding > > wrote: > >> > >> From: Thierry Reding > >> > >> The kernel's vsnprintf() implementation discards all alpha-numeric > >> characters following

Re: [PATCH 2/2] mfd: cros_ec: Fix and improve kerneldoc comments.

2018-09-10 Thread Lee Jones
On Fri, 07 Sep 2018, Benson Leung wrote: > Hi Enric, > > On Wed, Jul 18, 2018 at 06:09:56PM +0200, Enric Balletbo i Serra wrote: > > cros-ec includes inside the MFD subsystem, specially the file > > cros_ec_commands.h, has been modified several times and it has grown a > > lot, unfortunately, we

Re: [PATCH 00/29] staging: bcm2835-audio: Cleanups and fixes

2018-09-10 Thread Greg Kroah-Hartman
On Sat, Sep 08, 2018 at 06:21:55PM +0200, Takashi Iwai wrote: > On Sat, 08 Sep 2018 15:18:10 +0200, > Stefan Wahren wrote: > > > > Hi Takashi, > > > > > Takashi Iwai hat am 4. September 2018 um 17:58 > > > geschrieben: > > > > > > > > > Hi, > > > > > > since I had an opportunity to play with

Re: [PATCH 2/2] mfd: cros_ec: Fix and improve kerneldoc comments.

2018-09-10 Thread Benson Leung
On Mon, Sep 10, 2018 at 5:12 PM Lee Jones wrote: > > On Fri, 07 Sep 2018, Benson Leung wrote: > > > Hi Enric, > > > > On Wed, Jul 18, 2018 at 06:09:56PM +0200, Enric Balletbo i Serra wrote: > > > cros-ec includes inside the MFD subsystem, specially the file > > > cros_ec_commands.h, has been modif

Re: [PATCH 0/2] Document memory-to-memory video codec interfaces

2018-09-10 Thread Hans Verkuil
Hi Tomasz, On 07/24/2018 04:06 PM, Tomasz Figa wrote: > This series attempts to add the documentation of what was discussed > during Media Workshops at LinuxCon Europe 2012 in Barcelona and then > later Embedded Linux Conference Europe 2014 in Düsseldorf and then > eventually written down by Pawel

Re: [PATCH v6 00/14] Energy Aware Scheduling

2018-09-10 Thread Rafael J. Wysocki
On Monday, August 20, 2018 11:44:06 AM CEST Quentin Perret wrote: > This patch series introduces Energy Aware Scheduling (EAS) for CFS tasks > on platforms with asymmetric CPU topologies (e.g. Arm big.LITTLE). > > For more details about the ideas behind it and the overall design, > please refer to

Re: [PATCH 00/29] staging: bcm2835-audio: Cleanups and fixes

2018-09-10 Thread Takashi Iwai
On Mon, 10 Sep 2018 11:12:36 +0200, Greg Kroah-Hartman wrote: > > On Sat, Sep 08, 2018 at 06:21:55PM +0200, Takashi Iwai wrote: > > On Sat, 08 Sep 2018 15:18:10 +0200, > > Stefan Wahren wrote: > > > > > > Hi Takashi, > > > > > > > Takashi Iwai hat am 4. September 2018 um 17:58 > > > > geschrie

Re: Howto prevent kernel from evicting code pages ever? (to avoid disk thrashing when about to run out of RAM)

2018-09-10 Thread Marcus Linsner
On Wed, Aug 22, 2018 at 11:25 AM Marcus Linsner wrote: > > Hi. How to make the kernel keep(lock?) all code pages in RAM so that > kswapd0 won't evict them when the system is under low memory > conditions ? > > The purpose of this is to prevent the kernel from causing lots of disk > reads(effective

  1   2   3   4   5   6   7   8   9   >