Re: [PATCH] mm: vmalloc: Remove double execution of vunmap_page_range

2018-04-13 Thread Chintan Pandya
On 4/13/2018 3:29 PM, Anshuman Khandual wrote: On 04/13/2018 02:46 PM, Chintan Pandya wrote: Unmap legs do call vunmap_page_range() irrespective of debug_pagealloc_enabled() is enabled or not. So, remove redundant check and optional vunmap_page_range() routines. vunmap_page_range() tears dow

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Peter Zijlstra
On Fri, Apr 13, 2018 at 10:26:48AM +0200, Peter Zijlstra wrote: > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > +static inline void uclamp_cpu_get(struct task_struct *p, int cpu, int > > clamp_id) > > +{ > > + struct uclamp_cpu *uc_cpu = &cpu_rq(cpu)->uclamp[clamp_id]; >

[GIT PULL V2] Thermal SoC management updates for v4.17-rc1

2018-04-13 Thread Eduardo Valentin
Hello Rui, Please find thermal-soc changes for v4.17-rc1 as follows. - New i.MX7 thermal sensor - Mediatek driver now supports MT7622 SoC - Removal of min max cpu cooling dt property Differences in V2: - Reordered the patches to drop exynos changes for now until we get agreement on the fix on th

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

2018-04-13 Thread Eduardo Valentin
On Fri, Apr 13, 2018 at 03:08:03AM -0700, Eduardo Valentin wrote: > On Fri, Apr 13, 2018 at 01:39:05PM +0800, Zhang Rui wrote: > > Hi, Eduardo, > > > > On 四, 2018-04-12 at 21:08 -0700, Eduardo Valentin wrote: > > > Hello, > > > > > > On Thu, Apr 12, 2018 at 09:55:19AM -0700, Linus Torvalds wrote:

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

2018-04-13 Thread Bartlomiej Zolnierkiewicz
On Friday, April 13, 2018 03:08:03 AM Eduardo Valentin wrote: > On Fri, Apr 13, 2018 at 01:39:05PM +0800, Zhang Rui wrote: > > Hi, Eduardo, > > > > On 四, 2018-04-12 at 21:08 -0700, Eduardo Valentin wrote: > > > Hello, > > > > > > On Thu, Apr 12, 2018 at 09:55:19AM -0700, Linus Torvalds wrote: > >

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

2018-04-13 Thread Daniel Lezcano
On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote: [ ... ] >>> It is okay to return 0 because this code-path (the default one) will be >>> never hit by the driver (probe makes sure of it) - the default case is >>> here is just to silence compilation errors.. >> >> The init function is making s

Re: [PATCH] powerpc/sparse: fix plain integer as NULL pointer warning

2018-04-13 Thread kbuild test robot
Hi Mathieu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on v4.16 next-20180413] [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

Re: [PATCH v2 2/2] dmaengine: stm32-mdma: Fix incomplete Hw descriptors allocator

2018-04-13 Thread Geert Uytterhoeven
Hi Vinod, On Fri, Apr 13, 2018 at 12:09 PM, Vinod Koul wrote: > On Fri, Apr 13, 2018 at 10:39:48AM +0200, Geert Uytterhoeven wrote: >> On Fri, Apr 13, 2018 at 6:02 AM, Vinod Koul wrote: >> > On Wed, Apr 11, 2018 at 04:44:39PM +0200, Pierre-Yves MORDRET wrote: >> > >> >> struct stm32_mdma_desc {

Re: [PATCH] mm: vmalloc: Remove double execution of vunmap_page_range

2018-04-13 Thread Anshuman Khandual
On 04/13/2018 03:47 PM, Chintan Pandya wrote: > > > On 4/13/2018 3:29 PM, Anshuman Khandual wrote: >> On 04/13/2018 02:46 PM, Chintan Pandya wrote: >>> Unmap legs do call vunmap_page_range() irrespective of >>> debug_pagealloc_enabled() is enabled or not. So, remove >>> redundant check and option

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

2018-04-13 Thread Bartlomiej Zolnierkiewicz
On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote: > On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote: > > [ ... ] > > >>> It is okay to return 0 because this code-path (the default one) will be > >>> never hit by the driver (probe makes sure of it) - the default case is > >>> here i

Re: [PATCH] sound: soc: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe

2018-04-13 Thread Mark Brown
On Mon, Apr 09, 2018 at 06:46:21PM +0800, Jia-Ju Bai wrote: > broxton_audio_probe() is never called in atomic context. > This function is only set as ".probe" in "struct platform_driver". Please submit patches using subject lines reflecting the style for the subsystem. This makes it easier for pe

Re: [PATCH] mm: vmalloc: Remove double execution of vunmap_page_range

2018-04-13 Thread Chintan Pandya
On 4/13/2018 4:10 PM, Anshuman Khandual wrote: On 04/13/2018 03:47 PM, Chintan Pandya wrote: On 4/13/2018 3:29 PM, Anshuman Khandual wrote: On 04/13/2018 02:46 PM, Chintan Pandya wrote: Unmap legs do call vunmap_page_range() irrespective of debug_pagealloc_enabled() is enabled or not. So,

Re: [PATCH 4/5] dmaengine: sprd: Add Spreadtrum DMA configuration

2018-04-13 Thread Baolin Wang
On 13 April 2018 at 18:11, Vinod Koul wrote: > On Fri, Apr 13, 2018 at 02:41:48PM +0800, Baolin Wang wrote: >> On 13 April 2018 at 14:36, Vinod Koul wrote: >> > On Fri, Apr 13, 2018 at 02:17:34PM +0800, Baolin Wang wrote: >> > >> >> > Agreed, users only care about grabbing a channel, setting a de

[PATCH] configfs: inherit file and directory owners

2018-04-13 Thread Gwendal Grignou
All entries in configfs are currently owned by root, regardless of context. Instead, this preserves the current ownership, allowing userspace to choose who has permissions to configure the system through any particular configfs subsystem. This means anyone who can create a group will now have the

Re: [PATCH] sound: soc: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe

2018-04-13 Thread Jia-Ju Bai
On 2018/4/13 18:41, Mark Brown wrote: On Mon, Apr 09, 2018 at 06:46:21PM +0800, Jia-Ju Bai wrote: broxton_audio_probe() is never called in atomic context. This function is only set as ".probe" in "struct platform_driver". Please submit patches using subject lines reflecting the style for the

Applied "ASoC: TSCS42xx: Cleanup private data members" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: TSCS42xx: Cleanup private data members has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: TSCS42xx: Add CCF support to get sysclk" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: TSCS42xx: Add CCF support to get sysclk has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: TSCS42xx: Shorten lines and other cleanup" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: TSCS42xx: Shorten lines and other cleanup has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: [PATCH] sound: soc: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe

2018-04-13 Thread Mark Brown
On Fri, Apr 13, 2018 at 06:54:15PM +0800, Jia-Ju Bai wrote: > I looked at previous related patches, and find the subject should be "ASoC: > Intel: " > I will follow it in my future patches. Right, that's it for these thanks. > Do I need to send V2 patches? No, it's OK - I already applied th

Applied "ASoC: intel: cht_bsw_max98090_ti: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: cht_bsw_max98090_ti: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usuall

Applied "ASoC: intel: bxt_rt298: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: bxt_rt298: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually somet

Applied "ASoC: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (us

Applied "ASoC: max9860: switch to using .probe_new" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: max9860: switch to using .probe_new has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "ASoC: intel: skl_nau88l25_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: skl_nau88l25_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (

Applied "ASoC: atmel_ssc_dai: fix spelling mistake: "Stoping" -> "Stopping"" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: atmel_ssc_dai: fix spelling mistake: "Stoping" -> "Stopping" has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "ASoC: intel: skl_rt286: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: skl_rt286: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually somet

Applied "ASoC: intel: skl_nau88l25_ssm4567: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: skl_nau88l25_ssm4567: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (us

Applied "ASoC: trace: remove snd_soc_codec" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: trace: remove snd_soc_codec has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus durin

Applied "spi: spi-topcliff-pch: Replace GFP_ATOMIC with GFP_KERNEL in pch_spi_handle_dma" to the spi tree

2018-04-13 Thread Mark Brown
The patch spi: spi-topcliff-pch: Replace GFP_ATOMIC with GFP_KERNEL in pch_spi_handle_dma has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime i

[PATCH] thermal/drivers/exynos_tmu: Fix warnings in temp_to_code / code_to_temp

2018-04-13 Thread Daniel Lezcano
The latest driver cleanup introduced a compilation warning drivers/thermal/samsung/exynos_tmu.c: In function ‘exynos_get_temp’: drivers/thermal/samsung/exynos_tmu.c:931:37: warning: ‘temp’ may be used uninitialized in this function [-Wmaybe-uninitialized] *temp = code_to_temp(data, value) *

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-04-13 Thread Michal Hocko
On Fri 13-04-18 12:35:22, Kirill Tkhai wrote: > On 13.04.2018 11:55, Michal Hocko wrote: > > On Thu 12-04-18 17:52:04, Kirill Tkhai wrote: > > [...] > >> @@ -4471,6 +4477,7 @@ mem_cgroup_css_alloc(struct cgroup_subsys_state > >> *parent_css) > >> > >>return &memcg->css; > >> fail: > >> + m

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Patrick Bellasi
On 13-Apr 12:22, Peter Zijlstra wrote: > On Fri, Apr 13, 2018 at 10:26:48AM +0200, Peter Zijlstra wrote: > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > +static inline void uclamp_cpu_get(struct task_struct *p, int cpu, int > > > clamp_id) > > > +{ > > > + struct uclamp_

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-04-13 Thread Kirill Tkhai
On 13.04.2018 14:02, Michal Hocko wrote: > On Fri 13-04-18 12:35:22, Kirill Tkhai wrote: >> On 13.04.2018 11:55, Michal Hocko wrote: >>> On Thu 12-04-18 17:52:04, Kirill Tkhai wrote: >>> [...] @@ -4471,6 +4477,7 @@ mem_cgroup_css_alloc(struct cgroup_subsys_state *parent_css)

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Patrick Bellasi
On 13-Apr 11:46, Peter Zijlstra wrote: > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > +static inline void uclamp_cpu_get(struct task_struct *p, int cpu, int > > clamp_id) > > +{ > > + struct uclamp_cpu *uc_cpu = &cpu_rq(cpu)->uclamp[clamp_id]; > > + int clamp_value; > >

Re: [PATCH] thermal/drivers/exynos_tmu: Fix warnings in temp_to_code / code_to_temp

2018-04-13 Thread Bartlomiej Zolnierkiewicz
On Friday, April 13, 2018 01:00:09 PM Daniel Lezcano wrote: > The latest driver cleanup introduced a compilation warning > > drivers/thermal/samsung/exynos_tmu.c: In function ‘exynos_get_temp’: > drivers/thermal/samsung/exynos_tmu.c:931:37: warning: ‘temp’ may be used > uninitialized in this fu

Re: [PATCH v2 1/2] dmaengine: stm32-mdma: align TLEN and buffer length on burst

2018-04-13 Thread Robin Murphy
On 13/04/18 10:45, Pierre Yves MORDRET wrote: Hi Robin On 04/11/2018 05:14 PM, Robin Murphy wrote: On 11/04/18 15:44, Pierre-Yves MORDRET wrote: Both buffer Transfer Length (TLEN if any) and transfer size have to be aligned on burst size (burst beats*bus width). Signed-off-by: Pierre-Yves MOR

Re: [PATCH] mm: vmalloc: Remove double execution of vunmap_page_range

2018-04-13 Thread Michal Hocko
On Fri 13-04-18 16:15:26, Chintan Pandya wrote: > > > On 4/13/2018 4:10 PM, Anshuman Khandual wrote: > > On 04/13/2018 03:47 PM, Chintan Pandya wrote: > > > > > > > > > On 4/13/2018 3:29 PM, Anshuman Khandual wrote: > > > > On 04/13/2018 02:46 PM, Chintan Pandya wrote: > > > > > Unmap legs do c

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

2018-04-13 Thread Daniel Lezcano
On 13/04/2018 12:41, Bartlomiej Zolnierkiewicz wrote: > On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote: >> On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote: >> >> [ ... ] >> > It is okay to return 0 because this code-path (the default one) will be > never hit by the driver (

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

2018-04-13 Thread Bartlomiej Zolnierkiewicz
On Friday, April 13, 2018 12:41:18 PM Bartlomiej Zolnierkiewicz wrote: > On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote: > > On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote: > > > > [ ... ] > > > > >>> It is okay to return 0 because this code-path (the default one) will be > > >>

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Patrick Bellasi
On 13-Apr 10:43, Peter Zijlstra wrote: > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > +static inline void uclamp_task_update(struct rq *rq, struct task_struct *p) > > +{ > > + int cpu = cpu_of(rq); > > + int clamp_id; > > + > > + /* The idle task does not affect CPU's

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Peter Zijlstra
On Fri, Apr 13, 2018 at 12:04:26PM +0100, Patrick Bellasi wrote: > On 13-Apr 12:22, Peter Zijlstra wrote: > > On Fri, Apr 13, 2018 at 10:26:48AM +0200, Peter Zijlstra wrote: > > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > > +static inline void uclamp_cpu_get(struct task

Re: KASAN: alloca-out-of-bounds Read in unwind_next_frame

2018-04-13 Thread Dmitry Vyukov
On Fri, Apr 6, 2018 at 6:53 PM, Josh Poimboeuf wrote: > On Fri, Apr 06, 2018 at 05:40:01PM +0200, Dmitry Vyukov wrote: >> > So at first glance it seemed like a race condition. However, the >> > unwinder was only trying to dereference the frame pointer (RBP: >> > 8801b05e67f8), which should ha

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Patrick Bellasi
On 13-Apr 10:40, Peter Zijlstra wrote: > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > +static inline void init_uclamp(void) > > WTH is that inline? You mean I can avoid the attribute? ... or that I should do it in another way? > > +{ > > + struct uclamp_cpu *uc_cpu; > >

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Peter Zijlstra
On Fri, Apr 13, 2018 at 12:08:48PM +0100, Patrick Bellasi wrote: > On 13-Apr 11:46, Peter Zijlstra wrote: > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > +static inline void uclamp_cpu_get(struct task_struct *p, int cpu, int > > > clamp_id) > > > +{ > > > + struct uclamp

Re: [PATCH v2 3/5] ASoC: max9860: switch to SPDX license tag

2018-04-13 Thread Mark Brown
On Thu, Apr 12, 2018 at 11:14:35PM +0200, Peter Rosin wrote: > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0 > /* > * Driver for the MAX9860 Mono Audio Voice Codec > * Please don't mix C and C++ comments like this - it looks unintentional and messy. Just convert the entire comment

Re: [PATCH v3] selftests/livepatch: introduce tests

2018-04-13 Thread Miroslav Benes
Hi, On Thu, 12 Apr 2018, Joe Lawrence wrote: > Add a few livepatch modules and simple target modules that the included > regression suite can run tests against. Could you include a brief description which features are tested? > Signed-off-by: Joe Lawrence > --- > diff --git a/lib/livepatch/t

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-04-13 Thread Michal Hocko
On Fri 13-04-18 14:06:40, Kirill Tkhai wrote: > On 13.04.2018 14:02, Michal Hocko wrote: > > On Fri 13-04-18 12:35:22, Kirill Tkhai wrote: > >> On 13.04.2018 11:55, Michal Hocko wrote: > >>> On Thu 12-04-18 17:52:04, Kirill Tkhai wrote: > >>> [...] > @@ -4471,6 +4477,7 @@ mem_cgroup_css_alloc(

Re: [PATCH 2/2] ASoC: tfa9879: switch to using .probe_new

2018-04-13 Thread Mark Brown
On Thu, Apr 12, 2018 at 11:14:32PM +0200, Peter Rosin wrote: > For the record, I wish to be on Cc for changes to files I maintain. > That is one of the core functions of the MAINTAINERS file, right? Right, people should do that but it's not 100% reliable unfortunately. It's not unknown for people

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

2018-04-13 Thread Bartlomiej Zolnierkiewicz
On Friday, April 13, 2018 01:12:39 PM Bartlomiej Zolnierkiewicz wrote: > On Friday, April 13, 2018 12:41:18 PM Bartlomiej Zolnierkiewicz wrote: > > On Friday, April 13, 2018 12:30:04 PM Daniel Lezcano wrote: > > > On 13/04/2018 11:28, Bartlomiej Zolnierkiewicz wrote: > > > > > > [ ... ] > > > > >

Applied "ASoC: tfa9879: fix whitespace issues caused by mindless conversion" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: tfa9879: fix whitespace issues caused by mindless conversion has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "ASoC: tfa9879: switch to using .probe_new" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: tfa9879: switch to using .probe_new has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "ASoC: max9860: fix whitespace issues caused by mindless conversion" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: max9860: fix whitespace issues caused by mindless conversion has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-13 Thread Sudeep Holla
Hi Daniel, On 05/04/18 17:16, Daniel Lezcano wrote: [...] > +/** > + * cpuidle_cooling_register - Idle cooling device initialization function > + * > + * This function is in charge of creating a cooling device per cluster > + * and register it to thermal framework. For this we rely on the > + *

Applied "ASoC: TSCS42xx: Shorten lines and other cleanup" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: TSCS42xx: Shorten lines and other cleanup has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "ASoC: TSCS42xx: Add CCF support to get sysclk" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: TSCS42xx: Add CCF support to get sysclk has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: TSCS42xx: Cleanup private data members" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: TSCS42xx: Cleanup private data members has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: intel: skl_nau88l25_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: skl_nau88l25_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (

Re: [RFC PATCH 35/35] ovl: fix documentation of non-standard behavior

2018-04-13 Thread Amir Goldstein
On Thu, Apr 12, 2018 at 6:08 PM, Miklos Szeredi wrote: > We can now drop description of the ro/rw inconsistency from the > documentation. > > Also clarify, that now fully standard compliant behavior can be enabled > with kernel/module/mount options. > Very nice! Is it maybe a good time to tone d

Applied "ASoC: intel: cht_bsw_max98090_ti: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: cht_bsw_max98090_ti: Replace GFP_ATOMIC with GFP_KERNEL in snd_cht_mc_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usuall

Applied "ASoC: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: bxt_da7219_max98357a: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (us

Applied "ASoC: intel: bxt_rt298: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: bxt_rt298: Replace GFP_ATOMIC with GFP_KERNEL in broxton_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually somet

Applied "ASoC: max9860: switch to using .probe_new" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: max9860: switch to using .probe_new has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Lin

Applied "ASoC: atmel_ssc_dai: fix spelling mistake: "Stoping" -> "Stopping"" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: atmel_ssc_dai: fix spelling mistake: "Stoping" -> "Stopping" has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next

Applied "ASoC: trace: remove snd_soc_codec" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: trace: remove snd_soc_codec has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus durin

Applied "spi: spi-topcliff-pch: Replace GFP_ATOMIC with GFP_KERNEL in pch_spi_handle_dma" to the spi tree

2018-04-13 Thread Mark Brown
The patch spi: spi-topcliff-pch: Replace GFP_ATOMIC with GFP_KERNEL in pch_spi_handle_dma has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime i

Applied "spi: imx: Update MODULE_DESCRIPTION to "SPI Controller driver"" to the spi tree

2018-04-13 Thread Mark Brown
The patch spi: imx: Update MODULE_DESCRIPTION to "SPI Controller driver" has been applied to the spi tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "ASoC: intel: skl_nau88l25_ssm4567: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: skl_nau88l25_ssm4567: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (us

[PATCH 2/2] kvm: x86: move MSR_IA32_TSC handling to x86.c

2018-04-13 Thread Paolo Bonzini
This is not specific to Intel/AMD anymore. The TSC offset is available in vcpu->arch.tsc_offset. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/svm.c | 9 - arch/x86/kvm/vmx.c | 20 arch/x86/kvm/x86.c | 6 ++ 3 files changed, 6 insertions(+), 29 deletions(-) d

[PATCH 3/2] kvm: selftests: add vmx_tsc_adjust_test

2018-04-13 Thread Paolo Bonzini
The test checks the behavior of setting MSR_IA32_TSC while in a nested guest. It also introduces the testing infrastructure for Intel nested virtualization. Signed-off-by: Paolo Bonzini --- tools/testing/selftests/kvm/Makefile | 3 +- tools/testing/selftests/kvm/include/kvm_util.

Applied "ASoC: intel: skl_rt286: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe" to the asoc tree

2018-04-13 Thread Mark Brown
The patch ASoC: intel: skl_rt286: Replace GFP_ATOMIC with GFP_KERNEL in skylake_audio_probe has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually somet

Re: [PATCH] mm: vmalloc: Remove double execution of vunmap_page_range

2018-04-13 Thread Chintan Pandya
On 4/13/2018 4:39 PM, Michal Hocko wrote: On Fri 13-04-18 16:15:26, Chintan Pandya wrote: On 4/13/2018 4:10 PM, Anshuman Khandual wrote: On 04/13/2018 03:47 PM, Chintan Pandya wrote: On 4/13/2018 3:29 PM, Anshuman Khandual wrote: On 04/13/2018 02:46 PM, Chintan Pandya wrote: Unmap legs

[PATCH 0/2] MSR_IA32_TSC fixes for nested

2018-04-13 Thread Paolo Bonzini
This is the final version of Karim's patch including a test for MSR_IA32_TSC_ADJUST, SVM support, and a small subsequent cleanup. I'm not sure about committing the test, since it seems easier to do it in kvm-unit-tests (in fact, I'll shortly send the SVM version of the test, for kvm-unit-tests) but

[PATCH 1/2] X86/KVM: Properly update 'tsc_offset' to represent the running guest

2018-04-13 Thread Paolo Bonzini
From: KarimAllah Ahmed Update 'tsc_offset' on vmenty/vmexit of L2 guests to ensure that it always captures the TSC_OFFSET of the running guest whether it is the L1 or L2 guest. Cc: Jim Mattson Cc: Paolo Bonzini Cc: Radim Krčmář Cc: k...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Suggest

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-04-13 Thread Kirill Tkhai
On 13.04.2018 14:20, Michal Hocko wrote: > On Fri 13-04-18 14:06:40, Kirill Tkhai wrote: >> On 13.04.2018 14:02, Michal Hocko wrote: >>> On Fri 13-04-18 12:35:22, Kirill Tkhai wrote: On 13.04.2018 11:55, Michal Hocko wrote: > On Thu 12-04-18 17:52:04, Kirill Tkhai wrote: > [...] >>

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Peter Zijlstra
On Fri, Apr 13, 2018 at 12:17:53PM +0100, Patrick Bellasi wrote: > On 13-Apr 10:40, Peter Zijlstra wrote: > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > +static inline void init_uclamp(void) > > > > WTH is that inline? > > You mean I can avoid the attribute? > ... or t

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Patrick Bellasi
On 13-Apr 13:29, Peter Zijlstra wrote: > On Fri, Apr 13, 2018 at 12:17:53PM +0100, Patrick Bellasi wrote: > > On 13-Apr 10:40, Peter Zijlstra wrote: > > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > > +static inline void init_uclamp(void) > > > > > > WTH is that inline?

[PATCH 0/2] vunmap and debug objects

2018-04-13 Thread Chintan Pandya
I'm not entirely sure, how debug objects are really useful in vmalloc framework. I'm assuming they are useful in some ways. So, there are 2 issues in that. First patch is avoiding possible race scenario and second patch passes _proper_ args in debug object APIs. Both these patches can help debug o

[PATCH 2/2] mm: vmalloc: Pass proper vm_start into debugobjects

2018-04-13 Thread Chintan Pandya
Client can call vunmap with some intermediate 'addr' which may not be the start of the VM area. Entire unmap code works with vm->vm_start which is proper but debug object API is called with 'addr'. This could be a problem within debug objects. Pass proper start address into debug object API. Sign

[PATCH 1/2] mm: vmalloc: Avoid racy handling of debugobjects in vunmap

2018-04-13 Thread Chintan Pandya
Currently, __vunmap flow is, 1) Release the VM area 2) Free the debug objects corresponding to that vm area. This leave some race window open. 1) Release the VM area 1.5) Some other client gets the same vm area 1.6) This client allocates new debug objects on the same vm area 2) Free th

Re: [PATCH] sched: support dynamiQ cluster

2018-04-13 Thread Vincent Guittot
On 12 April 2018 at 20:22, Peter Zijlstra wrote: > On Tue, Apr 10, 2018 at 02:19:50PM +0100, Morten Rasmussen wrote: >> As said above, I see your point about completion time might suffer in >> some cases for low utilization tasks, but I don't see how you can fix >> that automagically. ASYM_PACKING

[PATCH v4 14/15] memory: tegra: Add Tegra30 memory controller hot resets

2018-04-13 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra30. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra30.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/memory/tegra/tegra30.c b/drivers/memory/tegra/tegra30.c index d2ba50ed049

[PATCH v4 13/15] memory: tegra: Add Tegra114 memory controller hot resets

2018-04-13 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra114. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra114.c | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/memory/tegra/tegra114.c b/drivers/memory/tegra/tegra114.c index 7560b2f

[PATCH v4 11/15] memory: tegra: Add Tegra210 memory controller hot resets

2018-04-13 Thread Dmitry Osipenko
From: Thierry Reding Define the table of memory controller hot resets for Tegra210. Signed-off-by: Thierry Reding --- drivers/memory/tegra/tegra210.c | 45 + 1 file changed, 45 insertions(+) diff --git a/drivers/memory/tegra/tegra210.c b/drivers/memory/tegra/te

[PATCH v4 15/15] memory: tegra: Add Tegra20 memory controller hot resets

2018-04-13 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra20 and add specific to Tegra20 hot reset operations. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra20.c | 118 + 1 file changed, 118 insertions(+) diff --git a/drivers/memory/tegra/tegra20.c

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Peter Zijlstra
On Fri, Apr 13, 2018 at 12:15:10PM +0100, Patrick Bellasi wrote: > On 13-Apr 10:43, Peter Zijlstra wrote: > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > +static inline void uclamp_task_update(struct rq *rq, struct task_struct > > > *p) > > > +{ > > > + int cpu = cpu_of(

[PATCH v4 10/15] memory: tegra: Introduce memory client hot reset

2018-04-13 Thread Dmitry Osipenko
In order to reset busy HW properly, memory controller needs to be involved, otherwise it is possible to get corrupted memory or hang machine if HW was reset during DMA. Introduce memory client 'hot reset' that will be used for resetting of busy HW. Signed-off-by: Dmitry Osipenko --- drivers/memo

[PATCH v4 12/15] memory: tegra: Add Tegra124 memory controller hot resets

2018-04-13 Thread Dmitry Osipenko
Define the table of memory controller hot resets for Tegra124. Signed-off-by: Dmitry Osipenko --- drivers/memory/tegra/tegra124.c | 42 + 1 file changed, 42 insertions(+) diff --git a/drivers/memory/tegra/tegra124.c b/drivers/memory/tegra/tegra124.c index bd16555

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-13 Thread Daniel Thompson
On Thu, Apr 05, 2018 at 06:16:43PM +0200, Daniel Lezcano wrote: > +/** > + * cpuidle_cooling_register - Idle cooling device initialization function > + * > + * This function is in charge of creating a cooling device per cluster > + * and register it to thermal framework. For this we rely on the > +

Re: net: hang in unregister_netdevice: waiting for lo to become free

2018-04-13 Thread Neil Horman
On Thu, Apr 12, 2018 at 02:15:30PM +0200, Dmitry Vyukov wrote: > On Wed, Feb 21, 2018 at 3:53 PM, Tommi Rantala > wrote: > > On 20.02.2018 18:26, Neil Horman wrote: > >> > >> On Tue, Feb 20, 2018 at 09:14:41AM +0100, Dmitry Vyukov wrote: > >>> > >>> On Tue, Feb 20, 2018 at 8:56 AM, Tommi Rantala >

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-04-13 Thread Michal Hocko
On Fri 13-04-18 14:29:11, Kirill Tkhai wrote: > On 13.04.2018 14:20, Michal Hocko wrote: > > On Fri 13-04-18 14:06:40, Kirill Tkhai wrote: > >> On 13.04.2018 14:02, Michal Hocko wrote: > >>> On Fri 13-04-18 12:35:22, Kirill Tkhai wrote: > On 13.04.2018 11:55, Michal Hocko wrote: > > On Thu

Re: [PATCH] mm: vmalloc: Remove double execution of vunmap_page_range

2018-04-13 Thread Michal Hocko
On Fri 13-04-18 16:57:06, Chintan Pandya wrote: > > > On 4/13/2018 4:39 PM, Michal Hocko wrote: > > On Fri 13-04-18 16:15:26, Chintan Pandya wrote: > > > > > > > > > On 4/13/2018 4:10 PM, Anshuman Khandual wrote: > > > > On 04/13/2018 03:47 PM, Chintan Pandya wrote: > > > > > > > > > > > > >

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-13 Thread Daniel Lezcano
On 13/04/2018 13:38, Daniel Thompson wrote: [ ... ] >> +/* >> + * Allocate the cpuidle cooling device with the list >> + * of the cpus belonging to the cluster. >> + */ >> +idle_cdev = cpuidle_cooling_alloc(topology_core_cpumask(cpu)); >

Re: [PATCH v3 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-04-13 Thread Daniel Lezcano
On 13/04/2018 13:23, Sudeep Holla wrote: > Hi Daniel, > > On 05/04/18 17:16, Daniel Lezcano wrote: > > [...] > >> +/** >> + * cpuidle_cooling_register - Idle cooling device initialization function >> + * >> + * This function is in charge of creating a cooling device per cluster >> + * and regist

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Patrick Bellasi
On 13-Apr 13:36, Peter Zijlstra wrote: > On Fri, Apr 13, 2018 at 12:15:10PM +0100, Patrick Bellasi wrote: > > On 13-Apr 10:43, Peter Zijlstra wrote: > > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > > +static inline void uclamp_task_update(struct rq *rq, struct > > > > t

[PATCH v3 0/2] ASoC: max9860/tfa9879: switch to SPDX license tag

2018-04-13 Thread Peter Rosin
On 2018-04-13 13:19, Mark Brown wrote: > On Thu, Apr 12, 2018 at 11:14:35PM +0200, Peter Rosin wrote: > >> @@ -1,3 +1,4 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> /* >> * Driver for the MAX9860 Mono Audio Voice Codec >> * > > Please don't mix C and C++ comments like this - it looks uninte

[PATCH v3 2/2] ASoC: tfa9879: switch to SPDX license tag

2018-04-13 Thread Peter Rosin
It's less overhead, clearer and generally neater. Signed-off-by: Peter Rosin --- sound/soc/codecs/tfa9879.c | 18 ++ sound/soc/codecs/tfa9879.h | 7 +-- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/sound/soc/codecs/tfa9879.c b/sound/soc/codecs/tfa9879.c in

[PATCH v3 1/2] ASoC: max9860: switch to SPDX license tag

2018-04-13 Thread Peter Rosin
It's less overhead, clearer and generally neater. Signed-off-by: Peter Rosin --- sound/soc/codecs/max9860.c | 31 +++ sound/soc/codecs/max9860.h | 10 +- 2 files changed, 12 insertions(+), 29 deletions(-) diff --git a/sound/soc/codecs/max9860.c b/sound/soc/co

Re: [PATCH v2 2/2] dmaengine: stm32-mdma: Fix incomplete Hw descriptors allocator

2018-04-13 Thread Robin Murphy
On 11/04/18 15:44, Pierre-Yves MORDRET wrote: Only 1 Hw Descriptor is allocated. Loop over required Hw descriptor for proper allocation. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial v2: * Fix kbuild warning format: /0x%08x/%pad/ --- --- dr

Re: [PATCH] memcg: Remove memcg_cgroup::id from IDR on mem_cgroup_css_alloc() failure

2018-04-13 Thread Kirill Tkhai
On 13.04.2018 14:38, Michal Hocko wrote: > On Fri 13-04-18 14:29:11, Kirill Tkhai wrote: >> On 13.04.2018 14:20, Michal Hocko wrote: >>> On Fri 13-04-18 14:06:40, Kirill Tkhai wrote: On 13.04.2018 14:02, Michal Hocko wrote: > On Fri 13-04-18 12:35:22, Kirill Tkhai wrote: >> On 13.04.20

Re: [PATCH 1/7] sched/core: uclamp: add CPU clamp groups accounting

2018-04-13 Thread Patrick Bellasi
On 13-Apr 12:47, Patrick Bellasi wrote: > On 13-Apr 13:36, Peter Zijlstra wrote: > > On Fri, Apr 13, 2018 at 12:15:10PM +0100, Patrick Bellasi wrote: > > > On 13-Apr 10:43, Peter Zijlstra wrote: > > > > On Mon, Apr 09, 2018 at 05:56:09PM +0100, Patrick Bellasi wrote: > > > > > +static inline void u

<    1   2   3   4   5   6   7   >