[PATCH] MAINTAINERS: edac: drop bouncing email

2018-11-20 Thread Alexandre Belloni
jetztechnologies.com doesn't exist anymore and emails to Ranganathan are bouncing. Signed-off-by: Alexandre Belloni --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a5b256b25905..424ae080b38a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5292,7

[PATCH] MAINTAINERS: edac: drop bouncing email

2018-11-20 Thread Alexandre Belloni
jetztechnologies.com doesn't exist anymore and emails to Ranganathan are bouncing. Signed-off-by: Alexandre Belloni --- MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index a5b256b25905..424ae080b38a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5292,7

Re: [PATCH for-4.20-fixes] cgroup: fix CSS_TASK_ITER_PROCS

2018-11-20 Thread Tejun Heo
On Thu, Nov 08, 2018 at 12:15:15PM -0800, Tejun Heo wrote: > CSS_TASK_ITER_PROCS implements process-only iteration by making > css_task_iter_advance() skip tasks which aren't threadgroup leaders; > however, when an iteration is started css_task_iter_start() calls the > inner helper function

Re: [PATCH for-4.20-fixes] cgroup: fix CSS_TASK_ITER_PROCS

2018-11-20 Thread Tejun Heo
On Thu, Nov 08, 2018 at 12:15:15PM -0800, Tejun Heo wrote: > CSS_TASK_ITER_PROCS implements process-only iteration by making > css_task_iter_advance() skip tasks which aren't threadgroup leaders; > however, when an iteration is started css_task_iter_start() calls the > inner helper function

Re: [PATCH 5/7] regulator: core: add enable_count for consumers to debug fs

2018-11-20 Thread Mark Brown
On Mon, Nov 19, 2018 at 04:26:52PM -0800, Douglas Anderson wrote: > Now that consumers all keep track of their own enable count, let's add > it into the regulator_summary. This patch series contains a bunch of random stuff that's not particularly related to each other or even dependent on each

Re: [PATCH 5/7] regulator: core: add enable_count for consumers to debug fs

2018-11-20 Thread Mark Brown
On Mon, Nov 19, 2018 at 04:26:52PM -0800, Douglas Anderson wrote: > Now that consumers all keep track of their own enable count, let's add > it into the regulator_summary. This patch series contains a bunch of random stuff that's not particularly related to each other or even dependent on each

Re: [PATCH v2] cpuidle: big.LITTLE: add of_node_put()

2018-11-20 Thread Frank Lee
On Wed, Nov 21, 2018 at 12:06 AM Rafael J. Wysocki wrote: > > On Tue, Nov 20, 2018 at 4:46 PM Yangtao Li wrote: > > > > The of_node_put() is missing.So we call the of_node_put() to release > > the refcount. > > I would say "of_find_node_by_path() acquires a reference to the node > returned by it

Re: [PATCH v2] cpuidle: big.LITTLE: add of_node_put()

2018-11-20 Thread Frank Lee
On Wed, Nov 21, 2018 at 12:06 AM Rafael J. Wysocki wrote: > > On Tue, Nov 20, 2018 at 4:46 PM Yangtao Li wrote: > > > > The of_node_put() is missing.So we call the of_node_put() to release > > the refcount. > > I would say "of_find_node_by_path() acquires a reference to the node > returned by it

Re: [PATCH v2] cpuidle: big.LITTLE: add of_node_put()

2018-11-20 Thread Rafael J. Wysocki
On Tue, Nov 20, 2018 at 4:46 PM Yangtao Li wrote: > > The of_node_put() is missing.So we call the of_node_put() to release > the refcount. I would say "of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. bl_idle_init()

Re: [PATCH v2] cpuidle: big.LITTLE: add of_node_put()

2018-11-20 Thread Rafael J. Wysocki
On Tue, Nov 20, 2018 at 4:46 PM Yangtao Li wrote: > > The of_node_put() is missing.So we call the of_node_put() to release > the refcount. I would say "of_find_node_by_path() acquires a reference to the node returned by it and that reference needs to be dropped by its caller. bl_idle_init()

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Doug Anderson
Hi, On Tue, Nov 20, 2018 at 7:55 AM Mark Brown wrote: > > On Mon, Nov 19, 2018 at 04:26:54PM -0800, Douglas Anderson wrote: > > In regulator_force_disable() there was a strange loop that looked like: > > > > while (rdev->open_count--) > > regulator_disable(rdev->supply); > > > > I'm not

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Doug Anderson
Hi, On Tue, Nov 20, 2018 at 7:55 AM Mark Brown wrote: > > On Mon, Nov 19, 2018 at 04:26:54PM -0800, Douglas Anderson wrote: > > In regulator_force_disable() there was a strange loop that looked like: > > > > while (rdev->open_count--) > > regulator_disable(rdev->supply); > > > > I'm not

