[PATCH v2 2/3] regulator: pfuze100: add support to en-/disable switch regulators

2018-07-13 Thread Marco Felsch
Add enable/disable support for switch regulators on pfuze100. Based on commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch") which is reverted due to boot regressions by commit 464a5686e6c9 ("regulator: Revert "regulator: pfuze100: add enable/disable for switch""). Disabling

[PATCH v2 1/3] dt-bindings: pfuze100: add optional disable switch-regulators binding

2018-07-13 Thread Marco Felsch
This binding is used to keep the backward compatibility with the current dtb's [1]. The binding informs the driver that the unused switch regulators can be disabled. If it is not specified, the driver doesn't disable the switch regulators. [1] https://patchwork.kernel.org/patch/10490381/

[PATCH v2 2/3] regulator: pfuze100: add support to en-/disable switch regulators

2018-07-13 Thread Marco Felsch
Add enable/disable support for switch regulators on pfuze100. Based on commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch") which is reverted due to boot regressions by commit 464a5686e6c9 ("regulator: Revert "regulator: pfuze100: add enable/disable for switch""). Disabling

[PATCH v2 1/3] dt-bindings: pfuze100: add optional disable switch-regulators binding

2018-07-13 Thread Marco Felsch
This binding is used to keep the backward compatibility with the current dtb's [1]. The binding informs the driver that the unused switch regulators can be disabled. If it is not specified, the driver doesn't disable the switch regulators. [1] https://patchwork.kernel.org/patch/10490381/

Re: [PATCH] pinctrl: mt7622: fix probe fail by misuse the selector

2018-07-13 Thread Tony Lindgren
* Linus Walleij [180713 08:14]: > On Thu, Jul 12, 2018 at 7:50 AM wrote: > > > From: Sean Wang > > > > After the commit acf137951367 ("pinctrl: core: Return selector to the > > pinctrl driver") and the commit 47f1242d19c3 ("pinctrl: pinmux: Return > > selector to the pinctrl driver"), it's

Re: [PATCH] pinctrl: mt7622: fix probe fail by misuse the selector

2018-07-13 Thread Tony Lindgren
* Linus Walleij [180713 08:14]: > On Thu, Jul 12, 2018 at 7:50 AM wrote: > > > From: Sean Wang > > > > After the commit acf137951367 ("pinctrl: core: Return selector to the > > pinctrl driver") and the commit 47f1242d19c3 ("pinctrl: pinmux: Return > > selector to the pinctrl driver"), it's

[PATCH 1/2] mux:adgs1408/1409: New driver for Analog Devices ADGS1408/1409 mux …

2018-07-13 Thread Mircea Caprioru
This patch adds basic support for Analog Device ADGS1408/09 SPI mux controller. The device is probed and set to a disabled state. It uses the new mux controller framework. Signed-off-by: Mircea Caprioru --- MAINTAINERS| 7 +++ drivers/mux/Kconfig| 12

[PATCH 1/2] mux:adgs1408/1409: New driver for Analog Devices ADGS1408/1409 mux …

2018-07-13 Thread Mircea Caprioru
This patch adds basic support for Analog Device ADGS1408/09 SPI mux controller. The device is probed and set to a disabled state. It uses the new mux controller framework. Signed-off-by: Mircea Caprioru --- MAINTAINERS| 7 +++ drivers/mux/Kconfig| 12

[GIT PULL][PATCH] tracing: Reorder display of TGID to be after PID

2018-07-13 Thread Steven Rostedt
Linus, Joel Fernandes asked to add a feature in tracing that Android had its own patch internally for. I took it back in 4.13. Now he realizes that he had a mistake, and swapped the values from what Android had. This means that the old Android tools will break when using a new kernel that has

[GIT PULL][PATCH] tracing: Reorder display of TGID to be after PID

2018-07-13 Thread Steven Rostedt
Linus, Joel Fernandes asked to add a feature in tracing that Android had its own patch internally for. I took it back in 4.13. Now he realizes that he had a mistake, and swapped the values from what Android had. This means that the old Android tools will break when using a new kernel that has

Re: [PATCH v5 4/5] mm/sparse: add new sparse_init_nid() and sparse_init()

2018-07-13 Thread Pavel Tatashin
> > Signed-off-by: Pavel Tatashin > > Looks good to me, and it will make the code much shorter/easier. > > Reviewed-by: Oscar Salvador > Thank you! Pave

Re: [PATCH v5 4/5] mm/sparse: add new sparse_init_nid() and sparse_init()

2018-07-13 Thread Pavel Tatashin
> > Signed-off-by: Pavel Tatashin > > Looks good to me, and it will make the code much shorter/easier. > > Reviewed-by: Oscar Salvador > Thank you! Pave

Re: [PATCH v6 13/21] s390: vfio-ap: sysfs interface to view matrix mdev matrix

