Re: [PATCH] ARM64: dts: meson-axg: add tdm pins

2018-04-26 Thread Neil Armstrong
On 17/04/2018 08:40, Jerome Brunet wrote: > Add tdm pins to amlogic's A113 device tree > > Signed-off-by: Jerome Brunet > --- > arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 245 > + > 1 file changed, 245 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/mes

Re: [RFC/RFT patch 0/7] timekeeping: Unify clock MONOTONIC and clock BOOTTIME

2018-04-26 Thread Rafael J. Wysocki
On Thu, Apr 26, 2018 at 9:42 AM, Thomas Gleixner wrote: > On Thu, 26 Apr 2018, Mike Galbraith wrote: >> On Wed, 2018-04-25 at 15:03 +0200, Thomas Gleixner wrote: >> > Right, it does not matter. The real interesting one is d6ed449afdb3. >> >> FWIW, three boxen here suspend/resume fine, but repeatab

Re: [PATCH][next] media: ispstat: don't dereference user_cfg before a null check

2018-04-26 Thread Sakari Ailus
On Tue, Apr 24, 2018 at 02:06:18PM +0100, Colin King wrote: > From: Colin Ian King > > The pointer user_cfg (a copy of new_conf) is dereference before > new_conf is null checked, hence we may have a null pointer dereference > on user_cfg when assigning buf_size from user_cfg->buf_size. Ensure > t

Re: [PATCH] drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs

2018-04-26 Thread Neil Armstrong
Hi Greg, On 19/04/2018 10:27, Greg KH wrote: > On Thu, Apr 19, 2018 at 10:18:35AM +0200, Neil Armstrong wrote: >> Hi Greg, >> >> On 23/02/2018 12:44, Neil Armstrong wrote: >>> The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also >>> identified needing this workaround. >>> This

RE: [EXTERNAL] Re: [PATCH v2] wlcore: sdio: allow pm to handle sdio power

2018-04-26 Thread Reizer, Eyal
> > > pm_runtime handles sdio power on and power off transitions. > > An old workaround for trying to control the power explicitly from the > > driver was in fact causing failures on suspend/resume as the mmc layer > > already power the module on resume. > > > > In case of resume pm_runtime_get sy

Re: [PATCH 2/2] clk: meson: axg: let mpll clocks round closest

2018-04-26 Thread Neil Armstrong
On 20/04/2018 11:56, Jerome Brunet wrote: > Let the mpll dividers achieve the closest rate possible, even if > it means rounding the requested rate up. > > This is done to improve the accuracy of the rates provided by these > plls to the audio subsystem > > Signed-off-by: Jerome Brunet > --- >

Re: [PATCH 1/2] clk: meson: mpll: add round closest support

2018-04-26 Thread Neil Armstrong
On 20/04/2018 11:56, Jerome Brunet wrote: > Allow the mpll driver to round the requested rate up if > CLK_MESON_MPLL_ROUND_CLOSEST is set and it provides a rate closer to the > requested rate. > > Signed-off-by: Jerome Brunet > --- > drivers/clk/meson/clk-mpll.c | 25 - >

Re: [PATCH -tip v2 0/7] kprobes: Fix %p in kprobes

2018-04-26 Thread Greg KH
On Thu, Apr 26, 2018 at 05:08:00PM +0900, Masami Hiramatsu wrote: > Hi, > > This 2nd version of the series which fixes %p uses in kprobes. > Some by replacing with %pS, some by replacing with %px but > masking with kallsyms_show_value(). > > V1 series is here: > https://lkml.org/lkml/2018/1/25/1

Re: [PATCH] m68k: Fix off-by-one calendar month

2018-04-26 Thread Geert Uytterhoeven
Hi Finn, On Thu, Apr 26, 2018 at 10:23 AM, Finn Thain wrote: > I just noticed that my patch overlooked m68328_hwclk(). Like the other > platforms, this one also needs tm_mon decremented. I had noticed, but this is a fake date anyway. So I don't know if it's worth fixing... > Geert, can you amen

Re: [PATCH 1/8] ALSA: Replace timespec with timespec64