Re: [PATCH v9 05/17] tpm: declare struct tpm_header

2018-11-20 Thread Jason Gunthorpe
On Tue, Nov 20, 2018 at 03:08:05PM +0200, Jarkko Sakkinen wrote: > On Mon, Nov 19, 2018 at 09:33:31PM +, Winkler, Tomas wrote: > > > > > > > > Decleare struct tpm_header that replaces struct tpm_input_header and > > Typo > > Thanks, will fix for the next version. > > > > struct

Re: [PATCH v9 05/17] tpm: declare struct tpm_header

2018-11-20 Thread Jason Gunthorpe
On Tue, Nov 20, 2018 at 03:08:05PM +0200, Jarkko Sakkinen wrote: > On Mon, Nov 19, 2018 at 09:33:31PM +, Winkler, Tomas wrote: > > > > > > > > Decleare struct tpm_header that replaces struct tpm_input_header and > > Typo > > Thanks, will fix for the next version. > > > > struct

[PATCH v1 04/15] platform/x86: i2c-mutli-instantiate: Defer probe when no adapter found

2018-11-20 Thread Andy Shevchenko
Likewise the rest of the i2c_acpi_new_device() users, defer the probe of the i2c-multi-intantiate driver in case adapter is not yet found. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1 04/15] platform/x86: i2c-mutli-instantiate: Defer probe when no adapter found

2018-11-20 Thread Andy Shevchenko
Likewise the rest of the i2c_acpi_new_device() users, defer the probe of the i2c-multi-intantiate driver in case adapter is not yet found. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v1 00/15] i2c-multi-instantiate: Adapt for INT3515 and alike

2018-11-20 Thread Andy Shevchenko
Currently i2c-multi-instantiate driver does not support the case of INT3515 USB PD device, where: - Interrupt() is used instead of GpioInt() - All slaves may be the same from IP point of view - There can be variadic amount of slaves This series is addressing all above. Notes: - series has been

[PATCH v1 00/15] i2c-multi-instantiate: Adapt for INT3515 and alike

2018-11-20 Thread Andy Shevchenko
Currently i2c-multi-instantiate driver does not support the case of INT3515 USB PD device, where: - Interrupt() is used instead of GpioInt() - All slaves may be the same from IP point of view - There can be variadic amount of slaves This series is addressing all above. Notes: - series has been

[PATCH v1 02/15] platform/x86: intel_cht_int33fe: Accept errors of i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
In the future i2c_acpi_new_device() will return error pointer in some cases. Prepare i2c-multi-instantiate driver to support that. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/intel_cht_int33fe.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff

[PATCH v1 02/15] platform/x86: intel_cht_int33fe: Accept errors of i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
In the future i2c_acpi_new_device() will return error pointer in some cases. Prepare i2c-multi-instantiate driver to support that. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/intel_cht_int33fe.c | 28 +++- 1 file changed, 23 insertions(+), 5 deletions(-) diff

[PATCH v1 11/15] platform/x86: i2c-multi-instantiate: Introduce IOAPIC IRQ support

2018-11-20 Thread Andy Shevchenko
If ACPI table provides an Interrupt() resource we may consider to use it instead of GpioInt() one. Here we leave an error condition, when getting IRQ resource, to the driver to decide how to proceed, because some drivers may consider IRQ resource optional. Signed-off-by: Andy Shevchenko ---

[PATCH v1 11/15] platform/x86: i2c-multi-instantiate: Introduce IOAPIC IRQ support

2018-11-20 Thread Andy Shevchenko
If ACPI table provides an Interrupt() resource we may consider to use it instead of GpioInt() one. Here we leave an error condition, when getting IRQ resource, to the driver to decide how to proceed, because some drivers may consider IRQ resource optional. Signed-off-by: Andy Shevchenko ---

[PATCH v1 13/15] ACPI / scan: Create platform device for INT3515 ACPI nodes

2018-11-20 Thread Andy Shevchenko
The ACPI device with INT3515 _HID is representing a complex USB PD hardware infrastructure which includes several I2C slave ICs. We add an ID to the I2C multi instantiate list to enumerate all I2C slaves correctly. Signed-off-by: Andy Shevchenko --- drivers/acpi/scan.c

[PATCH v1 07/15] i2c: acpi: Use ACPI_FAILURE instead of !ACPI_SUCCESS

2018-11-20 Thread Andy Shevchenko
Convert to use ACPI_FAILURE instead of !ACPI_SUCCESS. Signed-off-by: Andy Shevchenko --- drivers/i2c/i2c-core-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core-acpi.c b/drivers/i2c/i2c-core-acpi.c index 478862abb82a..99553b1469b4 100644 ---

[PATCH v1 08/15] i2c: acpi: Introduce i2c_acpi_get_i2c_resource() helper

