[PATCH v3 01/14] dt-bindings: sunxi: Add CCU binding documentation

2016-06-29 Thread Maxime Ripard
Introduce a new binding with its documentation for the brand new clock sub-framework. Signed-off-by: Maxime Ripard --- .../devicetree/bindings/clock/sunxi-ccu.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644

[PATCH v3 00/14] clk: sunxi: introduce "modern" clock support

2016-06-29 Thread Maxime Ripard
Hi, This is the third attempt at introducing clock support for the Allwinner SoCs following the current model used by pretty much all the other SoCs. Such a conversion has been suggested on a regular basis by Mike and Stephen, and here is a first implementation. This new approach has a good

[PATCH v3 04/14] clk: sunxi-ng: Add gate clock support

2016-06-29 Thread Maxime Ripard
Some clocks in the Allwinner SoCs clocks unit are just simple gates. Add support for those clocks. Since it's a feature that can also be found in more complex clocks, provide a bunch of helpers that can be reused later on. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig| 3

[PATCH v3 03/14] clk: sunxi-ng: Add fractional lib

2016-06-29 Thread Maxime Ripard
Some clocks can be switched to a mode called fractional that have two fixed output rate you can choose from. Add a small library to deal with those clocks. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig| 9 drivers/clk/sunxi-ng/Makefile | 3 ++

[PATCH v3 07/14] clk: sunxi-ng: Add divider

2016-06-29 Thread Maxime Ripard
Add support for the various dividers (linear, table or pow-of-two based) found in the CCU. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 4 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_div.c | 136

[PATCH v3 07/14] clk: sunxi-ng: Add divider

2016-06-29 Thread Maxime Ripard
Add support for the various dividers (linear, table or pow-of-two based) found in the CCU. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 4 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_div.c | 136 +

[PATCH v3 14/14] ARM: dt: sun8i: switch the H3 to the new CCU driver

2016-06-29 Thread Maxime Ripard
Now that we have a different clock representation, switch to it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-h3.dtsi | 312 1 file changed, 60 insertions(+), 252 deletions(-) diff --git

[PATCH v3 13/14] clk: sunxi-ng: Add H3 clocks

2016-06-29 Thread Maxime Ripard
Add the list of clocks and resets found in the H3 CCU. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 13 + drivers/clk/sunxi-ng/Makefile| 3 + drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 826

[PATCH v3 14/14] ARM: dt: sun8i: switch the H3 to the new CCU driver

2016-06-29 Thread Maxime Ripard
Now that we have a different clock representation, switch to it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun8i-h3.dtsi | 312 1 file changed, 60 insertions(+), 252 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi

[PATCH v3 13/14] clk: sunxi-ng: Add H3 clocks

2016-06-29 Thread Maxime Ripard
Add the list of clocks and resets found in the H3 CCU. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 13 + drivers/clk/sunxi-ng/Makefile| 3 + drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 826 +++

[PATCH v3 10/14] clk: sunxi-ng: Add N-M-factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that multiply and divide using linear factors. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 6 +++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nm.c | 114

[PATCH v3 10/14] clk: sunxi-ng: Add N-M-factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that multiply and divide using linear factors. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 6 +++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nm.c | 114 ++

[PATCH v3 08/14] clk: sunxi-ng: Add M-P factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for the clocks that combine a linear divider and a power-of-two based one. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 7 ++ drivers/clk/sunxi-ng/Makefile | 3 + drivers/clk/sunxi-ng/ccu_mp.c | 158

[PATCH v3 08/14] clk: sunxi-ng: Add M-P factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for the clocks that combine a linear divider and a power-of-two based one. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 7 ++ drivers/clk/sunxi-ng/Makefile | 3 + drivers/clk/sunxi-ng/ccu_mp.c | 158 ++

[PATCH v3 09/14] clk: sunxi-ng: Add N-K-factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that use a combination of two linear multipliers. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 4 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nk.c | 147

[PATCH v3 09/14] clk: sunxi-ng: Add N-K-factor clock support

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that use a combination of two linear multipliers. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 4 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nk.c | 147 ++

Re: [PATCH] module.h: add copyleft-next >= 0.3.1 as GPL compatible