2018-07-13 Thread Tony Krowiak
On 07/09/2018 04:38 PM, Pierre Morel wrote: On 09/07/2018 14:20, Pierre Morel wrote: On 29/06/2018 23:11, Tony Krowiak wrote: Provides a sysfs interface to view the AP matrix configured for the mediated matrix device. The relevant sysfs structures are: /sys/devices/vfio_ap ... [matrix]

Re: [PATCH v6 13/21] s390: vfio-ap: sysfs interface to view matrix mdev matrix

2018-07-13 Thread Tony Krowiak
On 07/09/2018 04:38 PM, Pierre Morel wrote: On 09/07/2018 14:20, Pierre Morel wrote: On 29/06/2018 23:11, Tony Krowiak wrote: Provides a sysfs interface to view the AP matrix configured for the mediated matrix device. The relevant sysfs structures are: /sys/devices/vfio_ap ... [matrix]

Re: [PATCH v6 10/21] s390: vfio-ap: sysfs interfaces to configure adapters

2018-07-13 Thread Tony Krowiak
On 07/09/2018 02:11 PM, Pierre Morel wrote: On 29/06/2018 23:11, Tony Krowiak wrote: Provides the sysfs interfaces for assigning AP adapters to and unassigning AP adapters from a mediated matrix device. The IDs of the AP adapters assigned to the mediated matrix device are stored in an AP mask

Re: [PATCH v6 10/21] s390: vfio-ap: sysfs interfaces to configure adapters

2018-07-13 Thread Tony Krowiak
On 07/09/2018 02:11 PM, Pierre Morel wrote: On 29/06/2018 23:11, Tony Krowiak wrote: Provides the sysfs interfaces for assigning AP adapters to and unassigning AP adapters from a mediated matrix device. The IDs of the AP adapters assigned to the mediated matrix device are stored in an AP mask

Re: [PATCH 1/2] tracing: kprobes: Prohibit probing on notrace functions

2018-07-13 Thread Steven Rostedt
On Fri, 13 Jul 2018 11:53:01 +0900 Masami Hiramatsu wrote: > On Thu, 12 Jul 2018 13:54:12 -0400 > Francis Deslauriers wrote: > > > From: Masami Hiramatsu > > > > Prohibit kprobe-events probing on notrace function. > > Since probing on the notrace function can cause recursive > > event call.

Re: [PATCH 1/2] tracing: kprobes: Prohibit probing on notrace functions

2018-07-13 Thread Steven Rostedt
On Fri, 13 Jul 2018 11:53:01 +0900 Masami Hiramatsu wrote: > On Thu, 12 Jul 2018 13:54:12 -0400 > Francis Deslauriers wrote: > > > From: Masami Hiramatsu > > > > Prohibit kprobe-events probing on notrace function. > > Since probing on the notrace function can cause recursive > > event call.

[PATCH 2/3] ntp: Use kstrtos64 for s64 variable

2018-07-13 Thread Ondrej Mosnacek
...instead of kstrtol with a dirty cast. Signed-off-by: Ondrej Mosnacek --- kernel/time/ntp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 25031ffb5d25..6c764addef3e 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@

[PATCH 3/3] timekeeping/ntp: Constify some function arguments

2018-07-13 Thread Ondrej Mosnacek
Add 'const' to some function arguments and variables to make it easier to read the code. Signed-off-by: Ondrej Mosnacek --- include/linux/timekeeping.h| 2 +- kernel/time/ntp.c | 6 +++--- kernel/time/ntp_internal.h | 2 +- kernel/time/timekeeping.c

[PATCH 2/3] ntp: Use kstrtos64 for s64 variable

2018-07-13 Thread Ondrej Mosnacek
...instead of kstrtol with a dirty cast. Signed-off-by: Ondrej Mosnacek --- kernel/time/ntp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index 25031ffb5d25..6c764addef3e 100644 --- a/kernel/time/ntp.c +++ b/kernel/time/ntp.c @@

[PATCH 3/3] timekeeping/ntp: Constify some function arguments

2018-07-13 Thread Ondrej Mosnacek
Add 'const' to some function arguments and variables to make it easier to read the code. Signed-off-by: Ondrej Mosnacek --- include/linux/timekeeping.h| 2 +- kernel/time/ntp.c | 6 +++--- kernel/time/ntp_internal.h | 2 +- kernel/time/timekeeping.c

[PATCH 1/3] ntp: Remove redundant arguments

2018-07-13 Thread Ondrej Mosnacek
The 'ts' argument of process_adj_status() and process_adjtimex_modes() is unused and can be safely removed. Signed-off-by: Ondrej Mosnacek --- kernel/time/ntp.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index

[PATCH 1/3] ntp: Remove redundant arguments

2018-07-13 Thread Ondrej Mosnacek
The 'ts' argument of process_adj_status() and process_adjtimex_modes() is unused and can be safely removed. Signed-off-by: Ondrej Mosnacek --- kernel/time/ntp.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/kernel/time/ntp.c b/kernel/time/ntp.c index