2018-11-20 Thread Andy Shevchenko
Besides current two users one more is coming. Definitely makes sense to introduce a helper. No functional change intended. Signed-off-by: Andy Shevchenko --- drivers/i2c/i2c-core-acpi.c | 31 +++ include/linux/acpi.h| 11 +++ 2 files changed, 30

[PATCH v1 07/15] i2c: acpi: Use ACPI_FAILURE instead of !ACPI_SUCCESS

2018-11-20 Thread Andy Shevchenko
Convert to use ACPI_FAILURE instead of !ACPI_SUCCESS. Signed-off-by: Andy Shevchenko --- drivers/i2c/i2c-core-acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c-core-acpi.c b/drivers/i2c/i2c-core-acpi.c index 478862abb82a..99553b1469b4 100644 ---

[PATCH v1 08/15] i2c: acpi: Introduce i2c_acpi_get_i2c_resource() helper

2018-11-20 Thread Andy Shevchenko
Besides current two users one more is coming. Definitely makes sense to introduce a helper. No functional change intended. Signed-off-by: Andy Shevchenko --- drivers/i2c/i2c-core-acpi.c | 31 +++ include/linux/acpi.h| 11 +++ 2 files changed, 30

[PATCH v1 13/15] ACPI / scan: Create platform device for INT3515 ACPI nodes

2018-11-20 Thread Andy Shevchenko
The ACPI device with INT3515 _HID is representing a complex USB PD hardware infrastructure which includes several I2C slave ICs. We add an ID to the I2C multi instantiate list to enumerate all I2C slaves correctly. Signed-off-by: Andy Shevchenko --- drivers/acpi/scan.c

[PATCH v1 14/15] ACPI / scan: Create platform device for BOSC0200 ACPI nodes

2018-11-20 Thread Andy Shevchenko
On some laptops the ACPI device with BOSC0200 _HID is representing two accelerometers under one node. We add an ID to the I2C multi instantiate list to enumerate all I2C slaves correctly. For reference here is the relevant DSDT blurb from the Yoga 11e: Device (ACC) { Name (_ADR, Zero)

[PATCH v1 14/15] ACPI / scan: Create platform device for BOSC0200 ACPI nodes

2018-11-20 Thread Andy Shevchenko
On some laptops the ACPI device with BOSC0200 _HID is representing two accelerometers under one node. We add an ID to the I2C multi instantiate list to enumerate all I2C slaves correctly. For reference here is the relevant DSDT blurb from the Yoga 11e: Device (ACC) { Name (_ADR, Zero)

[PATCH v1 09/15] platform/x86: i2c-multi-instantiate: Count I2cSerialBus() resources

2018-11-20 Thread Andy Shevchenko
Instead of relying on hard coded and thus expected number of I2C clients, count the real amount provided by firmware. This allows to support non-fixed amount of the slaves. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 34 ++-- 1 file

[PATCH v1 09/15] platform/x86: i2c-multi-instantiate: Count I2cSerialBus() resources

2018-11-20 Thread Andy Shevchenko
Instead of relying on hard coded and thus expected number of I2C clients, count the real amount provided by firmware. This allows to support non-fixed amount of the slaves. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 34 ++-- 1 file

Re: [PATCH 2/7] regulator: core: Don't assume always_on when is_enabled returns err

2018-11-20 Thread Mark Brown
On Mon, Nov 19, 2018 at 04:26:49PM -0800, Douglas Anderson wrote: > At boot sometimes regulators (like qcom-rpmh-regulator) will return > -EINVAL if we don't know the enable state of the regulator. We > shouldn't take this to mean that the regulator is an always-on > regulator, but that was what

Re: [PATCH 2/7] regulator: core: Don't assume always_on when is_enabled returns err

2018-11-20 Thread Mark Brown
On Mon, Nov 19, 2018 at 04:26:49PM -0800, Douglas Anderson wrote: > At boot sometimes regulators (like qcom-rpmh-regulator) will return > -EINVAL if we don't know the enable state of the regulator. We > shouldn't take this to mean that the regulator is an always-on > regulator, but that was what

[PATCH v1 06/15] i2c: acpi: Assign fwnode for devices created via i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
i2c_acpi_new_device() doesn't assign fwnode like it's done, for example, in i2c_acpi_register_devices() path. Assign fwnode in i2c_acpi_new_device() as it's done elsewhere. Signed-off-by: Andy Shevchenko --- drivers/i2c/i2c-core-acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v1 12/15] platform/x86: i2c-multi-instantiate: Allow to have same slaves

2018-11-20 Thread Andy Shevchenko
Currently the driver will not enumerate the devices where I2C slaves are of the same type. Add an instance number to make them unique. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v1 06/15] i2c: acpi: Assign fwnode for devices created via i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
i2c_acpi_new_device() doesn't assign fwnode like it's done, for example, in i2c_acpi_register_devices() path. Assign fwnode in i2c_acpi_new_device() as it's done elsewhere. Signed-off-by: Andy Shevchenko --- drivers/i2c/i2c-core-acpi.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v1 12/15] platform/x86: i2c-multi-instantiate: Allow to have same slaves

2018-11-20 Thread Andy Shevchenko
Currently the driver will not enumerate the devices where I2C slaves are of the same type. Add an instance number to make them unique. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v1 15/15] iio: inv_mpu6050: Use i2c_acpi_get_i2c_resource() helper

