[PATCH] mm: mempool: Remove unused argument in kasan_unpoison_element() and remove_element()

2018-06-21 Thread Jia-Ju Bai
The argument "gfp_t flags" is not used in kasan_unpoison_element() and remove_element(), so remove it. Signed-off-by: Jia-Ju Bai --- mm/mempool.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/mempool.c b/mm/mempool.c index 5c9dce34719b..3076ab3f7bc4 100644

Re: [RFC v8 1/1] mconf: global i-search in menu prompts

2018-06-21 Thread Dirk Gouders
Randy Dunlap writes: > On 06/20/2018 11:55 AM, Dirk Gouders wrote: >> Randy Dunlap writes: >> >>> Hi, >>> >>> On 06/20/2018 01:42 AM, Dirk Gouders wrote: Operation - The TAB key is reserved to toggle the focus between menu and bottons. Focus is on the buttons if

Re: [PATCH 1/5] RISC-V: Add conditional macro for zone of DMA32

2018-06-21 Thread Zong Li
Christoph Hellwig 於 2018年6月21日 週四 下午2:40寫道: > > On Thu, Jun 21, 2018 at 09:41:41AM +0800, Zong Li wrote: > > The DMA32 is for 64-bit usage. > > > > Signed-off-by: Zong Li > > --- > > arch/riscv/mm/init.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/arch/riscv/mm/init.c b/arc

Re: [PATCH 4/5] RISC-V: Change variable type for 32-bit compatible

2018-06-21 Thread Zong Li
> > - s64 offset = (void *)v - (void *)location; > > + uintptr_t offset = (void *)v - (void *)location; > > s64 is signed, uintptr is not, so this might change behavior and needs > an explanation. > Yes, it should be intptr_t. Thanks!

Re: [PATCH v3 3/4] mtd: rawnand: micron: add fixup for ONFI revision

2018-06-21 Thread Boris Brezillon
On Wed, 20 Jun 2018 21:12:02 + Chris Packham wrote: > On 20/06/18 19:54, Boris Brezillon wrote: > > On Wed, 20 Jun 2018 17:05:43 +1200 > > Chris Packham wrote: > > > >> Some Micron NAND chips (MT29F1G08ABAFAWP-ITE:F) report 00 00 for the > >> revision number field of the ONFI parameter pa

Re: [PATCH] mm: mempool: Remove unused argument in kasan_unpoison_element() and remove_element()

2018-06-21 Thread Matthew Wilcox
On Thu, Jun 21, 2018 at 03:03:32PM +0800, Jia-Ju Bai wrote: > The argument "gfp_t flags" is not used in kasan_unpoison_element() > and remove_element(), so remove it. > > Signed-off-by: Jia-Ju Bai Reviewed-by: Matthew Wilcox

Re: [PATCH] riscv: Add support to no-FPU systems

2018-06-21 Thread Alan Kao
On Wed, Jun 20, 2018 at 11:39:38PM -0700, Christoph Hellwig wrote: > > +ifeq ($(CONFIG_FPU),y) > > KBUILD_AFLAGS += -march=$(KBUILD_MARCH)$(KBUILD_ARCH_A)fd$(KBUILD_ARCH_C) > > +else > > +KBUILD_AFLAGS += -march=$(KBUILD_MARCH)$(KBUILD_ARCH_A)$(KBUILD_ARCH_C) > > +endif > > Can we refactor that K

Re: [PATCH 2/2] arm64: dts: exynos: Remove unneeded DSI and DECON address/size cells in Exynos5433

2018-06-21 Thread Krzysztof Kozlowski
On 21 June 2018 at 07:59, Andrzej Hajda wrote: > On 20.06.2018 21:34, Krzysztof Kozlowski wrote: >> On Tue, Jun 19, 2018 at 09:59:04AM +0200, Krzysztof Kozlowski wrote: >>> On 19 June 2018 at 09:26, Marek Szyprowski wrote: Hi Krzysztof, On 2018-06-18 19:42, Krzysztof Kozlowski wrot

Re: [PATCH v2 2/2] leds: Add Spreadtrum SC27xx breathing light controller driver

2018-06-21 Thread Baolin Wang
Hi Jacek and Bjorn, > OK, I've revised the discussion under Qualcomm LPG patch set and > it seems that we have almost ready solution in [0], except the > pattern_repeat file you mention in [1]. So probably Baolin could > address your remarks from [1] and add pattern_repeat file to the > patch that

Re: [PATCH V3 1/3] watchdog: stm32: add pclk feature for stm32mp1

2018-06-21 Thread Ludovic BARRE
On 06/20/2018 09:14 PM, Rob Herring wrote: On Wed, Jun 20, 2018 at 03:51:36PM +0200, Ludovic Barre wrote: From: Ludovic Barre This patch adds config data to manage specific properties by compatible. Adds stm32mp1 config which requires pclk clock. Signed-off-by: Ludovic Barre --- .../dev

List of devices with poor Linux compatibility

2018-06-21 Thread Andrey Ponomarenko
Hello, A new open project has been created to collect the list of computer hardware devices with poor Linux compatibility based on the Linux-Hardware.org data: https://github.com/linuxhw/HWInfo There are about 29 thousands of depersonalized hwinfo reports (https://github.com/openSUSE/hwinfo) i

Re: [PATCH] mm,oom: Bring OOM notifier callbacks to outside of OOM killer.

