[PATCH] ext4: avoid unused variable warning

2018-10-10 Thread Arnd Bergmann
The two new variables are only used in an #ifdef, so they cause a warning without CONFIG_QUOTA: fs/ext4/super.c: In function 'parse_options': fs/ext4/super.c:1977:26: error: unused variable 'grp_qf_name' [-Werror=unused-variable] char *p, *usr_qf_name, *grp_qf_name;

[PATCH] ext4: avoid unused variable warning

2018-10-10 Thread Arnd Bergmann
The two new variables are only used in an #ifdef, so they cause a warning without CONFIG_QUOTA: fs/ext4/super.c: In function 'parse_options': fs/ext4/super.c:1977:26: error: unused variable 'grp_qf_name' [-Werror=unused-variable] char *p, *usr_qf_name, *grp_qf_name;

[PATCH v2 8/8] Input: olpc_apsp: allocate the GPIOs used

2018-10-10 Thread Lubomir Rintel
Take the GPIO lines are used by the SP. The driver doesn't touch the lines -- this is done to disallow anything else from fiddling with them because that would confuse the SP firmware. Also, the lines are now nicely visible in /sys/kernel/debug/gpio. Signed-off-by: Lubomir Rintel ---

[PATCH v2 8/8] Input: olpc_apsp: allocate the GPIOs used

2018-10-10 Thread Lubomir Rintel
Take the GPIO lines are used by the SP. The driver doesn't touch the lines -- this is done to disallow anything else from fiddling with them because that would confuse the SP firmware. Also, the lines are now nicely visible in /sys/kernel/debug/gpio. Signed-off-by: Lubomir Rintel ---

Re: [PATCH] staging: gasket: Fix sparse "incorrect type in assignment" warnings.

2018-10-10 Thread Greg Kroah-Hartman
On Wed, Oct 10, 2018 at 03:03:05PM +0100, Laurence Rochfort wrote: > On Tue, Oct 09, 2018 at 03:13:03PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Oct 04, 2018 at 06:52:25PM +0100, Laurence Rochfort wrote: > > > Silence the below sparse warnings by casting betwen u8 __iomem *, and > > > void *.

[PATCH v2 6/8] Input: olpc_apsp: check FIFO status on open(), not probe()

2018-10-10 Thread Lubomir Rintel
Let's defer the FIFO status checking until open(). When we'll get a clk handle, this will allow us to defer clock enablement until the device is actually used. Signed-off-by: Lubomir Rintel --- drivers/input/serio/olpc_apsp.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[PATCH v2 5/8] Input: olpc_apsp: depend on CONFIG_OF

2018-10-10 Thread Lubomir Rintel
This is a device-tree enabled driver. Moreover CONFIG_OLPC is specific to the x86 platform code, while the driver is for an ARM-based laptop. Signed-off-by: Lubomir Rintel --- drivers/input/serio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] staging: gasket: Fix sparse "incorrect type in assignment" warnings.

2018-10-10 Thread Greg Kroah-Hartman
On Wed, Oct 10, 2018 at 03:03:05PM +0100, Laurence Rochfort wrote: > On Tue, Oct 09, 2018 at 03:13:03PM +0200, Greg Kroah-Hartman wrote: > > On Thu, Oct 04, 2018 at 06:52:25PM +0100, Laurence Rochfort wrote: > > > Silence the below sparse warnings by casting betwen u8 __iomem *, and > > > void *.

[PATCH v2 6/8] Input: olpc_apsp: check FIFO status on open(), not probe()

2018-10-10 Thread Lubomir Rintel
Let's defer the FIFO status checking until open(). When we'll get a clk handle, this will allow us to defer clock enablement until the device is actually used. Signed-off-by: Lubomir Rintel --- drivers/input/serio/olpc_apsp.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[PATCH v2 5/8] Input: olpc_apsp: depend on CONFIG_OF

2018-10-10 Thread Lubomir Rintel
This is a device-tree enabled driver. Moreover CONFIG_OLPC is specific to the x86 platform code, while the driver is for an ARM-based laptop. Signed-off-by: Lubomir Rintel --- drivers/input/serio/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 4/8] clk: mmp2: add SP clock

2018-10-10 Thread Lubomir Rintel
The "security processor", sometimes referred to as "wireless trusted module" or "generic encrypt unit" is a low-power core present on MMP2, that has nothing to do with security, wireless, trust or encryption. On an OLPC machine it runs CForth and serves as a keyboard controller:

[PATCH v2 7/8] Input: olpc_apsp: enable the SP clock

2018-10-10 Thread Lubomir Rintel
Without the clock, the keyboard controller won't operate. Tested on an OLPC XO 1.75. Signed-off-by: Lubomir Rintel --- drivers/input/serio/olpc_apsp.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c index

[PATCH v2 0/8] OLPC 1.75 Keyboard/Touchpad fixes

