[PATCH V2 0/8] clk: core: support clocks which requires parents enable

2016-06-29 Thread Dong Aisheng
This patch series adds support in clock framework for clocks which all the operations like gate/ungate, set_rate, set_parent must require its parent clock on. This special HW requirement can be found on Freescale i.MX7D platform. Besides i.MX7D, it seems lpc18xx clock has a similar requirement. (s

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

2016-06-29 Thread Dong Aisheng
i.MX7D requires all clocks operations including enable/disable, rate change and re-parent with its parent clock on. Changing to the correct APIs to tell clk core such requirement. Cc: Michael Turquette Cc: Stephen Boyd Cc: Shawn Guo Signed-off-by: Dong Aisheng --- drivers/clk/imx/clk-imx7d.c

[PATCH V2 5/8] clk: imx: re-order and concentrate the same type of clk api

2016-06-29 Thread Dong Aisheng
Re-order and concentrate the same type of clk api for better code maintenance. Cc: Shawn Guo Signed-off-by: Dong Aisheng --- drivers/clk/imx/clk.h | 58 +-- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/drivers/clk/imx/clk.h b/dr

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

2016-06-29 Thread Dong Aisheng
On Freescale i.MX7D platform, all clocks operations, including enable/disable, rate change and re-parent, requires its parent clock on. Current clock core can not support it well. This patch adding flag CLK_OPS_PARENT_ENABLE to handle this special case in clock core that enable its parent clock fir

[patch V4 05/31] bitops: Add ia64-specific parity functions

2016-06-29 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- arch/ia64/include/asm/bitops.h | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/ia64/include/asm/bitops.h b/arch/ia64/include/asm/bitops.h index 71e8145..041d1d6 100644 --- a/arch/ia64/include/asm/bitops

[PATCH] PCI: xilinx: Modify error handling

2016-06-29 Thread Amitoj Kaur Chawla
Failure of of_get_next_child returns NULL, not an ERR_PTR. Use appropriate error code -ENODEV to be returned on failure instead. The Coccinelle semantic patch used to find this issue is as follows: @@ expression E,E1; @@ if ( * E == NULL ) { <+... when != E = E1 PTR_ERR(E) ...

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

2016-06-29 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng Acked-by: Greg Kroah-Hartman --- drivers/tty/serial/max3100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/max3100.c b/drivers/tty/serial/max3100.c index 5c4c280..a0cc84a 100644 --- a/drivers/tty/serial/ma

Re: [PATCH v9 04/13] task_isolation: add initial support

2016-06-29 Thread Frederic Weisbecker
On Fri, Jun 03, 2016 at 03:32:04PM -0400, Chris Metcalf wrote: > On 5/25/2016 9:07 PM, Frederic Weisbecker wrote: > >I don't remember how much I answered this email, but I need to finish that > >:-) > > Sorry for the slow response - it's been a busy week. I'm certainly much slower ;-) > > >On

Re: [PATCH 1/6] ARM: NUC900: Add nuc970 machine support

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 6:37:17 PM CEST Wan Zongshun wrote: > NUC970 is a new SoC of Nuvoton nuc900 series, this patch is > to add machine file support for it. > > Signed-off-by: Wan Zongshun Nice to see some activity on the port! > --- > arch/arm/mach-w90x900/Kconfig |

Re: [PATCH 2/3] phy: rockchip-emmc: Be tolerant to card clock of 0 in power on

2016-06-29 Thread Doug Anderson
Kishon, On Wed, Jun 29, 2016 at 6:49 AM, Kishon Vijay Abraham I wrote: > Hi, > > On Monday 27 June 2016 11:09 PM, Douglas Anderson wrote: >> It's possible that there are some reasons to turn the PHY on while the >> clock is 0. In this case we just won't wait for the DLL to lock. >> >> This is a

Re: [PATCH 1/2] dm: update table type check for dax

2016-06-29 Thread Kani, Toshimitsu
On Tue, 2016-06-28 at 20:40 -0400, Mike Snitzer wrote: > On Tue, Jun 28 2016 at  4:23pm -0400, > Kani, Toshimitsu wrote: > > > On Tue, 2016-06-28 at 16:07 -0400, Mike Snitzer wrote: > > > > > > On Tue, Jun 28 2016 at  3:37pm -0400, > > > Toshi Kani wrote: > >  : > > > > > > You said in the 0th

Re: [PATCH 03/11] staging: fsl-mc: clean up the device id struct

2016-06-29 Thread Matthias Brugger
On 22/06/16 23:40, Stuart Yoder wrote: -rename the struct used for fsl-mc device ids to be more consistent with other busses -remove the now obsolete and unused version fields Signed-off-by: Stuart Yoder --- drivers/staging/fsl-mc/bus/dprc-driver.c | 2 +- drivers/staging/fsl-mc/bus/mc-a

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

2016-06-29 Thread Ravi Bangoria
Thanks Naveen, On Wednesday 29 June 2016 08:15 PM, Naveen N. Rao wrote: 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 crea

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

2016-06-29 Thread Arnd Bergmann
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| 8 + > drivers

Re: [PATCH 2/6] ARM: dts: nuc900: Add nuc970 dts files

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 6:37:18 PM CEST Wan Zongshun wrote: > This patch is to add dts support for nuc970 platform. > > Signed-off-by: Wan Zongshun > --- > .../devicetree/bindings/arm/nuvoton/nuc970.txt | 30 +++ > arch/arm/boot/dts/Makefile | 1 + > arch/arm/bo

[patch V4 09/31] bitops: Add x86-specific parity functions

2016-06-29 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- arch/x86/include/asm/arch_parity.h | 60 ++ arch/x86/include/asm/bitops.h | 4 ++- 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 arch/x86/include/asm/arch_parity.h diff --git a/a

Re: [PATCH 4/6] irqchip: add irqchip driver for nuc900

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 6:37:20 PM CEST Wan Zongshun wrote: > +#define IRQ_WDT W90X900_IRQ(1) > +#define IRQ_WWDT W90X900_IRQ(2) > +#define IRQ_LVD W90X900_IRQ(3) > +#define IRQ_EXT0 W90X900_IRQ(4) > +#define IRQ_EXT1 W90X900_IRQ(5) > +#define IRQ_EXT2 W

Re: [PATCH 01/10] Documentation: dt-bindings: mailbox: tegra: Add binding for HSP mailbox

2016-06-29 Thread Stephen Warren
On 06/28/2016 11:56 PM, Joseph Lo wrote: On 06/29/2016 03:08 AM, Stephen Warren wrote: On 06/28/2016 03:15 AM, Joseph Lo wrote: On 06/27/2016 11:55 PM, Stephen Warren wrote: On 06/27/2016 03:02 AM, Joseph Lo wrote: snip. Currently the usage of HSP HW in the downstream kernel is something li

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

2016-06-29 Thread Jon Hunter
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 XUSB partitions. > > Signed-off-by: Jon Hunter > --- > arch/arm64/boot

Re: [PATCH 0/6] ARM: NUC900: Add NUC970 SoC support

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 6:37:16 PM CEST Wan Zongshun wrote: > This patch series added Nuvoton new SoC NUC970 development board > support, this nuc970 belongs to nuc900 series, but many features are > not compatible with old nuc900 SoCs like nuc910, nuc920. > > Those patches are basing on old w9

Re: [PATCH 5/6] clk: add Clock driver for nuc970

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 6:37:21 PM CEST Wan Zongshun wrote: > Signed-off-by: Wan Zongshun > --- Please add a patch description. Arnd

Re: [PATCH 6/6] nuc900: add nuc970 platform defconfig file

2016-06-29 Thread Arnd Bergmann
On Saturday, June 25, 2016 6:37:22 PM CEST Wan Zongshun wrote: > Add nuc970_defconfig file support. > > Signed-off-by: Wan Zongshun > --- > arch/arm/configs/nuc970_defconfig | 1278 > + > 1 file changed, 1278 insertions(+) > create mode 100644 arch/arm/confi

Re: [PATCH 1/2] cgroup: pids: show number of failed forks since limit reset

2016-06-29 Thread Tejun Heo
Hello, Aleksa. On Wed, Jun 29, 2016 at 03:10:26PM +1000, Aleksa Sarai wrote: > Maybe I'm misunderstanding what the purpose of pids.events is meant to be. > If it's just meant to be a "hint" to the administrator, then that seems like > an awfully odd way of giving hints (the kernel logging should b

Re: [Xen-devel] [PATCH] x86/xen: Use DIV_ROUND_UP

2016-06-29 Thread Jan Beulich
>>> On 29.06.16 at 17:00, wrote: > --- a/arch/x86/xen/enlighten.c > +++ b/arch/x86/xen/enlighten.c > @@ -591,7 +591,7 @@ static void xen_load_gdt(const struct desc_ptr *dtr) > { > unsigned long va = dtr->address; > unsigned int size = dtr->size + 1; > - unsigned pages = (size + PA

Re: kthread_stop insanity (Re: [[DEBUG] force] 2642458962: BUG: unable to handle kernel paging request at ffffc90000997f18)

2016-06-29 Thread Andy Lutomirski
On Tue, Jun 28, 2016 at 3:59 PM, Oleg Nesterov wrote: > On 06/28, Andy Lutomirski wrote: >> >> On Tue, Jun 28, 2016 at 1:12 PM, Oleg Nesterov wrote: >> > >> > So please forget unless you see another reason for this change. >> > >> >> But I might need to that anyway for procfs to read the the stac

Re: [Xen-devel] [PATCH] x86/xen: Use DIV_ROUND_UP

2016-06-29 Thread Juergen Gross
On 29/06/16 17:34, Jan Beulich wrote: On 29.06.16 at 17:00, wrote: >> --- a/arch/x86/xen/enlighten.c >> +++ b/arch/x86/xen/enlighten.c >> @@ -591,7 +591,7 @@ static void xen_load_gdt(const struct desc_ptr *dtr) >> { >> unsigned long va = dtr->address; >> unsigned int size = dtr->si

Re: [RFC PATCH v4 3/5] PCI: Check platform specific ECAM quirks

2016-06-29 Thread Jeffrey Hugo
On 6/29/2016 7:52 AM, Tomasz Nowicki wrote: On 29.06.2016 15:34, Christopher Covington wrote: I'm confused by this statement. OEMID is defined as 6 bytes long and OEM Table ID as 8 bytes long in the ACPI specification. As far as I can tell, if your string isn't exactly that long, padding up to t

Re: brcmfmac: slightly simplify building interface combinations

2016-06-29 Thread Kalle Valo
Rafał Miłecki wrote: > This change reorders some operations in brcmf_setup_ifmodes in hope to > make it simpler: > 1) It allocates arrays right before filling them. This way it's easier >to follow requested array length as it's immediately followed by >code filling it. It's easier to check

Re: [RFC/PATCH] lib/vsprintf: Add support to store cpumask

2016-06-29 Thread Steven Rostedt
On Wed, 29 Jun 2016 08:43:48 +0200 Jiri Olsa wrote: > > > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > > index 94aa10ffe156..62693900cc4b 100644 > > --- a/include/linux/kernel.h > > +++ b/include/linux/kernel.h > > @@ -631,7 +631,24 @@ do {

Re: libertas_tf: Remove create_workqueue

2016-06-29 Thread Kalle Valo
Bhaktipriya Shridhar wrote: > alloc_workqueue replaces deprecated create_workqueue(). > > A dedicated workqueue has been used since the workitem (viz > &priv->cmd_work per priv, which maps to lbtf_cmd_work) is involved in > actual command processing and may be used on a memory reclaim path. > The

Re: [PATCH] powerpc/mm: update arch_{add,remove}_memory() for radix

2016-06-29 Thread Reza Arbab
On Tue, Jun 28, 2016 at 09:21:05PM +1000, Michael Ellerman wrote: No, you need to use mmu_linear_psize for the hotplug case. But you can probably factor out a common routine that both cases use, and hide the hash vs radix check in that. Okay, I'm trying to refactor {create,remove}_section_mapp

Re: [Xen-devel] [PATCH] x86/xen: Use DIV_ROUND_UP

2016-06-29 Thread David Vrabel
On 29/06/16 16:00, Amitoj Kaur Chawla wrote: > The kernel.h macro DIV_ROUND_UP performs the computation > (((n) + (d) - 1) /(d)) but is perhaps more readable. > > The Coccinelle script used to make this change is as follows: > @haskernel@ > @@ > > #include > > @depends on haskernel@ > expressio

Re: [PATCH 06/11] staging: fsl-mc: make fsl_mc_is_root_dprc() global

2016-06-29 Thread Matthias Brugger
On 29/06/16 16:25, Stuart Yoder wrote: -Original Message- From: Matthias Brugger [mailto:mbrug...@suse.com] Sent: Wednesday, June 29, 2016 9:17 AM To: Stuart Yoder ; gre...@linuxfoundation.org Cc: de...@driverdev.osuosl.org; ag...@suse.de; a...@arndb.de; Jose Rivera ; linux-kernel@v

[PATCH v5 3/3] gpio: lp873x: Add support for General Purpose Outputs

2016-06-29 Thread Keerthy
Add driver for lp873x PMIC family GPOs. Two GPOs are supported and can be configured in Open-drain output or Push-pull output. Signed-off-by: Keerthy --- Changes in v5: * Corrected a return value for lp873x_gpio_direction_output. drivers/gpio/Kconfig | 10 +++ drivers/gpio/Makefile

[PATCH v5 0/3] mfd: lp873x: Add lp873x PMIC support

2016-06-29 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

[PATCH v5 1/3] Documentation: mfd: LP873X: Add information for the mfd driver

2016-06-29 Thread Keerthy
The lp873x series of PMICs have a bunch of regulators and a couple of GPO(General Purpose Outputs). Add information for the mfd and regulator drivers. Acked-by: Rob Herring Signed-off-by: Keerthy --- Changes in v4: * Added the GPIO properties. Changes in v3: * Changed the example node la

[PATCH v5 2/3] mfd: lp873x: Add lp873x PMIC support

2016-06-29 Thread Keerthy
The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose Output Signals(GPO). PMIC interacts with the main processor through i2c. PMIC has couple of LDOs(

Re: libertas: Add spinlock to avoid race condition

2016-06-29 Thread Kalle Valo
Pavel Andrianov wrote: > lbs_mac_event_disconnected may free priv->currenttxskb > while lbs_hard_start_xmit accesses to it. > The patch adds a spinlock for mutual exclusion. > > Tested on OLPC XO-1 (usb8388) and XO-1.5 (sd8686) with v4.7-rc3. > > Confirmed that lbs_mac_event_disconnected is bein

Re: wlcore: sdio: Fix crash on wlcore_probe_of when failing to parse/map irq

2016-06-29 Thread Kalle Valo
Bruno Herrera wrote: > pdev_data pointer is being freed with kfree but the pointer is not dynamic > allocated. > > Signed-off-by: Bruno Herrera Thanks, 1 patch applied to wireless-drivers-next.git: 6edc119ed3b5 wlcore: sdio: Fix crash on wlcore_probe_of when failing to parse/map irq -- Sen

Re: [v2] rtlwifi: use s8 instead of char

2016-06-29 Thread Kalle Valo
Arnd Bergmann wrote: > Compiling the rtlwifi drivers for ARM with gcc -Wextra warns about lots of > incorrect code that results from 'char' being unsigned here, e.g. > > realtek/rtlwifi/rc.c:113:18: error: comparison is always true due to limited > range of data type [-Werror=type-limits] > real

[PATCH v2 2/2] clk: rockchip: remove unused rockchip_clk_protect_critical function

2016-06-29 Thread andi . shyti
From: Andi Shyti because there is no need anymore to enable critical clocks in each driver, this function is not necessary anymore. The drivers having critical clocks use the CLK_IS_CRITICAL flag. Signed-off-by: Andi Shyti --- drivers/clk/rockchip/clk.c | 14 -- drivers/clk/rockch

Re: mwifiex: Fixed endianness for event TLV type TLV_BTCOEX_WL_SCANTIME

2016-06-29 Thread Kalle Valo
Prasun Maiti wrote: > The two members min_scan_time and max_scan_time of structure > "mwifiex_ie_types_btcoex_scan_time" are of two bytes each. The values > are assigned directtly from firmware without endian conversion handling. > So, wrong datas will get saved in big-endian systems. > > This pa

Re: [1/8] wireless: airo: rename 'register' variable

2016-06-29 Thread Kalle Valo
Arnd Bergmann wrote: > 'register' is a keyword in C and cannot be used in place of a > variable name, as shown by this -Wextra warning: > > drivers/net/wireless/cisco/airo.c:1105:29: error: 'register' is not at > beginning of declaration [-Werror=old-style-declaration] > > This replaces the 're

Re: [REBASED] brcmfmac: fix lockup when removing P2P interface after event timeout

2016-06-29 Thread Kalle Valo
Rafał Miłecki wrote: > Removing P2P interface is handled by sending a proper request to the > firmware. On success firmware triggers an event and driver's handler > removes a matching interface. > > However on event timeout we remove interface directly from the cfg80211 > callback. Current code do

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

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

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

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,

[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

[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

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

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

[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

[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

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

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

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

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

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 =

[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

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

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

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

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

[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

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

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

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

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

<    1   2   3   4   5   6   7   8   9   >