2016-06-29 Thread Luis R. Rodriguez
On Tue, Jun 14, 2016 at 11:35:11AM -0700, Luis R. Rodriguez wrote: > copyleft-next [0] [1] is an openly evolved copyleft license, its an > effort to evolve copyleft without participation of the Church (TM) > or State (R), completley openly to the extend development and > discussion of

Re: [PATCH] module.h: add copyleft-next >= 0.3.1 as GPL compatible

2016-06-29 Thread Luis R. Rodriguez
On Tue, Jun 14, 2016 at 11:35:11AM -0700, Luis R. Rodriguez wrote: > copyleft-next [0] [1] is an openly evolved copyleft license, its an > effort to evolve copyleft without participation of the Church (TM) > or State (R), completley openly to the extend development and > discussion of

[PATCH v2 1/1] x86/platform/intel-mid: Add pinctrl for Intel Merrifield

2016-06-29 Thread Andy Shevchenko
Intel Merrifield uses a special address space reserved for Family-Level Interface Shim (FLIS) that allows consumers to mux and configure pins. Create a platform device for it. Signed-off-by: Andy Shevchenko --- In v2: - add missed header (asm/intel-mid.h)

[PATCH v2 1/1] x86/platform/intel-mid: Add pinctrl for Intel Merrifield

2016-06-29 Thread Andy Shevchenko
Intel Merrifield uses a special address space reserved for Family-Level Interface Shim (FLIS) that allows consumers to mux and configure pins. Create a platform device for it. Signed-off-by: Andy Shevchenko --- In v2: - add missed header (asm/intel-mid.h)

Re: [PATCH 3/3] dt-bindings: Document the STM32 USB OTG DWC2 core binding

2016-06-29 Thread Bruno Herrera
On Tue, Jun 28, 2016 at 5:54 PM, Rob Herring wrote: > On Fri, Jun 24, 2016 at 03:51:18PM -0300, Bruno Herrera wrote: >> On Fri, Jun 24, 2016 at 12:41 PM, Rob Herring wrote: >> > On Tue, Jun 21, 2016 at 11:25:49PM -0300, Bruno Herrera wrote: >> >> Signed-off-by:

Re: [PATCH 3/3] dt-bindings: Document the STM32 USB OTG DWC2 core binding

2016-06-29 Thread Bruno Herrera
On Tue, Jun 28, 2016 at 5:54 PM, Rob Herring wrote: > On Fri, Jun 24, 2016 at 03:51:18PM -0300, Bruno Herrera wrote: >> On Fri, Jun 24, 2016 at 12:41 PM, Rob Herring wrote: >> > On Tue, Jun 21, 2016 at 11:25:49PM -0300, Bruno Herrera wrote: >> >> Signed-off-by: Bruno Herrera >> >> --- >> >>

Re: [RFC 0/7] net: ethernet: bgmac: Add platform device support

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > I'm sending out this RFC to see if this is the direction the maintainers > would like to go to add support for other, non-bcma iProc SoC's to the > bgmac driver. Specifically, we are interested in adding support for the > NSP, Cygnus, and NS2 families

Re: [RFC 0/7] net: ethernet: bgmac: Add platform device support

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > I'm sending out this RFC to see if this is the direction the maintainers > would like to go to add support for other, non-bcma iProc SoC's to the > bgmac driver. Specifically, we are interested in adding support for the > NSP, Cygnus, and NS2 families

Re: [PATCH 1/2] lib: hexdump: use a look-up table to do hex_to_bin

2016-06-29 Thread Andy Shevchenko
On Wed, 2016-06-29 at 20:31 +0200, Michal Nazarewicz wrote: > On Thu, Jun 30 2016, zengzhaoxiu wrote: > > From: Zhaoxiu Zeng > > > > Signed-off-by: Zhaoxiu Zeng > > --- > >  include/linux/kernel.h | 15 ++- > >  lib/hexdump.c  |

Re: [PATCH 1/2] lib: hexdump: use a look-up table to do hex_to_bin

2016-06-29 Thread Andy Shevchenko
On Wed, 2016-06-29 at 20:31 +0200, Michal Nazarewicz wrote: > On Thu, Jun 30 2016, zengzhaoxiu wrote: > > From: Zhaoxiu Zeng > > > > Signed-off-by: Zhaoxiu Zeng > > --- > >  include/linux/kernel.h | 15 ++- > >  lib/hexdump.c  | 36 +++- > >  2

