Re: [PATCH net-next 1/3] samples/bpf: add bpf map stress test

2016-03-08 Thread David Miller
From: Alexei Starovoitov Date: Tue, 8 Mar 2016 15:07:52 -0800 > this test calls bpf programs from different contexts: > from inside of slub, from rcu, from pretty much everywhere, > since it kprobes all spin_lock functions. > It stresses the bpf hash and percpu map pre-allocation, > deallocation

Re: [PATCH net-next 2/3] samples/bpf: stress test bpf_get_stackid

2016-03-08 Thread David Miller
From: Alexei Starovoitov Date: Tue, 8 Mar 2016 15:07:53 -0800 > increase stress by also calling bpf_get_stackid() from > various *spin* functions > > Signed-off-by: Alexei Starovoitov Applied.

Re: [PATCH net-next 3/3] samples/bpf: add map performance test

2016-03-08 Thread David Miller
From: Alexei Starovoitov Date: Tue, 8 Mar 2016 15:07:54 -0800 > performance tests for hash map and per-cpu hash map > with and without pre-allocation > > Signed-off-by: Alexei Starovoitov Applied.

linux-next: removal of the llvmlinux tree

2016-03-08 Thread Stephen Rothwell
Hi all, I noticed that the llvmlinux tree: git://git.linuxfoundation.org/llvmlinux/kernel.git branch for-next has not been updated since November 2014. I am going to remove it from linux-next tomorrow unless you think it should be retained. It can always be added again later if it is going t

Re: linux-next: manual merge of the usb tree with the tip tree