Re: [PATCH v5 4/5] mm/sparse: add new sparse_init_nid() and sparse_init()

2018-07-13 Thread Oscar Salvador
On Thu, Jul 12, 2018 at 04:37:29PM -0400, Pavel Tatashin wrote: > sparse_init() requires to temporary allocate two large buffers: > usemap_map and map_map. Baoquan He has identified that these buffers are so > large that Linux is not bootable on small memory machines, such as a kdump > boot. The

Re: [PATCH v5 4/5] mm/sparse: add new sparse_init_nid() and sparse_init()

2018-07-13 Thread Oscar Salvador
On Thu, Jul 12, 2018 at 04:37:29PM -0400, Pavel Tatashin wrote: > sparse_init() requires to temporary allocate two large buffers: > usemap_map and map_map. Baoquan He has identified that these buffers are so > large that Linux is not bootable on small memory machines, such as a kdump > boot. The

Re: [PATCH v5 1/2] timers: Don't wake ktimersoftd on every tick

2018-07-13 Thread Anna-Maria Gleixner
Hi Haris, On Thu, 28 Jun 2018, Haris Okanovic wrote: > Collect expired timers in interrupt context to avoid overhead of waking > ktimersoftd on every scheduler tick. > > This is implemented by storing lists of expired timers in the timer_base > struct, which is updated by the interrupt routing

Re: [PATCH v5 1/2] timers: Don't wake ktimersoftd on every tick

2018-07-13 Thread Anna-Maria Gleixner
Hi Haris, On Thu, 28 Jun 2018, Haris Okanovic wrote: > Collect expired timers in interrupt context to avoid overhead of waking > ktimersoftd on every scheduler tick. > > This is implemented by storing lists of expired timers in the timer_base > struct, which is updated by the interrupt routing

Re: [PATCH] fs: Add to super_blocks list after SB_BORN is set.

2018-07-13 Thread Al Viro
On Fri, Jul 13, 2018 at 07:09:03PM +0900, Tetsuo Handa wrote: > More simple version. Is this assumption correct? Racy, for obvious reasons (sget/sget)

Re: [PATCH] fs: Add to super_blocks list after SB_BORN is set.

2018-07-13 Thread Al Viro
On Fri, Jul 13, 2018 at 07:09:03PM +0900, Tetsuo Handa wrote: > More simple version. Is this assumption correct? Racy, for obvious reasons (sget/sget)

[PATCH v13 2/2] Add oom victim's memcg to the oom context information

2018-07-13 Thread ufo19890607
From: yuzhoujian The current oom report doesn't display victim's memcg context during the global OOM situation. While this information is not strictly needed, it can be really helpful for containerized environments to locate which container has lost a process. Now that we have a single line for

[PATCH v13 2/2] Add oom victim's memcg to the oom context information

2018-07-13 Thread ufo19890607
From: yuzhoujian The current oom report doesn't display victim's memcg context during the global OOM situation. While this information is not strictly needed, it can be really helpful for containerized environments to locate which container has lost a process. Now that we have a single line for

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 09:35:06AM +0200, Linus Walleij wrote: > 4. An immutable branch with the ARM SoC change for Mark to pull > before applying this so I can rebase this patch on that. That'd be ideal, though just waiting till after the merge window when all these cleanups are in works too

Re: [PATCH v4] regulator: fixed: Convert to use GPIO descriptor only

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 09:35:06AM +0200, Linus Walleij wrote: > 4. An immutable branch with the ARM SoC change for Mark to pull > before applying this so I can rebase this patch on that. That'd be ideal, though just waiting till after the merge window when all these cleanups are in works too

[PATCH] ARM64: dts: meson-axg: add adc buttons the S400

2018-07-13 Thread Jerome Brunet
Add the 6 adc buttons of the amlogic S400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 44 ++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

[PATCH] ARM64: dts: meson-axg: add adc buttons the S400

2018-07-13 Thread Jerome Brunet
Add the 6 adc buttons of the amlogic S400 Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 44 ++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts

[PATCH v6 07/37] component: alloc component_match without any comp to match

2018-07-13 Thread Ramalingam C
If all the components associated to a component master is not added to the component framework due to the HW capability or Kconfig selection, component_match will be NULL at component_master_add_with_match(). To avoid this, component_match_alloc() is added to the framework, to allcoate the struct

[PATCH v6 07/37] component: alloc component_match without any comp to match

2018-07-13 Thread Ramalingam C
If all the components associated to a component master is not added to the component framework due to the HW capability or Kconfig selection, component_match will be NULL at component_master_add_with_match(). To avoid this, component_match_alloc() is added to the framework, to allcoate the struct

Re: [PATCH 1/2] dt-bindings: pfuze100: add optional pfuze-disable-sw binding

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 10:30:39AM +0200, Marco Felsch wrote: > On 18-07-12 16:31, Mark Brown wrote: > > On Thu, Jul 12, 2018 at 01:02:39PM +0200, Marco Felsch wrote: > > > +Optional properties: > > > +- pfuze-disable-sw: Disable all unused switch regulators to save power > > This is a bit of a