Re: [PATCH 20/21] phy: Add support for Qualcomm's USB HSIC phy

2016-06-29 Thread Stephen Boyd
Quoting Neil Armstrong (2016-06-29 02:16:51) > On 06/28/2016 11:58 PM, Stephen Boyd wrote: > > Quoting Neil Armstrong (2016-06-28 01:49:37) > >> On 06/26/2016 09:28 AM, Stephen Boyd wrote: > >>> + uphy->cal_sleep_clk = clk = devm_clk_get(>dev, "cal_sleep"); > >>> + if (IS_ERR(clk)) > >>> +

Re: [PATCH 20/21] phy: Add support for Qualcomm's USB HSIC phy

2016-06-29 Thread Stephen Boyd
Quoting Neil Armstrong (2016-06-29 02:16:51) > On 06/28/2016 11:58 PM, Stephen Boyd wrote: > > Quoting Neil Armstrong (2016-06-28 01:49:37) > >> On 06/26/2016 09:28 AM, Stephen Boyd wrote: > >>> + uphy->cal_sleep_clk = clk = devm_clk_get(>dev, "cal_sleep"); > >>> + if (IS_ERR(clk)) > >>> +

Re: [PATCH v2 0/4] ASoC: sunxi: Add i2s controller support

2016-06-29 Thread Mark Brown
On Mon, Jun 27, 2016 at 08:32:38PM +0200, Maxime Ripard wrote: > Any comments on this one? Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical

Re: [PATCH v2 0/4] ASoC: sunxi: Add i2s controller support