2018-11-20 Thread Andy Shevchenko
ACPI provides a generic helper to get I2C Serial Bus resources. Use it instead of open coded variant. Signed-off-by: Andy Shevchenko --- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH v1 15/15] iio: inv_mpu6050: Use i2c_acpi_get_i2c_resource() helper

2018-11-20 Thread Andy Shevchenko
ACPI provides a generic helper to get I2C Serial Bus resources. Use it instead of open coded variant. Signed-off-by: Andy Shevchenko --- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c | 16 ++-- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git

[PATCH v1 01/15] platform/x86: intel_cht_int33fe: Remove duplicate NULL check

2018-11-20 Thread Andy Shevchenko
Since i2c_unregister_device() became NULL-aware we may remove duplicate NULL check. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/intel_cht_int33fe.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/platform/x86/intel_cht_int33fe.c

[PATCH v1 01/15] platform/x86: intel_cht_int33fe: Remove duplicate NULL check

2018-11-20 Thread Andy Shevchenko
Since i2c_unregister_device() became NULL-aware we may remove duplicate NULL check. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/intel_cht_int33fe.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/platform/x86/intel_cht_int33fe.c

[PATCH v1 05/15] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
The caller would like to know the reason why the i2c_acpi_new_device() fails. For example, if adapter is not available, it might be in the future and we would like to re-probe the clients again. But at the same time we would like to bail out if the error seems unrecoverable, such as out of memory

[PATCH v1 05/15] i2c: acpi: Return error pointers from i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
The caller would like to know the reason why the i2c_acpi_new_device() fails. For example, if adapter is not available, it might be in the future and we would like to re-probe the clients again. But at the same time we would like to bail out if the error seems unrecoverable, such as out of memory

[PATCH v1 10/15] platform/x86: i2c-multi-instantiate: Distinguish IRQ resource type

2018-11-20 Thread Andy Shevchenko
As a preparatory patch switch the driver to distinguish IRQ resource type. For now, only GpioInt() is supported. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 27 +--- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git

[PATCH v1 10/15] platform/x86: i2c-multi-instantiate: Distinguish IRQ resource type

2018-11-20 Thread Andy Shevchenko
As a preparatory patch switch the driver to distinguish IRQ resource type. For now, only GpioInt() is supported. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 27 +--- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git

[PATCH v1 03/15] platform/x86: i2c-multi-instantiate: Accept errors of i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
In the future i2c_acpi_new_device() will return error pointer in some cases. Prepare i2c-multi-instantiate driver to support that. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH v1 03/15] platform/x86: i2c-multi-instantiate: Accept errors of i2c_acpi_new_device()

2018-11-20 Thread Andy Shevchenko
In the future i2c_acpi_new_device() will return error pointer in some cases. Prepare i2c-multi-instantiate driver to support that. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/i2c-multi-instantiate.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Marek Szyprowski
Hi Charles, On 2018-11-20 16:36, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:32:15PM +, Charles Keepax wrote: >> On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: >>> On 2018-11-20 15:47, Charles Keepax wrote: On Tue, Nov 20, 2018 at 02:43:32PM +0100, Marek

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Marek Szyprowski
Hi Charles, On 2018-11-20 16:36, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:32:15PM +, Charles Keepax wrote: >> On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: >>> On 2018-11-20 15:47, Charles Keepax wrote: On Tue, Nov 20, 2018 at 02:43:32PM +0100, Marek

Re: [PATCH] perf tools: Restore proper cwd on return from mnt ns

2018-11-20 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 20, 2018 at 11:56:18AM +0100, Jiri Olsa escreveu: > On Mon, Nov 19, 2018 at 08:10:06AM -0800, Arnaldo Carvalho de Melo wrote: > > Em Thu, Nov 01, 2018 at 06:00:01PM +0100, Jiri Olsa escreveu: > > > Adding the current working directory to be part of the cookie > > > and restoring it in

Re: [PATCH] perf tools: Restore proper cwd on return from mnt ns