2018-04-26 Thread Baolin Wang
424] >> [cannot apply to sound/for-next asoc/for-next arm-soc/for-next] >> [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/linux/commits/Baolin-Wang/Fix-year-2038

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-04-26 Thread Peter Zijlstra
On Wed, Apr 25, 2018 at 10:09:17PM +0200, Peter Zijlstra wrote: > On Wed, Apr 25, 2018 at 02:03:19PM +0530, Gaurav Kohli wrote: > > diff --git a/kernel/smpboot.c b/kernel/smpboot.c > > index 5043e74..c5c5184 100644 > > --- a/kernel/smpboot.c > > +++ b/kernel/smpboot.c > > @@ -122,7 +122,45 @@ stati

Re: [PATCH v4 09/10] gpio: Add a driver for Cadence I3C GPIO expander

2018-04-26 Thread Linus Walleij
On Fri, Mar 30, 2018 at 9:47 AM, Boris Brezillon wrote: > Add a driver for Cadence I3C GPIO expander. > > Signed-off-by: Boris Brezillon This is pretty much OK, and I don't want to raise the bar even higher for you to get this code into the kernel, so: Acked-by: Linus Walleij The following is

[PATCH v7 0/7] clk: meson-axg: Add AO Cloclk and Reset driver

2018-04-26 Thread Yixun Lan
This patch try to add AO clock and Reset driver for Amlogic's Meson-AXG SoC. Please note that patch 7 need to wait for the DTS changes[3] merged into mainline first, otherwise it will break the serial console. patch 2: factor the common code into a dedicated file patch 3-5: add the aoclk dri

[PATCH v7 2/7] clk: meson: aoclk: refactor common code into dedicated file

2018-04-26 Thread Yixun Lan
We try to refactor the common code into one dedicated file, while preparing to add new Meson-AXG aoclk driver, this would help us to better share the code by all aoclk drivers. Suggested-by: Jerome Brunet Signed-off-by: Yixun Lan --- drivers/clk/meson/Kconfig | 7 +++ drivers/clk/meson/M

[PATCH v7 4/7] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings

2018-04-26 Thread Yixun Lan
Add dt-bindings headers for the Meson-AXG's AO clock and reset controller. Reviewed-by: Rob Herring Signed-off-by: Yixun Lan --- include/dt-bindings/clock/axg-aoclkc.h | 26 ++ include/dt-bindings/reset/axg-aoclkc.h | 20 2 files changed, 46 insertio

[PATCH v7 3/7] dt-bindings: clock: axg-aoclkc: New binding for Meson-AXG SoC

2018-04-26 Thread Yixun Lan
Update the dt-binding documentation to support new compatible string for the Amlogic's Meson-AXG SoC. Reviewed-by: Rob Herring Signed-off-by: Yixun Lan --- Documentation/devicetree/bindings/clock/amlogic,gxbb-aoclkc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetre

Re: [PATCH v2 2/4] ARM: amba: Fix race condition with driver_override

2018-04-26 Thread Geert Uytterhoeven
Hi Greg, On Thu, Apr 26, 2018 at 10:35 AM, Greg Kroah-Hartman wrote: > On Thu, Apr 26, 2018 at 09:40:08AM +0200, Geert Uytterhoeven wrote: >> On Thu, Apr 26, 2018 at 9:04 AM, Greg Kroah-Hartman >> wrote: >> > On Wed, Apr 25, 2018 at 07:53:06PM +0200, Geert Uytterhoeven wrote: >> >> On Wed, Apr 2

[PATCH v7 6/7] clk: meson: drop CLK_SET_RATE_PARENT flag

2018-04-26 Thread Yixun Lan
The clk81 is not expected to be changed, so drop this flag. Signed-off-by: Yixun Lan --- drivers/clk/meson/gxbb-aoclk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/meson/gxbb-aoclk.c b/drivers/clk/meson/gxbb-aoclk.c index 20f73e0d82a4..408e3e2fca18 100644 ---

Re: [PATCH 1/7] clk: meson: clean-up meson clock configuration

2018-04-26 Thread Neil Armstrong
On 25/04/2018 18:32, Jerome Brunet wrote: > Clean the dependencies in meson clock Kconfig. > CLK_AMLOGIC should actually select CLK_REGMAP_MESON which it uses. Also, > each platform should select CLK_AMLOGIC, so everything is properly turned > on when the platform Kconfig enable each configuration

Re: [PATCH 2/7] clk: meson: add clk-phase clock driver

2018-04-26 Thread Neil Armstrong
On 25/04/2018 18:32, Jerome Brunet wrote: > Add a driver based meson clk-regmap to control clock phase on > amlogic SoCs > > Signed-off-by: Jerome Brunet > --- > drivers/clk/meson/Makefile| 1 + > drivers/clk/meson/clk-phase.c | 63 > +++ > drivers/c

[PATCH v7 5/7] clk: meson-axg: Add AO Clock and Reset controller driver

2018-04-26 Thread Yixun Lan
From: Qiufang Dai Adds a Clock and Reset controller driver for the Always-On part of the Amlogic Meson-AXG SoC. Acked-by: Philipp Zabel Signed-off-by: Qiufang Dai Signed-off-by: Yixun Lan --- drivers/clk/meson/Kconfig | 1 + drivers/clk/meson/Makefile| 2 +- drivers/clk/meson/axg

Re: [PATCH 3/7] clk: meson: add triple phase clock driver

2018-04-26 Thread Neil Armstrong
On 25/04/2018 18:33, Jerome Brunet wrote: > Add a driver to control the output of the sample clock generator found > in the axg audio clock controller. > > The goal of this driver is to coherently control the phase provided to > the different element using the sample clock generator. This simplify

Re: [PATCH 4/7] clk: meson: add axg audio sclk divider driver

2018-04-26 Thread Neil Armstrong
On 25/04/2018 18:33, Jerome Brunet wrote: > Add a driver to control the clock divider found in the sample clock > generator of the axg audio clock controller. > > The sclk divider accumulates specific features which make the generic > divider unsuitable to control it: > - zero based divider (div =

[PATCH v7 7/7] clk: meson: drop CLK_IGNORE_UNUSED flag

2018-04-26 Thread Yixun Lan
Rely on drivers to request the clock explicitly. Previous the kernel will leave the clock on while bootloader adready initilized the clock, this wasn't optimal way, so fix it here. Signed-off-by: Yixun Lan --- drivers/clk/meson/axg-aoclk.c | 1 - drivers/clk/meson/gxbb-aoclk.c | 1 - 2 files c

Re: [PATCH 2/2] net: stmmac: dwmac-meson: extend phy mode setting

2018-04-26 Thread Jerome Brunet
On Thu, 2018-04-26 at 16:05 +, Yixun Lan wrote: > In the Meson-AXG SoC, the phy mode setting of PRG_ETH0 in the glue layer > is extended from bit[0] to bit[2:0]. > There is no problem if we configure it to the RGMII 1000M PHY mode, > since the register setting is coincidentally compatible w

[PATCH v7 1/7] clk: meson: migrate to devm_of_clk_add_hw_provider API

2018-04-26 Thread Yixun Lan
There is a protential memory leak, as of_clk_del_provider is never called if of_clk_add_hw_provider has been executed. Fix this by using devm variant API. Fixes: f8c11f79912d ("clk: meson: Add GXBB AO Clock and Reset controller driver") Suggested-by: Stephen Boyd Signed-off-by: Yixun Lan --- d

Re: [PATCH 5/7] clk: meson: axg: export audio clock controller id bindings

2018-04-26 Thread Neil Armstrong
On 25/04/2018 18:33, Jerome Brunet wrote: > export the clock ids dt-bindings usable by the consumers of the axg > audio clock controller > > Signed-off-by: Jerome Brunet > --- > include/dt-bindings/clock/axg-audio-clkc.h | 94 > ++ > 1 file changed, 94 insertions(+)

Re: [PATCH 7/7] clk: meson: axg: add the audio clock controller driver

2018-04-26 Thread Neil Armstrong
On 25/04/2018 18:33, Jerome Brunet wrote: > The axg audio clock controller is the clock generation unit for the > amlogic audio subsystem of A113 based SoCs. It may be clocked by 8 > different plls provided by the primary clock controller and also by > 10 slave bit clocks and 10 slave sample clocks

Re: [RFC/RFT patch 0/7] timekeeping: Unify clock MONOTONIC and clock BOOTTIME

2018-04-26 Thread Thomas Gleixner
On Thu, 26 Apr 2018, Rafael J. Wysocki wrote: > On Thu, Apr 26, 2018 at 9:42 AM, Thomas Gleixner wrote: > > On Thu, 26 Apr 2018, Mike Galbraith wrote: > >> On Wed, 2018-04-25 at 15:03 +0200, Thomas Gleixner wrote: > >> > Right, it does not matter. The real interesting one is d6ed449afdb3. > >> >

Re: [PATCH 3/7] clk: meson: add triple phase clock driver

2018-04-26 Thread Neil Armstrong
On 26/04/2018 10:47, Neil Armstrong wrote: > On 25/04/2018 18:33, Jerome Brunet wrote: >> Add a driver to control the output of the sample clock generator found >> in the axg audio clock controller. >> >> The goal of this driver is to coherently control the phase provided to >> the different elemen

[PATCH 07/11] driver core: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
The limitation of being able to check only for -EPROBE_DEFER from dev_pm_domain_attach() has been removed. Hence let's respect all error codes and bail out accordingly. Cc: Greg Kroah-Hartman Signed-off-by: Ulf Hansson --- drivers/base/platform.c | 17 - 1 file changed, 8 insert

[PATCH 04/11] PM / Domains: Check for existing PM domain in dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
Instead of checking if an existing PM domain pointer has been assigned in genpd_dev_pm_attach() and acpi_dev_pm_attach(), move the check to the common path in dev_pm_domain_attach(), thus potentially avoid one unnecessary check. Signed-off-by: Ulf Hansson --- drivers/acpi/device_pm.c| 3 ---

Re: [PATCH 2/2] ARM: dts: r8a7740: Enable CEU0

2018-04-26 Thread Simon Horman
On Thu, Apr 26, 2018 at 09:26:09AM +0200, jacopo mondi wrote: > Hi Simon, > > On Thu, Apr 26, 2018 at 08:11:30AM +0200, Simon Horman wrote: > > Thanks Jacopo, > > > > I'm very pleased to see this series. > > Credits to Geert that pointed out to me R-Mobile A1 comes with a CEU. > I should mention

[PATCH 00/11] PM / Domains: Fixup error paths with dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
While I was on working adding support for multiple PM domains to genpd, I stumbled over several problems in the error path related to dev_pm_domain_attach(). Hence, I decided to fix these problems first, which is what this series intends to address. There first patch is material for stable, as it

[PATCH 05/11] PM / Domains: Allow a better error handling of dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
The callers of dev_pm_domain_attach() currently checks the returned error code for -EPROBE_DEFER and needs to ignore other error codes. This is an unnecessary limitation, which also leads to a rather strange behaviour in the error path. Address this limitation, by changing the return codes from ac

[PATCH 11/11] spi: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
The limitation of being able to check only for -EPROBE_DEFER from dev_pm_domain_attach() has been removed. Hence let's respect all error codes and bail out accordingly. Cc: Mark Brown Signed-off-by: Ulf Hansson --- drivers/spi/spi.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions

Re: [tip:timers/urgent] Revert: Unify CLOCK_MONOTONIC and CLOCK_BOOTTIME

2018-04-26 Thread Thomas Gleixner
On Thu, 26 Apr 2018, Rafael J. Wysocki wrote: > FWIW, here's a list of issues reported and narrowed down to the commit > in question so far I could find: > > * systemd kills daemons on resume, after >WatchdogSec seconds > of suspending (Genki Sky). [Verified that that's because systemd uses >

[PATCH 08/11] i2c: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
The limitation of being able to check only for -EPROBE_DEFER from dev_pm_domain_attach() has been removed. Hence let's respect all error codes and bail out accordingly. Cc: Wolfram Sang Signed-off-by: Ulf Hansson --- drivers/i2c/i2c-core-base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 09/11] mmc: sdio: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
The limitation of being able to check only for -EPROBE_DEFER from dev_pm_domain_attach() has been removed. Hence let's respect all error codes and bail out accordingly. Signed-off-by: Ulf Hansson --- drivers/mmc/core/sdio_bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH 06/11] amba: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
The limitation of being able to check only for -EPROBE_DEFER from dev_pm_domain_attach() has been removed. Hence let's respect all error codes and bail out accordingly. Cc: Russell King Signed-off-by: Ulf Hansson --- drivers/amba/bus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH 10/11] soundwire: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Ulf Hansson
The limitation of being able to check only for -EPROBE_DEFER from dev_pm_domain_attach() has been removed. Hence let's respect all error codes and bail out accordingly. Cc: Vinod Koul Cc: Sanyog Kale Cc: Pierre-Louis Bossart Signed-off-by: Ulf Hansson --- drivers/soundwire/bus_type.c | 15 +++

Re: [PATCH 4/9] x86, pkeys: override pkey when moving away from PROT_EXEC

2018-04-26 Thread Thomas Gleixner
On Wed, 25 Apr 2018, Shakeel Butt wrote: > On Mon, Mar 26, 2018 at 5:27 PM, Dave Hansen > wrote: > > > > From: Dave Hansen > > > > I got a bug report that the following code (roughly) was > > causing a SIGSEGV: > > > > mprotect(ptr, size, PROT_EXEC); > > mprotect(ptr, size, PROT_N

Re: [PATCH v4 05/12] mmc: sdhci: Disable HS200/HS400 mode if controller can't support 1.8v

2018-04-26 Thread Adrian Hunter
On 25/04/18 15:09, Kishon Vijay Abraham I wrote: > Though MMC controller can indicate HS200/HS400 mode capability (by > using "mmc-hs200-1_8v"/"mmc-hs400-1_8v" dt property), if the IO lines > in the board is connected to 3.3v supply, HS200/HS400 mode cannot be > supported. Such boards have "no-1-8-

[PATCH 03/11] PM / Domains: Drop redundant code in genpd while attaching devices

2018-04-26 Thread Ulf Hansson
The driver core together with the PM core, nowadays deals with deferring all probes during the device system sleep phases. Therefore genpd no longer need to care about this situation, so let's drop the corresponding code. Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c | 17 ++

Re: [PATCH v3 2/3] resource: add walk_system_ram_res_rev()

2018-04-26 Thread Baoquan He
Sorry to all reviewers, I had a redhat urgent issue, this patchset discussing is delayed. On 04/19/18 at 12:07pm, Borislav Petkov wrote: > On Thu, Apr 19, 2018 at 08:18:47AM +0800, Baoquan He wrote: > > This function, being a variant of walk_system_ram_res() introduced in > > commit 8c86e70acead (

[PATCH 01/11] PM / Domains: Fix error path during attach in genpd

2018-04-26 Thread Ulf Hansson
In case the PM domain fails to be powered on in genpd_dev_pm_attach(), it returns -EPROBE_DEFER, but keeping the device attached to its PM domain. This leads to problems when the next attempt to attach is re-tried. More precisely, in that situation an -EEXIST error code is returned, because the dev

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-04-26 Thread Peter Zijlstra
On Thu, Apr 26, 2018 at 10:41:31AM +0200, Peter Zijlstra wrote: > diff --git a/kernel/kthread.c b/kernel/kthread.c > index cd50e99202b0..4b6503c6a029 100644 > --- a/kernel/kthread.c > +++ b/kernel/kthread.c > @@ -177,12 +177,13 @@ void *kthread_probe_data(struct task_struct *task) > > static voi

[PATCH 02/11] PM / Domains: Drop comment in genpd about legacy Samsung DT binding

2018-04-26 Thread Ulf Hansson
The parsing of the Samsung specific DT binding is gone, but the comment in the function header remained. Let's drop the comment to avoid confusions. Fixes: 001d50c9a14f ("PM / Domains: Remove obsolete "samsung,power-domain" check") Signed-off-by: Ulf Hansson --- drivers/base/power/domain.c | 3

Re: [PATCH v7 5/7] clk: meson-axg: Add AO Clock and Reset controller driver

2018-04-26 Thread Philipp Zabel
On Thu, 2018-04-26 at 16:44 +0800, Yixun Lan wrote: > From: Qiufang Dai > > Adds a Clock and Reset controller driver for the Always-On part > of the Amlogic Meson-AXG SoC. > > Acked-by: Philipp Zabel Wrong patch, I have not formed an opinion on this one. regards Philipp

Re: [PATCH v7 4/7] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings

2018-04-26 Thread Philipp Zabel
On Thu, 2018-04-26 at 16:44 +0800, Yixun Lan wrote: > Add dt-bindings headers for the Meson-AXG's AO clock and > reset controller. > > Reviewed-by: Rob Herring > Signed-off-by: Yixun Lan This one is Acked-by: Philipp Zabel regards Philipp

Re: [PATCH] drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs

2018-04-26 Thread Greg KH
On Thu, Apr 26, 2018 at 10:38:08AM +0200, Neil Armstrong wrote: > Hi Greg, > > On 19/04/2018 10:27, Greg KH wrote: > > On Thu, Apr 19, 2018 at 10:18:35AM +0200, Neil Armstrong wrote: > >> Hi Greg, > >> > >> On 23/02/2018 12:44, Neil Armstrong wrote: > >>> The Amlogic Meson GX SoCs, embedded the v2

REPLY ME IMMEDIATELY

2018-04-26 Thread AL SHAMALI AHMED
Good day dear friend, As you are not a nationality of my country; i have a business proposal for you, and it will be for the mutual benefit of the both of us. I am Mr. Al-Shamali Ahmed, Working with Bank Of Africa here in Burkina Faso Ouagadougou, I will like you to help me in receiving this fund

Re: [PATCH 11/28] venus: add common capability parser

2018-04-26 Thread kbuild test robot
/0day-ci/linux/commits/Stanimir-Varbanov/Venus-updates/20180426-030344 base: git://linuxtv.org/media_tree.git master config: i386-allmodconfig (attached as .config) compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All

Re: [RFC/RFT patch 0/7] timekeeping: Unify clock MONOTONIC and clock BOOTTIME

2018-04-26 Thread Rafael J. Wysocki
On Thu, Apr 26, 2018 at 10:51 AM, Thomas Gleixner wrote: > On Thu, 26 Apr 2018, Rafael J. Wysocki wrote: > >> On Thu, Apr 26, 2018 at 9:42 AM, Thomas Gleixner wrote: >> > On Thu, 26 Apr 2018, Mike Galbraith wrote: >> >> On Wed, 2018-04-25 at 15:03 +0200, Thomas Gleixner wrote: >> >> > Right, it d

Re: [PATCH 08/11] i2c: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Wolfram Sang
On Thu, Apr 26, 2018 at 10:53:07AM +0200, Ulf Hansson wrote: > The limitation of being able to check only for -EPROBE_DEFER from > dev_pm_domain_attach() has been removed. Hence let's respect all error > codes and bail out accordingly. > > Cc: Wolfram Sang > Signed-off-by: Ulf Hansson Acked-by:

Re: [PATCH] gpio: 104-dio-48e: make array 'ports' static, shrinks object size

2018-04-26 Thread Linus Walleij
On Thu, Apr 5, 2018 at 2:00 PM, Colin King wrote: > From: Colin Ian King > > Don't populate the const read-only array 'ports' on the stack but instead > make it static. Makes the object code smaller by over 100 buytes: > > Before: >textdata bss dec hex filename > 109594

[PATCH 2/2] Revert "f2fs: add ovp valid_blocks check for bg gc victim to fg_gc"

2018-04-26 Thread Chao Yu
For extreme case: 10 section, op = 10%, no_fggc_threshold = 90% All section usage: 85% 85% 85% 85% 90% 90% 95% 95% 95% 95% During foreground GC, if we skip select dirty section whose usage is larger than no_fggc_threshold, we can only recycle 80% invalid space from four 85% usage sections and two

Re: [PATCH v7 4/7] dt-bindings: clock: reset: Add AXG AO Clock and Reset Bindings

2018-04-26 Thread Yixun Lan
On 04/26/18 16:59, Philipp Zabel wrote: > On Thu, 2018-04-26 at 16:44 +0800, Yixun Lan wrote: >> Add dt-bindings headers for the Meson-AXG's AO clock and >> reset controller. >> >> Reviewed-by: Rob Herring >> Signed-off-by: Yixun Lan > > This one is > Acked-by: Philipp Zabel > Hi Philipp M

[PATCH 1/2] f2fs: treat volatile file's data as hot one

2018-04-26 Thread Chao Yu
Volatile file's data will be updated oftenly, so it'd better to place its data into hot data segment. In addition, for atomic file, we change to check FI_ATOMIC_FILE instead of FI_HOT_DATA to make code readability better. Signed-off-by: Chao Yu --- fs/f2fs/file.c| 2 -- fs/f2fs/segment.c |

Re: [BUG] igb: reconnecting of cable not always detected

2018-04-26 Thread Holger Schurig
Hi, > Thanks. I'm suspecting we may need to instrument igb_rd32 at this > point. In order to trigger what you are seeing I am assuming the > device has been detached due to a read failure of some sort. Okay, I added a printk to igb_rd32. And because no one calls this function directly (all access

Re: [PATCH 4/7] dt-bindings: gnss: add u-blox binding

2018-04-26 Thread Johan Hovold
On Wed, Apr 25, 2018 at 01:16:58PM -0500, Rob Herring wrote: > On Tue, Apr 24, 2018 at 11:34 AM, Johan Hovold wrote: > > Add binding for u-blox GNSS receivers. > > > > Note that the u-blox product names encodes form factor (e.g. "neo"), > > chipset (e.g. "8") and variant (e.g. "q"), but that only

Re: noveau vs arm dma ops

2018-04-26 Thread Christoph Hellwig
On Wed, Apr 25, 2018 at 11:35:13PM +0200, Daniel Vetter wrote: > > get_required_mask() is supposed to tell you if you are safe. However > > we are missing lots of implementations of it for iommus so you might get > > some false negatives, improvements welcome. It's been on my list of > > things t

Re: [PATCH 6/7] dt-bindings: gnss: add sirfstar binding

2018-04-26 Thread Johan Hovold
On Wed, Apr 25, 2018 at 01:25:26PM -0500, Rob Herring wrote: > On Tue, Apr 24, 2018 at 11:34 AM, Johan Hovold wrote: > > Add binding for SiRFstar-based GNSS receivers. > > > > Note that while four compatible-strings are initially added representing > > devices which differ in which I/O interfaces

Re: [PATCH v2] x86/centaur: report correct CPU/cache topology

2018-04-26 Thread Thomas Gleixner
On Wed, 25 Apr 2018, David Wang wrote: > > +static void early_init_centaur_mc(struct cpuinfo_x86 *c) > +{ > +#ifdef CONFIG_SMP > + unsigned int eax, ebx, ecx, edx; > + > + if (c->cpuid_level < 4) > + return; > + > + cpuid_count(4, 0, &eax, &ebx, &ecx, &edx); > + if (ea

[PATCH][next] ath10k: fix spelling mistake: "servive" -> "service"

2018-04-26 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in ath10k_warn warning message text Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath10k/wmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath

Re: noveau vs arm dma ops

2018-04-26 Thread Christoph Hellwig
On Wed, Apr 25, 2018 at 11:54:43PM +0100, Russell King - ARM Linux wrote: > > if the memory was previously dirty (iow, CPU has written), you need to > flush the dirty cache lines _before_ the GPU writes happen, but you > don't know whether the CPU has speculatively prefetched, so you need > to flu

[PATCH v3 1/2] dt-bindings: input: Add Add Spreadtrum SC27xx vibrator documentation

2018-04-26 Thread Baolin Wang
From: Xiaotong Lu This patch adds the binding documentation for Spreadtrum SC27xx series vibrator device. Signed-off-by: Xiaotong Lu Signed-off-by: Baolin Wang --- Changes since v2: - No updates. Changes since v1: - No updates. --- .../bindings/input/sprd,sc27xx-vibra.txt | 12

Re: [PATCH] iommu/vt-d: fix shift-out-of-bounds in bug checking

2018-04-26 Thread Du, Changbin
Hello, any reviewer? Thanks! On Fri, Apr 20, 2018 at 01:29:55PM +0800, changbin...@intel.com wrote: > From: Changbin Du > > It allows to flush more than 4GB of device TLBs. So the mask should be > 64bit wide. UBSAN captured this fault as below. > > [3.760024] >

[PATCH v3 2/2] input: misc: Add Spreadtrum vibrator driver

2018-04-26 Thread Baolin Wang
From: Xiaotong Lu This patch adds the Spreadtrum vibrator driver, which embedded in the Spreadtrum SC27xx series PMICs. Signed-off-by: Xiaotong Lu Signed-off-by: Baolin Wang --- Changes since v2: - Fix the condition when disabling the vibrator. - Change of_property_read_u32() to device_prope

Re: [PATCH] gpio: fix aspeed_gpio unmask irq

2018-04-26 Thread Linus Walleij
On Fri, Apr 6, 2018 at 2:41 PM, Govert Overgaauw wrote: > The unmask function disables all interrupts in a bank when unmasking an > interrupt. Only disable the given interrupt. > > Signed-off-by: Govert Overgaauw Patch applied for fixes as obviously correct and also tagged for stable. Yours, L

Re: [PATCH v1] kthread/smpboot: Serialize kthread parking against wakeup

2018-04-26 Thread Peter Zijlstra
On Thu, Apr 26, 2018 at 09:34:36AM +0530, Kohli, Gaurav wrote: > On 4/26/2018 1:39 AM, Peter Zijlstra wrote: > > > On Wed, Apr 25, 2018 at 02:03:19PM +0530, Gaurav Kohli wrote: > > > diff --git a/kernel/smpboot.c b/kernel/smpboot.c > > > index 5043e74..c5c5184 100644 > > > --- a/kernel/smpboot.c >

Re: noveau vs arm dma ops

2018-04-26 Thread Daniel Vetter
On Thu, Apr 26, 2018 at 1:26 AM, Russell King - ARM Linux wrote: > On Wed, Apr 25, 2018 at 11:35:13PM +0200, Daniel Vetter wrote: >> On arm that doesn't work. The iommu api seems like a good fit, except >> the dma-api tends to get in the way a bit (drm/msm apparently has >> similar problems like t

Re: [Linaro-mm-sig] noveau vs arm dma ops

2018-04-26 Thread Daniel Vetter
On Thu, Apr 26, 2018 at 12:54 AM, Russell King - ARM Linux wrote: > On Wed, Apr 25, 2018 at 08:33:12AM -0700, Christoph Hellwig wrote: >> On Wed, Apr 25, 2018 at 12:04:29PM +0200, Daniel Vetter wrote: >> > - dma api hides the cache flushing requirements from us. GPUs love >> > non-snooped access

Re: [PATCH 10/11] soundwire: Respect all error codes from dev_pm_domain_attach()

2018-04-26 Thread Vinod Koul
On Thu, Apr 26, 2018 at 10:53:09AM +0200, Ulf Hansson wrote: > The limitation of being able to check only for -EPROBE_DEFER from > dev_pm_domain_attach() has been removed. Hence let's respect all error > codes and bail out accordingly. Acked-by: Vinod Koul -- ~Vinod

Re: [PATCH 4/8] ALSA: Avoid using timespec for struct snd_pcm_status

2018-04-26 Thread kbuild test robot
Hi Baolin, I love your patch! Perhaps something to improve: [auto build test WARNING on v4.17-rc2] [cannot apply to sound/for-next asoc/for-next arm-soc/for-next next-20180426] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [Linaro-mm-sig] noveau vs arm dma ops

2018-04-26 Thread Christoph Hellwig
On Thu, Apr 26, 2018 at 11:20:44AM +0200, Daniel Vetter wrote: > The above is already what we're implementing in i915, at least > conceptually (it all boils down to clflush instructions because those > both invalidate and flush). The clwb instruction that just writes back dirty cache lines might b

Re: [PATCH v3 08/12] KVM: arm/arm64: Check vcpu redist base before registering an iodev

2018-04-26 Thread Auger Eric
Hi Christoffer, On 04/24/2018 11:07 PM, Christoffer Dall wrote: > On Fri, Apr 13, 2018 at 10:20:54AM +0200, Eric Auger wrote: >> As we are going to register several redist regions, >> vgic_register_all_redist_iodevs() may be called several times. We need >> to register a redist_iodev for a given v

Re: [alsa-devel] [PATCH v2 0/4] ALSA: usb: UAC3 new features.

2018-04-26 Thread Ruslan Bilovol
On Tue, Apr 24, 2018 at 9:02 PM, Takashi Iwai wrote: > On Tue, 24 Apr 2018 19:24:41 +0200, > Jorge Sanjuan wrote: >> >> v2 fixes: >> - If/else statements braces style fixes. >> - Add wrapping function to mixer unit code. >> - Make connectors control kctl struct const. >> - Little endian to cpu

Re: [PATCH] sched/rt: Rework for_each_process_thread() iterations in tg_has_rt_tasks()

2018-04-26 Thread Kirill Tkhai
On 25.04.2018 20:55, Peter Zijlstra wrote: > On Thu, Apr 19, 2018 at 08:29:01PM +0300, Kirill Tkhai wrote: >> tg_rt_schedulable() iterates over all child task groups, >> while tg_has_rt_tasks() iterates over all linked tasks. >> In case of systems with big number of tasks, this may >> take a lot of

Re: [EXTERNAL] Re: [PATCH v2] wlcore: sdio: allow pm to handle sdio power

2018-04-26 Thread Kalle Valo
"Reizer, Eyal" writes: >> >> > pm_runtime handles sdio power on and power off transitions. >> > An old workaround for trying to control the power explicitly from the >> > driver was in fact causing failures on suspend/resume as the mmc layer >> > already power the module on resume. >> > >> > In

Re: [PATCH 1/4] tty: n_gsm: add some locking around gsm_mux[]

2018-04-26 Thread Dan Carpenter
Peter Z points out that this isn't sufficient... Let me try again. regards, dan carpenter

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-26 Thread Vinod Koul
On Wed, Apr 25, 2018 at 03:17:37PM -0600, Simon Glass wrote: > Hi Vinod, > > On 24 April 2018 at 20:51, Vinod Koul wrote: > > On Tue, Apr 24, 2018 at 03:11:11PM -0600, Simon Glass wrote: > >> This is used in some systems from user space for determining the identity > >> of the device. > >> > >> E

Re: Great Investment Offer

2018-04-26 Thread Gagum Melvin Sikze Kakha
Hello In my search for a business partner i got your contact in google search. My client is willing to invest $10 Million to $500 million but my client said he need a trusted partner who he can have a meeting at the point of releasing his funds. I told my client that you have a good profile w

Re: [PATCH v2 3/7] powerpc: use task_pid_nr() for TID allocation

2018-04-26 Thread Andrew Donnellan
On 25/04/18 07:12, Sukadev Bhattiprolu wrote: Yes. Like with PIDR, was trying to assign TIDR initially to all threads. But since only a subset of threads need/use TIDR, we can assign the value later (when set_thread_tidr() is called). So we should be able to use task_pid_nr() then. OK. Alastair

Re: [Linaro-mm-sig] noveau vs arm dma ops

2018-04-26 Thread Daniel Vetter
On Thu, Apr 26, 2018 at 11:24 AM, Christoph Hellwig wrote: > On Thu, Apr 26, 2018 at 11:20:44AM +0200, Daniel Vetter wrote: >> The above is already what we're implementing in i915, at least >> conceptually (it all boils down to clflush instructions because those >> both invalidate and flush). > >

Re: [PATCH 13/22] nds32: use generic dma_noncoherent_ops

2018-04-26 Thread Greentime Hu
2018-04-26 16:24 GMT+08:00 Christoph Hellwig : > On Thu, Apr 26, 2018 at 04:06:34PM +0800, Greentime Hu wrote: >> It works!!! > > Thanks! > > Can you retest the updated tree here with all the fixes and give me > your Tested-by: for the generic and nds32 patches? > > git://git.infradead.org/users/hc

Re: [PATCH] printk: Ratelimit messages printed by console drivers

2018-04-26 Thread Petr Mladek
On Wed 2018-04-25 14:31:46, Sergey Senozhatsky wrote: > On (04/23/18 14:45), Petr Mladek wrote: > [..] > > I am not sure how slow are the slowest consoles. If I take that > > everything should be faster than 1200 bauds. Then 10 minutes > > should be enough for 1000 lines and 80 characters per-line:

Re: [PATCH V8 1/5] crypto: Multi-buffer encryption infrastructure support

2018-04-26 Thread Herbert Xu
On Wed, Apr 25, 2018 at 01:14:26AM +, Dey, Megha wrote: > > Is there any existing implementation of async crypto algorithm that uses the > above approach? The ones I could find are either sync, have an outer and > inner algorithm or use cryptd. > > I tried removing the mcryptd layer and the

Re: noveau vs arm dma ops

2018-04-26 Thread Daniel Vetter
On Thu, Apr 26, 2018 at 11:09 AM, Christoph Hellwig wrote: > On Wed, Apr 25, 2018 at 11:35:13PM +0200, Daniel Vetter wrote: >> > get_required_mask() is supposed to tell you if you are safe. However >> > we are missing lots of implementations of it for iommus so you might get >> > some false negat

Re: [PATCH] iommu/iova: Update cached node pointer when current node fails to get any free IOVA

2018-04-26 Thread Ganapatrao Kulkarni
Hi Robin, On Mon, Apr 23, 2018 at 11:11 PM, Ganapatrao Kulkarni wrote: > On Mon, Apr 23, 2018 at 10:07 PM, Robin Murphy wrote: >> On 19/04/18 18:12, Ganapatrao Kulkarni wrote: >>> >>> The performance drop is observed with long hours iperf testing using 40G >>> cards. This is mainly due to long i

Re: [PATCH v1 6/7] Bluetooth: hci_mediatek: Add protocol support for MediaTek serial devices

2018-04-26 Thread Marcel Holtmann
Hi Sean, >>> This adds a driver for the MediaTek serial protocol based on H4 protocol, >>> which can enable the built-in Bluetooth device inside MT7622 SoC. >>> >>> Signed-off-by: Sean Wang >>> --- >>> drivers/bluetooth/Kconfig| 12 + >>> drivers/bluetooth/Makefile | 1 + >>> driv

[PATCH v6 10/24] ASoC: qdsp6: qdafe: Add SLIMBus port Support

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 6 SLIMBus AFE ports, which are used as backend dais. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 129 +++ sound/soc/qcom/qdsp6/q6afe.h |

[PATCH v6 03/24] ASoC: qdsp6: dt-bindings: Add q6core dt bindings

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add DT bindings for Q6CORE DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,q6core.txt | 21 + 1 file changed, 21 insertions(+) create mode 100644 Documenta

[PATCH v6 02/24] soc: qcom: Add APR bus driver

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed more dynamically depending on the state of the services on the dsp. APR is used for communication between application pro

[PATCH v6 00/24] ASoC: qcom: Add support to QDSP based Audio

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla Thankyou everyone for providing feedback and testing v5 patchset. This patchset aims to provide a basic version of QCOM DSP based audio support which is available in downstream andriod kernels. This patchset support audio playback on HDMI-RX, MI2S, SLIMBus and will add s

[PATCH v6 09/24] ASoC: qdsp6: q6afe: Add q6afe driver

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to Q6AFE (Audio Front End) module on Q6DSP. AFE module sits right at the other end of cpu where the codec/audio devices are connected. AFE provides abstraced interfaces to both hardware and virtual devices. Each AFE tx/rx port can be configured

[PATCH v6 11/24] ASoC: qdsp6: q6afe: Add support to MI2S ports

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 4 MI2S ports on LPASS. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 228 +++ sound/soc/qcom/qdsp6/q6afe.h | 13 +++ 2 files changed, 241 i

[PATCH v6 21/24] ASoC: qdsp6: q6asm: Add q6asm dai driver

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/

[PATCH v6 24/24] MAINTAINERS: Add myself as co-maintainer of qcom audio

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as co-maintainer of qcom audio drivers Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index dd66ae9a847e..8a67b0c61bad 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11531,6 +

[PATCH v6 20/24] ASoC: qdsp6: q6afe: Add q6afe dai driver

2018-04-26 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/qdsp6/q6afe-dai.c | 752 +++

<    4   5   6   7   8   9   10   11   12   13   >