Re: [PATCH 1/2] dt-bindings: pfuze100: add optional pfuze-disable-sw binding

2018-07-13 Thread Mark Brown
On Fri, Jul 13, 2018 at 10:30:39AM +0200, Marco Felsch wrote: > On 18-07-12 16:31, Mark Brown wrote: > > On Thu, Jul 12, 2018 at 01:02:39PM +0200, Marco Felsch wrote: > > > +Optional properties: > > > +- pfuze-disable-sw: Disable all unused switch regulators to save power > > This is a bit of a

[PATCH] ARM64: dts: meson-axg: remove vddio_ao18 from SoC dtsi

2018-07-13 Thread Jerome Brunet
Regulator should not be defined inside the SoC dtsi file. vddio_ao18 is already defined in the S400 board dts anyway. Signed-off-by: Jerome Brunet --- Kevin, This patch fixes a problem in a patch [0] you have applied recently. I did not put a Fixes tag because the branch on which you've

[PATCH] ARM64: dts: meson-axg: remove vddio_ao18 from SoC dtsi

2018-07-13 Thread Jerome Brunet
Regulator should not be defined inside the SoC dtsi file. vddio_ao18 is already defined in the S400 board dts anyway. Signed-off-by: Jerome Brunet --- Kevin, This patch fixes a problem in a patch [0] you have applied recently. I did not put a Fixes tag because the branch on which you've

Re: [PATCH 08/32] genirq: Synchronize only with single thread on free_irq()

2018-07-13 Thread Bjorn Helgaas
On Fri, Jul 13, 2018 at 09:21:09AM +0200, Lukas Wunner wrote: > On Thu, Jul 12, 2018 at 05:21:09PM -0500, Bjorn Helgaas wrote: > > On Sat, Jun 16, 2018 at 09:25:00PM +0200, Lukas Wunner wrote: > > > When pciehp is converted to threaded IRQ handling, removal of unplugged > > > devices below a PCIe

Re: [PATCH 14/14] arm64: dts: marvell: armada-37xx: update the crypto engine compatible

2018-07-13 Thread Gregory CLEMENT
Hi Antoine, On jeu., juin 28 2018, Antoine Tenart wrote: > New compatibles are now supported by the Inside Secure SafeXcel driver. > As they are more specific than the old ones, they should be used > whenever possible. This patch updates the Marvell Armada 37xx device > tree accordingly. > >

Re: [PATCH 13/14] arm64: dts: marvell: armada-cp110: update the crypto engine compatible

2018-07-13 Thread Gregory CLEMENT
Hi Antoine, On jeu., juin 28 2018, Antoine Tenart wrote: > New compatibles are now supported by the Inside Secure SafeXcel driver. > As they are more specific than the old ones, they should be used > whenever possible. This patch updates the Marvell cp110 device tree > accordingly. > >

Re: [PATCH 08/32] genirq: Synchronize only with single thread on free_irq()

2018-07-13 Thread Bjorn Helgaas
On Fri, Jul 13, 2018 at 09:21:09AM +0200, Lukas Wunner wrote: > On Thu, Jul 12, 2018 at 05:21:09PM -0500, Bjorn Helgaas wrote: > > On Sat, Jun 16, 2018 at 09:25:00PM +0200, Lukas Wunner wrote: > > > When pciehp is converted to threaded IRQ handling, removal of unplugged > > > devices below a PCIe

Re: [PATCH 14/14] arm64: dts: marvell: armada-37xx: update the crypto engine compatible

2018-07-13 Thread Gregory CLEMENT
Hi Antoine, On jeu., juin 28 2018, Antoine Tenart wrote: > New compatibles are now supported by the Inside Secure SafeXcel driver. > As they are more specific than the old ones, they should be used > whenever possible. This patch updates the Marvell Armada 37xx device > tree accordingly. > >

Re: [PATCH 13/14] arm64: dts: marvell: armada-cp110: update the crypto engine compatible

2018-07-13 Thread Gregory CLEMENT
Hi Antoine, On jeu., juin 28 2018, Antoine Tenart wrote: > New compatibles are now supported by the Inside Secure SafeXcel driver. > As they are more specific than the old ones, they should be used > whenever possible. This patch updates the Marvell cp110 device tree > accordingly. > >

Re: [PATCH v13 14/18] x86/tsc: initialize cyc2ns when tsc freq. is determined

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 5:13 AM Dou Liyang wrote: > > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > cyc2ns converts tsc to nanoseconds, and it is handled in a per-cpu data > > structure. > > > > Currently, the setup code for c2ns data for every possible CPU goes through > > the same

Re: [PATCH v13 14/18] x86/tsc: initialize cyc2ns when tsc freq. is determined

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 5:13 AM Dou Liyang wrote: > > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > cyc2ns converts tsc to nanoseconds, and it is handled in a per-cpu data > > structure. > > > > Currently, the setup code for c2ns data for every possible CPU goes through > > the same

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang wrote: > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), > > and the second time in tsc_init(). > > > > Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it