2018-11-20 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 20, 2018 at 11:56:18AM +0100, Jiri Olsa escreveu: > On Mon, Nov 19, 2018 at 08:10:06AM -0800, Arnaldo Carvalho de Melo wrote: > > Em Thu, Nov 01, 2018 at 06:00:01PM +0100, Jiri Olsa escreveu: > > > Adding the current working directory to be part of the cookie > > > and restoring it in

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Mark Brown
On Mon, Nov 19, 2018 at 04:26:54PM -0800, Douglas Anderson wrote: > In regulator_force_disable() there was a strange loop that looked like: > > while (rdev->open_count--) > regulator_disable(rdev->supply); > > I'm not totally sure what the goal was for this loop, but it seems > wrong to

Re: [PATCH 7/7] regulator: core: Remove loop disabling supplies in regulator_force_disable()

2018-11-20 Thread Mark Brown
On Mon, Nov 19, 2018 at 04:26:54PM -0800, Douglas Anderson wrote: > In regulator_force_disable() there was a strange loop that looked like: > > while (rdev->open_count--) > regulator_disable(rdev->supply); > > I'm not totally sure what the goal was for this loop, but it seems > wrong to

Re: [PATCH v9 02/15] sched/cpufreq: Prepare schedutil for Energy Aware Scheduling