2018-06-21 Thread Michal Hocko
On Wed 20-06-18 15:36:45, David Rientjes wrote: [...] > That makes me think that "oom_notify_list" isn't very intuitive: it can > free memory as a last step prior to oom kill. OOM notify, to me, sounds > like its only notifying some callbacks about the condition. Maybe > oom_reclaim_list and t

Re: [PATCH 1/4] mm/memory_hotplug: Make add_memory_resource use __try_online_node

2018-06-21 Thread Oscar Salvador
On Wed, Jun 20, 2018 at 09:41:35PM -0400, Pavel Tatashin wrote: > > I don't think __try_online_node() will ever return a value greater than > > zero. I assume what was meant was > > Hi Andrew and Oscar, > > Actually, the new __try_online_node() returns: > 1 -> a new node was allocated > 0 -> no

Re: [BUG] kernel: locking: a possible sleep-in-atomic-context bug in rt_mutex_slowlock()

2018-06-21 Thread Peter Zijlstra
On Thu, Jun 21, 2018 at 11:14:49AM +0800, Jia-Ju Bai wrote: > The kernel may sleep with holding a spinlock. > The function call path (from bottom to top) in Linux-4.16.7 is: > > [FUNC] schedule > kernel/locking/rtmutex.c, 1223: schedule in rt_mutex_handle_deadlock > kernel/locking/rtmutex.c, 1273:

Re: [RFC PATCH] memcg, oom: move out_of_memory back to the charge path

2018-06-21 Thread Michal Hocko
On Wed 20-06-18 15:38:36, Johannes Weiner wrote: > On Wed, Jun 20, 2018 at 05:31:48PM +0200, Michal Hocko wrote: > > * Please note that mem_cgroup_oom_synchronize might fail to find a > > * victim and then we have rely on mem_cgroup_oom_synchronize otherwise > > * we would fall back

[PATCH v7 0/4] ARM: davinci: complete the conversion to using the reset framework

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski These are the remaining patches that still need to be merged in order to complete the conversion of the davinci dsp driver to using the reset framework. They apply on top of v4.18-rc1 with David Lechner's remaining patches merged. v1 -> v2: - fixed the device tree patc

[PATCH v7 2/4] clk: davinci: kill davinci_clk_reset_assert/deassert()

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This code is no longer used. Remove it. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner Acked-by: Stephen Boyd --- arch/arm/mach-davinci/include/mach/clock.h | 21 - drivers/clk/davinci/psc.c | 18 --

[PATCH v7 3/4] ARM: davinci: dts: make psc0 a reset provider

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The psc driver registers with the reset framework as a provider. Add the #reset-cells property to the psc0 node. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/ar

[PATCH v7 1/4] remoteproc/davinci: use the reset framework

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Switch to using the reset framework instead of handcoded reset routines we used so far. Signed-off-by: Bartosz Golaszewski Reviewed-by: Sekhar Nori Reviewed-by: Philipp Zabel --- drivers/remoteproc/da8xx_remoteproc.c | 34 +++ 1 file changed,

[PATCH v7 4/4] ARM: davinci: dts: add a reset control to the dsp node

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The davinci-rproc driver will soon use the reset framework. Add the resets property to the dsp node in da850.dtsi. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/boot/dts/da850.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/

Re: [patch] mm, oom: fix unnecessary killing of additional processes

2018-06-21 Thread Michal Hocko
On Wed 20-06-18 13:34:52, David Rientjes wrote: > On Wed, 20 Jun 2018, Michal Hocko wrote: > > > On Tue 19-06-18 10:33:16, Michal Hocko wrote: > > [...] > > > As I've said, if you are not willing to work on a proper solution, I > > > will, but my nack holds for this patch until we see no other way

Re: [patch] mm, oom: fix unnecessary killing of additional processes

2018-06-21 Thread Michal Hocko
On Thu 21-06-18 09:45:37, Michal Hocko wrote: > On Wed 20-06-18 13:34:52, David Rientjes wrote: > > On Wed, 20 Jun 2018, Michal Hocko wrote: [...] > > > diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c > > > index 6bcecc325e7e..ac08f5d711be 100644 > > > --- a/arch/x86/kvm/x86.c > > > +++ b/arch

Re: 4.18.0-rc1-next-20180619 boot failed on beagle board x15

2018-06-21 Thread Roger Quadros
+Rafael On 20/06/18 18:30, Samuel Morris wrote: > On Wed, Jun 20, 2018 at 8:58 AM, Roger Quadros wrote: >> Tony, >> >> On 20/06/18 13:29, Tony Lindgren wrote: >>> Hi, >>> >>> * Naresh Kamboju [180620 05:55]: Linux next (4.18.0-rc1-next-20180619) boot failed on beagle board x15. >>> >>> Bise

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-21 Thread Chanwoo Choi
Hi Enric, On 2018년 06월 20일 19:32, Enric Balletbo i Serra wrote: > Hi Chanwoo, > > On 20/06/18 02:47, Chanwoo Choi wrote: >> Hi Enric, >> >> On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: >>> Hi Chanwoo, >>> >>> On 18/06/18 11:02, Enric Balletbo Serra wrote: Hi Chanwoo, Missatge d

Re: [PATCH] arch/x86: get rid of KERN_CONT in show_fault_oops()