2016-06-29 Thread Mark Brown
On Mon, Jun 27, 2016 at 08:32:38PM +0200, Maxime Ripard wrote: > Any comments on this one? Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reason for urgency (like critical

Re: [RFC 5/7] net: ethernet: bgmac: Add platform device support

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > The bcma portion of the driver has been split off into a bcma specific > driver. This has been mirrored for the platform driver. The last > references to the bcma core struct have been changed into a generic > function call. These function calls are

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-29 Thread Stephen Boyd
Quoting Roger Quadros (2016-06-28 23:10:57) > On 29/06/16 01:01, Stephen Boyd wrote: > > Quoting Roger Quadros (2016-06-28 02:13:57) > >> On 28/06/16 11:47, Stephen Boyd wrote: > >>> > >>> Sorry I must have confused you. There are two modules in the PMIC that > >>> are doing detection here. The

Re: [RFC 5/7] net: ethernet: bgmac: Add platform device support

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > The bcma portion of the driver has been split off into a bcma specific > driver. This has been mirrored for the platform driver. The last > references to the bcma core struct have been changed into a generic > function call. These function calls are

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-29 Thread Stephen Boyd
Quoting Roger Quadros (2016-06-28 23:10:57) > On 29/06/16 01:01, Stephen Boyd wrote: > > Quoting Roger Quadros (2016-06-28 02:13:57) > >> On 28/06/16 11:47, Stephen Boyd wrote: > >>> > >>> Sorry I must have confused you. There are two modules in the PMIC that > >>> are doing detection here. The

Re: [PATCH] kthread: to_live_kthread() needs try_get_task_stack()

2016-06-29 Thread kbuild test robot
Hi, [auto build test WARNING on linus/master] [also build test WARNING on v4.7-rc5 next-20160629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Oleg-Nesterov/kthread-to_live_kthread-needs

Re: [PATCH] kthread: to_live_kthread() needs try_get_task_stack()

2016-06-29 Thread kbuild test robot
Hi, [auto build test WARNING on linus/master] [also build test WARNING on v4.7-rc5 next-20160629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Oleg-Nesterov/kthread-to_live_kthread-needs

[PATCH v1 1/1] x86/platform/intel-mid: Add pinctrl for Intel Merrifield

2016-06-29 Thread Andy Shevchenko
Intel Merrifield uses a special address space reserved for Family-Level Interface Shim (FLIS) that allows consumers to mux and configure pins. Create a platform device for it. Signed-off-by: Andy Shevchenko --- arch/x86/platform/intel-mid/device_libs/Makefile

Re: [PATCH v1 2/2] Mark functions with the __nocapture attribute

2016-06-29 Thread Emese Revfy
On Tue, 28 Jun 2016 14:00:57 -0700 Joe Perches wrote: > On Tue, 2016-06-28 at 22:40 +0200, Emese Revfy wrote: > > On Tue, 28 Jun 2016 09:43:31 -0700 Joe Perches wrote: > > > On Tue, 2016-06-28 at 13:36 +0200, Emese Revfy wrote: > > > > The nocapture gcc

[PATCH v1 1/1] x86/platform/intel-mid: Add pinctrl for Intel Merrifield

2016-06-29 Thread Andy Shevchenko
Intel Merrifield uses a special address space reserved for Family-Level Interface Shim (FLIS) that allows consumers to mux and configure pins. Create a platform device for it. Signed-off-by: Andy Shevchenko --- arch/x86/platform/intel-mid/device_libs/Makefile | 2 ++

Re: [PATCH v1 2/2] Mark functions with the __nocapture attribute

2016-06-29 Thread Emese Revfy
On Tue, 28 Jun 2016 14:00:57 -0700 Joe Perches wrote: > On Tue, 2016-06-28 at 22:40 +0200, Emese Revfy wrote: > > On Tue, 28 Jun 2016 09:43:31 -0700 Joe Perches wrote: > > > On Tue, 2016-06-28 at 13:36 +0200, Emese Revfy wrote: > > > > The nocapture gcc attribute can be on functions only. > > >

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-29 Thread Stephen Boyd
Quoting Chanwoo Choi (2016-06-28 23:25:57) > On 2016년 06월 29일 06:59, Stephen Boyd wrote: > > Quoting Chanwoo Choi (2016-06-28 05:06:48) > >> 2016-06-28 4:11 GMT+09:00 Stephen Boyd : > >>> Quoting Chanwoo Choi (2016-06-26 04:20:43) > 2016-06-26 14:56 GMT+09:00 Stephen

[GIT PULL rcu/next] RCU commits for 4.8

2016-06-29 Thread Paul E. McKenney
Hello, Ingo, This series contains the following changes: 1. Documentation updates. Just some simple changes, no design-level additions. I guess that means two for the next merge window... http://lkml.kernel.org/g/20160615213847.ga3...@linux.vnet.ibm.com 2.

Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware

2016-06-29 Thread Stephen Boyd
Quoting Chanwoo Choi (2016-06-28 23:25:57) > On 2016년 06월 29일 06:59, Stephen Boyd wrote: > > Quoting Chanwoo Choi (2016-06-28 05:06:48) > >> 2016-06-28 4:11 GMT+09:00 Stephen Boyd : > >>> Quoting Chanwoo Choi (2016-06-26 04:20:43) > 2016-06-26 14:56 GMT+09:00 Stephen Boyd : > >

[GIT PULL rcu/next] RCU commits for 4.8

2016-06-29 Thread Paul E. McKenney
Hello, Ingo, This series contains the following changes: 1. Documentation updates. Just some simple changes, no design-level additions. I guess that means two for the next merge window... http://lkml.kernel.org/g/20160615213847.ga3...@linux.vnet.ibm.com 2.

Applied "regmap: Support bulk writes for devices without raw formatting" to the regmap tree

2016-06-29 Thread Mark Brown
The patch regmap: Support bulk writes for devices without raw formatting has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "regmap: Support bulk writes for devices without raw formatting" to the regmap tree

2016-06-29 Thread Mark Brown
The patch regmap: Support bulk writes for devices without raw formatting has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH V2 1/4] ACPI,PCI,IRQ: factor in PCI possible

2016-06-29 Thread Sinan Kaya
On 6/29/2016 9:13 AM, Rafael J. Wysocki wrote: > On Wed, Jun 29, 2016 at 10:27 AM, Sinan Kaya wrote: >> The change introduced in commit 103544d86976 ("ACPI,PCI,IRQ: reduce >> resource requirements") omitted the initially assigned POSSIBLE penalty >> when the IRQ is active. >

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Andrew Lunn
On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: > On 06/29/2016 07:13 AM, Andrew Lunn wrote: > > Hi Jon > > > > I know you are just refactoring code, but at some point it would be > > good to take a closer look at this MDIO bus driver. > And, to re-iterate all of your points

Re: [PATCH V2 1/4] ACPI,PCI,IRQ: factor in PCI possible

2016-06-29 Thread Sinan Kaya
On 6/29/2016 9:13 AM, Rafael J. Wysocki wrote: > On Wed, Jun 29, 2016 at 10:27 AM, Sinan Kaya wrote: >> The change introduced in commit 103544d86976 ("ACPI,PCI,IRQ: reduce >> resource requirements") omitted the initially assigned POSSIBLE penalty >> when the IRQ is active. > > It would be good

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Andrew Lunn
On Wed, Jun 29, 2016 at 11:35:28AM -0700, Florian Fainelli wrote: > On 06/29/2016 07:13 AM, Andrew Lunn wrote: > > Hi Jon > > > > I know you are just refactoring code, but at some point it would be > > good to take a closer look at this MDIO bus driver. > And, to re-iterate all of your points

Re: [PATCH v8 6/6] crypto: AF_ALG - add support for key_id

2016-06-29 Thread Mat Martineau
Tadeusz, On Thu, 23 Jun 2016, Tadeusz Struk wrote: This patch adds support for asymmetric key type to AF_ALG. It will work as follows: A new PF_ALG socket options are added on top of existing ALG_SET_KEY and ALG_SET_PUBKEY, namely ALG_SET_KEY_ID and ALG_SET_PUBKEY_ID for setting public and

Re: [PATCH v8 6/6] crypto: AF_ALG - add support for key_id

2016-06-29 Thread Mat Martineau
Tadeusz, On Thu, 23 Jun 2016, Tadeusz Struk wrote: This patch adds support for asymmetric key type to AF_ALG. It will work as follows: A new PF_ALG socket options are added on top of existing ALG_SET_KEY and ALG_SET_PUBKEY, namely ALG_SET_KEY_ID and ALG_SET_PUBKEY_ID for setting public and

Re: [PATCH] kthread: to_live_kthread() needs try_get_task_stack()

2016-06-29 Thread Oleg Nesterov
On 06/30, kbuild test robot wrote: > > Hi, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.7-rc5 next-20160629] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] Yes, please ignore this, the pat

