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

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

[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

[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

[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

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

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

[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

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

[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

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

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

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

[PATCH 3.19.y-ckt 192/196] ARM: dts: kirkwood: use unique machine name for ds112

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Heinrich Schuchardt commit 9d021c9d1b4b774a35d8a03d58dbf029544debda upstream. Downstream packages like Debian

[PATCH 3.19.y-ckt 131/196] drivers: android: correct the size of struct binder_uintptr_t for BC_DEAD_BINDER_DONE

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Lisa Du commit 7a64cd887fdb97f074c3fda03bee0bfb9faceac3 upstream. There's one point was missed in the patch commit

[PATCH 3.19.y-ckt 144/196] x86/mpx: Fix off-by-one comparison with nr_registers

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Colin Ian King commit 9bf148cb0812595bfdf5100bd2c07e9bec9c6ef5 upstream. In the unlikely event that regno ==

[PATCH 3.19.y-ckt 117/196] ALSA: seq: Fix double port list deletion

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 13d5e5d4725c64ec06040d636832e78453f477b7 upstream. The commit [7f0973e973cd: ALSA: seq: Fix lockdep

[PATCH 3.19.y-ckt 137/196] KVM: async_pf: do not warn on page allocation failures

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Christian Borntraeger commit d7444794a02ff655eda87e3cc54e86b940e7736f upstream. In async_pf we try to allocate

[PATCH 3.19.y-ckt 120/196] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on() (v2)

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mario Kleiner commit bb74fc1bf3072bd3ab4ed5f43afd287a63baf2d7 upstream. drm_vblank_offdelay can have three

[PATCH 3.19.y-ckt 194/196] MAINTAINERS: Remove stale entry for BCM33xx chips

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit 87bee0ecf01d2ed0d48bba1fb12c954f9476d243 upstream. Commit 70371cef114ca ("MAINTAINERS:

[PATCH 3.19.y-ckt 072/196] qla2xxx: Fix stale pointer 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: Quinn Tran commit cb43285ff7039fe3c4b0bc476e6d6569c31104f3 upstream. [ Upstream Commit

[PATCH 3.19.y-ckt 089/196] phy: core: Fixup return value of phy_exit when !pm_runtime_enabled

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Axel Lin commit 736b67a32062240592aad49033859f9712dd18ca upstream. When phy_pm_runtime_get_sync() returns

[PATCH 3.19.y-ckt 075/196] pty: fix possible use after free of tty->driver_data

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Herton R. Krzesinski" commit 2831c89f42dcde440cfdccb9fee9f42d54bbc1ef upstream. This change fixes a bug for a

[PATCH 3.19.y-ckt 087/196] ALSA: timer: Fix race between stop and interrupt

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 ed8b1d6d2c741ab26d60d499d7fbb7ac801f0f51 upstream. A slave timer element also unlinks at

[PATCH 3.19.y-ckt 069/196] radix-tree: fix oops after radix_tree_iter_retry

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konstantin Khlebnikov commit 732042821cfa106b3c20b9780e4c60fee9d68900 upstream. Helper radix_tree_iter_retry()

[PATCH 3.19.y-ckt 080/196] drm/i915/dsi: defend gpio table against out of bounds 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: Jani Nikula commit 4db3a2448ec8902310acb78de39b6227a9a56ac8 upstream. Do not blindly trust the VBT data used

[PATCH 3.19.y-ckt 076/196] pty: make sure super_block is still valid in final /dev/tty close

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Herton R. Krzesinski" commit 1f55c718c290616889c04946864a13ef30f64929 upstream. Considering current pty code and

[PATCH 3.19.y-ckt 071/196] crypto: atmel-sha - fix atmel_sha_remove()

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Cyrille Pitchen commit d961436c11482e974b702c8324426208f00cd7c4 upstream. Since atmel_sha_probe() uses

[PATCH 3.19.y-ckt 095/196] workqueue: handle NUMA_NO_NODE for unbound pool_workqueue lookup

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 d6e022f1d207a161cd88e08ef0371554680ffc46 upstream. When looking up the pool_workqueue to use for an

[PATCH 3.19.y-ckt 094/196] ahci: Intel DNV device IDs SATA

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexandra Yates commit 342decff2b846b46fa61eb5ee40986fab79a9a32 upstream. Adding Intel codename DNV

[PATCH 3.19.y-ckt 078/196] klist: fix starting point removed bug in klist iterators

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Bottomley commit 00cd29b799e3449f0c68b1cc77cd4a5f95b42d17 upstream. The starting node for

[PATCH 3.19.y-ckt 085/196] xen/scsiback: correct frontend counting

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Juergen Gross commit f285aa8db7cc4432c1a03f8b55ff34fe96317c11 upstream. When adding a new frontend to xen-scsiback

[PATCH 3.19.y-ckt 077/196] ALSA: hda - Fix speaker output from VAIO AiO machines

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 c44d9b1181cf34e0860c72cc8a00e0c47417aac0 upstream. Some Sony VAIO AiO models (VGC-JS4EF and

[PATCH 3.19.y-ckt 082/196] powerpc: Fix dedotify for binutils >= 2.26

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Andreas Schwab commit f15838e9cac8f78f0cc506529bb9d3b9fa589c1f upstream. Since binutils 2.26 BFD is doing

[PATCH 3.19.y-ckt 083/196] ALSA: timer: Fix wrong instance passed to slave callbacks

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 117159f0b9d392fb433a7871426fad50317f06f7 upstream. In snd_timer_notify1(), the wrong timer instance

[PATCH 3.19.y-ckt 088/196] ALSA: timer: Fix race at concurrent reads

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 4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7 upstream. snd_timer_user_read() has a potential race among

[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

[PATCH 3.19.y-ckt 006/196] ALSA: usb-audio: avoid freeing umidi object twice

2016-03-08 Thread Kamal Mostafa
3.19.8-ckt16 -stable review patch. If anyone has any objections, please let me know. ---8< From: Andrey Konovalov commit 07d86ca93db7e5cdf4743564d98292042ec21af7 upstream. The 'umidi' object will be free'd on

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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

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

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

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

[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

[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

[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

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

[PATCH 1/3] Staging: comedi: fix type issue in s626.c

2016-03-08 Thread ravishankarkm
This is a patch to the s626.c file that fixes up a type issues found by the checkpatch.pl tool. i.e Prefer kernel type 'u8' over 'uint8_t' Prefer kernel type 'u16' over 'uint16_t' Prefer kernel type 'u32' over 'uint32_t' Prefer kernel type 's16' over 'int16_t' Prefer kernel type

[PATCH] iio: adis16480: fix FNCTIO_CTRL corruption when enabling IRQ

2016-03-08 Thread Vlad Banea
Enabling the IRQ should leave all other settings in the FNCTIO_CTRL register untouched: read the whole register, toggle just the enable bit, before writing it back. --- drivers/iio/imu/adis16480.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git

linux-next: removal of the squashfs tree

2016-03-08 Thread Stephen Rothwell
Hi Phillip, I noticed that the squashfs tree git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-next.git branch master has not been updated since November 2014. I am going to remove it from linux-next tomorrow unless I hear that it may be useful. It can always be easily added back

[PATCH 2/3] Staging: comedi: fix WARNING issue in s626.c

2016-03-08 Thread ravishankarkm
This is a patch to the s626.c file that fixes up a Block comments issues found by the checkpatch.pl tool. i.e. Block comments use a trailing */ on a separate line Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.c | 34

[PATCH 3/3] Staging: comedi: fix WARNING issue in s626.c

2016-03-08 Thread ravishankarkm
This is a patch to the s626.c file that fixes up a line over 80 characters issues found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/s626.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [RESEND PATCH v4 0/8] i2c: Relax mandatory I2C ID table passing

2016-03-08 Thread Lee Jones
On Tue, 08 Mar 2016, Kieran Bingham wrote: > On 8 Mar 2016 11:22, "Lee Jones" wrote: > > > > On Mon, 12 Oct 2015, Kieran Bingham wrote: > > > > > Hi Wolfram, > > > > > > On 9 October 2015 at 22:16, Wolfram Sang wrote: > > > > > > > > As said to Kieran

[PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-08 Thread David Long
From: "David A. Long" Cease using the arm32 arm_check_condition() function and replace it with a local version for use in deprecated instruction support on arm64. Also make the function table used by this available for future use by kprobes and/or uprobes. This function is

[PATCH v11 2/9] arm64: Add more test functions to insn.c

2016-03-08 Thread David Long
From: "David A. Long" Certain instructions are hard to execute correctly out-of-line (as in kprobes). Test functions are added to insn.[hc] to identify these. The instructions include any that use PC-relative addressing, change the PC, or change interrupt masking. For

[PATCH v11 1/9] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2016-03-08 Thread David Long
From: "David A. Long" Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. Signed-off-by: David A. Long --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/ptrace.h | 31 +++ arch/arm64/kernel/ptrace.c | 117

[PATCH v11 0/9] arm64: Add kernel probes (kprobes) support

2016-03-08 Thread David Long
From: "David A. Long" This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, first seen in October 2013. This version attempts to address concerns raised by reviewers and also fixes problems discovered during testing. This patchset adds support for

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

2016-03-08 Thread Kevin Hilman
Greg Kroah-Hartman writes: > On Tue, Mar 08, 2016 at 02:11:08AM -0800, kernelci.org bot wrote: >> stable-queue boot: 205 boots: 14 failed, 190 passed with 1 offline >> (v4.4.4-74-gcc3ba9c14b31) >> >> Full Boot Summary: >>

[PATCH v11 6/9] arm64: kprobes instruction simulation support

2016-03-08 Thread David Long
From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from a different memory location, e.g.: those instructions that uses PC-relative addressing. In simulation, the behaviour of the instruction is implemented using a copy of pt_regs.

[PATCH v11 3/9] arm64: add copy_to/from_user to kprobes blacklist

2016-03-08 Thread David Long
From: "David A. Long" Currrently taking exceptions when accessing user data from a kprobe'd instruction doesn't work. Avoid this situation by blacklisting the relevant functions. Signed-off-by: David A. Long --- arch/arm64/lib/copy_from_user.S | 1 +

linux-next: removal of the tiny tree

2016-03-08 Thread Stephen Rothwell
Hi Josh, I noticed that the tiny tree git://git.kernel.org/pub/scm/linux/kernel/git/josh/linux.git branch tiny/next has not been updated since v3.18-rc1. I am going to remove it from linux-next tomorrow unless I hear that it may be useful. It can always be easily added back if it proves

[PATCH v11 7/9] arm64: Add trampoline code for kretprobes

2016-03-08 Thread David Long
From: William Cohen The trampoline code is used by kretprobes to capture a return from a probed function. This is done by saving the registers, calling the handler, and restoring the registers. The code then returns to the original saved caller return address. It is necessary

[PATCH v11 5/9] arm64: Kprobes with single stepping support

2016-03-08 Thread David Long
From: Sandeepa Prabhu Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. Kprobes utilizes software breakpoint and single step debug exceptions supported on ARM v8. A software breakpoint is placed at the probe address to trap the

[PATCH v11 8/9] arm64: Add kernel return probes support (kretprobes)

2016-03-08 Thread David Long
From: Sandeepa Prabhu The pre-handler of this special 'trampoline' kprobe executes the return probe handler functions and restores original return address in ELR_EL1. This way the saved pt_regs still hold the original register context to be carried back to the probed

Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW

2016-03-08 Thread Stephane Eranian
On Tue, Mar 8, 2016 at 1:13 PM, Stephane Eranian wrote: > Hi, > > On Tue, Mar 8, 2016 at 1:07 PM, Peter Zijlstra wrote: >> On Tue, Mar 08, 2016 at 12:59:23PM -0800, Stephane Eranian wrote: >>> hi, >>> >>> On Mon, Mar 7, 2016 at 12:25 PM, Peter Zijlstra

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

2016-03-08 Thread Julien Grall
Hi Christoffer, On 09/03/2016 10:23, Christoffer Dall wrote: On Tue, Mar 08, 2016 at 11:29:25AM +, Julien Grall wrote: -static struct timecounter timecounter; +static struct arch_timer_kvm_info arch_timer_kvm_info; + +struct arch_timer_kvm_info *arch_timer_get_kvm_info(void) borderline

[PATCH v11 9/9] kprobes: Add arm64 case in kprobe example module

2016-03-08 Thread David Long
From: Sandeepa Prabhu Add info prints in sample kprobe handlers for ARM64 Signed-off-by: Sandeepa Prabhu --- samples/kprobes/kprobe_example.c | 8 1 file changed, 8 insertions(+) diff --git a/samples/kprobes/kprobe_example.c

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

2016-03-08 Thread Lee Jones
On Wed, 09 Mar 2016, Stephen Rothwell wrote: > 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:

[PATCH] arm64: Fix the ptep_set_wrprotect() to set PTE_DIRTY if (PTE_DBM && !PTE_RDONLY)

2016-03-08 Thread Ganapatrao Kulkarni
Commit 2f4b829c625e ("arm64: Add support for hardware updates of the access and dirty pte bits") introduced support for handling hardware updates of the access flag and dirty status. ptep_set_wrprotect is setting PTR_DIRTY if !PTE_RDONLY, however by design it suppose to set PTE_DIRTY only if

linux-next: Tree for Mar 9

2016-03-08 Thread Stephen Rothwell
Hi all, Changes since 20160308: The usb tree gained a conflict against the tip tree. The gpio tree gained a conflict against the mfd tree. The aio tree still had a build failure so I used the version from next-20160111. Non-merge commits (relative to Linus' tree): 10121 7937 files changed

Re: [PATCH v3 5/9] irqchip/gic-v3: Gather all ACPI specific data in a single structure

2016-03-08 Thread Christoffer Dall
On Tue, Mar 08, 2016 at 11:29:29AM +, Julien Grall wrote: > Even though all the variables aren't marked with __initdata, they are > only used during initialization. So the structure is marked with > __initdata. Not sure I understand this commit message. As I see it, this commit includes two

Re: [Ocfs2-devel] [PATCH v4 4/5] ocfs2: check/fix inode block for online file check

2016-03-08 Thread Eric Ren
On 02/29/2016 01:18 PM, Gang He wrote: Implement online check or fix inode block during reading a inode block to memory. Signed-off-by: Gang He Tested-by: Eric Ren --- fs/ocfs2/inode.c | 225 +++--

Re: [Ocfs2-devel] [PATCH v4 2/5] ocfs2: sysfile interfaces for online file check

2016-03-08 Thread Eric Ren
On 02/29/2016 01:17 PM, Gang He wrote: Implement online file check sysfile interfaces, e.g. how to create the related sysfile according to device name, how to display/handle file check request from the sysfile. Signed-off-by: Gang He Tested-by: Eric Ren ---

Re: [PATCH v3 7/9] KVM: arm/arm64: arch_timer: Rely on the arch timer to parse the firmware tables

2016-03-08 Thread Christoffer Dall
On Tue, Mar 08, 2016 at 11:29:31AM +, Julien Grall wrote: > The firmware table is currently 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, use the newly function

Re: [RFC 0/7] eliminate snprintf with overlapping src and dst

2016-03-08 Thread Andy Shevchenko
On Tue, Mar 8, 2016 at 10:40 PM, Rasmus Villemoes wrote: > Doing snprintf(buf, len, "%s...", buf, ...) for appending to a buffer > currently works, but it is somewhat fragile, and any other overlap > between source and destination buffers would be a definite bug. This >

Re: [PATCH 00/23] Nokia N950 display support

2016-03-08 Thread Tomi Valkeinen
On 08/03/16 22:45, Sebastian Reichel wrote: > Hi, > > On Tue, Mar 08, 2016 at 08:39:08PM +0200, Aaro Koskinen wrote: >> On Tue, Mar 08, 2016 at 05:39:32PM +0100, Sebastian Reichel wrote: >>> This series adds support for the Nokia N950 display. >>> Since the panel is using DSI command mode, it

[BUG] 4.5-rc7 af unix related

2016-03-08 Thread Mika Penttilä
Have got some of these same looking crashes after 4.4 (maybe before also, not sure). Very random, not easy to reproduce. --Mika [ 1999.948171] Unable to handle kernel NULL pointer dereference at virtual address [ 1999.955740] pgd = a8ba4000 [ 1999.958264] [] *pgd=38ca7831,

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

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

[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

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

2016-03-08 Thread Balbir Singh
On 09/03/16 15:17, Li Zhang wrote: > 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

linux-next: removal of the mmc tree

2016-03-08 Thread Stephen Rothwell
Hi Chris, I noticed that the mmc tree git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git branch mmc-next has not been updated since May 2014. I am going to remove it from linux-next tomorrow unless I hear that it may be useful. It can always be easily added back if it proves useful

Re: [PATCH v1] tools/vm/page-types.c: remove memset() in walk_pfn()

2016-03-08 Thread Naoya Horiguchi
On Wed, Mar 09, 2016 at 07:28:21AM +0300, Konstantin Khlebnikov wrote: > On Tue, Mar 8, 2016 at 8:58 AM, Naoya Horiguchi > wrote: > > On Tue, Mar 08, 2016 at 08:12:09AM +0300, Konstantin Khlebnikov wrote: > >> On Tue, Mar 8, 2016 at 4:47 AM, Naoya Horiguchi > >>

Re: [PATCH v3 3/9] irqchip/gic-v2: Gather ACPI specific data in a single structure

2016-03-08 Thread Christoffer Dall
On Tue, Mar 08, 2016 at 11:29:27AM +, Julien Grall wrote: > For now, there is only one member. More member will be added later. questionable commit message > > Signed-off-by: Julien Grall > > --- > Cc: Thomas Gleixner > Cc: Jason Cooper

Re: [PATCH v3 8/9] KVM: arm/arm64: vgic: Rely on the GIC driver to parse the firmware tables

2016-03-08 Thread Christoffer Dall
On Tue, Mar 08, 2016 at 11:29:32AM +, Julien Grall wrote: > Currenlty, the firmware tables are parsed 2 times: once in the GIC Currently, > drivers, the other time when initializing the vGIC. It means code > duplication and make more tedious to add the support for another > firmware table

[PATCH 05/11] objtool: Add helper macros for traversing instructions

2016-03-08 Thread Josh Poimboeuf
Add some helper macros to make it easier to traverse instructions, and to abstract the details of the instruction list implementation in preparation for creating a hash structure. Signed-off-by: Josh Poimboeuf --- tools/objtool/builtin-check.c | 128

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