2018-06-21 Thread Dmitry Vyukov
On Thu, Jun 21, 2018 at 3:06 AM, Andy Shevchenko wrote: > On Wed, Jun 20, 2018 at 3:55 PM, Dmitry Vyukov wrote: >> From: Dmitry Vyukov >> >> KERN_CONT leads to split lines in kernel output >> and complicates useful changes to printk like >> printing context before each line. >> >> Only acceptabl

[PATCH v2] iio: adc: at91-sama5d2_adc: add support for oversampling resolution

2018-06-21 Thread Eugen Hristev
This implements oversampling support for the SAMA5d2 ADC device. Enabling oversampling : OSR can improve resolution from 12 bits to 13 or 14 bits. Changing the channel specification to have 14 bits, and we shift the value 1 bit to the left if we have oversampling for just one extra bit, and two bit

Re: [PATCH] PM / devfreq: Fix devfreq_add_device() when drivers are built as modules.

2018-06-21 Thread Enric Balletbo Serra
Hi Chanwoo, Missatge de Chanwoo Choi del dia dj., 21 de juny 2018 a les 9:58: > > Hi Enric, > > On 2018년 06월 20일 19:32, Enric Balletbo i Serra wrote: > > Hi Chanwoo, > > > > On 20/06/18 02:47, Chanwoo Choi wrote: > >> Hi Enric, > >> > >> On 2018년 06월 19일 17:22, Enric Balletbo i Serra wrote: > >>>

[PATCH 4/4] perf stat: Add transaction flag (-T) support for s390

2018-06-21 Thread Thomas Richter
perf stat command line flag -T to display transaction counters is currently supported for x86 only. Add support for s390. It is based on the metrics flag -M transaction using the architecture dependend json files This requires a metric named transaction in the json files for the platform. As sugge

[PATCH 1/4] Revert "perf list: Add s390 support for detailed/verbose PMU event description"

2018-06-21 Thread Thomas Richter
This reverts commit 038586c34301578e538f6c5aa79ca82bce1b9152. Fix the support of detailed/verbose PMU event description by using the "Unit": keyword in the json files to address event names refering to the /sys/devices/cpum_[cs]f devices. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueck

Re: [PATCH v2 1/8] dt-bindings: tegra186-hsp: Add shared interrupts

2018-06-21 Thread Jon Hunter
On 20/06/18 13:20, Mikko Perttunen wrote: > HSP interrupts can be routed through exposed "shared interrupts". These > interrupts can be mapped to various internal interrupt lines. Add > interrupt properties for shared interrupts to the tegra186-hsp device > tree bindings. At the same time, add th

[PATCH 2/4] perf list: Add s390 support for detailed PMU event description

2018-06-21 Thread Thomas Richter
Correct the support of detailed/verbose PMU event description by using the "Unit": keyword in the json files to address event names refering to the /sys/devices/cpum_[cs]f devices. Signed-off-by: Thomas Richter Reviewed-by: Hendrik Brueckner --- tools/perf/pmu-events/arch/s390/cf_z10/basic.json

Re: [PATCH v2 2/8] dt-bindings: serial: Add bindings for nvidia,tegra194-tcu

2018-06-21 Thread Jon Hunter
On 20/06/18 13:20, Mikko Perttunen wrote: > Add bindings for the Tegra Combined UART device used to talk to the > UART console on Tegra194 systems. > > Signed-off-by: Mikko Perttunen > Reviewed-by: Rob Herring > --- > > Notes: > v2: > - Added Rob's Reviewed-by. > > .../bindings/seri

[PATCH 3/4] perf json: Add s390 transaction counter definition

2018-06-21 Thread Thomas Richter
perf stat displays transactional counters using flag -T on x86. On s390 use a json file defined metric named transaction to achieve the same result. Output before: none Output after: [root@s35lp76 perf]# ./perf stat -M transaction -- \ ~/mytesttx 1 >/tmp/111 Performanc

Re: [PATCH v2 1/2] sched/fair: Fix bandwidth timer clock drift condition

2018-06-21 Thread Peter Zijlstra
On Thu, Jun 21, 2018 at 11:56:56AM +0800, Xunlei Pang wrote: > >> Fixes: 51f2176d74ac ("sched/fair: Fix unlocked reads of some > >> cfs_b->quota/period") > >> Cc: Ben Segall > > > > Reviewed-By: Ben Segall > > Thanks Ben :-) > > Hi Peter, could you please have a look at them? I grabbed them,

Re: [RFC PATCH] memcg, oom: move out_of_memory back to the charge path

2018-06-21 Thread Michal Hocko
This is an updated version with feedback from Johannes integrated. Still not runtime tested but I am posting it to make further review easier. >From ed2796dc3894f93ddf0fc9ec74b83c58abc2b4ff Mon Sep 17 00:00:00 2001 From: Michal Hocko Date: Wed, 20 Jun 2018 10:25:10 +0200 Subject: [PATCH] memcg, o