Re: [PATCH v13 13/18] x86/tsc: calibrate tsc only once

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 3:24 AM Dou Liyang wrote: > > > At 07/12/2018 08:04 AM, Pavel Tatashin wrote: > > During boot tsc is calibrated twice: once in tsc_early_delay_calibrate(), > > and the second time in tsc_init(). > > > > Rename tsc_early_delay_calibrate() to tsc_early_init(), and rework it

Re: [PATCH 04/10] staging:rtl8192u: Rename file macro to avoid camel case - Coding Style

2018-07-13 Thread John Whitmore
On Fri, Jul 13, 2018 at 11:39:38AM +0200, Greg KH wrote: > On Wed, Jul 11, 2018 at 08:21:43PM +0100, John Whitmore wrote: > > Simple rename of the preprosessor switch, protecting against multiple > > inclusion of the header file. Change to clear the checkpatch coding style > > issue. > > > >

Re: [PATCH 04/10] staging:rtl8192u: Rename file macro to avoid camel case - Coding Style

2018-07-13 Thread John Whitmore
On Fri, Jul 13, 2018 at 11:39:38AM +0200, Greg KH wrote: > On Wed, Jul 11, 2018 at 08:21:43PM +0100, John Whitmore wrote: > > Simple rename of the preprosessor switch, protecting against multiple > > inclusion of the header file. Change to clear the checkpatch coding style > > issue. > > > >

[PATCH 03/13] staging:rtl8192u: Remove typdef from enumeration RF90_RADIO_PATH_E - Style

2018-07-13 Thread John Whitmore
Checkpatch warns about the creation of new types. This patch simply removes the typedef from the enumeration RF90_RADIO_PATH_E to clear this checkpatch warning. There should be no impact on run time code execution, as this is a coding style issue only. Signed-off-by: John Whitmore ---

[PATCH 03/13] staging:rtl8192u: Remove typdef from enumeration RF90_RADIO_PATH_E - Style

2018-07-13 Thread John Whitmore
Checkpatch warns about the creation of new types. This patch simply removes the typedef from the enumeration RF90_RADIO_PATH_E to clear this checkpatch warning. There should be no impact on run time code execution, as this is a coding style issue only. Signed-off-by: John Whitmore ---

[PATCH 11/13] staging:rtl8192u: Rename CmdID_WritePortUchar > CMD_ID_WRITE_PORT_UCHAR

2018-07-13 Thread John Whitmore
Rename the enum label CmdID_WritePortUchar to CMD_ID_WRITE_PORT_UCHAR, to clear the checkpatch issue with CamelCase. The change is a coding style change only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +-

[PATCH 11/13] staging:rtl8192u: Rename CmdID_WritePortUchar > CMD_ID_WRITE_PORT_UCHAR

2018-07-13 Thread John Whitmore
Rename the enum label CmdID_WritePortUchar to CMD_ID_WRITE_PORT_UCHAR, to clear the checkpatch issue with CamelCase. The change is a coding style change only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +-

[PATCH 12/13] staging:rtl8192u: Rename CmdID_RF_WriteReg > CMD_ID_RF_WRITE_REG - Style

2018-07-13 Thread John Whitmore
Rename enum label CmdID_RF_WriteReg to CMD_ID_RF_WRITE_REG. This change clears the checkpatch issue with CamelCase. The change is style only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 6 +++---

[PATCH 13/13] staging:rtl8192u: Rename file macro to avoid camel case - Coding Style

2018-07-13 Thread John Whitmore
Simple rename of the preprosessor switch, protecting against multiple inclusion of the header file. Change to clear the checkpatch coding style issue. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 12/13] staging:rtl8192u: Rename CmdID_RF_WriteReg > CMD_ID_RF_WRITE_REG - Style

2018-07-13 Thread John Whitmore
Rename enum label CmdID_RF_WriteReg to CMD_ID_RF_WRITE_REG. This change clears the checkpatch issue with CamelCase. The change is style only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 6 +++---

[PATCH 13/13] staging:rtl8192u: Rename file macro to avoid camel case - Coding Style

2018-07-13 Thread John Whitmore
Simple rename of the preprosessor switch, protecting against multiple inclusion of the header file. Change to clear the checkpatch coding style issue. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r8192U.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 10/13] staging:rtl8192u: Rename CmdID_WritePortUshort > CMD_ID_WRITE_PORT_USHORT

2018-07-13 Thread John Whitmore
Rename the enum label CmdID_WritePortUshort to CMD_ID_WRITE_PORT_USHORT to clear the checkpatch warning on CamelCase naming. This is a coding style change only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +-

[PATCH 08/13] staging:rtl8192u: Remove unused enum label CmdID_BBRegWrite10

2018-07-13 Thread John Whitmore
The enum label CmdID_BBRegWrite10 is not used in the code, so removed from the source code. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h