2018-10-10 Thread Lubomir Rintel
This makes keyboard/touchpad work on a DT MMP2 platform. I believe that it would be a good idea if this, once reviewed, went in via the input tree. The DT and CLK parts got reviews/acks. Changes from v1: - Basically none, just re-send, including Ack and Review tags in patches that received

[PATCH v2 2/8] dt-bindings: olpc,ap-sp: add GPIO lines

2018-10-10 Thread Lubomir Rintel
Add properties describing the GPIO lines used by the keyboard controller. The olpc-apsp driver will do happily without them, but they are still part of the hardware description. The driver could still reserve the lines, so that nothing else touches them. This makes the device node almost

[PATCH v2 4/8] clk: mmp2: add SP clock

2018-10-10 Thread Lubomir Rintel
The "security processor", sometimes referred to as "wireless trusted module" or "generic encrypt unit" is a low-power core present on MMP2, that has nothing to do with security, wireless, trust or encryption. On an OLPC machine it runs CForth and serves as a keyboard controller:

[PATCH v2 7/8] Input: olpc_apsp: enable the SP clock

2018-10-10 Thread Lubomir Rintel
Without the clock, the keyboard controller won't operate. Tested on an OLPC XO 1.75. Signed-off-by: Lubomir Rintel --- drivers/input/serio/olpc_apsp.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/input/serio/olpc_apsp.c b/drivers/input/serio/olpc_apsp.c index

[PATCH v2 0/8] OLPC 1.75 Keyboard/Touchpad fixes

2018-10-10 Thread Lubomir Rintel
This makes keyboard/touchpad work on a DT MMP2 platform. I believe that it would be a good idea if this, once reviewed, went in via the input tree. The DT and CLK parts got reviews/acks. Changes from v1: - Basically none, just re-send, including Ack and Review tags in patches that received

[PATCH v2 2/8] dt-bindings: olpc,ap-sp: add GPIO lines

2018-10-10 Thread Lubomir Rintel
Add properties describing the GPIO lines used by the keyboard controller. The olpc-apsp driver will do happily without them, but they are still part of the hardware description. The driver could still reserve the lines, so that nothing else touches them. This makes the device node almost

[PATCH v2 3/8] dt-bindings: marvell,mmp2: Add clock id for the SP clock

2018-10-10 Thread Lubomir Rintel
This is the clock for the "security processor" core. Reviewed-by: Rob Herring Acked-by: Stephen Boyd Signed-off-by: Lubomir Rintel --- include/dt-bindings/clock/marvell,mmp2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/marvell,mmp2.h

[PATCH v2 3/8] dt-bindings: marvell,mmp2: Add clock id for the SP clock

2018-10-10 Thread Lubomir Rintel
This is the clock for the "security processor" core. Reviewed-by: Rob Herring Acked-by: Stephen Boyd Signed-off-by: Lubomir Rintel --- include/dt-bindings/clock/marvell,mmp2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/marvell,mmp2.h

[PATCH v2 1/8] dt-bindings: olpc,ap-sp: add clock

2018-10-10 Thread Lubomir Rintel
The clock is necessary for the device operation, hence it's required. Its name, "sp", stands for "Security Processor". It is one of several names that are used for the processor that serves as the keyboard controller on an OLPC and is consistent with the node name. Reviewed-by: Rob Herring

[PATCH v2 1/8] dt-bindings: olpc,ap-sp: add clock

2018-10-10 Thread Lubomir Rintel
The clock is necessary for the device operation, hence it's required. Its name, "sp", stands for "Security Processor". It is one of several names that are used for the processor that serves as the keyboard controller on an OLPC and is consistent with the node name. Reviewed-by: Rob Herring

Re: [RFC PATCH 6/7] sched/fair: update cpu_capcity to reflect thermal pressure

2018-10-10 Thread Thara Gopinath
On 10/10/2018 01:57 AM, Javi Merino wrote: > On Tue, Oct 09, 2018 at 12:25:01PM -0400, Thara Gopinath wrote: >> cpu_capacity relflects the maximum available capacity of a cpu. Thermal >> pressure on a cpu means this maximum available capacity is reduced. This >> patch reduces the average thermal

Re: [RFC PATCH 6/7] sched/fair: update cpu_capcity to reflect thermal pressure

