Applied "ARM: dts: meson: minix-neo-x8: define PMIC as power controller" to the regulator tree

2016-06-29 Thread Mark Brown
The patch ARM: dts: meson: minix-neo-x8: define PMIC as power controller has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the ne

Applied "mfd: rn5t618: Register power off callback optionally" to the regulator tree

2016-06-29 Thread Mark Brown
The patch mfd: rn5t618: Register power off callback optionally has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "mfd: rn5t618: Add Ricoh RN5T567 PMIC support" to the regulator tree

2016-06-29 Thread Mark Brown
The patch mfd: rn5t618: Add Ricoh RN5T567 PMIC support has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Applied "regulator: rn5t618: Add RN5T567 PMIC support" to the regulator tree

2016-06-29 Thread Mark Brown
The patch regulator: rn5t618: Add RN5T567 PMIC support has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and s

Applied "mfd: rn5t618: Register restart handler" to the regulator tree

2016-06-29 Thread Mark Brown
The patch mfd: rn5t618: Register restart handler has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: [PATCH V2 6/8] clk: imx: add clk api for supporting CLK_OPS_PARENT_ENABLE clocks

2016-06-29 Thread kbuild test robot
Hi, [auto build test ERROR on clk/clk-next] [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/Dong-Aisheng/clk-core-support-clocks-which-requires

Applied "regulator: max77620: check for valid regulator info" to the regulator tree

2016-06-29 Thread Mark Brown
The patch regulator: max77620: check for valid regulator info has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "ASoC: cs35l33: mark PM functions as __maybe_unused" to the asoc tree

2016-06-29 Thread Mark Brown
The patch ASoC: cs35l33: mark PM functions as __maybe_unused has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Applied "regulator: da9211: add descriptions for da9212/da9214" to the regulator tree

2016-06-29 Thread Mark Brown
The patch regulator: da9211: add descriptions for da9212/da9214 has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-29 Thread Paul E. McKenney
On Wed, Jun 29, 2016 at 07:52:06PM +0200, Geert Uytterhoeven wrote: > Hi Paul, > > On Wed, Jun 29, 2016 at 6:44 PM, Paul E. McKenney > wrote: > > On Wed, Jun 29, 2016 at 04:54:44PM +0200, Geert Uytterhoeven wrote: > >> On Thu, Jun 23, 2016 at 4:53 AM, Paul E. McKenney > >> wrote: > >> > On Wed,

Re: Boot failure on emev2/kzm9d (was: Re: [PATCH v2 11/11] mm/slab: lockless decision to grow cache)

2016-06-29 Thread Paul E. McKenney
On Wed, Jun 29, 2016 at 04:54:44PM +0200, Geert Uytterhoeven wrote: > Hi Paul, > > On Thu, Jun 23, 2016 at 4:53 AM, Paul E. McKenney > wrote: > > On Wed, Jun 22, 2016 at 07:47:42PM -0700, Paul E. McKenney wrote: [ . . . ] > > @@ -4720,11 +4720,18 @@ static void __init rcu_dump_rcu_node_tree(str

[PATCH] fs: befs: remove ignored length of buffer

2016-06-29 Thread Luis de Bethencourt
When befs_nls2utf() returns an error, the caller ignores the length of the output buffer since it knows the buffer isn't useful. Removing the length assignment that will be ignored. Signed-off-by: Luis de Bethencourt --- Hi, Noticed this while continuing to familiarize with the befs code. As a

Re: [PATCH] power: qcom-smbb: add extcon dependency

2016-06-29 Thread Stephen Boyd
On 06/29/2016 07:38 AM, Sebastian Reichel wrote: > Hi, > > On Wed, Jun 29, 2016 at 04:30:02PM +0200, Arnd Bergmann wrote: >> Building the smbb driver without extcon results in a link failure: >> >> drivers/power/built-in.o: In function `smbb_usb_valid_handler': >> :(.text+0x3190): undefined referen

Re: [PATCH v4 3/4] ASoC: dapm: support mixer controls with mute at non-zero value

2016-06-29 Thread Mark Brown
On Tue, Jun 28, 2016 at 10:12:37AM +0200, Peter Rosin wrote: > Hi! > > Sorry to send a ping like this, with the patch still in patchwork > and all. But it's been a month since 1/4 and 2/4 were committed > and I expected at least some comment on the approach for patches > 3 and 4... Please don't s

[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 --- drivers/clocksource

[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 deletions(-

[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 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 kinds

[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 --g

[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 --- drivers/clocks

[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 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 +521

[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 Signed-of

[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 +++ b/drivers/acpi

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 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. The

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 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 Technolog

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 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 a/include/linu

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 ca

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 +62

[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 insertions

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 c

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 a/Docum

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 r

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 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 pri

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 to

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 ar

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] 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 : > > +PROPERTIES

[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. Miscellane

[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 ++ .../intel-mid/device_lib

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] 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: [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 wra

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 cha

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 b

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(&ulpi->dev, "cal_sleep"); > >>> + if (IS_ERR(clk)) >

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 f

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 (wi

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 >> >> --- >> >> Doc

[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) arch/x86/platform/intel-mid/device_libs

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 copyleft-next

[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 ++ drivers/clk/sunxi-ng/ccu_

[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 ++ drivers/clk

[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 ++ drivers/clk/sunxi-ng/ccu_nm

[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 b/arch/arm/boot/dts/s

[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 +++ drivers/clk/sunxi-ng/ccu-sun

[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 + drivers/clk

[PATCH v2] sched/deadline: remove useless param from setup_new_dl_entity

2016-06-29 Thread Juri Lelli
setup_new_dl_entity() takes two parameters, but it only actually uses one of them, under a different name, to setup a new dl_entity, after: 2f9f3fdc928 "sched/deadline: Remove dl_new from struct sched_dl_entity" as we currently do setup_new_dl_entity(&p->dl, &p->dl) However, before Luca's cha

[PATCH v3 06/14] clk: sunxi-ng: Add phase clock support

2016-06-29 Thread Maxime Ripard
Add support for the clocks in the CCU that introduce a phase shift from their parent clock. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 3 + drivers/clk/sunxi-ng/Makefile| 1 + drivers/clk/sunxi-ng/ccu_phase.c | 126 +++ drivers

Re: [PATCH v1 1/2] Add the initify gcc plugin

2016-06-29 Thread Emese Revfy
On Tue, 28 Jun 2016 23:05:56 +0200 Rasmus Villemoes wrote: > On Tue, Jun 28 2016, Emese Revfy wrote: > > > The kernel already has a mechanism to free up code and data memory that > > is only used during kernel or module initialization. > > This plugin will teach the compiler to find more such c

[PATCH v3 05/14] clk: sunxi-ng: Add mux clock support

2016-06-29 Thread Maxime Ripard
Some clocks in the Allwinner SoCs clocks unit are just muxes. However, those muxes might also be found in some other complicated clocks that would benefit from the code in there to deal with "advanced" features, like pre-dividers. Introduce a set of helpers to reduce the code duplication in such

[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 Documentation/devicetree/bindings/clock/sunx

[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 numb

[PATCH v3 02/14] clk: sunxi-ng: Add common infrastructure

2016-06-29 Thread Maxime Ripard
Start our new clock infrastructure by adding the registration code, common structure and common code. Signed-off-by: Maxime Ripard --- drivers/clk/Kconfig | 1 + drivers/clk/Makefile | 1 + drivers/clk/sunxi-ng/Kconfig | 3 ++ drivers/clk/sunxi-ng/Makefile

[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 ++ drivers/clk/sunxi-ng

[PATCH v3 11/14] clk: sunxi-ng: Add N-K-M Factor clock

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that multiply and divide using two linear multipliers and one linear divider. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig | 5 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_nkm.c | 153 ++

[PATCH v3 12/14] clk: sunxi-ng: Add N-K-M-P factor clock

2016-06-29 Thread Maxime Ripard
Introduce support for clocks that use a combination of two linear multipliers (N and K factors), one linear divider (M) and one power of two divider (P). Signed-off-by: Maxime Ripard --- drivers/clk/sunxi-ng/Kconfig| 5 ++ drivers/clk/sunxi-ng/Makefile | 1 + drivers/clk/sunxi-ng/ccu_n

Re: [GIT PULL] (Xen) stable/for-jens-4.7 for v4.7-rc5

2016-06-29 Thread Jens Axboe
On 06/29/2016 10:39 AM, Konrad Rzeszutek Wilk wrote: Hey Jens, Please git pull the 'stable/for-jens-4.7' branch which is based on your 'for-4.7/drivers' branch. It will nicely merge in your 'for-linus' branch: git pull git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jen

Re: [PATCH] mmotm: mm-oom-fortify-task_will_free_mem-fix

2016-06-29 Thread Oleg Nesterov
On 06/29, Michal Hocko wrote: > > But it seems that further changes I am > planning in this area will benefit from stable task->mm in this path Oh, so I hope you will cleanup this later, > Just pull the task->mm != > NULL check inside the function. OK, but this means it will always return false

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

2016-06-29 Thread Wolfram Sang
On Thu, Jun 30, 2016 at 12:03:47AM +0530, Amitoj Kaur Chawla wrote: > 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 Why don't we fix the code at the sa

[PATCH] x86: rename "WESTMERE2" family to "NEHALEM_G"

2016-06-29 Thread Dave Hansen
From: Dave Hansen Len Brown noticed something was amiss in our INTEL_FAM6_* definitions. It seems like model 0x1F was a Nehalem part, marketed as "Intel Core i7 and i5 Processors" (according to the SDM). But, although it was a Nehalem 0x1F had some uncore events which were shared with Westmere

[PATCH] staging: comedi: daqboard2000: bug fix board type matching code

2016-06-29 Thread Ian Abbott
`daqboard2000_find_boardinfo()` is supposed to check if the DaqBoard/2000 series model is supported, based on the PCI subvendor and subdevice ID. The current code is wrong as it is comparing the PCI device's subdevice ID to an expected, fixed value for the subvendor ID. It should be comparing the

Re: [tip:perf/core] perf/x86/intel: Add {rd,wr}lbr_{to,from} wrappers

2016-06-29 Thread Peter Zijlstra
On Mon, Jun 27, 2016 at 05:56:02AM -0700, tip-bot for Peter Zijlstra wrote: > +static inline u64 rdlbr_from(unsigned int idx) > +{ > + u64 val; > + > + rdmsrl(x86_pmu.lbr_from + idx, val); > + > + return lbr_from_signext_quirk_rd(val); > +} > + > +static inline u64 rdlbr_to(unsigned int

Re: [PATCH 3/6] [media] s5p-jpeg: set capablity bus_info as required by VIDIOC_QUERYCAP

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > The driver doesn't set the struct v4l2_capability cap_info field so the > v4l2-compliance tool reports the following errors for VIDIOC_QUERYCAP: > > Required ioctls: > VIDIOC_QUERYCAP returned 0 (Success) > f

Re: [PATCH 4/6] [media] s5p-jpeg: only fill driver's name in capabilities driver field

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > The driver fills in both the struct v4l2_capability driver and card fields > the same values, that is the driver's name plus the information if the dev > is a decoder or an encoder. > > But the driver field has a fixed length of 16 bytes so

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

2016-06-29 Thread Greg KH
On Wed, Jun 29, 2016 at 09:05:47PM +0200, Luis R. Rodriguez wrote: > 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), co

Re: [PATCH 2/6] [media] s5p-mfc: improve v4l2_capability driver and card fields

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > According to the V4L2 documentation the driver and card fields should be > used to identify the driver and the device but the s5p-mfc driver fills > those field using the platform device name, which in turn is the name of > the device DT nod

Re: [Y2038] [PATCH v3 00/24] Delete CURRENT_TIME_SEC and replace current_fs_time()

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 2:37:24 PM CEST Deepa Dinamani wrote: > The series is aimed at getting rid of CURRENT_TIME, CURRENT_TIME_SEC macros > and replacing current_fs_time() with current_time(). > The macros are not y2038 safe. There is no plan to transition them into being > y2038 safe. > ktime

Re: [PATCH 1/3] usb: dwc2: Add support for STM32F429/439/469 USB OTG in FS mode with internal PHY

2016-06-29 Thread Bruno Herrera
On Mon, Jun 27, 2016 at 7:51 PM, John Youn wrote: > On 6/21/2016 7:26 PM, Bruno Herrera wrote: >> Signed-off-by: Bruno Herrera > > Please add a commit message describing the purpose of your changes, > some information about the platform you're adding, and the special > handling of the GGPIO. > Ok

Re: [PATCH v3 2/9] kexec_file: Generalize kexec_add_buffer.

2016-06-29 Thread Dave Young
On 06/28/16 at 07:18pm, Thiago Jung Bauermann wrote: > Am Donnerstag, 23 Juni 2016, 10:25:06 schrieb Dave Young: > > On 06/22/16 at 08:30pm, Thiago Jung Bauermann wrote: > > > Am Mittwoch, 22 Juni 2016, 18:20:47 schrieb Dave Young: > > > > The patch looks good, but could the subject be more specifi

Re: [PATCH v3 3/9] kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.

2016-06-29 Thread Dave Young
On 06/28/16 at 07:18pm, Thiago Jung Bauermann wrote: > Am Dienstag, 28 Juni 2016, 15:20:55 schrieb Dave Young: > > On 06/27/16 at 04:21pm, Dave Young wrote: > > > Please ignore previous reply, I mistakenly send a broken mail without > > > subject, sorry about it. Resend the reply here. > > > > > >

Re: [PATCH 2/2] arm64: Always provide compat /proc/cpuinfo for 32-bit tasks

2016-06-29 Thread Brian Norris
Hi all, On Tue, May 31, 2016 at 03:55:04PM +0100, Catalin Marinas wrote: > Currently, the compat /proc/cpuinfo is provided only if a task has the > PER_LINUX32 personality, either by setting it explicitly or by > inheriting it from the parent task. This is in line with the "uname -m" > behaviour.

[PATCH] arm64: Add Broadcom Set Top Box Kconfig entry point

2016-06-29 Thread Markus Mayer
From: Florian Fainelli Add an ARCH_BRCMSTB Kconfig symbol which allows us not to update the dependencies for all STB-related drivers. Select BRCMSTB_L2_IRQ and GENERIC_IRQ_CHIP which are required for proper functioning. Signed-off-by: Doug Berger Signed-off-by: Florian Fainelli Signed-off-by:

Re: [PATCH 1/6] [media] s5p-mfc: set capablity bus_info as required by VIDIOC_QUERYCAP

2016-06-29 Thread Shuah Khan
On 06/16/2016 03:40 PM, Javier Martinez Canillas wrote: > The driver doesn't set the struct v4l2_capability bus_info field so the > v4l2-compliance tool reports the following errors for VIDIOC_QUERYCAP: > > Required ioctls: > VIDIOC_QUERYCAP returned 0 (Success) > f

[PATCH 2/2] brcmfmac: support removing AP interfaces with "interface_remove"

2016-06-29 Thread Rafał Miłecki
New firmwares (e.g. 10.10.69.36 for BCM4366) support "interface_remove" for removing interfaces. Try to use this method on cfg80211 request. In case of older firmwares (e.g. 7.35.177.56 for BCM43602 as I tested) this will just result in firmware rejecting command and this won't change any behavior.

[PATCH 1/2] brcmfmac: delete interface directly in code that sent fw request

2016-06-29 Thread Rafał Miłecki
So far when receiving event about in-firmware-interface removal our event worker was notifying listener and afterwards it was removing Linux interface. First of all it was resulting in slightly unexpected order. The listener (del_virtual_intf callback) was (usually) returning with success before w

Re: [PATCH 0/2] brcmfmac: support removing AP interfaces with new fw

2016-06-29 Thread Rafał Miłecki
On 29 June 2016 at 21:54, Rafał Miłecki wrote: > This is the latest patchset needed to get brcmfmac working reasonably well > with BCM4366. > > Both patches were already sent as V2 RFC (10 days ago), there were no more > comments since then and this is the same code as in V2 RFC. I was mostly > w

[PATCH 2/3] x86, cpufeatures: make sure DISABLED/REQUIRED macros are updated

2016-06-29 Thread Dave Hansen
From: Dave Hansen x86 has two macros which allow us to evaluate some CPUID-based features at compile time: REQUIRED_MASK_BIT_SET() DISABLED_MASK_BIT_SET() They're both defined by having the compiler check the bit argument against some constant masks of features. But, when addi

[PATCH 3/3] x86, cpufeatures: add helper macro for mask check macros

2016-06-29 Thread Dave Hansen
From: Dave Hansen Every time we add a word to our cpu features, we need to add something like this in two places: (((bit)>>5)==16 && (1UL<<((bit)&31) & REQUIRED_MASK16)) The trick is getting the "16" in this case in both places. I've now screwed this up twice, so as pennance, I've com

[PATCH 1/3] x86, cpufeatures: update cpufeaure macros

2016-06-29 Thread Dave Hansen
From: Dave Hansen We had a new CPUID "NCAPINT" word added, but the REQUIRED_MASK and DISABLED_MASK macros did not get updated. Update them. None of the features was needed in these masks, so there was no harm, but we should keep them updated anyway. Signed-off-by: Dave Hansen --- b/arch/x8

Re: [PATCH v4] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-06-29 Thread Alex Williamson
On Tue, 28 Jun 2016 13:47:23 -0600 Alex Williamson wrote: > On Tue, 28 Jun 2016 18:09:46 +0800 > Yongji Xie wrote: > > > Hi, Alex > > > > On 2016/6/25 0:43, Alex Williamson wrote: > > > > > On Fri, 24 Jun 2016 23:37:02 +0800 > > > Yongji Xie wrote: > > > > > >> Hi, Alex > > >> > > >> O

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

2016-06-29 Thread Luis R. Rodriguez
On Wed, Jun 29, 2016 at 12:46:35PM -0700, Greg KH wrote: > On Wed, Jun 29, 2016 at 09:05:47PM +0200, Luis R. Rodriguez wrote: > > 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 copyl

[PATCH] acpi, apei: Add Boot Error Record Table (BERT) support

2016-06-29 Thread Luck, Tony
From: Huang Ying ACPI/APEI is designed to verifiy/report H/W errors, like Corrected Error(CE) and Uncorrected Error(UC). It contains four tables: HEST, ERST, EINJ and BERT. The first three tables have been merged for a long time, but because of lacking BIOS support for BERT, the support for BERT

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

2016-06-29 Thread Jon Mason
On Wed, Jun 29, 2016 at 2:46 PM, Andrew Lunn wrote: > 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 MD

<    1   2   3   4   5   6   7   8   9   >