[PATCH 09/13] staging:rtl8192u: Rename CmdID_WritePortUlong > CMD_ID_WRITE_PORT_ULONG

2018-07-13 Thread John Whitmore
Rename enum label CmdID_WritePortUlong to CMD_ID_WRITE_PORT_ULONG to clear the checkpatch CamelCase issue. Simple syle change which should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl8192u/r819xU_phy.h | 2 +- 2

[PATCH 08/13] staging:rtl8192u: Remove unused enum label CmdID_BBRegWrite10

2018-07-13 Thread John Whitmore
The enum label CmdID_BBRegWrite10 is not used in the code, so removed from the source code. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/rtl8192u/r819xU_phy.h b/drivers/staging/rtl8192u/r819xU_phy.h

[PATCH 09/13] staging:rtl8192u: Rename CmdID_WritePortUlong > CMD_ID_WRITE_PORT_ULONG

2018-07-13 Thread John Whitmore
Rename enum label CmdID_WritePortUlong to CMD_ID_WRITE_PORT_ULONG to clear the checkpatch CamelCase issue. Simple syle change which should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl8192u/r819xU_phy.h | 2 +- 2

[PATCH 10/13] staging:rtl8192u: Rename CmdID_WritePortUshort > CMD_ID_WRITE_PORT_USHORT

2018-07-13 Thread John Whitmore
Rename the enum label CmdID_WritePortUshort to CMD_ID_WRITE_PORT_USHORT to clear the checkpatch warning on CamelCase naming. This is a coding style change only and should not impact code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +-

[PATCH 06/13] staging:rtl8192u: Rename enum label CmdID_End > CMD_ID_END - Style

2018-07-13 Thread John Whitmore
Rename enum label to clear a CamelCase warning from checkpatch. This is a simple style change and should not impact execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +- drivers/staging/rtl8192u/r819xU_phy.h | 2 +- 2 files changed, 6 insertions(+),

[PATCH 05/13] staging:rtl8192u: Rename SwChnlCmdID > switch_chan_cmd_id - Coding Style

2018-07-13 Thread John Whitmore
Rename enumerated type to clear a CamelCase warning from checkpatch. The change is style only. No impact on run time execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 4 ++-- drivers/staging/rtl8192u/r819xU_phy.h | 4 ++-- 2 files changed, 4 insertions(+), 4

[PATCH 07/13] staging:rtl8192u: rename CmdID_SetTxPowerLevel > CMD_ID_SET_TX_PWR_LEVEL

2018-07-13 Thread John Whitmore
Rename enumeration label CmdID_SetTxPowerLevel to CMD_ID_SET_TX_PWR_LEVEL. This change clears a checkpatch warning on CamelCase. The change should not impact runtime execution, style change only. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 4 ++--

[PATCH 02/13] staging:rtl8192u: remove typdef from enumeration HW90_BLOCK_E - Style

2018-07-13 Thread John Whitmore
Checkpatch warns about the creation of new types in code. This patch simply removes the typedef from the enumeration HW90_BLOCK_E to clear this warning. There should be no impact on run time code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 6 +++---

[PATCH 06/13] staging:rtl8192u: Rename enum label CmdID_End > CMD_ID_END - Style

2018-07-13 Thread John Whitmore
Rename enum label to clear a CamelCase warning from checkpatch. This is a simple style change and should not impact execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 10 +- drivers/staging/rtl8192u/r819xU_phy.h | 2 +- 2 files changed, 6 insertions(+),

[PATCH 05/13] staging:rtl8192u: Rename SwChnlCmdID > switch_chan_cmd_id - Coding Style

2018-07-13 Thread John Whitmore
Rename enumerated type to clear a CamelCase warning from checkpatch. The change is style only. No impact on run time execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 4 ++-- drivers/staging/rtl8192u/r819xU_phy.h | 4 ++-- 2 files changed, 4 insertions(+), 4

[PATCH 07/13] staging:rtl8192u: rename CmdID_SetTxPowerLevel > CMD_ID_SET_TX_PWR_LEVEL

2018-07-13 Thread John Whitmore
Rename enumeration label CmdID_SetTxPowerLevel to CMD_ID_SET_TX_PWR_LEVEL. This change clears a checkpatch warning on CamelCase. The change should not impact runtime execution, style change only. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 4 ++--

[PATCH 02/13] staging:rtl8192u: remove typdef from enumeration HW90_BLOCK_E - Style

2018-07-13 Thread John Whitmore
Checkpatch warns about the creation of new types in code. This patch simply removes the typedef from the enumeration HW90_BLOCK_E to clear this warning. There should be no impact on run time code execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 6 +++---

[PATCH 04/13] staging:rtl8192u: remove typedef from structure SwChnlCmd - Style

2018-07-13 Thread John Whitmore
Checkpatch warns against creation of new types in code. This patch simply removes the "typedef" declaration of the structure SwChnlCmd to clear this issue. Simple coding style issue which should not impact runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c