2016-03-08 Thread Greg KH
On Wed, Mar 09, 2016 at 01:35:15PM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the usb tree got a conflict in: > > Documentation/kernel-parameters.txt > > between commit: > > d2aa1acad22f ("mm/init: Add 'rodata=off' boot cmdline parameter to disable > read-only

Re: [PATCH 0/2] mm: Enable page parallel initialisation for Power

2016-03-08 Thread Li Zhang
On Tue, Mar 8, 2016 at 10:45 PM, Balbir Singh wrote: > > > On 08/03/16 14:55, Li Zhang wrote: >> From: Li Zhang >> >> Uptream has supported page parallel initialisation for X86 and the >> boot time is improved greately. Some tests have been done for Power. >> >> Here is the result I have done wit

Re: Linux 4.4.4 [regression]

2016-03-08 Thread Greg KH
On Tue, Mar 08, 2016 at 09:48:02AM +0100, Jean Delvare wrote: > On Tue, 8 Mar 2016 09:16:13 +0100, Jean Delvare wrote: > > On Thu, 3 Mar 2016 15:34:15 -0800, Greg KH wrote: > > > I'm announcing the release of the 4.4.4 kernel. > > > > > > All users of the 4.4 kernel series must upgrade. > > > (...

Re: [PATCH 01/14] pinctrl: at91: use __maybe_unused to hide pm functions

2016-03-08 Thread Linus Walleij
On Wed, Mar 2, 2016 at 10:58 PM, Arnd Bergmann wrote: > The at91-pio4 pinctrl driver uses SET_SYSTEM_SLEEP_PM_OPS() to > conditionally set the correct suspend/resume options, but they > become unused when CONFIG_PM is disabled: > > drivers/pinctrl/pinctrl-at91-pio4.c:827:12: error: 'atmel_pctrl_s

[PATCH v5 7/7] T104xQDS: Add qe node to t104xqds

2016-03-08 Thread Zhao Qiang
add qe node to t104xqds.dtsi Signed-off-by: Zhao Qiang --- Changes for v2 - rebase Changes for v3 - rebase Changes for v4 - rebase Changes for v5 - rebase arch/powerpc/boot/dts/fsl/t104xqds.dtsi | 38 + 1 file changed, 38 insertion

Re: [PATCH 2/3] mm, compaction: cover all compaction mode in compact_zone

2016-03-08 Thread Hillf Danton
> > From: Michal Hocko > > the compiler is complaining after "mm, compaction: change COMPACT_ > constants into enum" > > mm/compaction.c: In function ‘compact_zone’: > mm/compaction.c:1350:2: warning: enumeration value ‘COMPACT_DEFERRED’ not > handled in switch [-Wswitch] > switch (ret) { >

Re: [PATCH 1/3] mm, compaction: change COMPACT_ constants into enum

2016-03-08 Thread Hillf Danton
> > From: Michal Hocko > > compaction code is doing weird dances between > COMPACT_FOO -> int -> unsigned long > > but there doesn't seem to be any reason for that. All functions which > return/use one of those constants are not expecting any other value > so it really makes sense to define an

[PATCH v5 1/7] QE: Add IC, SI and SIRAM document to device tree bindings.

2016-03-08 Thread Zhao Qiang
Add IC, SI and SIRAM document of QE to Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/qe.txt Signed-off-by: Zhao Qiang Acked-by: Rob Herring --- changes for v2 - Add interrupt-controller in Required properties - delete address-cells and size-cells for qe-si and qe-siram Cha

[PATCH 3/3] coresight: tmc: adding sysFS management entries

2016-03-08 Thread Mathieu Poirier
Adding management registers that convey implementation specific characteristics. Those are useful for trace configuration and collection along with general trouble shooting. Signed-off-by: Mathieu Poirier --- .../ABI/testing/sysfs-bus-coresight-devices-tmc| 77 +++ drivers/hwtr

[PATCH 2/3] coresight: etb10: splitting sysFS "status" entry

2016-03-08 Thread Mathieu Poirier
The sysFS "status" entry conveys a wealth of information about the status of the HW but goes agains the sysFS rule of one topic per file. This patch rectifies the situation by adding read-only entries for each of the field formaly displayed by "status". The ABI documentation is kept up to date.

[PATCH 1/3] coresight: moving coresight_simple_func() to header file

2016-03-08 Thread Mathieu Poirier
Macro "coresight_simple_func()" can be used by several drivers. As such making the structure type generic and moving to a globally available header file. That way individual drivers can use the functionality by simply specifying the structure they need to work with. Signed-off-by: Mathieu Poirier

[PATCH 0/3] coresight: sysFS conformance and enhancement

2016-03-08 Thread Mathieu Poirier
This patchset works on the registers exported to sysFS by the ETB and TMC drivers. For ETB the "status" entry is broken up to present one register per entry. On the TMC driver entries are added to convey the same information as found on ETB. To avoid code duplication the "coresight_simple_func(

Re: [PATCH 4.4 13/74] cifs: fix out-of-bounds access in lease parsing

2016-03-08 Thread Ben Hutchings
On Mon, 2016-03-07 at 16:02 -0800, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > -- > > From: Justin Maggard > > commit deb7deff2f00bdbbcb3d560dad2a89ef37df837d upstream. > > When opening a file, SMB2_open() attempts

RE: [PATCH 2/2] dts/ls2080a: Update DSPI compatible

2016-03-08 Thread Yao Yuan
Hi All, Sorry for the patch: dts/ls2080a: Update DSPI compatible I was just trying to resend this patch: dts/ls2080a: update the DTS for QSPI and DSPI support https://patchwork.ozlabs.org/patch/573108/ But I have a big mistake to sending a wrong patch. Please ignore it. And I will resend the ri

Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc

2016-03-08 Thread Balbir Singh
On 09/03/16 02:34, Torsten Duwe wrote: > On Wed, Mar 09, 2016 at 12:52:03AM +1100, Balbir Singh wrote: >> On 08/03/16 21:45, Torsten Duwe wrote: >>> To be fair, my last mail still was not 100% correct, but the conclusion > Wrote a correction to the correction. It should be clear now. Please nag m

Re: [PATCH] pinctrl: uniphier: rename CONFIG options and file names

2016-03-08 Thread Linus Walleij
On Wed, Mar 2, 2016 at 1:14 PM, Masahiro Yamada wrote: > The current "CONFIG_PINCTRL_UNIPHIER_PH1_*" is too long. It would > not hurt to drop "PH1_" because "UNIPHIER_" already well specifies > the SoC family. Also, rename files for consistency. > > Signed-off-by: Masahiro Yamada Patch applie

Re: [PATCH] usb: chipidea: Configure DMA properties and ops from DT

2016-03-08 Thread Bjorn Andersson
On Tue, Mar 8, 2016 at 11:52 AM, Li Yang wrote: > On Wed, Mar 2, 2016 at 4:59 PM, Li Yang wrote: >> On Mon, Feb 22, 2016 at 4:07 PM, Bjorn Andersson >> wrote: >>> On Mon 22 Feb 02:03 PST 2016, Srinivas Kandagatla wrote: >>> On 22/02/16 05:32, Bjorn Andersson wrote: >On certai

Re: [RESEND PATCH v7] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-03-08 Thread Jiancheng Xue
Hi Boris, On 2016/3/8 17:46, Boris Brezillon wrote: >> [...] +static int hisi_spi_nor_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, + int len) +{ + struct hifmc_priv *priv = nor->priv; + struct hifmc_host *host = priv->host; + int ret; + + r

Re: [v5][PATCH] livepatch/ppc: Enable livepatching on powerpc

2016-03-08 Thread Balbir Singh
On 09/03/16 03:02, Petr Mladek wrote: > On Tue 2016-03-08 18:33:57, Balbir Singh wrote: >> Changelog v5: >> 1. Removed the mini-stack frame created for klp_return_helper. >> As a result of the mini-stack frame, function with > 8 >> arguments could not be patched >> 2. Re

linux-next: manual merge of the gpio tree with the mfd tree

2016-03-08 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the gpio tree got a conflict in: drivers/gpio/gpio-tps65912.c between commits: 65b6555971d0 ("mfd: tps65912: Remove old driver in preparation for new driver") ca801a22f465 ("gpio: tps65912: Add GPIO driver for the TPS65912 PMIC") from the mfd tree a

[PATCH 0/9] GIC updates for 4.6

2016-03-08 Thread Marc Zyngier
Hi Thomas, Please find below the GIC updates for 4.6. This time around, the first round of ACPI support for GICv3, the Alpine MSI widget and a RealView support update (blast from the past!). Thanks, M. The following changes since commit fe2f95468e4bdf4a526be4f86efaefe48ca63b83: x86/a

Re: [PATCH v3 2/9] clocksource: arm_arch_timer: Extend arch_timer_kvm_info to get the virtual IRQ

2016-03-08 Thread Christoffer Dall
On Tue, Mar 08, 2016 at 11:29:26AM +, Julien Grall wrote: > Currently, the firmware table is parsed by the virtual timer code in > order to retrieve the virtual timer interrupt. However, this is already > done by the arch timer driver. > > To avoid code duplication, extend arch_timer_kvm_info

Re: [PATCH 7/8] drivers/pinctrl: make sunxi/pinctrl-sun9i-a80-r.c explicitly non-modular

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 3:48 AM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pinctrl/sunxi/Kconfig:config PINCTRL_SUN9I_A80_R > drivers/pinctrl/sunxi/Kconfig: def_bool MACH_SUN9I > > ...meaning that it currently is not being built as a module

[PATCH] Revert "[media] au0828: use v4l2_mc_create_media_graph()"

2016-03-08 Thread Shuah Khan
This reverts commit 9822f4173f84cb7c592edb5e1478b7903f69d018. This commit breaks au0828_enable_handler() logic to find the tuner. Audio, Video, and Digital applications are broken and fail to start streaming with tuner busy error even when tuner is free. Signed-off-by: Shuah Khan --- drivers/med

Re: [PATCH 5/8] drivers/pinctrl: make stm32/pinctrl-stm32f429.c explicitly non-modular

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 3:48 AM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pinctrl/stm32/Kconfig:config PINCTRL_STM32F429 > drivers/pinctrl/stm32/Kconfig: bool "STMicroelectronics STM32F429 pin > control" if COMPILE_TEST && !MACH_STM32F429

Re: [PATCH 4/8] drivers/pinctrl: make sh-pfc/core.c explicitly non-modular

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 3:48 AM, Paul Gortmaker wrote: > The Kconfig / Makefile currently controlling compilation of this code is: > > drivers/pinctrl/sh-pfc/Makefile:obj-$(CONFIG_PINCTRL_SH_PFC)+= sh-pfc.o > drivers/pinctrl/sh-pfc/Makefile:sh-pfc-objs = core.o > pinctrl.o

[PATCH v2 2/6] leds: lp8788: Use devm_led_classdev_register

2016-03-08 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove platform_set_drvdata in probe function and the remove function, lp8788_led_remove as it is now has nothing to do. The Coccinelle semantic patch

[PATCH v2 3/6] leds: wm831x-status: Use devm_led_classdev_register

2016-03-08 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove platform_set_drvdata from probe function and the remove function, wm831x_status_remove as it is now has nothing to do. The Coccinelle semantic

[PATCH v2 5/6] leds: da903x: Use devm_led_classdev_register

2016-03-08 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove platform_set_drvdata in probe function and the remove function, da903x_led_remove as it is now has nothing to do. The Coccinelle semantic patch

[PATCH v2 6/6] leds: max8997: Use devm_led_classdev_register

2016-03-08 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove platform_set_drvdata in probe function and the remove function, max8997_led_remove as it is now has nothing to do. The Coccinelle semantic patc

Re: [PATCH v3 1/9] clocksource: arm_arch_timer: Gather KVM specific information in a structure

2016-03-08 Thread Christoffer Dall
On Tue, Mar 08, 2016 at 11:29:25AM +, Julien Grall wrote: > Introduce a structure which are filled up by the arch timer driver and > used by the virtual timer in KVM. > > The first member of this structure will be the timecounter. More members > will be added later. > > A stub for the new hel

[PATCH v2 4/6] leds: s3c24xx: Use devm_led_classdev_register

2016-03-08 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove unnecessary function pdev_to_gpio, platform_set_drvdata in the probe function and the remove function, s3c24xx_led_remove as it is now has not

[PATCH v2 1/6] leds: 88pm860x: Use devm_led_classdev_register

2016-03-08 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. Also, remove platform_set_drvdata in probe function and the remove function, pm860x_led_remove as it is now has nothing to do. The Coccinelle semantic patch

[PATCH v2 0/6] leds: Use devm_led_classdev_register

2016-03-08 Thread Amitoj Kaur Chawla
Switch to resource-managed function devm_led_classdev_register instead of led_classdev_register and remove unneeded led_classdev_unregister. The Coccinelle semantic patch used to make this change is as follows: // @platform@ identifier p, probefn, removefn; @@ struct platform_driver p = { .probe

Re: [PATCH 3/8] drivers/pinctrl: make meson/pinctrl-meson.c explicitly non-modular

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 3:48 AM, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pinctrl/Kconfig:config PINCTRL_MESON > drivers/pinctrl/Kconfig:bool > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove

Re: [PATCH 2/8] drivers/pinctrl: make mediatek/pinctrl-mt6397 driver explicitly non-modular

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 3:48 AM, Paul Gortmaker wrote: > The Kconfig for this driver is currently: > > config PINCTRL_MT6397 > bool "Mediatek MT6397 pin control" if COMPILE_TEST && !MFD_MT6397 > > ...meaning that it is currently not being built as a module by anyone. > Lets remove the modu

Re: [PATCH 01/11] rxrpc: Add a common object cache

2016-03-08 Thread David Miller
From: David Howells Date: Tue, 08 Mar 2016 21:11:09 + > I can put in a limit per peer, where a 'peer' is either a particular remote > UDP port or particulat remote host. TCP has this by virtue of having a > limited number of ports available per IP address. But if I have 10 IP > addresses av

Re: [PATCH 1/8] drivers/pinctrl: sunxi/pinctrl-sunxi.c does not need module.h

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 3:48 AM, Paul Gortmaker wrote: > This file is not modular, nor is it using modular functions. The > only thing close is the global THIS_MODULE which comes from export.h > so lets replace it appropriately and cut back on the amount of > header stuff we draw in by several tho

Re: [PATCH v3 01/13] pinctrl: sunxi: Add A83T R_PIO controller support

2016-03-08 Thread Linus Walleij
On Sat, Mar 5, 2016 at 10:42 PM, Vishnu Patekar wrote: > The A83T has R_PIO pin controller, it's same as A23, execpt A83T > interrupt bit is 6th and A83T has one extra pin PL12. > > Signed-off-by: Vishnu Patekar > Acked-by: Chen-Yu Tsai > Acked-by: Rob Herring As partly noted by others: > +c

[PATCH v5 4/7] bindings: move cpm_qe binding from powerpc/fsl to soc/fsl

2016-03-08 Thread Zhao Qiang
cpm_qe is supported on both powerpc and arm. and the QE code has been moved from arch/powerpc into drivers/soc/fsl, so move cpm_qe binding from powerpc/fsl to soc/fsl Signed-off-by: Zhao Qiang Acked-by: Rob Herring --- Changes for v3 - NA Changes for v4 - NA Changes for v5

[PATCH] watchdog: Ensure that wdd is not dereferenced if NULL

2016-03-08 Thread Guenter Roeck
Smatch rightfully complains that wdd is dereferenced in the watchdog release function after being checked for NULL. Also make sure that it is not accessed outside mutex protection to avoid use-after-free problems. Fixes: e6c71e84e4c0 ("watchdog: Introduce WDOG_HW_RUNNING flag") Reported-by: Dan Ca

[PATCH v3 7/7] clk: rockchip: add clock controller for the RK3399

2016-03-08 Thread Xing Zheng
Add the clock tree definition for the new RK3399 SoC. Signed-off-by: Xing Zheng --- Changes in v3: - rename pclkin_cif to pclkin_cifmux, add diagram and comment for pclkin_cifmux - add the clk_test node - modify the cif_testout path - include two new patches that dt-bindings and header file fr

Re: [PATCH v2] gpio: add driver for MEN 16Z127 GPIO controller

2016-03-08 Thread Linus Walleij
On Tue, Mar 1, 2016 at 1:44 AM, Andreas Werner wrote: > The 16Z127 is a 32bit GPIO controller on a MCB FPGA. > Every single line can be configured as input and output. > > Push pull and open drain are supported as well as setting > a debounce value for the input lines. > > Signed-off-by: Andreas

[PATCH v3 5/7] clk: rockchip: add new pll-type for rk3399 and similar socs

2016-03-08 Thread Xing Zheng
The rk3399's pll and clock are similar with rk3036's, it different with base on the rk3066(rk3188, rk3288, rk3368 use it), there are different adjust foctors and control registers, so these should be independent and separate from the series of rk3066s. Signed-off-by: Xing Zheng --- Changes in v3

[PATCH v3 6/7] clk: rockchip: add a COMPOSITE_FRACMUX_NOGATE type

2016-03-08 Thread Xing Zheng
Because there are some frac clock mux nodes don't need gate node on the RK3399. Signed-off-by: Xing Zheng --- Changes in v3: None Changes in v2: None drivers/clk/rockchip/clk.h | 16 1 file changed, 16 insertions(+) diff --git a/drivers/clk/rockchip/clk.h b/drivers/clk/rock

[PATCH 2/2] mmc: dw_mmc: avoid using dmaengine_terminate_all

2016-03-08 Thread Shawn Lin
dmaengine_terminate_all is deprecated and should be replaced by more explicit synchronous and asynchronous terminate functions. This change is based on the commit b36f09c3c441 ("dmaengine: Add transfer termination synchronization support"). Currently dw_mci_stop_dma may be called under the spinlock

[PATCH 1/2] mmc: dw_mmc: fix warning reported by kernel-doc

2016-03-08 Thread Shawn Lin
Try to fix the warning reported by: scripts/kernel-doc -man -v include/linux/mmc/dw_mmc.h > /dev/null warning: No description found for parameter 'irq_lock' warning: No description found for parameter 'stop_abort' warning: No description found for parameter 'prev_blksz' warning: No description fou

[PATCH v3 1/7] dt-bindings: add bindings for rk3399 clock controller

2016-03-08 Thread Xing Zheng
Add devicetree bindings for Rockchip cru which found on Rockchip SoCs. Signed-off-by: Xing Zheng Signed-off-by: Jianqun Xu Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None .../bindings/clock/rockchip,rk3399-cru.txt | 82 1 file changed, 82 inse

[PATCH v3 4/7] clk: rockchip: Add support for multiple clock providers

2016-03-08 Thread Xing Zheng
There are need to support Multi-CRUs probability in future, but it is not supported on the current Rockchip Clock Framework. Therefore, this patch add support a provider as the parameter handler when we call the clock register functions for per CRU. Signed-off-by: Xing Zheng --- Changes in v3:

[PATCH v3 3/7] clk: rockchip: add more mux parameters for new pll sources

2016-03-08 Thread Xing Zheng
Thers are only two parent PLLs that APLL and GPLL for core on the previous SoCs (RK3066/RK3188/RK3288/RK3368). Hence, we set fixed GPLL as alternate parent when core is switching freq. Since RK3399 big.LITTLE architecture, we need to select and adapt more PLLs (ALPLL/ABPLL/DPLL/GPLL) sources. Sig

[PATCH v3 2/7] clk: rockchip: add dt-binding header for rk3399

2016-03-08 Thread Xing Zheng
Add the dt-bindings header for the rk3399, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Xing Zheng Signed-off-by: Jianqun Xu Acked-by: Rob Herring --- Changes in v3: None Changes in v2: None include/dt-bindings/clock/rk3399-cru.h | 720 ++

[PATCH v3 0/7] Add more clock compatible features and support the RK3399 clock

2016-03-08 Thread Xing Zheng
Hi, The patch series add support more mux parameters and multiple clock providers for the rockchip features of the clock framework, and support the clock controller for the RK3399. Changes in v3: - rename pclkin_cif to pclkin_cifmux, add diagram and comment for pclkin_cifmux - add the clk_te

Re: [PATCH] staging/android: change IOCTLs opcode after ABI change

2016-03-08 Thread Greg Hackmann
On 03/03/2016 02:42 PM, Gustavo Padovan wrote: From: Gustavo Padovan Burn the old opcode to avoid any potential old userspace running the old API to get weird errors. Changing the opcodes will make them fail right away. This is just a precaution, there no upstream users of these interfaces yet

Re: [PATCH v7 1/5] staging/android: add num_fences field to struct sync_file_info

2016-03-08 Thread Greg Hackmann
On 03/03/2016 11:40 AM, Gustavo Padovan wrote: From: Gustavo Padovan Inform userspace how many fences are in the sync_fence_info field. Signed-off-by: Gustavo Padovan Reviewed-by: Maarten Lankhorst --- drivers/staging/android/sync.c | 2 ++ drivers/staging/android/uapi/sync.h | 2 ++

linux-next: manual merge of the usb tree with the tip tree

2016-03-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the usb tree got a conflict in: Documentation/kernel-parameters.txt between commit: d2aa1acad22f ("mm/init: Add 'rodata=off' boot cmdline parameter to disable read-only kernel mappings") from the tip tree and commit: 605df8af33a7 ("phy: rockchip-usb:

Re: [PATCH v2] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-03-08 Thread Marc Zyngier
On Sun, 28 Feb 2016 13:22:03 -0600 Shanker Donthineni wrote: Hi Shanker, > We are not checking whether the requested device identifier fits into > the device table memory or not. The function its_create_device() > assumes that enough memory has been allocated for whole DevID sparse > (reported b

Re: [RFC/PATCH 4/4] firmware: Support requesting firmware directly into DMA memory

2016-03-08 Thread Mark Brown
On Tue, Mar 08, 2016 at 09:42:17PM +0800, Ming Lei wrote: > On Tue, Mar 8, 2016 at 5:22 PM, Stephen Boyd wrote: > > This design creates needless memory pressure and delays loading > > because we have to copy from kernel memory to somewhere else. > Given firmware request can't be a frequent opera

Re: [PATCH v5 0/3] "gpio: designware: add gpio-signaled acpi event support for power button"

2016-03-08 Thread Linus Walleij
On Fri, Mar 4, 2016 at 2:44 PM, qiujiang wrote: > This patchset adds gpio-signaled acpi events support for power button on > hisilicon > D02 board. > > The three patches respectively: > - convert device node to fwnode > - add acpi binding > - add gpio-signaled acp

Re: [RESEND PATCH v2 3/5] clk: rockchip: add new pll-type for rk3399 and similar socs

2016-03-08 Thread Xing Zheng
Hi Heiko, On 2016年03月09日 09:22, Heiko Stuebner wrote: Am Dienstag, 1. März 2016, 18:14:33 schrieb Xing Zheng: +static int rockchip_rk3399_pll_set_params(struct rockchip_clk_pll *pll, + const struct rockchip_pll_rate_table *rate) +{ + const struct clk_ops *pl

Re: Suspicious error for CMA stress test

2016-03-08 Thread Xishi Qiu
On 2016/3/8 23:36, Joonsoo Kim wrote: > 2016-03-08 19:45 GMT+09:00 Xishi Qiu : >> On 2016/3/8 15:48, Joonsoo Kim wrote: >> >>> On Mon, Mar 07, 2016 at 01:59:12PM +0100, Vlastimil Babka wrote: On 03/07/2016 05:34 AM, Joonsoo Kim wrote: > On Fri, Mar 04, 2016 at 03:35:26PM +0800, Hanjun Guo

Re: [PATCH] pci: add pci_clear_master() stub for !CONFIG_PCI

2016-03-08 Thread Michael Auchter
On Tue, Mar 08, 2016 at 05:10:17PM -0600, Bjorn Helgaas wrote: > Hi Michael, > > On Tue, Mar 08, 2016 at 04:34:41PM -0600, Michael Auchter wrote: > > Add a stub for pci_clear_master() for when CONFIG_PCI is not set, > > similar to what's done for pci_set_master(). > > Does this fix a problem? If

Re: [PATCH 3/3] radix-tree: support locking of individual exception entries.

2016-03-08 Thread NeilBrown
On Fri, Mar 04 2016, Jan Kara wrote: > On Fri 04-03-16 21:14:24, NeilBrown wrote: >> On Fri, Mar 04 2016, NeilBrown wrote: >> >> > >> > By not layering on top of wait_bit_key, you've precluded the use of the >> > current page wait_queues for these locks - you need to allocate new wait >> > queue

[PATCH] pinctrl: pxa2xx: export symbols

2016-03-08 Thread Linus Walleij
The pxa2xxx fails some automated builds because of unexported symbols. Reported-by: kbuild test robot Signed-off-by: Linus Walleij --- drivers/pinctrl/pxa/pinctrl-pxa2xx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pinctrl/pxa/pinctrl-pxa2xx.c b/drivers/pinctrl/pxa/pinctrl-p

Re: [PATCH 4.4 00/74] 4.4.5-stable review

2016-03-08 Thread Greg Kroah-Hartman
On Tue, Mar 08, 2016 at 09:24:17AM -0700, Shuah Khan wrote: > On 03/07/2016 05:02 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.5 release. > > There are 74 patches in this series, all will be posted as a response > > to this one. If anyone has any issue

Re: [PATCH 2/2] powerpc/mm: Enable page parallel initialisation

2016-03-08 Thread Li Zhang
On Tue, Mar 8, 2016 at 5:36 PM, Michael Ellerman wrote: > Hi Li, > > On Tue, 2016-03-08 at 11:55 +0800, Li Zhang wrote: > >> From: Li Zhang >> >> Parallel initialisation has been enabled for X86, boot time is >> improved greatly. On Power8, it is improved greatly for small >> memory. Here is the

BUG: VIA HD Audio sound card support regressed

2016-03-08 Thread Alexander Andrejevic
Hi, A regression in the Intel HD Audio driver was introduced by commit 12daef65fd868cf30be5afe3e6be6689c44c7940 (2011-06-20 14:24:07 GMT). Namely, a VIA VT1708-based card with the PCI ID 1106:3288 stopped working entirely, even though no apparent error message is produced in the log by the driver.

Re: [PATCH v3] lock/semaphore: Avoid an unnecessary deadlock within up()

2016-03-08 Thread Byungchul Park
On Wed, Feb 17, 2016 at 10:28:29AM +0100, Ingo Molnar wrote: > > * Byungchul Park wrote: > > > diff --git a/kernel/locking/semaphore.c b/kernel/locking/semaphore.c > > index b8120ab..6634b68 100644 > > --- a/kernel/locking/semaphore.c > > +++ b/kernel/locking/semaphore.c > > @@ -130,13 +130,14 @

Re: [PATCH] scsi: storvsc: fix SRB_STATUS_ABORTED handling

2016-03-08 Thread Martin K. Petersen
> "Vitaly" == Vitaly Kuznetsov writes: Vitaly> Commit 3209f9d780d1 ("scsi: storvsc: Fix a bug in the handling Vitaly> of SRB status flags") filtered SRB_STATUS_AUTOSENSE_VALID out Vitaly> effectively making the (SRB_STATUS_ABORTED | Vitaly> SRB_STATUS_AUTOSENSE_VALID) case a dead code. The lo

[PATCH] md/raid5: preserve STRIPE_PREREAD_ACTIVE in break_stripe_batch_list

2016-03-08 Thread NeilBrown
break_stripe_batch_list breaks up a batch and copies some flags from the batch head to the members, preserving others. It doesn't preserve or copy STRIPE_PREREAD_ACTIVE. This is not normally a problem as STRIPE_PREREAD_ACTIVE is cleared when a stripe_head is added to a batch, and is not set on s

[PATCH] QE-UART: add "fsl,t1040-ucc-uart" to of_device_id

2016-03-08 Thread Zhao Qiang
New bindings use "fsl,t1040-ucc-uart" as the compatible for qe-uart. So add it. Signed-off-by: Zhao Qiang --- drivers/tty/serial/ucc_uart.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c index 1a7dc3c..481eb29 100644 --- a/dri

[PATCH v5 2/7] QE: Add ucc hdlc document to bindings

2016-03-08 Thread Zhao Qiang
Add ucc hdlc document to Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/network.txt Signed-off-by: Zhao Qiang Acked-by: Rob Herring --- Changes for v2 - use ucc-hdlc instead of ucc_hdlc - add more information to properties. Changes for v3 - use fsl,tx-timeslot-mask

[PATCH v5 5/7] T104xD4RDB: Add qe node to t104xd4rdb

2016-03-08 Thread Zhao Qiang
add qe node to t104xd4rdb.dtsi and t1040si-post.dtsi. Signed-off-by: Zhao Qiang --- Changes for v2 - rebase Changes for v3 - rebase Changes for v4 - rebase Changes for v5 - rebase arch/powerpc/boot/dts/fsl/t1040si-post.dtsi | 45 + arc

[PATCH] hid: sony: Add power supply support for PS3 remote

2016-03-08 Thread Frederic Jacob
Add power supply support for the PS3 remote controller Signed-off-by: Frederic Jacob --- drivers/hid/hid-sony.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 9b8db0e..b78e149 100644 --- a/drivers/hid/hid-

[PATCH v5 6/7] T104xRDB: Add qe node to t104xrdb

2016-03-08 Thread Zhao Qiang
add qe node to t104xrdb.dtsi Signed-off-by: Zhao Qiang --- Changes for v2 - rebase Changes for v3 - rebase Changes for v4 - rebase Changes for v5 - rebase arch/powerpc/boot/dts/fsl/t104xrdb.dtsi | 38 + 1 file changed, 38 insertion

[PATCH v5 3/7] QE: Add uqe_serial document to bindings

2016-03-08 Thread Zhao Qiang
Add uqe_serial document to Documentation/devicetree/bindings/powerpc/fsl/cpm_qe/uqe_serial.txt Signed-off-by: Zhao Qiang --- Changes for v2 - modify tx/rx-clock-name specification Changes for v3 - NA Changes for v4 - drop device_type - modify to SoC specific compa

Re: [RESEND PATCH v2 5/5] clk: rockchip: add clock controller for the RK3399

2016-03-08 Thread Xing Zheng
Hi Doug, Yes, I will resend my patch series include the previous patches (header file and dt-bindings) of the Jianqun, and update the header file for the MMC defines. Thanks. On 2016年03月09日 08:51, Jianqun Xu wrote: Hi Doug: 在 09/03/2016 07:34, Doug Anderson 写道: Xing Zheng, On Tue, Mar

[RFC PATCH] x86/vdso/32: Add AT_SYSINFO cancellation helpers

2016-03-08 Thread Andy Lutomirski
musl implements system call cancellation in an unusual but clever way. When a thread issues a cancellable syscall, musl issues the syscall through a special thunk that looks roughly like this: cancellable_syscall: test whether a cancel is queued jnz cancel_me int $0x80 end_

Re: [RESEND PATCH v2 3/5] clk: rockchip: add new pll-type for rk3399 and similar socs

2016-03-08 Thread Heiko Stuebner
Am Dienstag, 1. März 2016, 18:14:33 schrieb Xing Zheng: > The rk3399's pll and clock are similar with rk3036's, it different > with base on the rk3066(rk3188, rk3288, rk3368 use it), there are > different adjust foctors and control registers, so these should be > independent and separate from the s

Re: Suspicious error for CMA stress test

2016-03-08 Thread Leizhen (ThunderTown)
On 2016/3/8 9:54, Leizhen (ThunderTown) wrote: > > > On 2016/3/8 2:42, Laura Abbott wrote: >> On 03/07/2016 12:16 AM, Leizhen (ThunderTown) wrote: >>> >>> >>> On 2016/3/7 12:34, Joonsoo Kim wrote: On Fri, Mar 04, 2016 at 03:35:26PM +0800, Hanjun Guo wrote: > On 2016/3/4 14:38, Joonsoo

[PATCH 3.19.y-ckt 011/196] iommu/vt-d: Fix 64-bit accesses to 32-bit DMAR_GSTS_REG

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: CQ Tang commit fda3bec12d0979aae3f02ee645913d66fbc8a26e upstream. This is a 32-bit register. Apparently harmless on real hardware, but

[PATCH 3.19.y-ckt 010/196] iio: dac: mcp4725: set iio name property in sysfs

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Yong Li commit 97a249e98a72d6b79fb7350a8dd56b147e9d5bdb upstream. Without this change, the name entity for mcp4725 is missing in /sys/b

[PATCH 3.19.y-ckt 023/196] target: Fix WRITE_SAME/DISCARD conversion to linux 512b sectors

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mike Christie commit 8a9ebe717a133ba7bc90b06047f43cc6b8bcb8b3 upstream. In a couple places we are not converting to/from the Linux bloc

[PATCH] irqchip/sunxi-nmi: fix error check of of_io_request_and_map()

2016-03-08 Thread Vladimir Zapolskiy
The of_io_request_and_map() returns a valid pointer in iomem region or ERR_PTR(), check for NULL always fails and may cause a NULL pointer dereference on error path. Fixes: 0e841b04c829 ("irqchip/sunxi-nmi: Switch to of_io_request_and_map() from of_iomap()") Signed-off-by: Vladimir Zapolskiy ---

[PATCH 3.19.y-ckt 030/196] ALSA: pcm: Fix potential deadlock in OSS emulation

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit b248371628aad599a48540962f6b85a21a8a0c3f upstream. There are potential deadlocks in PCM OSS emulation code while ac

[PATCH 3.19.y-ckt 024/196] crypto: algif_hash - wait for crypto_ahash_init() to complete

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Wang, Rui Y" commit fe09786178f9df713a4b2dd6b93c0a722346bf5e upstream. hash_sendmsg/sendpage() need to wait for the completion of cryp

[PATCH 3.19.y-ckt 032/196] ALSA: timer: Code cleanup

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit c3b1681375dc6e71d89a3ae00cc3ce9e775a8917 upstream. This is a minor code cleanup without any functional changes: - K

[PATCH 3.19.y-ckt 028/196] ALSA: seq: Fix race at closing in virmidi driver

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 2d1b5c08366acd46c35a2e9aba5d650cb5bf5c19 upstream. The virmidi driver has an open race at closing its assigned rawm

[PATCH 3.19.y-ckt 004/196] iw_cxgb3: Fix incorrectly returning error on success

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hariprasad S commit 67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3 upstream. The cxgb3_*_send() functions return NET_XMIT_ values, which are

[PATCH 3.19.y-ckt 027/196] intel_scu_ipcutil: underflow in scu_reg_access()

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dan Carpenter commit b1d353ad3d5835b16724653b33c05124e1b5acf1 upstream. "count" is controlled by the user and it can be negative. Let'

[PATCH 3.19.y-ckt 007/196] drm/vmwgfx: Fix an fb unlocking bug

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Thomas Hellstrom commit 12617971c443c50750a12a77ea0e08319d161975 upstream. A regression introduced when the master ttm lock was split i

[PATCH 3.19.y-ckt 029/196] ALSA: rawmidi: Remove kernel WARNING for NULL user-space buffer check

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit cc85f7a634cfaf9f0713c6aa06d08817424db37a upstream. NULL user-space buffer can be passed even in a normal path, thus

[PATCH 3.19.y-ckt 015/196] libata: disable forced PORTS_IMPL for >= AHCI 1.3

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tejun Heo commit 566d1827df2ef0cbe921d3d6946ac3007b1a6938 upstream. Some early controllers incorrectly reported zero ports in PORTS_IMP

[PATCH 3.19.y-ckt 025/196] iio: inkern: fix a NULL dereference on error

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dan Carpenter commit d81dac3c1c5295c61b15293074ac2bd3254e1875 upstream. In twl4030_bci_probe() there are some failure paths where we ca

[PATCH 3.19.y-ckt 026/196] iio: pressure: mpl115: fix temperature offset sign

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Akinobu Mita commit 431386e783a3a6c8b7707bee32d18c353b8688b2 upstream. According to the datasheet, the resolusion of temperature sensor

[PATCH 3.19.y-ckt 013/196] cgroup: make sure a parent css isn't offlined before its children

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tejun Heo commit aa226ff4a1ce79f229c6b7a4c0a14e17fececd01 upstream. There are three subsystem callbacks in css shutdown path - css_offl

Re: [PATCH v2 2/2] ACPI, APEI, ERST: Fixed leaked resources in erst_init

2016-03-08 Thread Chen, Gong
On Tue, Mar 08, 2016 at 10:52:12AM -0500, Joshua Hunt wrote: > Date: Tue, 8 Mar 2016 10:52:12 -0500 > From: Joshua Hunt > To: gong.c...@intel.com, linux-a...@vger.kernel.org, r...@rjwysocki.net, > l...@kernel.org, ying.hu...@intel.com > Cc: tony.l...@intel.com, linux-kernel@vger.kernel.org, Josh

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