2018-11-20 Thread Quentin Perret
On Tuesday 20 Nov 2018 at 16:25:14 (+0100), Peter Zijlstra wrote: > On Tue, Nov 20, 2018 at 10:16:02AM +0530, Viresh Kumar wrote: > > On 19-11-18, 14:18, Quentin Perret wrote: > > > @@ -223,20 +222,33 @@ static unsigned long sugov_get_util(struct > > > sugov_cpu *sg_cpu) > > > > > - if ((util +

Re: [PATCH v9 02/15] sched/cpufreq: Prepare schedutil for Energy Aware Scheduling

2018-11-20 Thread Quentin Perret
On Tuesday 20 Nov 2018 at 16:25:14 (+0100), Peter Zijlstra wrote: > On Tue, Nov 20, 2018 at 10:16:02AM +0530, Viresh Kumar wrote: > > On 19-11-18, 14:18, Quentin Perret wrote: > > > @@ -223,20 +222,33 @@ static unsigned long sugov_get_util(struct > > > sugov_cpu *sg_cpu) > > > > > - if ((util +

[PATCH v2] cpuidle: big.LITTLE: add of_node_put()

2018-11-20 Thread Yangtao Li
The of_node_put() is missing.So we call the of_node_put() to release the refcount. Signed-off-by: Yangtao Li --- Changes in v2 -update changelog -do that right after its last use to also cover error handling. --- drivers/cpuidle/cpuidle-big_little.c | 6 +- 1 file changed, 5

[PATCH v2] cpuidle: big.LITTLE: add of_node_put()

2018-11-20 Thread Yangtao Li
The of_node_put() is missing.So we call the of_node_put() to release the refcount. Signed-off-by: Yangtao Li --- Changes in v2 -update changelog -do that right after its last use to also cover error handling. --- drivers/cpuidle/cpuidle-big_little.c | 6 +- 1 file changed, 5

Re: [PATCH] debugobjects: scale the static pool size

2018-11-20 Thread Waiman Long
On 11/20/2018 10:12 AM, Qian Cai wrote: > >> On Nov 20, 2018, at 8:50 AM, Waiman Long wrote: >> >> On 11/20/2018 01:42 AM, Qian Cai wrote: >>> The current value of the early boot static pool size is not big enough >>> for systems with large number of CPUs with timer or/and workqueue >>> objects

Re: [PATCH] debugobjects: scale the static pool size

2018-11-20 Thread Waiman Long
On 11/20/2018 10:12 AM, Qian Cai wrote: > >> On Nov 20, 2018, at 8:50 AM, Waiman Long wrote: >> >> On 11/20/2018 01:42 AM, Qian Cai wrote: >>> The current value of the early boot static pool size is not big enough >>> for systems with large number of CPUs with timer or/and workqueue >>> objects

[PATCH v2 2/2] dt-bindings: iio: adc: Add docs for AD7606 ADC

2018-11-20 Thread Stefan Popa
Document support for AD7606 Analog to Digital Converter. Signed-off-by: Stefan Popa --- Changes in v2: - fixed indentation issues. - used gpios instead of gpio. - added vendor prefix for conversion-start-gpios, first-data-gpios, and range-gpios.

[PATCH v2 2/2] dt-bindings: iio: adc: Add docs for AD7606 ADC

2018-11-20 Thread Stefan Popa
Document support for AD7606 Analog to Digital Converter. Signed-off-by: Stefan Popa --- Changes in v2: - fixed indentation issues. - used gpios instead of gpio. - added vendor prefix for conversion-start-gpios, first-data-gpios, and range-gpios.

Re: [PATCH cgroup/for-4.21 1/2] cpuset: Minor cgroup2 interface updates

2018-11-20 Thread Tejun Heo
Hello, Peter. On Tue, Nov 20, 2018 at 01:46:24PM +0100, Peter Zijlstra wrote: > Why though? The Changelog doesn't give rationale for the actual changes. Ah yeah, sorry about that. > And I'm not sure I agree with either one of them. > > The partition is a scheduling feature; So is everything

[PATCH v2 1/2] staging: iio: ad7606: Move out of staging

2018-11-20 Thread Stefan Popa
Move ad7606 ADC driver out of staging and into the mainline. Signed-off-by: Stefan Popa --- Changes in v2: - Simplified the Kconfig menu. - Added SPDX-License-Identifier. - Ordered the includes alphabetically. - Used a threaded interrupt. - Replaced

Re: [PATCH cgroup/for-4.21 1/2] cpuset: Minor cgroup2 interface updates

2018-11-20 Thread Tejun Heo
Hello, Peter. On Tue, Nov 20, 2018 at 01:46:24PM +0100, Peter Zijlstra wrote: > Why though? The Changelog doesn't give rationale for the actual changes. Ah yeah, sorry about that. > And I'm not sure I agree with either one of them. > > The partition is a scheduling feature; So is everything

[PATCH v2 1/2] staging: iio: ad7606: Move out of staging

2018-11-20 Thread Stefan Popa
Move ad7606 ADC driver out of staging and into the mainline. Signed-off-by: Stefan Popa --- Changes in v2: - Simplified the Kconfig menu. - Added SPDX-License-Identifier. - Ordered the includes alphabetically. - Used a threaded interrupt. - Replaced

Re: [PATCH] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-20 Thread Tudor.Ambarus
On 11/20/2018 05:35 PM, kbuild test robot wrote: > Hi Cyrille, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on mtd/spi-nor/next] > [also build test ERROR on v4.20-rc3 next-20181120] > [if your patch is applied to the wrong git tree,

Re: [PATCH] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-20 Thread Tudor.Ambarus
On 11/20/2018 05:35 PM, kbuild test robot wrote: > Hi Cyrille, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on mtd/spi-nor/next] > [also build test ERROR on v4.20-rc3 next-20181120] > [if your patch is applied to the wrong git tree,

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 03:32:15PM +, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: > > No board file, everything in DT. > This is really weird, because the error in your log relates to > DBVDD1 which is an independent regulator supplied by a

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Mark Brown
On Tue, Nov 20, 2018 at 03:32:15PM +, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: > > No board file, everything in DT. > This is really weird, because the error in your log relates to > DBVDD1 which is an independent regulator supplied by a

Re: [PATCH v2] PCI: dwc: Adjust Kconfig to allow IMX6 PCIe host on IMX7

2018-11-20 Thread Lorenzo Pieralisi
On Fri, Nov 16, 2018 at 12:08:33AM +, Trent Piepho wrote: > The IMX6 PCI-e host drier also supports the IMX7d. However, the > Kconfig dependencies of the driver prevented it from being enabled > unless the kernel was built with both IMX6 and IMX7 support. It works > fine to build with only

Re: [PATCH v2] PCI: dwc: Adjust Kconfig to allow IMX6 PCIe host on IMX7

2018-11-20 Thread Lorenzo Pieralisi
On Fri, Nov 16, 2018 at 12:08:33AM +, Trent Piepho wrote: > The IMX6 PCI-e host drier also supports the IMX7d. However, the > Kconfig dependencies of the driver prevented it from being enabled > unless the kernel was built with both IMX6 and IMX7 support. It works > fine to build with only

Re: [PATCH] thermal: tegra: add get_trend ops

2018-11-20 Thread Thierry Reding
On Tue, Nov 20, 2018 at 05:11:17PM +0800, Wei Ni wrote: > Add support for get_trend ops that allows soctherm > sensors to be used with the step-wise governor. > > Signed-off-by: Wei Ni > --- > drivers/thermal/tegra/soctherm.c | 34 ++ > 1 file changed, 34

Re: [PATCH] thermal: tegra: add get_trend ops

2018-11-20 Thread Thierry Reding
On Tue, Nov 20, 2018 at 05:11:17PM +0800, Wei Ni wrote: > Add support for get_trend ops that allows soctherm > sensors to be used with the step-wise governor. > > Signed-off-by: Wei Ni > --- > drivers/thermal/tegra/soctherm.c | 34 ++ > 1 file changed, 34

Re: [PATCH] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-20 Thread kbuild test robot
Hi Cyrille, Thank you for the patch! Yet something to improve: [auto build test ERROR on mtd/spi-nor/next] [also build test ERROR on v4.20-rc3 next-20181120] [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] mtd: spi-nor: parse SFDP 4-byte Address Instruction Table

2018-11-20 Thread kbuild test robot
Hi Cyrille, Thank you for the patch! Yet something to improve: [auto build test ERROR on mtd/spi-nor/next] [also build test ERROR on v4.20-rc3 next-20181120] [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: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Charles Keepax
On Tue, Nov 20, 2018 at 03:32:15PM +, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: > > On 2018-11-20 15:47, Charles Keepax wrote: > > > On Tue, Nov 20, 2018 at 02:43:32PM +0100, Marek Szyprowski wrote: > > >> On 2018-05-17 18:41, Mark Brown wrote: >

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Charles Keepax
On Tue, Nov 20, 2018 at 03:32:15PM +, Charles Keepax wrote: > On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: > > On 2018-11-20 15:47, Charles Keepax wrote: > > > On Tue, Nov 20, 2018 at 02:43:32PM +0100, Marek Szyprowski wrote: > > >> On 2018-05-17 18:41, Mark Brown wrote: >

NULL pointer dereference in smb2_queryfs with v4.19.2

2018-11-20 Thread Stijn Tintel
Hi, My machine just rebooted after the connection to the Samba server hosting a CIFS mount was lost. Kernel version 4.19.2. The oops was recorded in pstore: <3>[533816.847894] CIFS VFS: Server store has not responded in 120 seconds. Reconnecting... <1>[533925.390079] BUG: unable to handle kernel

NULL pointer dereference in smb2_queryfs with v4.19.2

2018-11-20 Thread Stijn Tintel
Hi, My machine just rebooted after the connection to the Samba server hosting a CIFS mount was lost. Kernel version 4.19.2. The oops was recorded in pstore: <3>[533816.847894] CIFS VFS: Server store has not responded in 120 seconds. Reconnecting... <1>[533925.390079] BUG: unable to handle kernel

Re: [PATCH 3/7] doc/vm: New documentation for memory performance

2018-11-20 Thread Keith Busch
On Tue, Nov 20, 2018 at 02:51:50PM +0100, Mike Rapoport wrote: > On Wed, Nov 14, 2018 at 03:49:16PM -0700, Keith Busch wrote: > > Platforms may provide system memory where some physical address ranges > > perform differently than others. These heterogeneous memory attributes are > > common to the

Re: [PATCH 3/7] doc/vm: New documentation for memory performance

2018-11-20 Thread Keith Busch
On Tue, Nov 20, 2018 at 02:51:50PM +0100, Mike Rapoport wrote: > On Wed, Nov 14, 2018 at 03:49:16PM -0700, Keith Busch wrote: > > Platforms may provide system memory where some physical address ranges > > perform differently than others. These heterogeneous memory attributes are > > common to the

Re: [RFC PATCH 2/3] mm, memory_hotplug: deobfuscate migration part of offlining

2018-11-20 Thread osalvador
> Signed-off-by: Michal Hocko [...] > + do { > + for (pfn = start_pfn; pfn;) > + { > + /* start memory hot removal */ Should we change thAT comment? I mean, this is not really the hot- removal stage. Maybe "start memory migration" suits better?

Re: [RFC PATCH 2/3] mm, memory_hotplug: deobfuscate migration part of offlining

2018-11-20 Thread osalvador
> Signed-off-by: Michal Hocko [...] > + do { > + for (pfn = start_pfn; pfn;) > + { > + /* start memory hot removal */ Should we change thAT comment? I mean, this is not really the hot- removal stage. Maybe "start memory migration" suits better?

[PATCH v6 2/7] dmaengine: xilinx_dma: in axidma slave_sg and dma_cyclic mode align split descriptors

2018-11-20 Thread Andrea Merello
Whenever a single or cyclic transaction is prepared, the driver could eventually split it over several SG descriptors in order to deal with the HW maximum transfer length. This could end up in DMA operations starting from a misaligned address. This seems fatal for the HW if DRE (Data Realignment

[PATCH v6 2/7] dmaengine: xilinx_dma: in axidma slave_sg and dma_cyclic mode align split descriptors

2018-11-20 Thread Andrea Merello
Whenever a single or cyclic transaction is prepared, the driver could eventually split it over several SG descriptors in order to deal with the HW maximum transfer length. This could end up in DMA operations starting from a misaligned address. This seems fatal for the HW if DRE (Data Realignment

[PATCH] edac: i82975x: fix spelling mistake "reserverd" -> "reserved"

2018-11-20 Thread Alexandre Belloni
Fix a spelling mistake in a register layout description. Signed-off-by: Alexandre Belloni --- drivers/edac/i82975x_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/i82975x_edac.c b/drivers/edac/i82975x_edac.c index 892815eaa97b..40249e9c9d26 100644 ---

[PATCH] edac: i82975x: fix spelling mistake "reserverd" -> "reserved"

2018-11-20 Thread Alexandre Belloni
Fix a spelling mistake in a register layout description. Signed-off-by: Alexandre Belloni --- drivers/edac/i82975x_edac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/edac/i82975x_edac.c b/drivers/edac/i82975x_edac.c index 892815eaa97b..40249e9c9d26 100644 ---

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Charles Keepax
On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: > Hi Charles, > > On 2018-11-20 15:47, Charles Keepax wrote: > > On Tue, Nov 20, 2018 at 02:43:32PM +0100, Marek Szyprowski wrote: > >> On 2018-05-17 18:41, Mark Brown wrote: > >>> Subject: [PATCH] regulator: wm8994: Pass

Re: Applied "regulator: wm8994: Pass descriptor instead of GPIO number" to the regulator tree

2018-11-20 Thread Charles Keepax
On Tue, Nov 20, 2018 at 03:58:59PM +0100, Marek Szyprowski wrote: > Hi Charles, > > On 2018-11-20 15:47, Charles Keepax wrote: > > On Tue, Nov 20, 2018 at 02:43:32PM +0100, Marek Szyprowski wrote: > >> On 2018-05-17 18:41, Mark Brown wrote: > >>> Subject: [PATCH] regulator: wm8994: Pass

[PATCH v6 1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation

2018-11-20 Thread Andrea Merello
This patch removes a bit of duplicated code by introducing a new function that implements calculations for DMA copy size, and prepares for changes to the copy size calculation that will happen in following patches. Suggested-by: Vinod Koul Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam

[PATCH v6 6/7] dt-bindings: dmaengine: xilinx_dma: drop include-sg property

2018-11-20 Thread Andrea Merello
This property is not needed anymore, because the driver now autodetects it. Delete references in documentation. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: Radhey Shyam Pandey Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam Pandey Reviewed-by: Rob Herring ---

[PATCH v6 4/7] dmaengine: xilinx_dma: program hardware supported buffer length

2018-11-20 Thread Andrea Merello
From: Radhey Shyam Pandey AXI-DMA IP supports configurable (c_sg_length_width) buffer length register width, hence read buffer length (xlnx,sg-length-width) DT property and ensure that driver doesn't program buffer length exceeding the supported limit. For VDMA and CDMA there is no change. Cc:

[PATCH v6 5/7] dmaengine: xilinx_dma: autodetect whether the HW supports scatter-gather

2018-11-20 Thread Andrea Merello
The AXIDMA and CDMA HW can be either direct-access or scatter-gather version. These are SW incompatible. The driver can handle both versions: a DT property was used to tell the driver whether to assume the HW is in scatter-gather mode. This patch makes the driver to autodetect this information.

[PATCH v6 1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation

2018-11-20 Thread Andrea Merello
This patch removes a bit of duplicated code by introducing a new function that implements calculations for DMA copy size, and prepares for changes to the copy size calculation that will happen in following patches. Suggested-by: Vinod Koul Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam

[PATCH v6 6/7] dt-bindings: dmaengine: xilinx_dma: drop include-sg property

2018-11-20 Thread Andrea Merello
This property is not needed anymore, because the driver now autodetects it. Delete references in documentation. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: Radhey Shyam Pandey Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam Pandey Reviewed-by: Rob Herring ---

[PATCH v6 4/7] dmaengine: xilinx_dma: program hardware supported buffer length

2018-11-20 Thread Andrea Merello
From: Radhey Shyam Pandey AXI-DMA IP supports configurable (c_sg_length_width) buffer length register width, hence read buffer length (xlnx,sg-length-width) DT property and ensure that driver doesn't program buffer length exceeding the supported limit. For VDMA and CDMA there is no change. Cc:

[PATCH v6 5/7] dmaengine: xilinx_dma: autodetect whether the HW supports scatter-gather

2018-11-20 Thread Andrea Merello
The AXIDMA and CDMA HW can be either direct-access or scatter-gather version. These are SW incompatible. The driver can handle both versions: a DT property was used to tell the driver whether to assume the HW is in scatter-gather mode. This patch makes the driver to autodetect this information.

[PATCH v6 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property

2018-11-20 Thread Andrea Merello
The width of the "length register" cannot be autodetected, and it is now specified with a DT property. Add documentation for it. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: Radhey Shyam Pandey Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam Pandey --- Changes

[PATCH v6 3/7] dt-bindings: dmaengine: xilinx_dma: add optional xlnx,sg-length-width property

2018-11-20 Thread Andrea Merello
The width of the "length register" cannot be autodetected, and it is now specified with a DT property. Add documentation for it. Cc: Rob Herring Cc: Mark Rutland Cc: devicet...@vger.kernel.org Cc: Radhey Shyam Pandey Signed-off-by: Andrea Merello Reviewed-by: Radhey Shyam Pandey --- Changes

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