2018-10-10 Thread Thara Gopinath
On 10/10/2018 01:57 AM, Javi Merino wrote: > On Tue, Oct 09, 2018 at 12:25:01PM -0400, Thara Gopinath wrote: >> cpu_capacity relflects the maximum available capacity of a cpu. Thermal >> pressure on a cpu means this maximum available capacity is reduced. This >> patch reduces the average thermal

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Tetsuo Handa
On 2018/10/10 20:35, Michal Hocko wrote: What should we do if memcg-OOM found no killable task because the allocating task was oom_score_adj == -1000 ? Flooding printk() until RCU stall watchdog fires (which seems to be caused by commit 3100dab2aa09dc6e ("mm:

Re: INFO: rcu detected stall in shmem_fault

2018-10-10 Thread Tetsuo Handa
On 2018/10/10 20:35, Michal Hocko wrote: What should we do if memcg-OOM found no killable task because the allocating task was oom_score_adj == -1000 ? Flooding printk() until RCU stall watchdog fires (which seems to be caused by commit 3100dab2aa09dc6e ("mm:

Re: [PATCH v2 01/11] arch/x86: Start renaming the rdt files to more generic names

2018-10-10 Thread Thomas Gleixner
Babu, On Wed, 10 Oct 2018, Moger, Babu wrote: > On 10/09/2018 05:01 PM, Reinette Chatre wrote: > > As far as all the code you touch is concerned it may be easier and cause > > less confusion for now to just follow the current naming conventions as > > you have done in patches 3 onwards and have

Re: [PATCH v2 01/11] arch/x86: Start renaming the rdt files to more generic names

2018-10-10 Thread Thomas Gleixner
Babu, On Wed, 10 Oct 2018, Moger, Babu wrote: > On 10/09/2018 05:01 PM, Reinette Chatre wrote: > > As far as all the code you touch is concerned it may be easier and cause > > less confusion for now to just follow the current naming conventions as > > you have done in patches 3 onwards and have

[PATCH] ALSA: cs4236: fix return check from call to pnp_port_start

2018-10-10 Thread Colin King
From: Colin Ian King Currently the return from pnp_port_start is being checked for validity by checking if it is greater or equal to zero, however, the return is unsigned and hence this check is always true. An 0 return from pnp_port_start is actually an error, so fix the check by checking for

[PATCH] ALSA: cs4236: fix return check from call to pnp_port_start

2018-10-10 Thread Colin King
From: Colin Ian King Currently the return from pnp_port_start is being checked for validity by checking if it is greater or equal to zero, however, the return is unsigned and hence this check is always true. An 0 return from pnp_port_start is actually an error, so fix the check by checking for

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Thara Gopinath
Hello Javi, Thanks for the interest. On 10/10/2018 01:44 AM, Javi Merino wrote: > On Tue, Oct 09, 2018 at 12:24:55PM -0400, Thara Gopinath wrote: >> Thermal governors can respond to an overheat event for a cpu by >> capping the cpu's maximum possible frequency. This in turn >> means that the

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Thara Gopinath
Hello Javi, Thanks for the interest. On 10/10/2018 01:44 AM, Javi Merino wrote: > On Tue, Oct 09, 2018 at 12:24:55PM -0400, Thara Gopinath wrote: >> Thermal governors can respond to an overheat event for a cpu by >> capping the cpu's maximum possible frequency. This in turn >> means that the

[PATCH] pinctrl: madera: Fix uninitialized variable issue in madera_mux_set_mux

2018-10-10 Thread Gustavo A. R. Silva
There is a potential execution path in which variable *ret* is checked in an IF statement, and then its value is used to report an error at line 659 without being properly initialized previously: 659 if (ret) 660 dev_err(priv->dev, "Failed to write to 0x%x (%d)\n", reg, ret); Fix this by

[PATCH] pinctrl: madera: Fix uninitialized variable issue in madera_mux_set_mux

2018-10-10 Thread Gustavo A. R. Silva
There is a potential execution path in which variable *ret* is checked in an IF statement, and then its value is used to report an error at line 659 without being properly initialized previously: 659 if (ret) 660 dev_err(priv->dev, "Failed to write to 0x%x (%d)\n", reg, ret); Fix this by

Re: [RFC 2/4] pwm: sifive: Add a driver for SiFive SoC PWM

2018-10-10 Thread Thierry Reding
On Tue, Oct 09, 2018 at 11:51:23AM -0700, Atish Patra wrote: > From: "Wesley W. Terpstra" > > Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC. > > Signed-off-by: Wesley W. Terpstra > [Atish: Various fixes and code cleanup] > Signed-off-by: Atish Patra > --- >

Re: [RFC 2/4] pwm: sifive: Add a driver for SiFive SoC PWM

2018-10-10 Thread Thierry Reding
On Tue, Oct 09, 2018 at 11:51:23AM -0700, Atish Patra wrote: > From: "Wesley W. Terpstra" > > Adds a PWM driver for PWM chip present in SiFive's HiFive Unleashed SoC. > > Signed-off-by: Wesley W. Terpstra > [Atish: Various fixes and code cleanup] > Signed-off-by: Atish Patra > --- >

Re: [PATCH v2 01/11] arch/x86: Start renaming the rdt files to more generic names

2018-10-10 Thread Moger, Babu
Hi Reinette, On 10/09/2018 05:01 PM, Reinette Chatre wrote: > Hi Babu, > > On 10/9/2018 2:17 PM, Moger, Babu wrote: >> On 10/09/2018 11:39 AM, Reinette Chatre wrote: >>> Hi Babu, >>> >>> On 10/5/2018 1:55 PM, Moger, Babu wrote: New generation of AMD processors start support RDT(or QOS)

Re: [PATCH v2 01/11] arch/x86: Start renaming the rdt files to more generic names

2018-10-10 Thread Moger, Babu
Hi Reinette, On 10/09/2018 05:01 PM, Reinette Chatre wrote: > Hi Babu, > > On 10/9/2018 2:17 PM, Moger, Babu wrote: >> On 10/09/2018 11:39 AM, Reinette Chatre wrote: >>> Hi Babu, >>> >>> On 10/5/2018 1:55 PM, Moger, Babu wrote: New generation of AMD processors start support RDT(or QOS)

Re: [PATCH] tpm: fix unused-value issues in tpm_try_transmit

2018-10-10 Thread Jason Gunthorpe
On Wed, Oct 10, 2018 at 03:38:17PM +0200, Gustavo A. R. Silva wrote: > Currently, there are some values assigned to variable *rc*, which > are never actually used in any computation, because such variable > is updated at line 550, before they can be used: > > 549out: > 550rc =

Re: [PATCH] tpm: fix unused-value issues in tpm_try_transmit

2018-10-10 Thread Jason Gunthorpe
On Wed, Oct 10, 2018 at 03:38:17PM +0200, Gustavo A. R. Silva wrote: > Currently, there are some values assigned to variable *rc*, which > are never actually used in any computation, because such variable > is updated at line 550, before they can be used: > > 549out: > 550rc =

Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Currently EEPROM writes are implemented using a single SPI transfer, > which contains all of command, address, and payload data bytes. > As some SPI controllers impose limitations on transfers with respect to > the use of DMA, they may have to fall back to

Re: [PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Currently EEPROM writes are implemented using a single SPI transfer, > which contains all of command, address, and payload data bytes. > As some SPI controllers impose limitations on transfers with respect to > the use of DMA, they may have to fall back to

Re: [PATCH 3/4] mm: workingset: add vmstat counter for shadow nodes

2018-10-10 Thread Johannes Weiner
On Tue, Oct 09, 2018 at 03:04:01PM -0700, Andrew Morton wrote: > On Tue, 9 Oct 2018 14:47:32 -0400 Johannes Weiner wrote: > > > Make it easier to catch bugs in the shadow node shrinker by adding a > > counter for the shadow nodes in circulation. > > > > Signed-off-by: Johannes Weiner > > ---

Re: [PATCH 3/4] mm: workingset: add vmstat counter for shadow nodes

2018-10-10 Thread Johannes Weiner
On Tue, Oct 09, 2018 at 03:04:01PM -0700, Andrew Morton wrote: > On Tue, 9 Oct 2018 14:47:32 -0400 Johannes Weiner wrote: > > > Make it easier to catch bugs in the shadow node shrinker by adding a > > counter for the shadow nodes in circulation. > > > > Signed-off-by: Johannes Weiner > > ---

Re: [PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Reduce code duplication in at25_ee_read() by using the > spi_message_init_with_transfers() helper. > > Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann

Re: [PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Reduce code duplication in at25_ee_read() by using the > spi_message_init_with_transfers() helper. > > Signed-off-by: Geert Uytterhoeven Acked-by: Arnd Bergmann

Re: [PATCH 1/3] eeprom: at25: Drop obsolete cast in at25_ee_write()

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Since commit 01973a01f9ec34b7 ("eeprom: at25: remove nvmem regmap > dependency") changed the type of "off" from "loff_t" to "unsigned int", > there is no longer a need to cast it to "unsigned". > > Signed-off-by: Geert Uytterhoeven > --- >

Re: [PATCH 1/3] eeprom: at25: Drop obsolete cast in at25_ee_write()

2018-10-10 Thread Arnd Bergmann
On 10/10/18, Geert Uytterhoeven wrote: > Since commit 01973a01f9ec34b7 ("eeprom: at25: remove nvmem regmap > dependency") changed the type of "off" from "loff_t" to "unsigned int", > there is no longer a need to cast it to "unsigned". > > Signed-off-by: Geert Uytterhoeven > --- >

RE: [PATCH 2/7] mmc-utils: treat FIRMWARE_VERSION as binary field instead of string

2018-10-10 Thread Avri Altman
> > On Wed, Oct 10, 2018 at 4:43 AM Avri Altman wrote: > > > > > > > +++ b/mmc_cmds.c > > > @@ -1758,8 +1758,15 @@ int do_read_extcsd(int nargs, char **argv) > > > } > > > > > > if (ext_csd_rev >= 7) { > > > - printf("eMMC Firmware Version: %s\n", > > > -

RE: [PATCH 2/7] mmc-utils: treat FIRMWARE_VERSION as binary field instead of string

2018-10-10 Thread Avri Altman
> > On Wed, Oct 10, 2018 at 4:43 AM Avri Altman wrote: > > > > > > > +++ b/mmc_cmds.c > > > @@ -1758,8 +1758,15 @@ int do_read_extcsd(int nargs, char **argv) > > > } > > > > > > if (ext_csd_rev >= 7) { > > > - printf("eMMC Firmware Version: %s\n", > > > -

Re: [PATCH] staging: gasket: Fix sparse "incorrect type in assignment" warnings.

2018-10-10 Thread Laurence Rochfort
On Tue, Oct 09, 2018 at 03:13:03PM +0200, Greg Kroah-Hartman wrote: > On Thu, Oct 04, 2018 at 06:52:25PM +0100, Laurence Rochfort wrote: > > Silence the below sparse warnings by casting betwen u8 __iomem *, and > > void *. > > > > warning: incorrect type in assignment (different address spaces) >

Re: [PATCH] staging: gasket: Fix sparse "incorrect type in assignment" warnings.

2018-10-10 Thread Laurence Rochfort
On Tue, Oct 09, 2018 at 03:13:03PM +0200, Greg Kroah-Hartman wrote: > On Thu, Oct 04, 2018 at 06:52:25PM +0100, Laurence Rochfort wrote: > > Silence the below sparse warnings by casting betwen u8 __iomem *, and > > void *. > > > > warning: incorrect type in assignment (different address spaces) >

Re: [PATCH 2/7] mmc-utils: treat FIRMWARE_VERSION as binary field instead of string

2018-10-10 Thread James Nuss
On Wed, Oct 10, 2018 at 4:43 AM Avri Altman wrote: > > > > +++ b/mmc_cmds.c > > @@ -1758,8 +1758,15 @@ int do_read_extcsd(int nargs, char **argv) > > } > > > > if (ext_csd_rev >= 7) { > > - printf("eMMC Firmware Version: %s\n", > > -

Re: [PATCH 2/7] mmc-utils: treat FIRMWARE_VERSION as binary field instead of string

2018-10-10 Thread James Nuss
On Wed, Oct 10, 2018 at 4:43 AM Avri Altman wrote: > > > > +++ b/mmc_cmds.c > > @@ -1758,8 +1758,15 @@ int do_read_extcsd(int nargs, char **argv) > > } > > > > if (ext_csd_rev >= 7) { > > - printf("eMMC Firmware Version: %s\n", > > -

Re: [RFC 1/4] pwm: sifive: Add DT documentation for SiFive PWM Controller.

2018-10-10 Thread Thierry Reding
On Tue, Oct 09, 2018 at 11:51:22AM -0700, Atish Patra wrote: [...] > +- interrupts: one interrupt per PWM channel (currently unused in the driver) This should probably say what the interrupt is used for. And once you have that, remove the comment about it being unused in the driver. DT is OS

Re: [RFC 1/4] pwm: sifive: Add DT documentation for SiFive PWM Controller.

2018-10-10 Thread Thierry Reding
On Tue, Oct 09, 2018 at 11:51:22AM -0700, Atish Patra wrote: [...] > +- interrupts: one interrupt per PWM channel (currently unused in the driver) This should probably say what the interrupt is used for. And once you have that, remove the comment about it being unused in the driver. DT is OS

Re: [RFC 1/4] pwm: sifive: Add DT documentation for SiFive PWM Controller.

2018-10-10 Thread Thierry Reding
On Tue, Oct 09, 2018 at 11:51:22AM -0700, Atish Patra wrote: > From: "Wesley W. Terpstra" > > DT documentation for PWM controller added with updated compatible > string. > > Signed-off-by: Wesley W. Terpstra > [Atish: Compatible string update] > Signed-off-by: Atish Patra > --- >

Re: [RFC 1/4] pwm: sifive: Add DT documentation for SiFive PWM Controller.

2018-10-10 Thread Thierry Reding
On Tue, Oct 09, 2018 at 11:51:22AM -0700, Atish Patra wrote: > From: "Wesley W. Terpstra" > > DT documentation for PWM controller added with updated compatible > string. > > Signed-off-by: Wesley W. Terpstra > [Atish: Compatible string update] > Signed-off-by: Atish Patra > --- >

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Daniel Bristot de Oliveira
On 10/10/18 2:24 PM, Peter Zijlstra wrote: >> I believe there were some papers circulated last year that looked at >> something similar to this when you had overlapping or completely disjoint >> CPUsets I think it would be nice to drag into the discussion. Has this been >> considered? (if so,

Re: [RFD/RFC PATCH 0/8] Towards implementing proxy execution

2018-10-10 Thread Daniel Bristot de Oliveira
On 10/10/18 2:24 PM, Peter Zijlstra wrote: >> I believe there were some papers circulated last year that looked at >> something similar to this when you had overlapping or completely disjoint >> CPUsets I think it would be nice to drag into the discussion. Has this been >> considered? (if so,

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Quentin Perret
On Wednesday 10 Oct 2018 at 15:27:57 (+0200), Vincent Guittot wrote: > On Wed, 10 Oct 2018 at 15:05, Quentin Perret wrote: > > > > On Wednesday 10 Oct 2018 at 14:04:40 (+0200), Vincent Guittot wrote: > > > This patchset doesn't touch cpu_capacity_orig and doesn't need to as > > > it assume that

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Quentin Perret
On Wednesday 10 Oct 2018 at 15:27:57 (+0200), Vincent Guittot wrote: > On Wed, 10 Oct 2018 at 15:05, Quentin Perret wrote: > > > > On Wednesday 10 Oct 2018 at 14:04:40 (+0200), Vincent Guittot wrote: > > > This patchset doesn't touch cpu_capacity_orig and doesn't need to as > > > it assume that

[PATCH 1/3] eeprom: at25: Drop obsolete cast in at25_ee_write()

2018-10-10 Thread Geert Uytterhoeven
Since commit 01973a01f9ec34b7 ("eeprom: at25: remove nvmem regmap dependency") changed the type of "off" from "loff_t" to "unsigned int", there is no longer a need to cast it to "unsigned". Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 2 +- 1 file changed, 1 insertion(+),

Re: [RFC 2/4] pwm: sifive: Add a driver for SiFive SoC PWM

2018-10-10 Thread Thierry Reding
On Wed, Oct 10, 2018 at 06:11:29AM -0700, Christoph Hellwig wrote: [...] > > +static struct platform_driver sifive_pwm_driver = { > > + .probe = sifive_pwm_probe, > > + .remove = sifive_pwm_remove, > > + .driver = { > > + .name = "pwm-sifivem", > > + .of_match_table =

Re: [PATCH 1/1] scsi: ufs: make UFS Tx lane1 clock optional

2018-10-10 Thread cang
Hi Doug, Really thank you for your review. On 2018-10-10 05:56, Doug Anderson wrote: Hi, On Sun, Oct 7, 2018 at 9:34 PM Can Guo wrote: From: Venkat Gopalakrishnan The UFS Tx lane1 clock could be muxed, hence keep it optional by ignoring it if it is not provided in device tree. Thanks

[PATCH 1/3] eeprom: at25: Drop obsolete cast in at25_ee_write()

2018-10-10 Thread Geert Uytterhoeven
Since commit 01973a01f9ec34b7 ("eeprom: at25: remove nvmem regmap dependency") changed the type of "off" from "loff_t" to "unsigned int", there is no longer a need to cast it to "unsigned". Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 2 +- 1 file changed, 1 insertion(+),

Re: [RFC 2/4] pwm: sifive: Add a driver for SiFive SoC PWM

2018-10-10 Thread Thierry Reding
On Wed, Oct 10, 2018 at 06:11:29AM -0700, Christoph Hellwig wrote: [...] > > +static struct platform_driver sifive_pwm_driver = { > > + .probe = sifive_pwm_probe, > > + .remove = sifive_pwm_remove, > > + .driver = { > > + .name = "pwm-sifivem", > > + .of_match_table =

Re: [PATCH 1/1] scsi: ufs: make UFS Tx lane1 clock optional

2018-10-10 Thread cang
Hi Doug, Really thank you for your review. On 2018-10-10 05:56, Doug Anderson wrote: Hi, On Sun, Oct 7, 2018 at 9:34 PM Can Guo wrote: From: Venkat Gopalakrishnan The UFS Tx lane1 clock could be muxed, hence keep it optional by ignoring it if it is not provided in device tree. Thanks

[PATCH 0/3] eeprom: at25: SPI transfer improvements

2018-10-10 Thread Geert Uytterhoeven
[Resend with correct linux-mtd address] Hi all, This patch series contains various improvements for the AT25 SPI EEPROM driver, related to SPI transfers. Tested on a Renesas Ebisu development board with R-Car E3 using MSIOF and a 25LC040 EEPROM. The MSIOF SPI Controller can only do DMA

[PATCH 0/3] eeprom: at25: SPI transfer improvements

2018-10-10 Thread Geert Uytterhoeven
[Resend with correct linux-mtd address] Hi all, This patch series contains various improvements for the AT25 SPI EEPROM driver, related to SPI transfers. Tested on a Renesas Ebisu development board with R-Car E3 using MSIOF and a 25LC040 EEPROM. The MSIOF SPI Controller can only do DMA

[PATCH 1/3] eeprom: at25: Drop obsolete cast in at25_ee_write()

2018-10-10 Thread Geert Uytterhoeven
Since commit 01973a01f9ec34b7 ("eeprom: at25: remove nvmem regmap dependency") changed the type of "off" from "loff_t" to "unsigned int", there is no longer a need to cast it to "unsigned". Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 1/3] eeprom: at25: Drop obsolete cast in at25_ee_write()

2018-10-10 Thread Geert Uytterhoeven
Since commit 01973a01f9ec34b7 ("eeprom: at25: remove nvmem regmap dependency") changed the type of "off" from "loff_t" to "unsigned int", there is no longer a need to cast it to "unsigned". Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c

[PATCH 3/3] eeprom: at25: Split writes in two SPI transfers to optimize DMA

2018-10-10 Thread Geert Uytterhoeven
Currently EEPROM writes are implemented using a single SPI transfer, which contains all of command, address, and payload data bytes. As some SPI controllers impose limitations on transfers with respect to the use of DMA, they may have to fall back to PIO. E.g. DMA may require the transfer length

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c

[PATCH 0/3] eeprom: at25: SPI transfer improvements

2018-10-10 Thread Geert Uytterhoeven
Hi all, This patch series contains various improvements for the AT25 SPI EEPROM driver, related to SPI transfers. Tested on a Renesas Ebisu development board with R-Car E3 using MSIOF and a 25LC040 EEPROM. The MSIOF SPI Controller can only do DMA for transfers with a length that is a

[PATCH 2/3] eeprom: at25: Use spi_message_init_with_transfers() instead of open coding

2018-10-10 Thread Geert Uytterhoeven
Reduce code duplication in at25_ee_read() by using the spi_message_init_with_transfers() helper. Signed-off-by: Geert Uytterhoeven --- drivers/misc/eeprom/at25.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c

[PATCH 0/3] eeprom: at25: SPI transfer improvements

2018-10-10 Thread Geert Uytterhoeven
Hi all, This patch series contains various improvements for the AT25 SPI EEPROM driver, related to SPI transfers. Tested on a Renesas Ebisu development board with R-Car E3 using MSIOF and a 25LC040 EEPROM. The MSIOF SPI Controller can only do DMA for transfers with a length that is a

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 15:35, Juri Lelli wrote: > > On 10/10/18 15:08, Vincent Guittot wrote: > > On Wed, 10 Oct 2018 at 14:50, Juri Lelli wrote: > > > > > > On 10/10/18 14:34, Vincent Guittot wrote: > > > > Hi Juri, > > > > > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > >

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 15:35, Juri Lelli wrote: > > On 10/10/18 15:08, Vincent Guittot wrote: > > On Wed, 10 Oct 2018 at 14:50, Juri Lelli wrote: > > > > > > On 10/10/18 14:34, Vincent Guittot wrote: > > > > Hi Juri, > > > > > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > >

Re: [RCF PATCH v2 1/2] dt-bindings: pwm: imx: Allow switching PWM output between PWM and GPIO

2018-10-10 Thread Thierry Reding
On Wed, Oct 10, 2018 at 09:33:25AM +, Vokáč Michal wrote: > Output of the PWM block on i.MX SoCs is always low when the block is > disabled. This can cause issues when inverted PWM polarity is needed. > With inverted polarity a duty cycle = 0% corresponds to high level on > the output. Now,

Re: [RCF PATCH v2 1/2] dt-bindings: pwm: imx: Allow switching PWM output between PWM and GPIO

2018-10-10 Thread Thierry Reding
On Wed, Oct 10, 2018 at 09:33:25AM +, Vokáč Michal wrote: > Output of the PWM block on i.MX SoCs is always low when the block is > disabled. This can cause issues when inverted PWM polarity is needed. > With inverted polarity a duty cycle = 0% corresponds to high level on > the output. Now,

[PATCH] tpm: fix unused-value issues in tpm_try_transmit

2018-10-10 Thread Gustavo A. R. Silva
Currently, there are some values assigned to variable *rc*, which are never actually used in any computation, because such variable is updated at line 550, before they can be used: 549out: 550rc = tpm_go_idle(chip, flags); 551if (rc) 552goto out; Fix this by

[PATCH] tpm: fix unused-value issues in tpm_try_transmit

2018-10-10 Thread Gustavo A. R. Silva
Currently, there are some values assigned to variable *rc*, which are never actually used in any computation, because such variable is updated at line 550, before they can be used: 549out: 550rc = tpm_go_idle(chip, flags); 551if (rc) 552goto out; Fix this by

Re: linux-next: Tree for Oct 10

2018-10-10 Thread Guenter Roeck
On Wed, Oct 10, 2018 at 04:46:27PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20181009: > > The ext4 tree lost its build failure. > > The kvm-ppc tree gained a conflict against the kvm-arm tree. > > Non-merge commits (relative to Linus' tree): 9423 > 8942 files changed, 420582

Re: linux-next: Tree for Oct 10

2018-10-10 Thread Guenter Roeck
On Wed, Oct 10, 2018 at 04:46:27PM +1100, Stephen Rothwell wrote: > Hi all, > > Changes since 20181009: > > The ext4 tree lost its build failure. > > The kvm-ppc tree gained a conflict against the kvm-arm tree. > > Non-merge commits (relative to Linus' tree): 9423 > 8942 files changed, 420582

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Juri Lelli
On 10/10/18 15:08, Vincent Guittot wrote: > On Wed, 10 Oct 2018 at 14:50, Juri Lelli wrote: > > > > On 10/10/18 14:34, Vincent Guittot wrote: > > > Hi Juri, > > > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > > > > >

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Juri Lelli
On 10/10/18 15:08, Vincent Guittot wrote: > On Wed, 10 Oct 2018 at 14:50, Juri Lelli wrote: > > > > On 10/10/18 14:34, Vincent Guittot wrote: > > > Hi Juri, > > > > > > On Wed, 10 Oct 2018 at 14:23, Juri Lelli wrote: > > > > > > > > On 10/10/18 14:04, Vincent Guittot wrote: > > > > > > > >

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Andreas Schwab
On Okt 10 2018, Christoph Hellwig wrote: > On Wed, Oct 10, 2018 at 03:01:29PM +0200, Andreas Schwab wrote: >> On Okt 09 2018, Atish Patra wrote: >> >> > +static void sifive_set_ie(struct sifive_gpio *chip, unsigned int offset) >> > +{ >> > + unsigned long flags; >> > + unsigned int trigger;

Re: [RFC 4/4] gpio: sifive: Add GPIO driver for SiFive SoCs

2018-10-10 Thread Andreas Schwab
On Okt 10 2018, Christoph Hellwig wrote: > On Wed, Oct 10, 2018 at 03:01:29PM +0200, Andreas Schwab wrote: >> On Okt 09 2018, Atish Patra wrote: >> >> > +static void sifive_set_ie(struct sifive_gpio *chip, unsigned int offset) >> > +{ >> > + unsigned long flags; >> > + unsigned int trigger;

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 15:05, Quentin Perret wrote: > > On Wednesday 10 Oct 2018 at 14:04:40 (+0200), Vincent Guittot wrote: > > This patchset doesn't touch cpu_capacity_orig and doesn't need to as > > it assume that the max capacity is unchanged but some capacity is > > momentary stolen by

Re: [RFC PATCH 0/7] Introduce thermal pressure

2018-10-10 Thread Vincent Guittot
On Wed, 10 Oct 2018 at 15:05, Quentin Perret wrote: > > On Wednesday 10 Oct 2018 at 14:04:40 (+0200), Vincent Guittot wrote: > > This patchset doesn't touch cpu_capacity_orig and doesn't need to as > > it assume that the max capacity is unchanged but some capacity is > > momentary stolen by

Re: [PATCH 1/2] LICENSES: Add note to CDDL-1.0 license that it should not be used

2018-10-10 Thread Thomas Gleixner
On Wed, 10 Oct 2018, Hans de Goede wrote: > The only reason we have the CDDL-1.0 license text around is for some > dual-licensed files from virtualbox. New code should not use this license. > > Add a note about this and change the example tag to be dual-licensed. > > Signed-off-by: Hans de

Re: [PATCH 1/2] LICENSES: Add note to CDDL-1.0 license that it should not be used

2018-10-10 Thread Thomas Gleixner
On Wed, 10 Oct 2018, Hans de Goede wrote: > The only reason we have the CDDL-1.0 license text around is for some > dual-licensed files from virtualbox. New code should not use this license. > > Add a note about this and change the example tag to be dual-licensed. > > Signed-off-by: Hans de

[tip:x86/mm] x86/mm: Do not warn about PCI BIOS W+X mappings

2018-10-10 Thread tip-bot for Thomas Gleixner
Commit-ID: c200dac78fec66d87ef262cac38cfe4feabdf737 Gitweb: https://git.kernel.org/tip/c200dac78fec66d87ef262cac38cfe4feabdf737 Author: Thomas Gleixner AuthorDate: Mon, 8 Oct 2018 21:53:48 +0200 Committer: Thomas Gleixner CommitDate: Wed, 10 Oct 2018 15:16:13 +0200 x86/mm: Do not warn

[tip:x86/mm] x86/mm: Do not warn about PCI BIOS W+X mappings

2018-10-10 Thread tip-bot for Thomas Gleixner
Commit-ID: c200dac78fec66d87ef262cac38cfe4feabdf737 Gitweb: https://git.kernel.org/tip/c200dac78fec66d87ef262cac38cfe4feabdf737 Author: Thomas Gleixner AuthorDate: Mon, 8 Oct 2018 21:53:48 +0200 Committer: Thomas Gleixner CommitDate: Wed, 10 Oct 2018 15:16:13 +0200 x86/mm: Do not warn

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