[PATCH 04/13] staging:rtl8192u: remove typedef from structure SwChnlCmd - Style

2018-07-13 Thread John Whitmore
Checkpatch warns against creation of new types in code. This patch simply removes the "typedef" declaration of the structure SwChnlCmd to clear this issue. Simple coding style issue which should not impact runtime execution. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c

[0/13] staging:rtl8192u: Coding style changes

2018-07-13 Thread John Whitmore
This series is just coding style changes to clear checkpatch issues. I don't think that there are any changes that impact code execution. I tacked on the end a patch from my last series that failed, again just a rename to avoid CamelCase warning. jwhitmore

[PATCH 01/13] staging:rtl8192u: remove typedef of enumeration SwChnlCmdID - Style

2018-07-13 Thread John Whitmore
To clear a checkpatch issue removed the typedef of the enumeration SwChnlCmdID this should not impact runtime code as it's only a coding style change. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl8192u/r819xU_phy.h | 12 ++-- 2 files

[0/13] staging:rtl8192u: Coding style changes

2018-07-13 Thread John Whitmore
This series is just coding style changes to clear checkpatch issues. I don't think that there are any changes that impact code execution. I tacked on the end a patch from my last series that failed, again just a rename to avoid CamelCase warning. jwhitmore

[PATCH 01/13] staging:rtl8192u: remove typedef of enumeration SwChnlCmdID - Style

2018-07-13 Thread John Whitmore
To clear a checkpatch issue removed the typedef of the enumeration SwChnlCmdID this should not impact runtime code as it's only a coding style change. Signed-off-by: John Whitmore --- drivers/staging/rtl8192u/r819xU_phy.c | 2 +- drivers/staging/rtl8192u/r819xU_phy.h | 12 ++-- 2 files

Re: [PATCH 6/6] coresight: etm-perf: Add support for ETR backend

2018-07-13 Thread Suzuki K Poulose
On 12/07/18 21:57, Mathieu Poirier wrote: Hi Suzuki, On Wed, Jul 11, 2018 at 03:16:39PM +0100, Suzuki K Poulose wrote: Add support for using TMC-ETR as backend for ETM perf tracing. We use software double buffering at the moment. i.e, the TMC-ETR uses a separate buffer than the perf ring

Re: [PATCH 6/6] coresight: etm-perf: Add support for ETR backend

2018-07-13 Thread Suzuki K Poulose
On 12/07/18 21:57, Mathieu Poirier wrote: Hi Suzuki, On Wed, Jul 11, 2018 at 03:16:39PM +0100, Suzuki K Poulose wrote: Add support for using TMC-ETR as backend for ETM perf tracing. We use software double buffering at the moment. i.e, the TMC-ETR uses a separate buffer than the perf ring

Re: [PATCH] soc: imx6qp: Use GENPD_FLAG_ALWAYS_ON for PU errata

2018-07-13 Thread Ulf Hansson
On 13 July 2018 at 12:01, Leonard Crestez wrote: > This is functionally identical but simpler and slightly faster. > > The PU domain is turned on at boot time and never turned off. In the > current implementation the pm core will repeatedly call power_off when > the domain is unused and get

Re: [PATCH] soc: imx6qp: Use GENPD_FLAG_ALWAYS_ON for PU errata

2018-07-13 Thread Ulf Hansson
On 13 July 2018 at 12:01, Leonard Crestez wrote: > This is functionally identical but simpler and slightly faster. > > The PU domain is turned on at boot time and never turned off. In the > current implementation the pm core will repeatedly call power_off when > the domain is unused and get

[PATCH] clk: imx6ul: fix missing of_node_put()

2018-07-13 Thread Nicholas Mc Guire
- Problem located with experimental coccinelle script Patch was compile tested with: imx_v6_v7_defconfig (implies CONFIG_SOC_IMX6UL=y) Patch is against 4.18-rc4 (localversion-next is next-20180713) drivers/clk/imx/clk-imx6ul.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/c

[PATCH] clk: imx6ul: fix missing of_node_put()

2018-07-13 Thread Nicholas Mc Guire
- Problem located with experimental coccinelle script Patch was compile tested with: imx_v6_v7_defconfig (implies CONFIG_SOC_IMX6UL=y) Patch is against 4.18-rc4 (localversion-next is next-20180713) drivers/clk/imx/clk-imx6ul.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/c

Re: [PATCH 02/19] mmc: mmci: merge qcom dml feature into mmci dma

2018-07-13 Thread Ulf Hansson
On 11 July 2018 at 17:19, Ludovic BARRE wrote: > > > On 07/05/2018 05:26 PM, Ulf Hansson wrote: >> >> On 12 June 2018 at 15:14, Ludovic Barre wrote: >>> >>> From: Ludovic Barre >>> >>> This patch integrates qcom dml feature into mmci_dma file. >>> Qualcomm Data Mover lite/local is already a