Re: [PATCH] kthread: to_live_kthread() needs try_get_task_stack()

2016-06-29 Thread Oleg Nesterov
On 06/30, kbuild test robot wrote: > > Hi, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.7-rc5 next-20160629] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] Yes, please ignore this, the pat

Re: using the same regmap by multiple device drivers

2016-06-29 Thread Vitaly Andrianov
On 06/29/2016 02:31 PM, Mark Brown wrote: On Wed, Jun 29, 2016 at 01:19:37PM -0400, Vitaly Andrianov wrote: Here is my question. Is that actually possible to use in regmap framework the same registers in multiple different drivers? Of course, this is how the vast majority of MFDs work. The

Re: using the same regmap by multiple device drivers

2016-06-29 Thread Vitaly Andrianov
On 06/29/2016 02:31 PM, Mark Brown wrote: On Wed, Jun 29, 2016 at 01:19:37PM -0400, Vitaly Andrianov wrote: Here is my question. Is that actually possible to use in regmap framework the same registers in multiple different drivers? Of course, this is how the vast majority of MFDs work. The

Re: [RFC 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > Signed-off-by: Jon Mason > --- > .../devicetree/bindings/net/brcm,bgmac-enet.txt | 21 > + > 1 file changed, 21 insertions(+) > create mode 100644

Re: [RFC 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-06-29 Thread Florian Fainelli
On 06/28/2016 12:34 PM, Jon Mason wrote: > Signed-off-by: Jon Mason > --- > .../devicetree/bindings/net/brcm,bgmac-enet.txt | 21 > + > 1 file changed, 21 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-enet.txt > > diff --git

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Florian Fainelli
On 06/29/2016 07:13 AM, Andrew Lunn wrote: > Hi Jon > > I know you are just refactoring code, but at some point it would be > good to take a closer look at this MDIO bus driver. > > The MDIO bus driver should be generic, allowing access to all 32 > addresses on the bus, if that makes sense. You

Re: [RFC 3/7] net: ethernet: bgmac: move BCMA MDIO Phy code into a separate file

2016-06-29 Thread Florian Fainelli
On 06/29/2016 07:13 AM, Andrew Lunn wrote: > Hi Jon > > I know you are just refactoring code, but at some point it would be > good to take a closer look at this MDIO bus driver. > > The MDIO bus driver should be generic, allowing access to all 32 > addresses on the bus, if that makes sense. You

[PATCH] Coccinelle: Script to replace NULL test with IS_ERR test for devm_ioremap_resource

2016-06-29 Thread Amitoj Kaur Chawla
This script detects cases which have incorrect error handling for devm_ioremap_resource function, employing a NULL test instead of an IS_ERR() test. Signed-off-by: Amitoj Kaur Chawla --- .../coccinelle/null/devm_ioremap_resource.cocci| 37 ++ 1 file

[PATCH] Coccinelle: Script to replace NULL test with IS_ERR test for devm_ioremap_resource

2016-06-29 Thread Amitoj Kaur Chawla
This script detects cases which have incorrect error handling for devm_ioremap_resource function, employing a NULL test instead of an IS_ERR() test. Signed-off-by: Amitoj Kaur Chawla --- .../coccinelle/null/devm_ioremap_resource.cocci| 37 ++ 1 file changed, 37

Re: [PATCH V2 7/8] clk: imx7d: using api with flag CLK_OPS_PARENT_ENABLE

2016-06-29 Thread kbuild test robot
Hi, [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.7-rc5 next-20160629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dong-Aisheng/clk-core-support-clocks-which

Re: [PATCH 1/2] lib: hexdump: use a look-up table to do hex_to_bin

2016-06-29 Thread Michal Nazarewicz
On Thu, Jun 30 2016, zengzhaoxiu wrote: > From: Zhaoxiu Zeng > > Signed-off-by: Zhaoxiu Zeng > --- > include/linux/kernel.h | 15 ++- > lib/hexdump.c | 36 +++- > 2 files changed, 33

Re: using the same regmap by multiple device drivers

2016-06-29 Thread Mark Brown
On Wed, Jun 29, 2016 at 01:19:37PM -0400, Vitaly Andrianov wrote: > Here is my question. Is that actually possible to use in regmap framework > the same registers in multiple different drivers? Of course, this is how the vast majority of MFDs work. The regmap has no idea what's calling it, it

Re: [PATCH V2 7/8] clk: imx7d: using api with flag CLK_OPS_PARENT_ENABLE

2016-06-29 Thread kbuild test robot
Hi, [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.7-rc5 next-20160629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dong-Aisheng/clk-core-support-clocks-which

Re: [PATCH 1/2] lib: hexdump: use a look-up table to do hex_to_bin

2016-06-29 Thread Michal Nazarewicz
On Thu, Jun 30 2016, zengzhaoxiu wrote: > From: Zhaoxiu Zeng > > Signed-off-by: Zhaoxiu Zeng > --- > include/linux/kernel.h | 15 ++- > lib/hexdump.c | 36 +++- > 2 files changed, 33 insertions(+), 18 deletions(-) > > diff --git

Re: using the same regmap by multiple device drivers

2016-06-29 Thread Mark Brown
On Wed, Jun 29, 2016 at 01:19:37PM -0400, Vitaly Andrianov wrote: > Here is my question. Is that actually possible to use in regmap framework > the same registers in multiple different drivers? Of course, this is how the vast majority of MFDs work. The regmap has no idea what's calling it, it

Re: [1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-29 Thread Mario Limonciello
> I've applied the series to hid.git#for-4.7/upstream-fixes Hi Jiri, Would you also submit this to -stable? I think it should be generally applicable at least a few releases back since Allen's original submit. Thanks,

Re: [PATCH v1 2/2] Mark functions with the __nocapture attribute

2016-06-29 Thread Emese Revfy
On Tue, 28 Jun 2016 22:50:55 +0200 Rasmus Villemoes wrote: > On Tue, Jun 28 2016, Emese Revfy wrote: > > diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h > > index 6f96247..4cdf266 100644 > > --- a/include/asm-generic/bug.h > >

Re: [1/2] Revert "HID: multitouch: enable palm rejection if device implements confidence usage"

2016-06-29 Thread Mario Limonciello
> I've applied the series to hid.git#for-4.7/upstream-fixes Hi Jiri, Would you also submit this to -stable? I think it should be generally applicable at least a few releases back since Allen's original submit. Thanks,

Re: [PATCH v1 2/2] Mark functions with the __nocapture attribute

2016-06-29 Thread Emese Revfy
On Tue, 28 Jun 2016 22:50:55 +0200 Rasmus Villemoes wrote: > On Tue, Jun 28 2016, Emese Revfy wrote: > > diff --git a/include/asm-generic/bug.h b/include/asm-generic/bug.h > > index 6f96247..4cdf266 100644 > > --- a/include/asm-generic/bug.h > > +++ b/include/asm-generic/bug.h > > @@ -62,13

Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence

2016-06-29 Thread Sinan Kaya
On 6/29/2016 9:16 AM, Rafael J. Wysocki wrote: >> Signed-off-by: Sinan Kaya > Well, this is a rather obvious one, so I'm wondering why it is the > last one in the series? > The first three are more relevant to each other. It makes easy to correlate the changes. -- Sinan

Re: [PATCH V2 4/4] ACPI,PCI,IRQ: correct operator precedence

2016-06-29 Thread Sinan Kaya
On 6/29/2016 9:16 AM, Rafael J. Wysocki wrote: >> Signed-off-by: Sinan Kaya > Well, this is a rather obvious one, so I'm wondering why it is the > last one in the series? > The first three are more relevant to each other. It makes easy to correlate the changes. -- Sinan Kaya Qualcomm

Re: [PATCH] kthread: to_live_kthread() needs try_get_task_stack()

2016-06-29 Thread kbuild test robot
Hi, [auto build test ERROR on linus/master] [also build test ERROR on v4.7-rc5 next-20160629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Oleg-Nesterov/kthread-to_live_kthread-needs

Re: [PATCH] kthread: to_live_kthread() needs try_get_task_stack()

2016-06-29 Thread kbuild test robot
Hi, [auto build test ERROR on linus/master] [also build test ERROR on v4.7-rc5 next-20160629] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Oleg-Nesterov/kthread-to_live_kthread-needs

[PATCH v6 10/10] acpi: Add SBSA Generic Watchdog support in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of

[PATCH v6 10/10] acpi: Add SBSA Generic Watchdog support in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei This driver adds support for parsing SBSA Generic Watchdog timer in GTDT, parse all info in SBSA Generic Watchdog Structure in GTDT, and creating a platform device with that information. This allows the operating system to obtain device data from the resource of platform device.

Re: [kernel-hardening] [PATCH v1 0/2] Introduce the initify gcc plugin

2016-06-29 Thread Emese Revfy
On Wed, 29 Jun 2016 18:52:27 +0100 Mark Rutland wrote: > On Wed, Jun 29, 2016 at 09:21:37AM +0100, Mark Rutland wrote: > > On Tue, Jun 28, 2016 at 01:46:04PM -0700, Kees Cook wrote: > > > On Tue, Jun 28, 2016 at 9:14 AM, Emese Revfy wrote: > > > > On

Re: [kernel-hardening] [PATCH v1 0/2] Introduce the initify gcc plugin

2016-06-29 Thread Emese Revfy
On Wed, 29 Jun 2016 18:52:27 +0100 Mark Rutland wrote: > On Wed, Jun 29, 2016 at 09:21:37AM +0100, Mark Rutland wrote: > > On Tue, Jun 28, 2016 at 01:46:04PM -0700, Kees Cook wrote: > > > On Tue, Jun 28, 2016 at 9:14 AM, Emese Revfy wrote: > > > > On Tue, 28 Jun 2016 13:57:49 +0100 > > > > Mark

[PATCH v6 06/10] acpi: Add GTDT driver to kernel build system

2016-06-29 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- drivers/acpi/Kconfig | 9 + drivers/acpi/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index b7e2e77..27a5cf9 100644 --- a/drivers/acpi/Kconfig

[PATCH v6 05/10] acpi: Add arch_timer support in GTDT table parse driver

2016-06-29 Thread fu . wei
From: Fu Wei This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it.

[PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- drivers/acpi/acpi_gtdt.c | 85 1 file changed, 85 insertions(+) diff --git a/drivers/acpi/acpi_gtdt.c b/drivers/acpi/acpi_gtdt.c new file mode 100644 index

[PATCH v6 06/10] acpi: Add GTDT driver to kernel build system

2016-06-29 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- drivers/acpi/Kconfig | 9 + drivers/acpi/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index b7e2e77..27a5cf9 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -521,4

[PATCH v6 05/10] acpi: Add arch_timer support in GTDT table parse driver

2016-06-29 Thread fu . wei
From: Fu Wei This patch adds support for parsing arch timer in GTDT, provides some kernel APIs to parse all the PPIs and always-on info in GTDT and export them. By this driver, we can simplify arm_arch_timer drivers, and separate the ACPI GTDT knowledge from it. Signed-off-by: Fu Wei

[PATCH v6 04/10] acpi: Add some basic struct and functions in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei Signed-off-by: Fu Wei --- drivers/acpi/acpi_gtdt.c | 85 1 file changed, 85 insertions(+) diff --git a/drivers/acpi/acpi_gtdt.c b/drivers/acpi/acpi_gtdt.c new file mode 100644 index 000..54d7644e --- /dev/null +++

[PATCH v6 09/10] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-06-29 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 131 ++- 1 file changed, 130

[PATCH v6 07/10] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-06-29 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei

[PATCH v6 08/10] acpi: Add memory-mapped timer support in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei This driver adds support for parsing memory-mapped timer in GTDT: provide a kernel APIs to parse GT Block Structure in GTDT, export all the info by filling the struct which provided by parameter(pointer of the struct). By this driver, we can add ACPI support for

[PATCH v6 09/10] clocksource/drivers/arm_arch_timer: Add GTDT support for memory-mapped timer

2016-06-29 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 131 ++- 1 file changed, 130 insertions(+), 1 deletion(-) diff

[PATCH v6 07/10] clocksource/drivers/arm_arch_timer: Simplify ACPI support code.

2016-06-29 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo ---

[PATCH v6 08/10] acpi: Add memory-mapped timer support in GTDT driver

2016-06-29 Thread fu . wei
From: Fu Wei This driver adds support for parsing memory-mapped timer in GTDT: provide a kernel APIs to parse GT Block Structure in GTDT, export all the info by filling the struct which provided by parameter(pointer of the struct). By this driver, we can add ACPI support for memory-mapped timer

[PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-06-29 Thread fu . wei
From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer 1. Move some enums and marcos to header file 2. Add a new enum for spi type. 3. Improve printk relevant code (2)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c

[PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-06-29 Thread fu . wei
From: Fu Wei This patchset: (1)Preparation for adding GTDT support in arm_arch_timer 1. Move some enums and marcos to header file 2. Add a new enum for spi type. 3. Improve printk relevant code (2)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all

[PATCH v6 02/10] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-06-29 Thread fu . wei
From: Fu Wei This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer.h | 6 ++ 2 files

[PATCH v6 01/10] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-06-29 Thread fu . wei
From: Fu Wei To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei ---

[PATCH v6 02/10] clocksource/drivers/arm_arch_timer: Add a new enum for spi type

2016-06-29 Thread fu . wei
From: Fu Wei This patch add a new enum "spi_nr" and use it in the driver. Just for code's readability, no functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 4 ++-- include/clocksource/arm_arch_timer.h | 6 ++ 2 files changed, 8 insertions(+), 2

[PATCH v6 01/10] clocksource/drivers/arm_arch_timer: Move enums and defines to header file

2016-06-29 Thread fu . wei
From: Fu Wei To support the arm_arch_timer via ACPI we need to share defines and enums between the driver and the ACPI parser code. Split out the relevant defines and enums into arm_arch_timer.h. No functional change. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 11

[PATCH v6 03/10] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-06-29 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* don't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-off-by: Fu Wei

[PATCH v6 03/10] clocksource/drivers/arm_arch_timer: Improve printk relevant code

2016-06-29 Thread fu . wei
From: Fu Wei This patch defines pr_fmt(fmt) for all pr_* functions, then the pr_* don't need to add "arch_timer:" everytime. Also delete some Blank Spaces in arch_timer_banner, according to the suggestion from checkpatch.pl. No functional change. Signed-off-by: Fu Wei ---

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