[PATCH v2 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-21 Thread Keerthy
Deep enough power saving mode can result into losing context of the clock registers also, and they need to be restored once coming back from the power saving mode. Hence add functions to save/restore clock context. Tested for DS0 on am437x-gp-evm Based on top of linux-next Changes in v2:

[PATCH v2 3/4] clk: ti: Add functions to save/restore clk context

2018-06-21 Thread Keerthy
From: Russ Dill SoCs like AM43XX lose clock registers context during RTC-only suspend. Hence add functions to save/restore the clock registers context. Signed-off-by: Keerthy Signed-off-by: Russ Dill --- Changes in v2: * Replaced clk_dflt_restore instances to clk_gate_restore_context

[PATCH v2 1/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-21 Thread Keerthy
From: Russ Dill Deep enough power saving mode can result into losing context of the clock registers also, and they need to be restored once coming back from the power saving mode. Hence add functions to save/restore clock context. Signed-off-by: Keerthy Signed-off-by: Russ Dill --- No Changes

[PATCH v2 4/4] soc: ti: pm33xx: Save/restore clk context based on enable_off_mode setting

2018-06-21 Thread Keerthy
Save/restore clk context based on enable_off_mode setting. The context needs to be saved at the very end of suspend path and restored at the beginning of resume path. Signed-off-by: Keerthy --- No Changes in v2 arch/arm/mach-omap2/pm33xx-core.c| 15 +++ drivers/soc/ti/pm33xx.c

[PATCH v2 2/4] clk: clk: Add clk_gate_restore_context function

2018-06-21 Thread Keerthy
The clock gate restore context function enables or disables the gate clocks based on the enable_count. This is done in cases where the clock context is lost and based on the enable_count the clock either needs to be enabled/disabled. Signed-off-by: Keerthy --- Changes in v2: * Renamed c

Re: [PATCH v2 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-21 Thread Keerthy
On Thursday 21 June 2018 01:40 PM, Keerthy wrote: > Deep enough power saving mode can result into losing context of the clock > registers also, and they need to be restored once coming back from the power > saving mode. Hence add functions to save/restore clock context. > Seems like there is a

Re: [PATCH v2 4/8] mailbox: tegra-hsp: Refactor in preparation of mailboxes

2018-06-21 Thread Jon Hunter
On 20/06/18 13:20, Mikko Perttunen wrote: > The HSP driver is currently in many places written with the assumption > of only supporting doorbells. Prepare for the addition of shared > mailbox support by removing these assumptions and cleaning up the code. > > Signed-off-by: Mikko Perttunen > --

[PATCH v3 0/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-21 Thread Keerthy
Deep enough power saving mode can result into losing context of the clock registers also, and they need to be restored once coming back from the power saving mode. Hence add functions to save/restore clock context. Tested for DS0 on am437x-gp-evm Based on top of linux-next Changes in v2:

[PATCH v3 1/4] clk: clk: Add functions to save/restore clock context en-masse

2018-06-21 Thread Keerthy
From: Russ Dill Deep enough power saving mode can result into losing context of the clock registers also, and they need to be restored once coming back from the power saving mode. Hence add functions to save/restore clock context. Signed-off-by: Keerthy Signed-off-by: Russ Dill --- No Changes

[PATCH v3 4/4] soc: ti: pm33xx: Save/restore clk context based on enable_off_mode setting

2018-06-21 Thread Keerthy
Save/restore clk context based on enable_off_mode setting. The context needs to be saved at the very end of suspend path and restored at the beginning of resume path. Signed-off-by: Keerthy --- No Changes in v2 arch/arm/mach-omap2/pm33xx-core.c| 15 +++ drivers/soc/ti/pm33xx.c

[PATCH v3 2/4] clk: clk: Add clk_gate_restore_context function

2018-06-21 Thread Keerthy
The clock gate restore context function enables or disables the gate clocks based on the enable_count. This is done in cases where the clock context is lost and based on the enable_count the clock either needs to be enabled/disabled. Signed-off-by: Keerthy --- Changes in v2: * Renamed c

Re: [lkp-robot] [Kbuild] 050e9baa9d: netperf.Throughput_total_tps -5.6% regression (FYI)

2018-06-21 Thread Linus Torvalds
On Thu, Jun 21, 2018 at 5:10 PM kernel test robot wrote: > > FYI, we noticed a -5.6% regression of netperf.Throughput_total_tps due to > commit 050e9b ("Kbuild: rename CC_STACKPROTECTOR[_STRONG] config variables") That's perhaps a surprisingly large cost to stack protector, but you did move from

Re: [PATCH] arch/x86: get rid of KERN_CONT in show_fault_oops()

2018-06-21 Thread Sergey Senozhatsky
On (06/21/18 09:59), Dmitry Vyukov wrote: > > > >> + printk(KERN_ALERT "BUG: unable to handle kernel %s at %px\n", > >> + (address < PAGE_SIZE ? "NULL pointer dereference" : > >> + "paging request"), (void *) address); > > > > Perhaps pr_alert() ? > > It's the sam

[RESEND PATCH v3 1/3] clocksource: timer-ti-dm: remove the early platform driver registration

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This driver is no longer used as an early platform driver. Remove the registration macro. Signed-off-by: Bartosz Golaszewski Acked-by: Arnd Bergmann Acked-by: Daniel Lezcano --- drivers/clocksource/timer-ti-dm.c | 1 - 1 file changed, 1 deletion(-) diff --git a/dri

Re: [PATCH] staging: wlan-ng: improved readability of function prism2_add_key

2018-06-21 Thread Dan Carpenter
On Thu, Jun 21, 2018 at 06:42:52AM +0200, Chris Opperman wrote: > Hi Dan, > > I agree completely. I was concerned whether the preprocessor definitions in > p80211metadef.h were named according to some convention as there are > many definitions named similarly there. > Yeah, sure but in that case

[RESEND PATCH v3 3/3] sh: add the sh_ prefix to early platform symbols

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Old early platform device support is now sh-specific. Before moving on to implementing new early platform framework based on real platform devices, prefix all early platform symbols with 'sh_'. Signed-off-by: Bartosz Golaszewski --- arch/sh/drivers/platform_early.c

[RESEND PATCH v3 2/3] platform: move the early platform device support to arch/sh

2018-06-21 Thread Bartosz Golaszewski
From: Bartosz Golaszewski SuperH is the only user of the current implementation of early platform device support. We want to introduce a more robust approach to early probing. As the first step - move all the current early platform code to arch/sh. In order not to export internal drivers/base fu

[RESEND PATCH v3 0/3] sh: make early_platform code SuperH-specific

2018-06-21 Thread Bartosz Golaszewski
I recently started a discussion about the need for a proper early device probing mechanism[1]. One that would be based on real platform drivers and support both platform data and device tree. While we're far from reaching any consensus on the implementation, Arnd suggested that I start off by movi

Dear God select,

2018-06-21 Thread Mrs.Mabel Raymond
Dear God select, My name is Mrs.Raymond Mabel, an elderly widow who suffers from a prolonged illness,l I am contacting you in regards to a Charity Project for helping Less privileged people,orphanages, widows and propagating the word of God. which I want to entrust into your care as my Docto

Re: [lkp-robot] [Kbuild] 050e9baa9d: netperf.Throughput_total_tps -5.6% regression (FYI)

2018-06-21 Thread Huang, Ying
Hi, Linus, Linus Torvalds writes: > On Thu, Jun 21, 2018 at 5:10 PM kernel test robot > wrote: >> >> FYI, we noticed a -5.6% regression of netperf.Throughput_total_tps >> due to commit 050e9b ("Kbuild: rename CC_STACKPROTECTOR[_STRONG] >> config variables") > > That's perhaps a surprisingly la

Re: [PATCH] printk: inject caller information into the body of message

2018-06-21 Thread Sergey Senozhatsky
On (06/20/18 13:32), Dmitry Vyukov wrote: > >> > >> So this is another reason to get rid of pr_cont entirely, right? > > > > Getting rid of pr_cont() from important output would be totally cool. > > Quoting Linus: > > > > Only acceptable use of continuations is basically boot-time testing, > >

Re: [PATCH v2 5/8] mailbox: tegra-hsp: Add support for shared mailboxes

2018-06-21 Thread Jon Hunter
On 20/06/18 13:20, Mikko Perttunen wrote: > The Tegra HSP block supports 'shared mailboxes' that are simple 32-bit > registers consisting of a FULL bit in MSB position and 31 bits of data. > The hardware can be configured to trigger interrupts when a mailbox > is empty or full. Add support for th

[PATCH net-next v4 2/2] r8169: Reinstate ASPM Support

2018-06-21 Thread Kai-Heng Feng
On Intel platforms (Skylake and newer), ASPM support in r8169 is the last missing puzzle to let CPU's Package C-State reaches PC8. Without ASPM support, the CPU cannot reach beyond PC3. PC8 can save additional ~3W in comparison with PC3 on a Coffee Lake platform, Dell G3 3779. This is based on th

Re: [PATCH 0/4] Small cleanup for memoryhotplug

2018-06-21 Thread Michal Hocko
[Cc Reza Arbab - I remember he was able to hit some bugs in memblock registration code when I was reworking that area previously] On Fri 01-06-18 14:53:17, osalva...@techadventures.net wrote: > From: Oscar Salvador > > > Hi, > > I wanted to give it a try and do a small cleanup in the memhotplu

Re: [lkp-robot] [Kbuild] 050e9baa9d: netperf.Throughput_total_tps -5.6% regression (FYI)

2018-06-21 Thread Linus Torvalds
On Thu, Jun 21, 2018 at 5:25 PM Huang, Ying wrote: > Do you have interest in some other comparison? No, I think the overhead of the strong stackprotector is a bit sad, but I assume it's because of the nasty code to load the stack canary from a cacheline that has absolutely nothing else in it. Oh

Re: [PATCH v7 3/9] x86/microcode/AMD: Integrate verify_patch_size() into verify_patch()

2018-06-21 Thread Borislav Petkov
On Tue, Jun 19, 2018 at 08:47:33PM +0200, Maciej S. Szmigiero wrote: > Integrating verify_patch_size() into verify_patch() allows us to check > whether the indicated patch size makes sense for its indicated CPU family - > for all CPU families known to the driver. > > If we spot a patch that is lon

Re: KVM guest sometimes failed to boot because of kernel stack overflow if KPTI is enabled on a hisilicon ARM64 platform.

2018-06-21 Thread James Morse
Hi Will, Wei, On 20/06/18 17:25, Wei Xu wrote: > On 2018/6/20 23:54, James Morse wrote: > I have disabled CONFIG_ARM64_RAS_EXTN and reverted that commit. > But I still got the stack overflow issue sometimes. > Do you have more hint? > The log is as below: >     [    0.00] Booting Linux on phy

[PATCH v3 3/4] clk: ti: Add functions to save/restore clk context

2018-06-21 Thread Keerthy
From: Russ Dill SoCs like AM43XX lose clock registers context during RTC-only suspend. Hence add functions to save/restore the clock registers context. Signed-off-by: Keerthy Signed-off-by: Russ Dill --- Changes in v2: * Replaced clk_dflt_restore instances to clk_gate_restore_context

Re: [PATCH V6 00/30] block: support multipage bvec

2018-06-21 Thread Gi-Oh Kim
On Thu, Jun 21, 2018 at 3:17 AM, Ming Lei wrote: > On Fri, Jun 15, 2018 at 02:59:19PM +0200, Gi-Oh Kim wrote: >> > >> > - bio size can be increased and it should improve some high-bandwidth IO >> > case in theory[4]. >> > >> >> Hi, >> >> I would like to report your patch set works well on my syste

Re: [PATCH v2 2/2] cros_ec: Move cros_ec_dev module to drivers/mfd

2018-06-21 Thread Enric Balletbo i Serra
Hi Dmitry, I think I can answer some of your questions (not all). cc'ing the new Thierry's address and Gwendal. On 21/06/18 01:05, Dmitry Torokhov wrote: > On Mon, Nov 20, 2017 at 8:18 AM Thierry Escande > wrote: >> >> The cros_ec_dev module is responsible for registering the MFD devices >> att

Re: [PATCH 0/3][RFC] Introduce the in-kernel hibernation encryption

2018-06-21 Thread Pavel Machek
Hi! > As security becomes more and more important, we add the in-kernel > encryption support for hibernation. ... > There was a discussion on the mailing list on whether this key should > be derived in kernel or in user space. And it turns out to be generating > the key by user space is more accep

Re: [PATCH 1/1] arm64/mm: move {idmap_pg_dir,tramp_pg_dir,swapper_pg_dir} to .rodata section

2018-06-21 Thread James Morse
Hi guys, On 21/06/18 07:39, Ard Biesheuvel wrote: > On 21 June 2018 at 04:51, Jun Yao wrote: >> On Wed, Jun 20, 2018 at 12:09:49PM +0200, Ard Biesheuvel wrote: >>> On 20 June 2018 at 10:57, Jun Yao wrote: Move {idmap_pg_dir,tramp_pg_dir,swapper_pg_dir} to .rodata section. And update th

Re: KVM guest sometimes failed to boot because of kernel stack overflow if KPTI is enabled on a hisilicon ARM64 platform.

2018-06-21 Thread Marc Zyngier
On 21/06/18 09:38, James Morse wrote: >> (joyx@Turing-Arch-b) (gcc version 4.9.1 20140505 (prerelease) (crosstool-NG >> linaro-1.13.1-4.9-2014.05 - Linaro GCC 4.9-2014.05)) #10 SMP PREEMPT Wed Jun >> 20 >> 23:59:05 CST 2018 > >>     [    0.00] CPU0: using LPI pending table @0x7d86000

Re: [PATCH 3/3][RFC] tools: create power/crypto utility

2018-06-21 Thread Pavel Machek
On Wed 2018-06-20 17:40:51, Chen Yu wrote: > crypto_hibernate is a user-space utility to generate > 512bits AES key and pass it to the kernel via ioctl > for hibernation encryption.(We can also add the key > into kernel via keyctl if necessary, but currently > using ioctl seems to be more straigh

[PATCH V4 3/4] ARM: dts: stm32: add iwdg2 support for stm32mp157c

2018-06-21 Thread Ludovic Barre
From: Ludovic Barre This patch adds independent watchdog support for stm32mp157c. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157c.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index 7d175

[PATCH V4 2/4] watchdog: stm32: add pclk feature for stm32mp1

2018-06-21 Thread Ludovic Barre
From: Ludovic Barre This patch adds compatible data to manage pclk clock by compatible. Adds stm32mp1 support which requires pclk clock. Signed-off-by: Ludovic Barre --- drivers/watchdog/stm32_iwdg.c | 116 +++--- 1 file changed, 74 insertions(+), 42 deletio

[PATCH V4 0/4] add iwdg2 support for stm32mp157c

2018-06-21 Thread Ludovic Barre
From: Ludovic Barre This patch series updates stm32_iwdg driver to manage pclk clock by compatible. stm32mp1 requires a pclk clock. v4: -dt-bindings: split and review v3: -remove stm32_iwdg_config structure, just assign the boolean directly to .dat Ludovic Barre (4): dt-bindings: watchdog:

[PATCH V4 4/4] ARM: dts: stm32: add iwdg2 support for stm32mp157c-ed1

2018-06-21 Thread Ludovic Barre
From: Ludovic Barre This patch activates independent watchdog support for stm32mp157c board. Signed-off-by: Ludovic Barre --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed

[PATCH V4 1/4] dt-bindings: watchdog: add stm32mp1 support

2018-06-21 Thread Ludovic Barre
From: Ludovic Barre This patch adds support of stm32mp1. stm32mp1 requires 2 clocks lsi and pclk. Signed-off-by: Ludovic Barre --- .../devicetree/bindings/watchdog/st,stm32-iwdg.txt | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/device

Re: [PATCH v2 02/19] sched/numa: Evaluate move once per node

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 10:32:43PM +0530, Srikar Dronamraju wrote: > task_numa_compare() helps choose the best cpu to move or swap the > selected task. To achieve this task_numa_compare() is called for every > cpu in the node. Currently it evaluates if the task can be moved/swapped > for each of th

hi

2018-06-21 Thread Sgt Sherri Gallagher
Please reply me back I have something to tell you, I am Sgt.Sherri,

Re: [PATCH v2 04/19] sched/numa: Set preferred_node based on best_cpu

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 10:32:45PM +0530, Srikar Dronamraju wrote: > Currently preferred node is set to dst_nid which is the last node in the > iteration whose group weight or task weight is greater than the current > node. However it doesn't guarantee that dst_nid has the numa capacity > to move.

RE: [PATCH V3 2/3] scsi: ufs: Add ufs provisioning support

2018-06-21 Thread sayali
Hi Kyuho, Comment inline. Thanks, Sayali -Original Message- From: Kyuho Choi [mailto:chlrb...@gmail.com] Sent: Friday, June 15, 2018 8:28 AM To: Sayali Lokhande Cc: subha...@codeaurora.org; c...@codeaurora.org; vivek.gau...@codeaurora.org; rna...@codeaurora.org; vinholika...@gmail.com;

Re: KVM guest sometimes failed to boot because of kernel stack overflow if KPTI is enabled on a hisilicon ARM64 platform.

2018-06-21 Thread Will Deacon
On Thu, Jun 21, 2018 at 09:38:53AM +0100, James Morse wrote: > On 20/06/18 17:25, Wei Xu wrote: > >     [    0.042421] Insufficient stack space to handle exception! > >     [    0.042423] ESR: 0x9646 -- DABT (current EL) > >     [    0.043730] FAR: 0x093a80e0 > >     [    0.044714] Task

Re: [PATCH v2 6/8] serial: Add Tegra Combined UART driver

2018-06-21 Thread Jon Hunter
On 20/06/18 13:20, Mikko Perttunen wrote: > The Tegra Combined UART (TCU) is a mailbox-based mechanism that allows > multiplexing multiple "virtual UARTs" into a single hardware serial > port. The TCU is the primary serial port on Tegra194 devices. > > Add a TCU driver utilizing the mailbox fram

Re: KVM guest sometimes failed to boot because of kernel stack overflow if KPTI is enabled on a hisilicon ARM64 platform.

2018-06-21 Thread Wei Xu
Hi James, On 2018/6/21 9:38, James Morse wrote: > Hi Will, Wei, > > On 20/06/18 17:25, Wei Xu wrote: >> On 2018/6/20 23:54, James Morse wrote: >> I have disabled CONFIG_ARM64_RAS_EXTN and reverted that commit. >> But I still got the stack overflow issue sometimes. >> Do you have more hint? > >>

Re: [4.17 regression] Performance drop on kernel-4.17 visible on Stream, Linpack and NAS parallel benchmarks

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 07:25:19PM +0200, Jirka Hladky wrote: > Hi Mel and others, > > I would like to let you know that I have tested following patch > Understood. FWIW, there is a lot in flight at the moment but the first likely patch is removing rate limiting entirely and see what falls out.

Re: [PATCH 1/1] arm64/mm: move {idmap_pg_dir,tramp_pg_dir,swapper_pg_dir} to .rodata section

2018-06-21 Thread Ard Biesheuvel
On 21 June 2018 at 10:59, James Morse wrote: > Hi guys, > > On 21/06/18 07:39, Ard Biesheuvel wrote: >> On 21 June 2018 at 04:51, Jun Yao wrote: >>> On Wed, Jun 20, 2018 at 12:09:49PM +0200, Ard Biesheuvel wrote: On 20 June 2018 at 10:57, Jun Yao wrote: > Move {idmap_pg_dir,tramp_pg_dir

Re: [PATCH 3/6] coresight: Introduce support for Coresight Address Translation Unit

2018-06-21 Thread Suzuki K Poulose
Hi Mathieu, On 20/06/1822:41, Mathieu Poirier wrote: Hi Suzuki, On Mon, Jun 18, 2018 at 11:56:16AM +0100, Suzuki K Poulose wrote: Add the initial support for Coresight Address Translation Unit, which augments the TMC in Coresight SoC-600 by providing an improved Scatter Gather mechanism. CATU

Re: [PATCH v2 05/19] sched/numa: Use task faults only if numa_group is not yet setup

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 10:32:46PM +0530, Srikar Dronamraju wrote: > When numa_group faults are available, task_numa_placement only uses > numa_group faults to evaluate preferred node. However it still accounts > task faults and even evaluates the preferred node just based on task > faults just to

[PATCH] drivers/i2c: Include SPDX-license-identifier

2018-06-21 Thread Mawanda Henry
including the SPDX license identifier header makes it easy for developers and machines to know the lecense that is governing the file Signed-off-by: Mawanda Henry --- drivers/i2c/i2c-core-slave.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/i2c-core-slave.c b/drivers/i2c/i2c-

Re: [PATCH] drivers/i2c: Include SPDX-license-identifier

2018-06-21 Thread Peter Rosin
On 2018-06-21 11:40, Mawanda Henry wrote: > including the SPDX license identifier header makes it easy for > developers and machines to know the lecense that is governing the file If you do changes like this, you should also remove the actual license text (it follows later in the comment in this

Re: [PATCH v2 7/8] arm64: tegra: Add nodes for tcu on Tegra194

2018-06-21 Thread Jon Hunter
On 20/06/18 13:20, Mikko Perttunen wrote: > Add nodes required for communication through the Tegra Combined UART. > This includes the AON HSP instance, addition of shared interrupts > for the TOP0 HSP instance, and finally the TCU node itself. Also > mark the HSP instances as compatible to tegra1

Re: [PATCH v2 13/19] mm/migrate: Use xchg instead of spinlock

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 10:32:54PM +0530, Srikar Dronamraju wrote: > Currently resetting the migrate rate limit is under a spinlock. > The spinlock will only serialize the migrate rate limiting and something > similar can actually be achieved by a simpler xchg. > > Running SPECjbb2005 on a 4 node

Re: [PATCH v2 14/19] sched/numa: Updation of scan period need not be in lock

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 10:32:55PM +0530, Srikar Dronamraju wrote: > The metrics for updating scan periods are local or task specific. > Currently this updation happens under numa_group lock which seems > unnecessary. Hence move this updation outside the lock. > > Running SPECjbb2005 on a 4 node m

[PATCH] drivers/i2c: include SPDX-license header

2018-06-21 Thread Mawanda Henry
SPDX license headers makes it easy for developers and machines to know the license that is governing that file Signed-off-by: Mawanda Henry --- drivers/i2c/i2c-core-slave.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/i2c/i2c-core-slave.c b/drivers/i2c/i2c-cor

Re: [PATCH v2 18/19] sched/numa: Reset scan rate whenever task moves across nodes

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 10:32:59PM +0530, Srikar Dronamraju wrote: > @@ -6668,6 +6662,19 @@ static void migrate_task_rq_fair(struct task_struct > *p, int new_cpu __maybe_unus > > /* We have migrated, no longer consider this task hot */ > p->se.exec_start = 0; > + > +#ifdef CONFIG_NUM

Re: [PATCH v2 19/19] sched/numa: Move task_placement closer to numa_migrate_preferred

2018-06-21 Thread Mel Gorman
On Wed, Jun 20, 2018 at 10:33:00PM +0530, Srikar Dronamraju wrote: > numa_migrate_preferred is called periodically or when task preferred > node changes. Preferred node evaluations happen once per scan sequence. > > If the scan completion happens just after the periodic numa migration, > then we t

Re: [PATCH bpf-next 3/3] bpf: btf: json print map dump with btf info

2018-06-21 Thread Okash Khawaja
On Thu, Jun 21, 2018 at 12:22:52AM +0100, Song Liu wrote: > > > > On Jun 20, 2018, at 1:30 PM, Okash Khawaja wrote: > > > > This patch modifies `bpftool map dump [-j|-p] id ` to json- > > print and pretty-json-print map dump. It calls btf_dumper introduced in > > previous patch to accomplish th

Re: [RFC 2/2] rcu: Remove ->dynticks_nmi_nesting from struct rcu_dynticks

2018-06-21 Thread Byungchul Park
On Thu, Jun 21, 2018 at 03:39:49PM +0900, Byungchul Park wrote: [...] > I applied what you suggested and re-named rcu_nmi_{enter,exit} to ^ rcu_nmi_{enter,exit}_common(bool irq) > rcu_irq_{enter,exit} and applied the same re-

Re: [PATCH] drivers/i2c: include SPDX-license header

2018-06-21 Thread Peter Rosin
On 2018-06-21 12:02, Mawanda Henry wrote: > SPDX license headers makes it easy for developers and machines to know > the license that is governing that file This patch appears to be on top of the previously rejected patch. Please remove that broken patch first so that this patch applies to a clean

Re: [PATCH 5/5] RISC-V: Use fixed width integer types for 32-bit compatible

2018-06-21 Thread Zong Li
Christoph Hellwig 於 2018年6月21日 週四 下午2:43寫道: > > On Thu, Jun 21, 2018 at 09:41:46AM +0800, Zong Li wrote: > > Use fixed width integer types for print format on 32/64 bit > > to fix warning about format compatible. > > > > Like inttypes.h, but more simpler for RISC-V usage. > > > > Signed-off-by: Zo

Re: KVM guest sometimes failed to boot because of kernel stack overflow if KPTI is enabled on a hisilicon ARM64 platform.

2018-06-21 Thread Wei Xu
Hi Will, On 2018/6/21 10:18, Will Deacon wrote: > On Thu, Jun 21, 2018 at 09:38:53AM +0100, James Morse wrote: >> On 20/06/18 17:25, Wei Xu wrote: >>> [0.042421] Insufficient stack space to handle exception! >>> [0.042423] ESR: 0x9646 -- DABT (current EL) >>> [0.043730]

Re: [PATCH 5/5] RISC-V: Use fixed width integer types for 32-bit compatible

2018-06-21 Thread Andreas Schwab
On Jun 20 2018, Christoph Hellwig wrote: >> static int apply_r_riscv_32_rela(struct module *me, u32 *location, Elf_Addr >> v) >> { >> if (v != (u32)v) { >> -pr_err("%s: value %016llx out of range for 32-bit field\n", >> +pr_err("%s: value %016" PRIxX "out of range

Re: [PATCH v7 4/4] input/power: Add driver for BD71837/BD71847 PMIC power button

2018-06-21 Thread Matti Vaittinen
On Wed, Jun 20, 2018 at 09:43:16AM +0300, Matti Vaittinen wrote: > On Tue, Jun 19, 2018 at 10:50:28AM -0700, Dmitry Torokhov wrote: > > Hi Matti, > > > > On Tue, Jun 19, 2018 at 01:57:09PM +0300, Matti Vaittinen wrote: > > > ROHM BD71837 PMIC power button driver providing power-key press > > > inf

  1   2   3   4   5   6   7   >