Re: [PATCH 4/7] node: Add memory caching attributes

2018-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 14, 2018 at 03:49:17PM -0700, Keith Busch wrote: > System memory may have side caches to help improve access speed. While > the system provided cache is transparent to the software accessing > these memory ranges, applications can optimize their own access based > on cache attributes.

Re: [PATCH 4/7] node: Add memory caching attributes

2018-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 14, 2018 at 03:49:17PM -0700, Keith Busch wrote: > System memory may have side caches to help improve access speed. While > the system provided cache is transparent to the software accessing > these memory ranges, applications can optimize their own access based > on cache attributes.

Re: [PATCH 4/7] node: Add memory caching attributes

2018-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 14, 2018 at 03:49:17PM -0700, Keith Busch wrote: > System memory may have side caches to help improve access speed. While > the system provided cache is transparent to the software accessing > these memory ranges, applications can optimize their own access based > on cache attributes.

Re: [PATCH 4/7] node: Add memory caching attributes

2018-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 14, 2018 at 03:49:17PM -0700, Keith Busch wrote: > System memory may have side caches to help improve access speed. While > the system provided cache is transparent to the software accessing > these memory ranges, applications can optimize their own access based > on cache attributes.

Re: [PATCH 4.19 000/118] 4.19.5-stable review

2018-11-26 Thread Guenter Roeck
On Mon, Nov 26, 2018 at 11:49:54AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.5 release. > There are 118 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v2 1/3] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2018-11-26 Thread Matthias Kaehlcke
On Thu, Nov 22, 2018 at 05:45:10PM +0530, Balakrishna Godavarthi wrote: > wcn3990 requires a power pulse to turn ON/OFF along with > regulators. Sometimes we are observing the power pulses are sent > out with some time delay, due to queuing these commands. This is > causing synchronization issues

Re: [PATCH 4.19 000/118] 4.19.5-stable review

2018-11-26 Thread Guenter Roeck
On Mon, Nov 26, 2018 at 11:49:54AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.5 release. > There are 118 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH v2 1/3] Bluetooth: hci_qca: use wait_until_sent() for power pulses

2018-11-26 Thread Matthias Kaehlcke
On Thu, Nov 22, 2018 at 05:45:10PM +0530, Balakrishna Godavarthi wrote: > wcn3990 requires a power pulse to turn ON/OFF along with > regulators. Sometimes we are observing the power pulses are sent > out with some time delay, due to queuing these commands. This is > causing synchronization issues

Re: [PATCH 4.9 00/46] 4.9.141-stable review

2018-11-26 Thread Guenter Roeck
On Mon, Nov 26, 2018 at 11:50:49AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.141 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 4.9 00/46] 4.9.141-stable review

2018-11-26 Thread Guenter Roeck
On Mon, Nov 26, 2018 at 11:50:49AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.141 release. > There are 46 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 3.18 00/24] 3.18.127-stable review

2018-11-26 Thread Guenter Roeck
On Mon, Nov 26, 2018 at 11:50:54AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.127 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH 3.18 00/24] 3.18.127-stable review

2018-11-26 Thread Guenter Roeck
On Mon, Nov 26, 2018 at 11:50:54AM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.18.127 release. > There are 24 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me

Re: [PATCH] dt-bindings: sifive: describe sifive-blocks versioning

2018-11-26 Thread Palmer Dabbelt
On Wed, 21 Nov 2018 17:33:02 PST (-0800), atish.pa...@wdc.com wrote: On 11/21/18 5:07 PM, Paul Walmsley wrote: For IP blocks that are generated from the public, open-source sifive-blocks repository, describe the version numbering policy that its maintainers intend to use, upon request from Rob

Re: [PATCH] dt-bindings: sifive: describe sifive-blocks versioning

2018-11-26 Thread Palmer Dabbelt
On Wed, 21 Nov 2018 17:06:56 PST (-0800), Paul Walmsley wrote: For IP blocks that are generated from the public, open-source sifive-blocks repository, describe the version numbering policy that its maintainers intend to use, upon request from Rob Herring . Cc: Rob Herring Cc: Palmer Dabbelt

Re: [PATCH] dt-bindings: sifive: describe sifive-blocks versioning

2018-11-26 Thread Palmer Dabbelt
On Wed, 21 Nov 2018 17:33:02 PST (-0800), atish.pa...@wdc.com wrote: On 11/21/18 5:07 PM, Paul Walmsley wrote: For IP blocks that are generated from the public, open-source sifive-blocks repository, describe the version numbering policy that its maintainers intend to use, upon request from Rob

Re: [PATCH] dt-bindings: sifive: describe sifive-blocks versioning

2018-11-26 Thread Palmer Dabbelt
On Wed, 21 Nov 2018 17:06:56 PST (-0800), Paul Walmsley wrote: For IP blocks that are generated from the public, open-source sifive-blocks repository, describe the version numbering policy that its maintainers intend to use, upon request from Rob Herring . Cc: Rob Herring Cc: Palmer Dabbelt