Re: [PATCH 02/19] mmc: mmci: merge qcom dml feature into mmci dma

2018-07-13 Thread Ulf Hansson
On 11 July 2018 at 17:19, Ludovic BARRE wrote: > > > On 07/05/2018 05:26 PM, Ulf Hansson wrote: >> >> On 12 June 2018 at 15:14, Ludovic Barre wrote: >>> >>> From: Ludovic Barre >>> >>> This patch integrates qcom dml feature into mmci_dma file. >>> Qualcomm Data Mover lite/local is already a

Re: [PATCH v5 5/5] mm/sparse: delete old sprase_init and enable new one

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 5:09 AM Oscar Salvador wrote: > > > > -#ifdef CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER > > -static void __init sparse_early_mem_maps_alloc_node(void *data, > > - unsigned long pnum_begin, > > - unsigned long

Re: [PATCH v5 5/5] mm/sparse: delete old sprase_init and enable new one

2018-07-13 Thread Pavel Tatashin
On Fri, Jul 13, 2018 at 5:09 AM Oscar Salvador wrote: > > > > -#ifdef CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER > > -static void __init sparse_early_mem_maps_alloc_node(void *data, > > - unsigned long pnum_begin, > > - unsigned long

Re: [PATCH v5 0/5] sparse_init rewrite

2018-07-13 Thread Pavel Tatashin
> About PPC64, your patchset fixes the issue as the population gets followed by > a > sparse_init_one_section(). > > It can be seen here: > > Before: > > kernel: vmemmap_populate f000..f0004000, node 0 > kernel: * f000..f001 allocated at >

Re: [PATCH v5 0/5] sparse_init rewrite

2018-07-13 Thread Pavel Tatashin
> About PPC64, your patchset fixes the issue as the population gets followed by > a > sparse_init_one_section(). > > It can be seen here: > > Before: > > kernel: vmemmap_populate f000..f0004000, node 0 > kernel: * f000..f001 allocated at >

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-13 Thread Peter Zijlstra
On Thu, Jul 12, 2018 at 11:10:58AM -0700, Linus Torvalds wrote: > On Thu, Jul 12, 2018 at 11:05 AM Peter Zijlstra wrote: > > > > The locking pattern is fairly simple and shows where RCpc comes apart > > from expectation real nice. > > So who does RCpc right now for the unlock-lock sequence?

Re: [PATCH v2] tools/memory-model: Add extra ordering for locks and remove it for ordinary release/acquire

2018-07-13 Thread Peter Zijlstra
On Thu, Jul 12, 2018 at 11:10:58AM -0700, Linus Torvalds wrote: > On Thu, Jul 12, 2018 at 11:05 AM Peter Zijlstra wrote: > > > > The locking pattern is fairly simple and shows where RCpc comes apart > > from expectation real nice. > > So who does RCpc right now for the unlock-lock sequence?

Re: [PATCH 1/2] ARM: dts: imx51-zii-scu3-esb: Add switch IRQ line pinumx config

2018-07-13 Thread Fabio Estevam
On Fri, Jul 13, 2018 at 2:15 AM, Andrey Smirnov wrote: > I wanted to avoid relying on defaults be it register reset values or > settings that bootloader left us with. Default value of 0xa5 works, > but, given how the pin is IRQ_TYPE_LEVEL_HIGH, I though it would be > better to configure it to

Re: [PATCH 1/2] ARM: dts: imx51-zii-scu3-esb: Add switch IRQ line pinumx config

2018-07-13 Thread Fabio Estevam
On Fri, Jul 13, 2018 at 2:15 AM, Andrey Smirnov wrote: > I wanted to avoid relying on defaults be it register reset values or > settings that bootloader left us with. Default value of 0xa5 works, > but, given how the pin is IRQ_TYPE_LEVEL_HIGH, I though it would be > better to configure it to

Re: [PATCH 07/39] x86/entry/32: Enter the kernel via trampoline stack

2018-07-13 Thread Joerg Roedel
Hi Andy, thanks for you valuable feedback. On Thu, Jul 12, 2018 at 02:09:45PM -0700, Andy Lutomirski wrote: > > On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > -.macro SAVE_ALL pt_regs_ax=%eax > > +.macro SAVE_ALL pt_regs_ax=%eax switch_stacks=0 > >cld > > +/* Push segment

Re: [PATCH 07/39] x86/entry/32: Enter the kernel via trampoline stack

2018-07-13 Thread Joerg Roedel
Hi Andy, thanks for you valuable feedback. On Thu, Jul 12, 2018 at 02:09:45PM -0700, Andy Lutomirski wrote: > > On Jul 11, 2018, at 4:29 AM, Joerg Roedel wrote: > > -.macro SAVE_ALL pt_regs_ax=%eax > > +.macro SAVE_ALL pt_regs_ax=%eax switch_stacks=0 > >cld > > +/* Push segment

<    2   3   4   5   6   7   8   9   10   >