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

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

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] 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 r

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

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

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: [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 platform device. The

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

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

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

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,

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

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: 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 "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 "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 "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

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

2016-06-29 Thread Oleg Nesterov
On 06/29, Andy Lutomirski wrote: > > I pushed that change to my tree (seems to work well enough to boot > without warnings as long as I don't unmount XFS, but not particularly > well tested). Want to refresh your patch on top? Please see the trivial fix below. Compile tested, but looks obvious.

Re: [PATCH v2 3/3] drivers core: allow id match override when manually binding driver

2016-06-29 Thread Mark Brown
On Wed, Jun 29, 2016 at 05:32:48AM +0200, Michal Suchanek wrote: > The other is to get a generic expansion board and jumper wires. Of > course, you will not use all pins of your expansion connector this > way. On the other hand using the remaining pins becomes challenging > because of the jumper w

Re: [PATCH v4 00/29] virtually mapped stacks and thread_info cleanup

2016-06-29 Thread Mika Penttilä
On 29.06.2016 10:06, Mika Penttilä wrote: > On 06/27/2016 12:55 AM, Andy Lutomirski wrote: >> Hi all- >> >> Known issues: >> - tcp md5, virtio_net, and virtio_console will have issues. Eric Dumazet >>has a patch for tcp md5, and Michael Tsirkin says he'll fix virtio_net >>and virtio_con

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

2016-06-29 Thread Geert Uytterhoeven
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, Jun 22, 2016 at 07:47:42PM -0700, Paul E. McKenney wrote: > > [ . . . ] > >> > @@ -4

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-29 Thread Jonathan Corbet
On Wed, 29 Jun 2016 19:35:46 +0200 Markus Heiser wrote: > > I would love it if you would take the flat-table and man-page work, > > separate them out, and make them work with the *existing* Sphinx-based > > scheme. If you can do it soon, we can maybe get it into 4.8. Can you > > focus on that f

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

2016-06-29 Thread Mark Rutland
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 Rutland wrote: > > > > > >> On Tue, Jun 28, 2016 at 01:34:07PM +02

[PATCH] ARC: typo fix in mm/ioremap.c

2016-06-29 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- arch/arc/mm/ioremap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arc/mm/ioremap.c b/arch/arc/mm/ioremap.c index 49b8abd..f52b7db6 100644 --- a/arch/arc/mm/ioremap.c +++ b/arch/arc/mm/ioremap.c @@ -49,7 +49,7 @@ EXPORT_SYMBOL(ioremap)

[PATCH] dmaengine: at_xdmac: fix debug string

2016-06-29 Thread Alexandre Belloni
mbr_ds is an integer, don't use %pad to print it. Fixes: commit 268914f4e7a0 ("dmaengine: at_xdmac: use %pad format string for dma_addr_t") Reported-by: Dan Carpenter Signed-off-by: Alexandre Belloni --- drivers/dma/at_xdmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --g

Re: [PATCH v2] crypto: tcrypt - Fix memory leaks/crashes in multibuffer hash speed test

2016-06-29 Thread Megha Dey
I tested the latest cryptodev tree on my haswell machine and this is what I see: [ 40.402834] modprobe tcrypt mode=422 [ 40.403105] testing speed of multibuffer sha1 (sha1_mb) [ 40.403108] test 0 ( 16 byte blocks, 16 bytes per update, 1 updates): 32271 cycles/operation, 252 cycles/by

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-29 Thread Markus Heiser
Hi Jonathan, Am 29.06.2016 um 18:24 schrieb Jonathan Corbet : > Hi, Markus, > > I was glad to hear from you, but I have to agree with Jani: this is not > how things are done. Consider this one line: > >> 706 files changed, 123369 insertions(+), 752 deletions(-) > > Something like that will be

[patch V4 27/31] serial: use parity8 in max3100

2016-06-29 Thread zengzhaoxiu
From: Zhaoxiu Zeng Use parity8(c) instead "hweight8(c) & 1" to improve readability, and improve performance on some CPUs that without popcount support. Signed-off-by: Zhaoxiu Zeng --- drivers/tty/serial/max3100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/s

Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode.

2016-06-29 Thread Quentin Casasnovas
On Fri, Jun 24, 2016 at 03:10:03PM +0200, Paolo Bonzini wrote: > On 24/06/2016 15:04, Quentin Casasnovas wrote: > > On Thu, Jun 23, 2016 at 06:03:01PM +0200, Paolo Bonzini wrote: > >> > >> > >> On 18/06/2016 11:01, Quentin Casasnovas wrote: > >>> Cross-checking the KVM/VMX VMREAD emulation code wit

Re: [PATCH v2 2/2] KVM: x86: fix underflow in TSC deadline calculation

2016-06-29 Thread yunhong jiang
On Wed, 29 Jun 2016 19:23:57 +0800 Wanpeng Li wrote: > From: Wanpeng Li > > INFO: rcu_sched detected stalls on CPUs/tasks: > 1-...: (11800 GPs behind) idle=45d/140/0 softirq=0/0 > fqs=21663 (detected by 0, t=65016 jiffies, g=11500, c=11499, q=719) > Task dump for CPU 1: > qemu-syst

[RESEND PATCH] arm64: defconfig: Enable cros-ec and battery driver

2016-06-29 Thread Rhyland Klein
Enable the ChromeOS Embedded Controller, its I2C tunnel driver, and the BA27XXX battery driver. These are all used on the Tegra210 Smaug platform. Signed-off-by: Rhyland Klein --- Resending as the issue with power_supply_core/bq27xxx_battery has been resolved. arch/arm64/configs/defconfig | 4

using the same regmap by multiple device drivers

2016-06-29 Thread Vitaly Andrianov
Hello, I'm working on two drivers "crypto" and "hwrng", which use the same hardware module and the same block of registers. Actually the drivers don't need to access the same registers except several common ones. Here is fragment of dts. sa_subsys: subsys@1234000 { compatible =

Re: rc5+tip/master: Marking clocksource 'tsc' as unstable because the skew is too large:

2016-06-29 Thread Borislav Petkov
On Mon, Jun 27, 2016 at 10:06:31PM +0200, Borislav Petkov wrote: > Hey Thomas, > > Just started seeing this now during testing of Rafael's s/r fix: > > [ 24.973955] clocksource: timekeeping watchdog on CPU3: Marking clocksource > 'tsc' as unstable because the skew is too large: > [ 24.987744

Re: [PATCH] Input: Add SW_PEN_INSERTED define

2016-06-29 Thread Dmitry Torokhov
On Tue, Jun 28, 2016 at 10:00:53AM -0700, Douglas Anderson wrote: > Some devices with a pen may have a switch that can be used to detect > when the pen is inserted or removed to a slot on the device. Let's add > a define to the input event codes so that everyone can be on the same > page for what

Re: [patch] crypto: sha256-mb - cleanup a || vs | typo

2016-06-29 Thread H. Peter Anvin
On 06/29/16 07:42, Dan Carpenter wrote: > || and | behave basically the same here but || is intended. It causes a > static checker warning to mix up bitwise and logical operations. > > Signed-off-by: Dan Carpenter > > diff --git a/arch/x86/crypto/sha256-mb/sha256_mb.c > b/arch/x86/crypto/sha25

Re: [PATCH v4 3/3] LSM: Add context interface for proc attrs

2016-06-29 Thread Paul Moore
On Fri, Jun 24, 2016 at 7:29 PM, Casey Schaufler wrote: > Subject: [PATCH v4 3/3] LSM: Add context interface for proc attrs > > The /proc/.../attr/current interface is used by all three > Linux security modules (SELinux, Smack and AppArmor) to > report and modify the process security attribute. Th

Re: [PATCH v5 2/3] LSM: module hierarchy in /proc/.../attr

2016-06-29 Thread Paul Moore
On Fri, Jun 24, 2016 at 7:29 PM, Casey Schaufler wrote: > Subject: [PATCH v5 2/3] LSM: module hierarchy in /proc/.../attr > > Back in 2007 I made what turned out to be a rather serious > mistake in the implementation of the Smack security module. > The SELinux module used an interface in /proc to

Re: [PATCH v5 1/3] LSM: Add /sys/kernel/security/lsm

2016-06-29 Thread Paul Moore
On Fri, Jun 24, 2016 at 7:27 PM, Casey Schaufler wrote: > Subject: [PATCH v5 1/3] LSM: Add /sys/kernel/security/lsm > > I got tired of having to find indirect ways to > determine what security modules are active on a system. > I have added /sys/kernel/security/lsm, which contains a > comma separat

[GIT PULL] Audit fixes for 4.7 (#1)

2016-06-29 Thread Paul Moore
Hi Linus, Two small patches to fix audit problems in 4.7-rcX; the first fixes a potential kref leak, the second removes some header file noise. The first is an important bug fix that really should go in before 4.7 is released, the second is not critical, but falls into the very-nice-to-have categ

Re: [PATCH 2/2] kbuild: add shell cache

2016-06-29 Thread Jim Davis
On Mon, Jun 27, 2016 at 11:28 AM, Rabin Vincent wrote: > Running make results in over 40 invocations of the compiler just during > processing of the Makefile, before any actual rules are run. > > To reduce this overhead, cache the results of $(shell) calls to the > compiler. Clever. Looks like

[PATCH RESEND v2] mfd: sm501: Add device property

2016-06-29 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- Documentation/devicetree/bindings/mfd/sm501.txt | 45 + drivers/mfd/sm501.c | 9 + 2 files changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/sm501.txt diff --git a/Documen

Re: [PATCH] PM / runtime: Asynchronous "idle" in pm_runtime_allow()

2016-06-29 Thread Ulf Hansson
On 29 June 2016 at 02:53, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Arjan reports that it takes a relatively long time to enable runtime > PM for multiple devices at system startup, because all writes to the > "control" attribute in sysfs are handled synchronously and if the > device

Re: [PATCH V2 4/8] clk: core: support clocks which requires parents enable (part 2)

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: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-29 Thread Markus Heiser
Am 29.06.2016 um 15:15 schrieb Jani Nikula : > On Wed, 29 Jun 2016, Markus Heiser wrote: >> Am 28.06.2016 um 21:05 schrieb Jani Nikula : >>> Perhaps you misunderstood, I don't know. When we ask you to rebase your >>> work on something, in this case docs-next, it generally means, accept >>> what

Re: [PATCH v2 1/2] KVM: x86: introduce cancel_hv_tscdeadline

2016-06-29 Thread yunhong jiang
On Wed, 29 Jun 2016 19:23:56 +0800 Wanpeng Li wrote: > From: Wanpeng Li > > Introduce cancel_hv_tscdeadline() to encapsulate preemption > timer cancel stuff. > > Cc: Paolo Bonzini > Cc: Radim Krčmář > Cc: Yunhong Jiang > Signed-off-by: Wanpeng Li It's ok for me, thanks for the patch, Wan

Re: [PATCH V2 4/8] clk: core: support clocks which requires parents enable (part 2)

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

Re: [patch V4 27/31] serial: use parity8 in max3100

2016-06-29 Thread Greg KH
On Wed, Jun 29, 2016 at 10:57:08PM +0800, zengzhao...@163.com wrote: > From: Zhaoxiu Zeng > > Signed-off-by: Zhaoxiu Zeng > Acked-by: Greg Kroah-Hartman I acked this? I don't remember doing that... Again, I can't take patches without any changelog text, sorry. Please take my ack off of this

Re: [PATCH V2 4/8] clk: core: support clocks which requires parents enable (part 2)

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

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

2016-06-29 Thread Konrad Rzeszutek Wilk
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-jens-4.7 which has one fix for migration of guest. We fou

[patch V4 30/31] crypto: use parity_long in sahara.c

2016-06-29 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/crypto/sahara.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index c3f3d89..5c44a15 100644 --- a/drivers/crypto/sahara.c +++ b/drivers/crypto/sahara.c @@ -783,7 +7

Re: [PATCH v3 2/2] remoteproc: qcom: Introduce WCNSS peripheral image loader

2016-06-29 Thread Srinivas Kandagatla
Hi Bjorn, Few comments below, On 28/06/16 21:58, Bjorn Andersson wrote: From: Bjorn Andersson This introduces the peripheral image loader, for loading WCNSS firmware and boot the core on e.g. MSM8974. The firmware is verified and booted with the help of the Peripheral Authentication System (P

Re: [PATCH v2 3/4] perf annotate: add powerpc support

2016-06-29 Thread Naveen N. Rao
On 2016/06/29 04:45PM, Ravi Bangoria wrote: > From: Naveen N. Rao > > Powerpc has long list of branch instructions and hardcoding them in > table appears to be error-prone. So, add new function to find > instruction instead of creating table. This function dynamically > create table(list of 'stru

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

2016-06-29 Thread Steven Rostedt
On Thu, 30 Jun 2016 00:15:54 +0800 zengzhao...@163.com wrote: > From: Zhaoxiu Zeng I have to ask, what hot paths call this where we need to add a table for optimization. And there's a chance that this wont even optimize the flow and may even slow down execution as the table will now need to be l

Re: [PATCH] ASoC: cs35l33: mark PM functions as __maybe_unused

2016-06-29 Thread Mark Brown
On Wed, Jun 29, 2016 at 02:48:15PM +, Handrigan, Paul wrote: > On 6/29/16, 9:33 AM, "Arnd Bergmann" wrote: > > > >-- > >2.9.0 > Thanks! > Acked-by: Paul Handrigan Please delete unneeded context from mails when replying. Doing this makes it much easier to find your reply in the message,

[GIT PULL] Immutable branch between MFD, Regulator and ARM for v4.8

2016-06-29 Thread Lee Jones
Enjoy! The following changes since commit af8c34ce6ae32addda3788d54a7e340cad22516b: Linux 4.7-rc2 (2016-06-05 14:31:26 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/ib-mfd-regulator-arm-v4.8 for you to fetch changes up to a37

Re: [GIT PULL] doc: sphinx-4.8 DocBook to reST movement on Jon's docs-next

2016-06-29 Thread Jonathan Corbet
Hi, Markus, I was glad to hear from you, but I have to agree with Jani: this is not how things are done. Consider this one line: > 706 files changed, 123369 insertions(+), 752 deletions(-) Something like that will be a huge red flag to any kernel maintainer! In the kernel community, we have sp

[PATCH 2/2] lib: kstrtox: _parse_integer: use hex_to_bin instead local conversion, and reduce branches

2016-06-29 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- lib/kstrtox.c | 22 +- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/lib/kstrtox.c b/lib/kstrtox.c index d8a5cf6..70d3374 100644 --- a/lib/kstrtox.c +++ b/lib/kstrtox.c @@ -48,38 +48,26 @@ unsigned int _pars

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

2016-06-29 Thread zengzhaoxiu
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/linux/kernel.h b/include/linux/kernel.h index 94aa10f..72a04

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

2016-06-29 Thread Andy Shevchenko
On Thu, 2016-06-30 at 00:15 +0800, zengzhao...@163.com wrote: > From: Zhaoxiu Zeng > No way. At least commit message. And prerequisite is the performance / memory foot print tests. > Signed-off-by: Zhaoxiu Zeng > --- >  include/linux/kernel.h | 15 ++- >  lib/hexdump.c  | 3

Re: [Xen-devel] [PATCH linux 2/8] xen: introduce xen_vcpu_id mapping

2016-06-29 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Andrew Cooper writes: > >> On 29/06/16 13:16, Vitaly Kuznetsov wrote: >>> Andrew Cooper writes: >>> On 28/06/16 17:47, Vitaly Kuznetsov wrote: > @@ -1808,6 +1822,8 @@ static int xen_hvm_cpu_notify(struct notifier_block > *self, unsigned long action,

Re: [PATCH 2/6] soc/tegra: pmc: Fix early initialisation of PMC

2016-06-29 Thread Jon Hunter
On 28/06/16 11:38, Jon Hunter wrote: > During early initialisation, the available power partitions for a given > device is configured as well as the polarity of the PMC interrupt. Both > of which should only be configured if there is a valid device node for > the PMC device. This is because the so

[PATCH] crypto: omap-sham - increase cra_proirity to 400

2016-06-29 Thread Bin Liu
Some software alg has cra_priority as higher as 300, so increase omap-sham priority to 400 to ensure it is on top of any software alg. Signed-off-by: Bin Liu --- drivers/crypto/omap-sham.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/cryp

Re: [PATCH 3/6] Clocksource: add nuc970 clocksource driver

2016-06-29 Thread Daniel Lezcano
On 06/29/2016 05:25 PM, Arnd Bergmann wrote: On Saturday, June 25, 2016 6:37:19 PM CEST Wan Zongshun wrote: This patch is to add nuc970 clocksource driver support. Signed-off-by: Wan Zongshun --- .../mach-w90x900/include/mach/nuc970-regs-timer.h | 44 + drivers/clocksource/Kconfig

Re: [RFC PATCH 3/3] arm64: tegra210: Add XUSB powergates

2016-06-29 Thread Thierry Reding
On Wed, Jun 29, 2016 at 04:30:08PM +0100, Jon Hunter wrote: > > On 28/06/16 12:20, Jon Hunter wrote: > > The Tegra210 XUSB subsystem has 3 power partitions which are XUSBA > > (super-speed logic), XUSBB (USB device logic) and XUSBC (USB host > > logic). Populate the device-tree nodes for these XUS

Re: [PATCH v2] sm501: Add device property

2016-06-29 Thread Yoshinori Sato
On Wed, 29 Jun 2016 17:16:33 +0900, Lee Jones wrote: > > On Tue, 28 Jun 2016, Yoshinori Sato wrote: > > > Signed-off-by: Yoshinori Sato > > --- > > Documentation/devicetree/bindings/mfd/sm501.txt | 45 > > + > > This needs a DT Ack, but you haven't sent it to the DT lis

Re: [PATCH 1/5] perf test: Add -F/--dont-fork option

2016-06-29 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 29, 2016 at 11:04:01AM -0500, Nilay Vaish escreveu: > On 28 June 2016 at 06:29, Jiri Olsa wrote: > > Adding -F/--dont-fork option to bypass forking > > for each test. It's useful for debugging test. > > > > Link: http://lkml.kernel.org/n/tip-yq9gy0fcr8nl70986gwnl...@git.kernel.org > >

Re: [RFC PATCH 3/3] arm64: tegra210: Add XUSB powergates

2016-06-29 Thread Jon Hunter
On 29/06/16 16:56, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Wed, Jun 29, 2016 at 04:30:08PM +0100, Jon Hunter wrote: >> >> On 28/06/16 12:20, Jon Hunter wrote: >>> The Tegra210 XUSB subsystem has 3 power partitions which are XUSBA >>> (super-speed logic), XUSBB (USB device lo

Re: [PATCH 3/5] perf tests: Fix thread map test for -F option

2016-06-29 Thread Nilay Vaish
On 28 June 2016 at 06:29, Jiri Olsa wrote: > I hit a bug when running test suite without forking > each test (-F option): > > $ perf test -Fv > ... > 34: Test thread map : > --- start --- > FAILED tests/thread-map.c:24 wrong comm > end

Re: [PATCH 2/5] perf tools: Allow to reset open files counter

2016-06-29 Thread Nilay Vaish
On 28 June 2016 at 06:29, Jiri Olsa wrote: > I hit a bug when running test suite without forking > each test (-F option): > > $ perf test -F dso >8: Test dso data read : Ok >9: Test dso data cache : FAILED! > 10

Re: [PATCH 1/5] perf test: Add -F/--dont-fork option

2016-06-29 Thread Nilay Vaish
On 28 June 2016 at 06:29, Jiri Olsa wrote: > Adding -F/--dont-fork option to bypass forking > for each test. It's useful for debugging test. > > Link: http://lkml.kernel.org/n/tip-yq9gy0fcr8nl70986gwnl...@git.kernel.org > Signed-off-by: Jiri Olsa > --- > tools/perf/Documentation/perf-test.txt |

Re: brcmfmac: add missing break when deleting P2P_DEVICE

2016-06-29 Thread Kalle Valo
Rafał Miłecki wrote: > We obviously don't want to fall through in that switch. With this change > 1) We wait for event (triggered by p2p_disc) as expected > 2) We remove interface manually on timeout > 3) We return 0 on success instead of -ENOTSUPP > > Signed-off-by: Rafał Miłecki Thanks, 1 patc

Re: brcmfmac: include also core.h header in cfg80211.h

2016-06-29 Thread Kalle Valo
Rafał Miłecki wrote: > This header provides two inline functions using struct brcmf_if so we > need core.h to avoid: > > drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h: In function > ‘ndev_to_prof’: > drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.h:368:13: error: > deref

Re: brcmfmac: use const char * for interface name in brcmf_add_if

2016-06-29 Thread Kalle Valo
Rafał Miłecki wrote: > This function can work just fine with const pointer, it only calls > alloc_netdev which take const as well. Moreover it makes this function > more flexible as some cfg80211 callback may provide const char * as > well, e.g. add_virtual_intf. This will be needed for more advanc

<    1   2   3   4   5   6   7   8   9   >