Re: [PATCH tip/core/rcu 02/19] rcu: Defer reporting RCU-preempt quiescent states when disabled

2018-11-26 Thread Paul E. McKenney
On Mon, Nov 26, 2018 at 01:55:37PM +, Ran Rozenstein wrote: > > > > Hearing no objections, here is the updated patch. > > > > Thanx, Paul > > > > > > > >

Re: [PATCH tip/core/rcu 02/19] rcu: Defer reporting RCU-preempt quiescent states when disabled

2018-11-26 Thread Paul E. McKenney
On Mon, Nov 26, 2018 at 01:55:37PM +, Ran Rozenstein wrote: > > > > Hearing no objections, here is the updated patch. > > > > Thanx, Paul > > > > > > > >

Re: [PATCH v4 4/5] lib/ioremap: Ensure phys_addr actually corresponds to a physical address

2018-11-26 Thread Sean Christopherson
On Mon, Nov 26, 2018 at 05:07:46PM +, Will Deacon wrote: > The current ioremap() code uses a phys_addr variable at each level of > page table, which is confusingly offset by subtracting the base virtual > address being mapped so that adding the current virtual address back on > when iterating

Re: [PATCH v4 4/5] lib/ioremap: Ensure phys_addr actually corresponds to a physical address

2018-11-26 Thread Sean Christopherson
On Mon, Nov 26, 2018 at 05:07:46PM +, Will Deacon wrote: > The current ioremap() code uses a phys_addr variable at each level of > page table, which is confusingly offset by subtracting the base virtual > address being mapped so that adding the current virtual address back on > when iterating

Re: [PATCH v10 2/3] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-11-26 Thread Rob Herring
On Thu, 22 Nov 2018 13:23:40 +0530, Taniya Das wrote: > Add device tree bindings for Low Power Audio subsystem clock controller for > Qualcomm Technology Inc's SDM845 SoCs. > > Signed-off-by: Taniya Das > --- > .../devicetree/bindings/clock/qcom,gcc.txt | 4 +++- >

Re: [PATCH v10 2/3] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-11-26 Thread Rob Herring
On Thu, 22 Nov 2018 13:23:40 +0530, Taniya Das wrote: > Add device tree bindings for Low Power Audio subsystem clock controller for > Qualcomm Technology Inc's SDM845 SoCs. > > Signed-off-by: Taniya Das > --- > .../devicetree/bindings/clock/qcom,gcc.txt | 4 +++- >

[PATCH v2 1/4] dt-bindings: i2c: Add S700 support for Actions Semi Soc's

2018-11-26 Thread Parthiban Nallathambi
Add s700 compatible string to Actions Semi SoC dt-bindings. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/i2c/i2c-owl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-owl.txt

[PATCH v2 1/4] dt-bindings: i2c: Add S700 support for Actions Semi Soc's

2018-11-26 Thread Parthiban Nallathambi
Add s700 compatible string to Actions Semi SoC dt-bindings. Signed-off-by: Parthiban Nallathambi --- Documentation/devicetree/bindings/i2c/i2c-owl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i2c/i2c-owl.txt

[PATCH v2 4/4] arm64: dts: actions: s700-cubieboard7: Enable I2C0 and I2C1

2018-11-26 Thread Parthiban Nallathambi
Add pinctrl definitions for Actions Semiconductor S700 I2C controllers. Pinctrl definitions are only available for I2C0, I2C1 and I2C2. Enable I2C0 (PMIC), I2C1 (gyro, touchscreen) in cubieboard7. Signed-off-by: Parthiban Nallathambi --- .../boot/dts/actions/s700-cubieboard7.dts | 53

[PATCH v2 4/4] arm64: dts: actions: s700-cubieboard7: Enable I2C0 and I2C1

2018-11-26 Thread Parthiban Nallathambi
Add pinctrl definitions for Actions Semiconductor S700 I2C controllers. Pinctrl definitions are only available for I2C0, I2C1 and I2C2. Enable I2C0 (PMIC), I2C1 (gyro, touchscreen) in cubieboard7. Signed-off-by: Parthiban Nallathambi --- .../boot/dts/actions/s700-cubieboard7.dts | 53

[PATCH v2 0/4] Add Actions Semi Owl family S700 I2C support

2018-11-26 Thread Parthiban Nallathambi
This patch series adds support for Actions Semi Owl SoC family S700 I2C controller. S700 provides 4 I2C masters and with cubieboard7 2 (I2C0 and I2C1) are exposed. Added pinctrl definition for I2C controllers in cubieboard7. This patch depends on s700 pinctrl driver support (yet to be merged),

[PATCH v2 2/4] i2c: Add Actions Semiconductor Owl family S700 I2C support

2018-11-26 Thread Parthiban Nallathambi
Add S700 to the list of devices supported by Owl I2C driver. Add Actions Semiconductor Owl family S900 I2C driver. Signed-off-by: Parthiban Nallathambi --- drivers/i2c/busses/i2c-owl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-owl.c

[PATCH v2 3/4] arm64: dts: actions: s700: Add I2C controller nodes

2018-11-26 Thread Parthiban Nallathambi
Add I2C controller nodes for Actions Semiconductor S700 SoC. Signed-off-by: Parthiban Nallathambi --- arch/arm64/boot/dts/actions/s700.dtsi | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi

Re: [PATCH v10 1/3] dt-bindings: clock: Update GCC bindings for protected-clocks

2018-11-26 Thread Rob Herring
On Thu, 22 Nov 2018 13:23:39 +0530, Taniya Das wrote: > Add protected-clocks list which could used to specify the clocks to be > bypassed on certain devices. > > Signed-off-by: Taniya Das > --- > Documentation/devicetree/bindings/clock/qcom,gcc.txt | 14 ++ > 1 file changed, 14

[PATCH v2 0/4] Add Actions Semi Owl family S700 I2C support

2018-11-26 Thread Parthiban Nallathambi
This patch series adds support for Actions Semi Owl SoC family S700 I2C controller. S700 provides 4 I2C masters and with cubieboard7 2 (I2C0 and I2C1) are exposed. Added pinctrl definition for I2C controllers in cubieboard7. This patch depends on s700 pinctrl driver support (yet to be merged),

[PATCH v2 2/4] i2c: Add Actions Semiconductor Owl family S700 I2C support

2018-11-26 Thread Parthiban Nallathambi
Add S700 to the list of devices supported by Owl I2C driver. Add Actions Semiconductor Owl family S900 I2C driver. Signed-off-by: Parthiban Nallathambi --- drivers/i2c/busses/i2c-owl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/busses/i2c-owl.c

[PATCH v2 3/4] arm64: dts: actions: s700: Add I2C controller nodes

2018-11-26 Thread Parthiban Nallathambi
Add I2C controller nodes for Actions Semiconductor S700 SoC. Signed-off-by: Parthiban Nallathambi --- arch/arm64/boot/dts/actions/s700.dtsi | 40 +++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/actions/s700.dtsi

Re: [PATCH v10 1/3] dt-bindings: clock: Update GCC bindings for protected-clocks

2018-11-26 Thread Rob Herring
On Thu, 22 Nov 2018 13:23:39 +0530, Taniya Das wrote: > Add protected-clocks list which could used to specify the clocks to be > bypassed on certain devices. > > Signed-off-by: Taniya Das > --- > Documentation/devicetree/bindings/clock/qcom,gcc.txt | 14 ++ > 1 file changed, 14

Re: [PATCH v10 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-11-26 Thread Rob Herring
On Wed, Nov 21, 2018 at 10:02:36AM -0800, Matthias Kaehlcke wrote: > On Wed, Nov 21, 2018 at 04:12:46PM +0530, Taniya Das wrote: > > Add QCOM cpufreq firmware device bindings for Qualcomm Technology Inc's > > SoCs. This is required for managing the cpu frequency transitions which are > >

Re: [PATCH v10 1/2] dt-bindings: cpufreq: Introduce QCOM CPUFREQ Firmware bindings

2018-11-26 Thread Rob Herring
On Wed, Nov 21, 2018 at 10:02:36AM -0800, Matthias Kaehlcke wrote: > On Wed, Nov 21, 2018 at 04:12:46PM +0530, Taniya Das wrote: > > Add QCOM cpufreq firmware device bindings for Qualcomm Technology Inc's > > SoCs. This is required for managing the cpu frequency transitions which are > >

[PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-26 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Created max98373_reset function to minimize code duplication. Changed regmap_write to regmap_update_bits. Other bits except LSB need to be masked. Added reset verification step to make sure software reset is completed well. Software

[PATCH] ASoC: max98373: Added max98373_reset for stable amp reset

2018-11-26 Thread Ryan Lee
Signed-off-by: Ryan Lee --- Changes : Created max98373_reset function to minimize code duplication. Changed regmap_write to regmap_update_bits. Other bits except LSB need to be masked. Added reset verification step to make sure software reset is completed well. Software

Re: [PATCH v4 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2018-11-26 Thread Robin Murphy
Hi Shameer, Sorry for the delay... On 18/10/2018 16:27, Shameerali Kolothum Thodi wrote: -Original Message- From: Linuxarm [mailto:linuxarm-boun...@huawei.com] On Behalf Of Shameerali Kolothum Thodi Sent: 18 October 2018 14:34 To: Robin Murphy ; lorenzo.pieral...@arm.com;

Re: [PATCH v4 4/4] perf/smmuv3_pmu: Enable HiSilicon Erratum 162001800 quirk

2018-11-26 Thread Robin Murphy
Hi Shameer, Sorry for the delay... On 18/10/2018 16:27, Shameerali Kolothum Thodi wrote: -Original Message- From: Linuxarm [mailto:linuxarm-boun...@huawei.com] On Behalf Of Shameerali Kolothum Thodi Sent: 18 October 2018 14:34 To: Robin Murphy ; lorenzo.pieral...@arm.com;

[PATCH v3] ALSA: hda/realtek - Add auto-mute quirk for HP Spectre x360 laptop

2018-11-26 Thread Girija Kumar Kasinadhuni
This device makes a loud buzzing sound when a headphone is inserted while playing audio at full volume through the speaker. Signed-off-by: Girija Kumar Kasinadhuni --- Apologies for the earlier patch not being tested properly. Verified this time, and on the actual hardware. Here' s the alsa-info

[PATCH v3] ALSA: hda/realtek - Add auto-mute quirk for HP Spectre x360 laptop

2018-11-26 Thread Girija Kumar Kasinadhuni
This device makes a loud buzzing sound when a headphone is inserted while playing audio at full volume through the speaker. Signed-off-by: Girija Kumar Kasinadhuni --- Apologies for the earlier patch not being tested properly. Verified this time, and on the actual hardware. Here' s the alsa-info

Re: [PATCH 19/25] sched/vite: Handle nice updates under vtime

2018-11-26 Thread Frederic Weisbecker
On Mon, Nov 26, 2018 at 05:11:03PM +0100, Peter Zijlstra wrote: > On Mon, Nov 26, 2018 at 04:53:54PM +0100, Frederic Weisbecker wrote: > > > > + irq_work_queue_on(_cpu(vtime_set_nice_work, cpu), cpu); > > > > > > What happens if you already had one pending? Do we loose updates? > > > > No,

Re: [PATCH 19/25] sched/vite: Handle nice updates under vtime

2018-11-26 Thread Frederic Weisbecker
On Mon, Nov 26, 2018 at 05:11:03PM +0100, Peter Zijlstra wrote: > On Mon, Nov 26, 2018 at 04:53:54PM +0100, Frederic Weisbecker wrote: > > > > + irq_work_queue_on(_cpu(vtime_set_nice_work, cpu), cpu); > > > > > > What happens if you already had one pending? Do we loose updates? > > > > No,

Re: [PATCH 0/3] GPCv2 support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Mon, Nov 19, 2018 at 6:10 AM Lucas Stach wrote: > > Hi Andrey, > > Am Samstag, den 17.11.2018, 10:12 -0800 schrieb Andrey Smirnov: > > Everyone: > > > > This series contains changes I made to add support for i.MX8MQ to > > GPCv2 driver in order to enable support of PCIE IP block on i.MX8MQ > >

Re: [PATCH 0/3] GPCv2 support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Mon, Nov 19, 2018 at 6:10 AM Lucas Stach wrote: > > Hi Andrey, > > Am Samstag, den 17.11.2018, 10:12 -0800 schrieb Andrey Smirnov: > > Everyone: > > > > This series contains changes I made to add support for i.MX8MQ to > > GPCv2 driver in order to enable support of PCIE IP block on i.MX8MQ > >

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Tim Chen
On 11/22/2018 11:37 PM, Ingo Molnar wrote: >>> I think all the call paths from prctl and seccomp coming here >>> has tsk == current. >> >> We had that discussion before with SSBD: >> >> seccomp_set_mode_filter() >>seccomp_attach_filter() >> seccomp_sync_threads() >>

Re: [patch 20/24] x86/speculation: Split out TIF update

2018-11-26 Thread Tim Chen
On 11/22/2018 11:37 PM, Ingo Molnar wrote: >>> I think all the call paths from prctl and seccomp coming here >>> has tsk == current. >> >> We had that discussion before with SSBD: >> >> seccomp_set_mode_filter() >>seccomp_attach_filter() >> seccomp_sync_threads() >>

Re: [PATCH v2] mm: prototype: rid swapoff of quadratic complexity

2018-11-26 Thread Vineeth Remanan Pillai
Hi Mathew, Thanks for your response! On 11/26/18 12:22 PM, Matthew Wilcox wrote: On Mon, Nov 26, 2018 at 04:55:21PM +, Vineeth Remanan Pillai wrote: + do { + XA_STATE(xas, >i_pages, start); + int i; + int entries = 0; + struct

Re: [PATCH v2] mm: prototype: rid swapoff of quadratic complexity

2018-11-26 Thread Vineeth Remanan Pillai
Hi Mathew, Thanks for your response! On 11/26/18 12:22 PM, Matthew Wilcox wrote: On Mon, Nov 26, 2018 at 04:55:21PM +, Vineeth Remanan Pillai wrote: + do { + XA_STATE(xas, >i_pages, start); + int i; + int entries = 0; + struct

Re: [PATCH 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-11-26 Thread Andrey Smirnov
On Mon, Nov 19, 2018 at 5:22 PM Trent Piepho wrote: > > On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > > PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, > > so none of the code in current implementation of imx6_pcie_reset_phy() > > is applicable. > > Tested on

Re: [PATCH 2/3] PCI: imx: No-op imx6_pcie_reset_phy() on i.MX7D

2018-11-26 Thread Andrey Smirnov
On Mon, Nov 19, 2018 at 5:22 PM Trent Piepho wrote: > > On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > > PCIE PHY IP block on i.MX7D differs from the one used on i.MX6 family, > > so none of the code in current implementation of imx6_pcie_reset_phy() > > is applicable. > > Tested on

Re: [patch V2 19/28] x86/process: Consolidate and simplify switch_to_xtra() code

2018-11-26 Thread Borislav Petkov
On Sun, Nov 25, 2018 at 07:33:47PM +0100, Thomas Gleixner wrote: > Move the conditional invocation of __switch_to_xtra() into an inline > function so the logic can be shared between 32 and 64 bit. > > Remove the handthrough of the TSS pointer and retrieve the pointer directly

Re: [patch V2 19/28] x86/process: Consolidate and simplify switch_to_xtra() code

2018-11-26 Thread Borislav Petkov
On Sun, Nov 25, 2018 at 07:33:47PM +0100, Thomas Gleixner wrote: > Move the conditional invocation of __switch_to_xtra() into an inline > function so the logic can be shared between 32 and 64 bit. > > Remove the handthrough of the TSS pointer and retrieve the pointer directly

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-26 Thread Mark Brown
On Mon, Nov 26, 2018 at 10:11:48AM -0800, Doug Anderson wrote: > just takes the load you pass it and sends it on. It looks like you > can still force the mode but it looks like it's using a custom > attribute for that (qcom,force-mode). I wonder if that should be > changed to use

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-26 Thread Mark Brown
On Mon, Nov 26, 2018 at 10:11:48AM -0800, Doug Anderson wrote: > just takes the load you pass it and sends it on. It looks like you > can still force the mode but it looks like it's using a custom > attribute for that (qcom,force-mode). I wonder if that should be > changed to use

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-26 Thread Andy Lutomirski
On Mon, Nov 26, 2018 at 9:10 AM Josh Poimboeuf wrote: > > On Mon, Nov 26, 2018 at 05:02:17PM +0100, Peter Zijlstra wrote: > > On Mon, Nov 26, 2018 at 07:55:00AM -0600, Josh Poimboeuf wrote: > > > diff --git a/arch/x86/kernel/static_call.c b/arch/x86/kernel/static_call.c > > > index

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-26 Thread Andy Lutomirski
On Mon, Nov 26, 2018 at 9:10 AM Josh Poimboeuf wrote: > > On Mon, Nov 26, 2018 at 05:02:17PM +0100, Peter Zijlstra wrote: > > On Mon, Nov 26, 2018 at 07:55:00AM -0600, Josh Poimboeuf wrote: > > > diff --git a/arch/x86/kernel/static_call.c b/arch/x86/kernel/static_call.c > > > index

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Tue, Nov 20, 2018 at 2:49 AM Leonard Crestez wrote: > > On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > > @@ -921,7 +1004,28 @@ static int imx6_pcie_probe(struct platform_device > > *pdev) > > - case IMX7D: > > + case IMX8MQ: > > + if (of_property_read_u32(node,

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Tue, Nov 20, 2018 at 2:49 AM Leonard Crestez wrote: > > On Sat, 2018-11-17 at 10:12 -0800, Andrey Smirnov wrote: > > @@ -921,7 +1004,28 @@ static int imx6_pcie_probe(struct platform_device > > *pdev) > > - case IMX7D: > > + case IMX8MQ: > > + if (of_property_read_u32(node,

Re: [PATCH] MIPS: ralink: Fix mt7620 nd_sd pinmux

2018-11-26 Thread Paul Burton
Hello, Mathias Kresin wrote: > In case the nd_sd group is set to the sd-card function, Pins 45 + 46 are > configured as GPIOs. If they are blocked by the sd function, they can't > be used as GPIOs. > > Signed-off-by: Mathias Kresin > Reported-by: Kristian Evensen > Fixes: f576fb6a0700 ("MIPS:

Re: [PATCH] MIPS: ralink: Fix mt7620 nd_sd pinmux

2018-11-26 Thread Paul Burton
Hello, Mathias Kresin wrote: > In case the nd_sd group is set to the sd-card function, Pins 45 + 46 are > configured as GPIOs. If they are blocked by the sd function, they can't > be used as GPIOs. > > Signed-off-by: Mathias Kresin > Reported-by: Kristian Evensen > Fixes: f576fb6a0700 ("MIPS:

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-26 Thread Andy Lutomirski
On Mon, Nov 26, 2018 at 3:00 AM Dr. Greg wrote: > > On Sun, Nov 25, 2018 at 04:37:00PM -0800, Andy Lutomirski wrote: > > > Bah, I hit send on a partially written draft. I???ll try again soon. > > > > --Andy > > Your first issue seems to be complete so I will respond to that in > order to make

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-26 Thread Andy Lutomirski
On Mon, Nov 26, 2018 at 3:00 AM Dr. Greg wrote: > > On Sun, Nov 25, 2018 at 04:37:00PM -0800, Andy Lutomirski wrote: > > > Bah, I hit send on a partially written draft. I???ll try again soon. > > > > --Andy > > Your first issue seems to be complete so I will respond to that in > order to make

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-26 Thread Mark Brown
On Mon, Nov 26, 2018 at 09:43:42AM -0800, Doug Anderson wrote: > NOTE: another option would be to change the regulator driver to just > force this rail to a high power mode and never let it change. That's > what we're doing on a SDM845-based board. When the regulator is off > the mode doesn't

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-26 Thread Mark Brown
On Mon, Nov 26, 2018 at 09:43:42AM -0800, Doug Anderson wrote: > NOTE: another option would be to change the regulator driver to just > force this rail to a high power mode and never let it change. That's > what we're doing on a SDM845-based board. When the regulator is off > the mode doesn't

[PATCH v2] staging: pi433: add missing call to cdev_del()

2018-11-26 Thread Michael Straube
If cdev_add() fails, cdev_del() should be called. Add the missing cdev_del() call as pointed out by Dan Carpenter. Signed-off-by: Michael Straube --- v1 -> v2 Use goto and label. drivers/staging/pi433/pi433_if.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH v2] staging: pi433: add missing call to cdev_del()

2018-11-26 Thread Michael Straube
If cdev_add() fails, cdev_del() should be called. Add the missing cdev_del() call as pointed out by Dan Carpenter. Signed-off-by: Michael Straube --- v1 -> v2 Use goto and label. drivers/staging/pi433/pi433_if.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

Re: [RFC][PATCH] fs: set xattrs in initramfs from regular files

2018-11-26 Thread Roberto Sassu
On 11/26/2018 6:42 PM, Rob Landley wrote: On 11/26/18 6:56 AM, Roberto Sassu wrote: On 11/23/2018 9:21 PM, Rob Landley wrote: The aim of this patch is to provide the same functionality without introducing a new format. The value of xattrs is placed in regular files having the same file name as

Re: [RFC][PATCH] fs: set xattrs in initramfs from regular files

2018-11-26 Thread Roberto Sassu
On 11/26/2018 6:42 PM, Rob Landley wrote: On 11/26/18 6:56 AM, Roberto Sassu wrote: On 11/23/2018 9:21 PM, Rob Landley wrote: The aim of this patch is to provide the same functionality without introducing a new format. The value of xattrs is placed in regular files having the same file name as

Re: [PATCH] staging: pi433: add missing call to cdev_del()

2018-11-26 Thread Michael Straube
On 11/26/18 7:01 PM, Dan Carpenter wrote: On Mon, Nov 26, 2018 at 06:53:55PM +0100, Michael Straube wrote: retval = cdev_add(device->cdev, device->devt, 1); if (retval) { dev_dbg(device->dev, "register of cdev failed"); + cdev_del(device->cdev);

Re: [PATCH] staging: pi433: add missing call to cdev_del()

2018-11-26 Thread Michael Straube
On 11/26/18 7:01 PM, Dan Carpenter wrote: On Mon, Nov 26, 2018 at 06:53:55PM +0100, Michael Straube wrote: retval = cdev_add(device->cdev, device->devt, 1); if (retval) { dev_dbg(device->dev, "register of cdev failed"); + cdev_del(device->cdev);

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-26 Thread Doug Anderson
Hi, On Mon, Nov 26, 2018 at 9:59 AM Mark Brown wrote: > > On Mon, Nov 26, 2018 at 09:43:42AM -0800, Doug Anderson wrote: > > > NOTE: another option would be to change the regulator driver to just > > force this rail to a high power mode and never let it change. That's > > what we're doing on a

Re: Question about "regulator: core: Only count load for enabled consumers" in -next

2018-11-26 Thread Doug Anderson
Hi, On Mon, Nov 26, 2018 at 9:59 AM Mark Brown wrote: > > On Mon, Nov 26, 2018 at 09:43:42AM -0800, Doug Anderson wrote: > > > NOTE: another option would be to change the regulator driver to just > > force this rail to a high power mode and never let it change. That's > > what we're doing on a

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Sun, Nov 18, 2018 at 11:07 PM Richard Zhu wrote: > > Hi Andrey: > Thanks for your patch-set. > I have comment about the L1SS implementation below. > It's better to figure out one method to fix it. > > BR > Richard > > > -Original Message- > > From: Andrey Smirnov

Re: [PATCH 3/3] PCI: imx: Add support for i.MX8MQ

2018-11-26 Thread Andrey Smirnov
On Sun, Nov 18, 2018 at 11:07 PM Richard Zhu wrote: > > Hi Andrey: > Thanks for your patch-set. > I have comment about the L1SS implementation below. > It's better to figure out one method to fix it. > > BR > Richard > > > -Original Message- > > From: Andrey Smirnov

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-26 Thread Dan Williams
On Mon, Nov 26, 2018 at 8:42 AM Dave Hansen wrote: > > On 11/23/18 1:13 PM, Dan Williams wrote: > >> A new system call makes total sense to me. I have the same concern > >> about the completeness of what's exposed in sysfs, I just don't see a > >> _route_ to completeness with sysfs itself.

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-26 Thread Dan Williams
On Mon, Nov 26, 2018 at 8:42 AM Dave Hansen wrote: > > On 11/23/18 1:13 PM, Dan Williams wrote: > >> A new system call makes total sense to me. I have the same concern > >> about the completeness of what's exposed in sysfs, I just don't see a > >> _route_ to completeness with sysfs itself.

Re: [Intel-wired-lan] [PATCH V2] mm: Replace all open encodings for NUMA_NO_NODE

2018-11-26 Thread Jens Axboe
On 11/26/18 10:56 AM, Jeff Kirsher wrote: > On Mon, 2018-11-26 at 17:56 +0530, Anshuman Khandual wrote: >> At present there are multiple places where invalid node number is >> encoded >> as -1. Even though implicitly understood it is always better to have >> macros >> in there. Replace these open

Re: [Intel-wired-lan] [PATCH V2] mm: Replace all open encodings for NUMA_NO_NODE

2018-11-26 Thread Jens Axboe
On 11/26/18 10:56 AM, Jeff Kirsher wrote: > On Mon, 2018-11-26 at 17:56 +0530, Anshuman Khandual wrote: >> At present there are multiple places where invalid node number is >> encoded >> as -1. Even though implicitly understood it is always better to have >> macros >> in there. Replace these open

Re: [PATCH v2 1/8] mfd / platform: cros_ec: use devm_mfd_add_devices.

2018-11-26 Thread Guenter Roeck
Hi Enric, On Mon, Nov 26, 2018 at 9:52 AM Enric Balletbo i Serra wrote: > > Use devm_mfd_add_devices() for adding cros-ec core MFD child devices. This > reduces the need of remove callback from platform/chrome for removing the > MFD child devices. > > Signed-off-by: Enric Balletbo i Serra > ---

Re: [PATCH v2 1/8] mfd / platform: cros_ec: use devm_mfd_add_devices.

2018-11-26 Thread Guenter Roeck
Hi Enric, On Mon, Nov 26, 2018 at 9:52 AM Enric Balletbo i Serra wrote: > > Use devm_mfd_add_devices() for adding cros-ec core MFD child devices. This > reduces the need of remove callback from platform/chrome for removing the > MFD child devices. > > Signed-off-by: Enric Balletbo i Serra > ---

[Bug] SD card reader in Acer Aspire S5 broken in 4.20-rc

2018-11-26 Thread Rafael J. Wysocki
Hi Bjorn, The SD card reader in my Acer Aspire S5 doesn't work with 4.20-rc. Here's what lspci -v says about it (in a bad kernel): 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01) Subsystem: Acer Incorporated [ALI] Device 0704

[Bug] SD card reader in Acer Aspire S5 broken in 4.20-rc

2018-11-26 Thread Rafael J. Wysocki
Hi Bjorn, The SD card reader in my Acer Aspire S5 doesn't work with 4.20-rc. Here's what lspci -v says about it (in a bad kernel): 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01) Subsystem: Acer Incorporated [ALI] Device 0704

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-26 Thread Josh Poimboeuf
On Mon, Nov 26, 2018 at 11:10:36AM -0600, Josh Poimboeuf wrote: > On Mon, Nov 26, 2018 at 05:02:17PM +0100, Peter Zijlstra wrote: > > On Mon, Nov 26, 2018 at 07:55:00AM -0600, Josh Poimboeuf wrote: > > > diff --git a/arch/x86/kernel/static_call.c b/arch/x86/kernel/static_call.c > > > index

Re: [PATCH v2 4/4] x86/static_call: Add inline static call implementation for x86-64

2018-11-26 Thread Josh Poimboeuf
On Mon, Nov 26, 2018 at 11:10:36AM -0600, Josh Poimboeuf wrote: > On Mon, Nov 26, 2018 at 05:02:17PM +0100, Peter Zijlstra wrote: > > On Mon, Nov 26, 2018 at 07:55:00AM -0600, Josh Poimboeuf wrote: > > > diff --git a/arch/x86/kernel/static_call.c b/arch/x86/kernel/static_call.c > > > index

Re: [PATCH net] ixgbe: recognize 1000BaseLX SFP modules as 1Gbps

2018-11-26 Thread Josh Elsasser
Bjørn Mork wrote: > Not that it matters much I guess, but I think LX SFPs were unsupported > at that time. The LX support appears to have been added under the radar > while refactoring ixgbe_setup_sfp_modules_X550em in commit e23f33367882 > ("ixgbe: Fix 1G and 10G link stability for X550EM_x

Re: [PATCH net] ixgbe: recognize 1000BaseLX SFP modules as 1Gbps

2018-11-26 Thread Josh Elsasser
Bjørn Mork wrote: > Not that it matters much I guess, but I think LX SFPs were unsupported > at that time. The LX support appears to have been added under the radar > while refactoring ixgbe_setup_sfp_modules_X550em in commit e23f33367882 > ("ixgbe: Fix 1G and 10G link stability for X550EM_x

[PATCH] staging: pi433: add missing call to cdev_del()

2018-11-26 Thread Michael Straube
If cdev_add() fails, cdev_del() should be called. Add the missing cdev_del() call as pointed out by Dan Carpenter. Signed-off-by: Michael Straube --- drivers/staging/pi433/pi433_if.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/pi433/pi433_if.c

[PATCH] staging: pi433: add missing call to cdev_del()

2018-11-26 Thread Michael Straube
If cdev_add() fails, cdev_del() should be called. Add the missing cdev_del() call as pointed out by Dan Carpenter. Signed-off-by: Michael Straube --- drivers/staging/pi433/pi433_if.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/pi433/pi433_if.c

[PATCH v2 2/8] mfd / platform: cros_ec: move lightbar attributes to its own driver.

2018-11-26 Thread Enric Balletbo i Serra
The entire way how cros sysfs attibutes are created is broken. cros_ec_lightbar should be its own driver and its attributes should be associated with a lightbar driver not the mfd driver. In order to retain the path, the lightbar attributes are attached to the cros_class. The patch also adds the

[PATCH v2 0/8] mfd / platform: cros_ec: move cros_ec sysfs attributes to its own drivers.

2018-11-26 Thread Enric Balletbo i Serra
Hi, This is another patchset to try to cleanup a bit more the crossed references for cros-ec driver between the MFD and the platform/chrome subsystems. The purpose of these patches is get rid of the different cros-ec attributes from mfd/cros_ec_dev to its own sub-driver in platform/chrome.

Re: [PATCH 3.18 00/24] 3.18.127-stable review

2018-11-26 Thread Harsh Shandilya
On 26 November 2018 4:20:54 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 3.18.127 release. >There are 24 patches in this series, all will be posted as a response >to this one. If anyone has any issues with these being applied, please >let me know. >

[PATCH v2 3/8] mfd / platform: cros_ec: move vbc attributes to its own driver.

2018-11-26 Thread Enric Balletbo i Serra
The entire way how cros sysfs attibutes are created is broken. cros_ec_vbc should be its own driver and its attributes should be associated with a vbc driver not the mfd driver. In order to retain the path, the vbc attributes are attached to the cros_class. The patch also adds the sysfs

[PATCH v2 2/8] mfd / platform: cros_ec: move lightbar attributes to its own driver.

2018-11-26 Thread Enric Balletbo i Serra
The entire way how cros sysfs attibutes are created is broken. cros_ec_lightbar should be its own driver and its attributes should be associated with a lightbar driver not the mfd driver. In order to retain the path, the lightbar attributes are attached to the cros_class. The patch also adds the

[PATCH v2 0/8] mfd / platform: cros_ec: move cros_ec sysfs attributes to its own drivers.

2018-11-26 Thread Enric Balletbo i Serra
Hi, This is another patchset to try to cleanup a bit more the crossed references for cros-ec driver between the MFD and the platform/chrome subsystems. The purpose of these patches is get rid of the different cros-ec attributes from mfd/cros_ec_dev to its own sub-driver in platform/chrome.

Re: [PATCH 3.18 00/24] 3.18.127-stable review

2018-11-26 Thread Harsh Shandilya
On 26 November 2018 4:20:54 PM IST, Greg Kroah-Hartman wrote: >This is the start of the stable review cycle for the 3.18.127 release. >There are 24 patches in this series, all will be posted as a response >to this one. If anyone has any issues with these being applied, please >let me know. >

[PATCH v2 3/8] mfd / platform: cros_ec: move vbc attributes to its own driver.

2018-11-26 Thread Enric Balletbo i Serra
The entire way how cros sysfs attibutes are created is broken. cros_ec_vbc should be its own driver and its attributes should be associated with a vbc driver not the mfd driver. In order to retain the path, the vbc attributes are attached to the cros_class. The patch also adds the sysfs

[PATCH v2 8/8] mfd: cros_ec: add a dev_release empty method.

2018-11-26 Thread Enric Balletbo i Serra
Devices are required to provide a release method. This patch fixes the following WARN(): [ 47.218707] [ cut here ] [ 47.223901] Device 'cros_ec' does not have a release() function, it is broken and must be fixed. [ 47.234430] WARNING: CPU: 0 PID: 3585 at

[PATCH v2 7/8] platform/chrome: cros_ec_lightbar: instantiate only if the EC has a lightbar.

2018-11-26 Thread Enric Balletbo i Serra
Due to the way attribute groups visibility work, the function cros_ec_lightbar_attrs_are_visible is called multiple times, once per attribute, and each of these calls makes an EC transaction. For what is worth the EC log reports multiple errors on boot when the lightbar is not available. Instead,

<    2   3   4   5   6   7   8   9   10   11   >