[PATCH 4.9 002/130] IB/rxe: Increase max number of completions to 32k

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yonatan Cohen commit d680ebed91e0b45c43ae03a880a0b43211096161 upstream. Increase limit of max CQE from 8K to 32K to allow demanding applications to work over SoftRoCE with same configuration as

[PATCH 4.9 031/130] x86/PCI: Ignore _CRS on Supermicro X8DTH-i/6/iF/6F

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bjorn Helgaas commit 89e9f7bcd8744ea25fcf0ac671b8d72c10d7d790 upstream. Martin reported that the Supermicro X8DTH-i/6/iF/6F advertises incorrect host bridge windows via _CRS: pci_root PNP0A0

[PATCH 4.9 032/130] rcu: Remove cond_resched() from Tiny synchronize_sched()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Paul E. McKenney commit f466ae66fa6a599f9a53b5f9bafea4b8cfffa7fb upstream. It is now legal to invoke synchronize_sched() at early boot, which causes Tiny RCU's synchronize_sched() to emit spuri

[PATCH 4.9 028/130] ARM: dts: imx31: fix AVIC base address

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy commit af92305e567b7f4c9cf48b9e46c1f48ec9ffb1fb upstream. On i.MX31 AVIC interrupt controller base address is at 0x6800. The problem was shadowed by the AVIC driver, whi

[PATCH 4.9 036/130] libnvdimm, namespace: fix pmem namespace leak, delete when size set to zero

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 1f19b983a8877f81763fab3e693c6befe212736d upstream. Commit 98a29c39dc68 ("libnvdimm, namespace: allow creation of multiple pmem-namespaces per region") added support for esta

[PATCH 4.9 034/130] sunrpc: dont call sleeping functions from the notifier block callbacks

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Scott Mayhew commit 546125d1614264d26080817d0c8cddb9b25081fa upstream. The inet6addr_chain is an atomic notifier chain, so we can't call anything that might sleep (like lock_sock)... instead of

[PATCH 4.9 009/130] IB/mlx4: Fix out-of-range array index in destroy qp flow

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein commit c482af646d0809a8d5e1b7f4398cce3592589b98 upstream. For non-special QPs, the port value becomes non-zero only at the RESET-to-INIT transition. If the QP has not undergone

[PATCH 4.9 040/130] PCI: designware: Check for iATU unroll only on platforms that use ATU

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Murali Karicheri commit a782b5f986c3fa1cfa7f2b57941200c6a5809242 upstream. Previously we checked for iATU unroll support by reading PCIE_ATU_VIEWPORT even on platforms, e.g., Keystone, that do

[PATCH 4.9 006/130] IB/mlx5: Assign SRQ type earlier

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Maor Gottlieb commit c73b7911de97fad3ab9032a110af48d6ab2da48f upstream. Move the SRQ type assignment to be before actually using it in create_srq_user() and in create_srq_kernel() functions. F

[PATCH 4.9 050/130] KVM: s390: do not expose random data via facility bitmap

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit 04478197416e3a302e9ebc917ba1aa884ef9bfab upstream. kvm_s390_get_machine() populates the facility bitmap by copying bytes from the host results that are stored in a

[PATCH 4.9 060/130] ubifs: Fix journal replay wrt. xattr nodes

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 1cb51a15b576ee325d527726afff40947218fd5e upstream. When replaying the journal it can happen that a journal entry points to a garbage collected node. This is the case w

[PATCH 4.9 058/130] qla2xxx: Fix crash due to null pointer access

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Quinn Tran commit fc1ffd6cb38a1c1af625b9833c41928039e733f5 upstream. During code inspection, while investigating following stack trace seen on one of the test setup, we found out there was poss

[PATCH 4.9 053/130] powerpc/perf: Fix PM_BRU_CMPL event code for power9

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Madhavan Srinivasan commit d89f473ff6f84872e761419f7233d6e00f99c340 upstream. Use 0x10012 event code for PM_BRU_CMPL event in power9 event list instead of current 0x40060. Fixes: 34922527a2bcb

[PATCH 4.9 062/130] svcrdma: avoid duplicate dma unmapping during error recovery

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sriharsha Basavapatna commit ce1ca7d2d140a1f4aaffd297ac487f246963dd2f upstream. In rdma_read_chunk_frmr() when ib_post_send() fails, the error code path invokes ib_dma_unmap_sg() to unmap the s

[PATCH 4.9 052/130] powerpc/icp-opal: Fix missing KVM case and harden replay

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Herrenschmidt commit 9728a7c8ab2f7a1c8d5c95278d2e4f4ac1285385 upstream. The icp-opal call is missing the code from icp-native to recover interrupts snatched by KVM. Without that, when

[PATCH 4.9 057/130] x86/ioapic: Restore IO-APIC irq_chip retrigger callback

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ruslan Ruslichenko commit 020eb3daaba2857b32c4cf4c82f503d6a00a67de upstream. commit d32932d02e18 removed the irq_retrigger callback from the IO-APIC chip and did not add it to the new IO-APIC-I

[PATCH 4.9 056/130] powerpc: Ignore reserved field in DCSR and PVR reads and writes

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 178f358208ceb8b38e5cff3f815e0db4a6a70a07 upstream. IBM bit 31 (for the rest of us - bit 0) is a reserved field in the instruction definition of mtspr and mfspr. Hardware

[PATCH 4.9 061/130] clocksource/exynos_mct: Clear interrupt when cpu is shut down

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Joonyoung Shim commit bc7c36eedb0c7004aa06c2afc3c5385adada8fa3 upstream. When a CPU goes offline a potentially pending timer interrupt is not cleared. When the CPU comes online again then the p

[PATCH 4.9 059/130] mac80211: implement multicast forwarding on fast-RX path

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit eeb0d56fab4cd7848cf2be6704fa48900dbc1381 upstream. In AP (or VLAN) mode, when unicast 802.11 packets are received, they might actually be multicast after conversion. In thi

[PATCH 4.9 054/130] powerpc/ptrace: Preserve previous fprs/vsrs on short regset write

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit 99dfe80a2a246c600440a815741fd2e74a8b4977 upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers, the thread's old registe

[PATCH 4.9 081/130] libceph: tweak calcu_signature() a little

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 4eb4517ce7c9c573b6c823de403aeccb40018cfc upstream. - replace an ad-hoc array with a struct - rename to calc_signature() for consistency Signed-off-by: Ilya Dryomov Reviewe

[PATCH 4.9 078/130] libceph: introduce ceph_x_encrypt_offset()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 55d9cc834f933698fc864f0d36f3cca533d30a8d upstream. Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil Signed-off-by: Greg Kroah-Hartman --- net/ceph/auth_x.c |8 +++

[PATCH 4.9 094/130] ARM: dts: imx6qdl-nitrogen6_max: fix sgtl5000 pinctrl init

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gary Bisson commit 6ab5c2b662e2dcbb964099bf7f19e9dbc9ae5a41 upstream. This patch fixes the following error: sgtl5000 0-000a: Error reading chip id -6 imx-sgtl5000 sound: ASoC: CODEC DAI sgtl500

[PATCH 4.9 096/130] ARM: ux500: fix prcmu_is_cpu_in_wfi() calculation

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit f0e8faa7a5e894b0fc99d24be1b18685a92ea466 upstream. This function clearly never worked and always returns true, as pointed out by gcc-7: arch/arm/mach-ux500/pm.c: In functi

[PATCH 4.9 044/130] mmc: sdhci-acpi: Only powered up enabled acpi child devices

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit e1d070c3793a2766122865a7c2142853b48808c5 upstream. Commit e5bbf30733f9 ("mmc: sdhci-acpi: Ensure connected devices are powered when probing") introduced code to powerup any

[PATCH 4.9 047/130] mtd: nand: lpc32xx: fix invalid error handling of a requested irq

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy commit cf9e1672a66c49ed8903c01b4c380a2f2dc91b40 upstream. Semantics of NR_IRQS is different on machines with SPARSE_IRQ option disabled or enabled, in the latter case IRQs ar

[PATCH 4.9 102/130] libceph: make sure ceph_aes_crypt() IV is aligned

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 124f930b8cbc4ac11236e6eb1c5f008318864588 upstream. ... otherwise the crypto stack will align it for us with a GFP_ATOMIC allocation and a memcpy() -- see skcipher_walk_first

[PATCH 4.9 093/130] ARM: dts: omap2: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 3d37d41a148c32389ed360e10a9f8a7cd37ce166 upstream. Commit d1f3156fc8c7 ("ARM: dts: omap2: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we w

[PATCH 4.9 097/130] ARM: 8613/1: Fix the uaccess crash on PB11MPCore

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 90f92c631b210c1e97080b53a9d863783281a932 upstream. The following patch was sketched by Russell in response to my crashes on the PB11MPCore after the patch for software-base

[PATCH 4.9 103/130] xprtrdma: Make FRWR send queue entry accounting more accurate

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit 8d38de65644d900199f035277aa5f3da4aa9fc17 upstream. Verbs providers may perform house-keeping on the Send Queue during each signaled send completion. It is necessary therefore

[PATCH 4.9 084/130] libceph: remove now unused ceph_*{en,de}crypt*() functions

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 2b1e1a7cd0a615d57455567a549f9965023321b5 upstream. Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil Signed-off-by: Greg Kroah-Hartman --- net/ceph/crypto.c | 369 ---

[PATCH 4.9 104/130] xprtrdma: Squelch "max send, max recv" messages at connect time

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit 6d6bf72de914059b304f7b99530a7856e5c846aa upstream. Clean up: This message was intended to be a dprintk, as it is on the server-side. Fixes: 87cfb9a0c85c ('xprtrdma: Client-s

[PATCH 4.9 108/130] swiotlb: Add swiotlb=noforce debug option

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit fff5d99225107f5f13fe4a9805adc2a1c4b5fb00 upstream. On architectures like arm64, swiotlb is tied intimately to the core architecture DMA support. In addition, ZONE_DMA

[PATCH 4.9 107/130] swiotlb: Convert swiotlb_force from int to enum

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit ae7871be189cb41184f1e05742b4a99e2c59774d upstream. Convert the flag swiotlb_force from an int to an enum, to prepare for the advent of more possible values. Suggested

[PATCH 4.9 117/130] [media] platform: pxa_camera: add VIDEO_V4L2 dependency

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit ff681022c6639c194fbb6893c50ace9e52a44788 upstream. Moving the pxa_camera driver from soc_camera lots the implied VIDEO_V4L2 Kconfig dependency, and building the driver with

[PATCH 4.9 113/130] mtd: spi-nor: Off by one in cqspi_setup_flash()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 193e87143c290ec16838f5368adc0e0bc94eb931 upstream. There are CQSPI_MAX_CHIPSELECT elements in the ->f_pdata array so the > should be >=. Fixes: 140623410536 ('mtd: spi-nor

[PATCH 4.9 118/130] [media] gs1662: drop kfree for memory allocated with devm_kzalloc

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit df94121f02ecce435d6b5277071eb94b764caa89 upstream. It's not necessary to free memory allocated with devm_kzalloc and using kfree leads to a double free. Fixes: 7aae6e2df127

[PATCH 4.9 106/130] arm64: Fix swiotlb fallback allocation

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Graf commit 524dabe1c68e0bca25ce7b108099e5d89472a101 upstream. Commit b67a8b29df introduced logic to skip swiotlb allocation when all memory is DMA accessible anyway. While this is a

[PATCH 4.9 122/130] [media] s5p-mfc: Fix clock management in s5p_mfc_release() function

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit c0026c7bfb95c250c3e34fde59f96ad72fd730d6 upstream. Clock control indirectly requires access to MFC device, so call it only if we are sure that the device exists in s5p_m

[PATCH 4.9 130/130] libceph: stop allocating a new cipher on every crypto request

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 7af3ea189a9a13f090de51c97f676215dabc1205 upstream. This is useless and more importantly not allowed on the writeback path, because crypto_alloc_skcipher() allocates memory w

[PATCH 4.9 082/130] libceph: switch ceph_x_encrypt() to ceph_crypt()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit d03857c63bb036edff0aa7a107276360173aca4e upstream. Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil Signed-off-by: Greg Kroah-Hartman --- net/ceph/auth_x.c | 71 +++

[PATCH 4.9 120/130] [media] st-hva: fix some error handling in hva_hw_probe()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 6b2bed891253c08e7f4c17dbd46b71fc87f22eef upstream. The devm_ioremap_resource() returns error pointers, never NULL. The platform_get_resource() returns NULL on error, never

[PATCH 4.9 086/130] ARM: dts: dm816x: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 6ed80b3a232e61da6d0189bbbe2b2b9afaefe3b3 upstream. Commit 06bfb9c19957 ("ARM: dts: dm816x: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we

[PATCH 4.9 126/130] soc: ti: wkup_m3_ipc: Fix error return code in wkup_m3_ipc_probe()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Wei Yongjun commit 36b29eb30ee0f6c99f06bea406c23a3fd4cbb80b upstream. Fix to return a negative error code from the kthread_run() error handling case instead of 0, as done elsewhere in this func

[PATCH 4.9 128/130] tools/virtio/ringtest: fix run-on-all.sh for offline cpus

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Halil Pasic commit 21f5eda9b8671744539c8295b9df62991fffb2ce upstream. Since ef1b144d ("tools/virtio/ringtest: fix run-on-all.sh to work without /dev/cpu") run-on-all.sh uses seq 0 $HOST_AFFINIT

[PATCH 4.9 119/130] [media] ite-cir: initialize use_demodulator before using it

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Iooss commit 7ec03e60ef81c19b5d3a46dd070ee966774b860f upstream. Function ite_set_carrier_params() uses variable use_demodulator after having initialized it to false in some if branches,

[PATCH 4.9 127/130] selftest/powerpc: Wrong PMC initialized in pmc56_overflow test

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Madhavan Srinivasan commit df21d2fa733035e4d414379960f94b2516b41296 upstream. Test uses PMC2 to count the event. But PMC1 is being initialized. Patch to fix it. Fixes: 3752e453f6ba ('selftests

[PATCH 4.9 125/130] spi: pxa2xx: add missed break

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit a2dd8af00ca7fff4972425a4a6b19dd1840dc807 upstream. The commit 7c7289a40425 ("spi: pxa2xx: Default thresholds to PXA configuration") while splitting up CE4100 code obvious

[PATCH 4.9 124/130] dmaengine: pl330: Fix runtime PM support for terminated transfers

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Marek Szyprowski commit 5c9e6c2b2ba3ec3a442e2fb5b4286498f8b4dcb7 upstream. PL330 DMA engine driver is leaking a runtime reference after any terminated DMA transactions. This patch fixes this is

[PATCH 4.9 091/130] ARM: dts: am4372: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit ce95077d0cdfcc8e40dea10a1680249831ccec77 upstream. Commit 75813028bbd7 ("ARM: dts: am4372: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we

[PATCH 4.9 129/130] libceph: uninline ceph_crypto_key_destroy()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 6db2304aabb070261ad34923bfd83c43dfb000e3 upstream. Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil Signed-off-by: Greg Kroah-Hartman --- net/ceph/crypto.c |8 +++

[PATCH 4.9 114/130] mtd: spi-nor: Fix some error codes in cqspi_setup_flash()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 10ad1d754a434c024ce7eeb1cec9f69fd3ecc863 upstream. We return success or possibly uninitialized values on these error paths instead of proper error codes. Fixes: 1406234105

[PATCH 4.9 090/130] ARM: dts: omap5: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit c9faa84cb9c34852ad70cb175457ae21fc06f39b upstream. Commit 76a8548ea987 ("ARM: dts: omap5: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we w

Re: [tip:x86/urgent] x86/fpu: Set the xcomp_bv when we fake up a XSAVES area

2017-01-24 Thread Ingo Molnar
* Kevin Hao wrote: > > other than helping to hide bugs? > > Why do you think it hide the bug? In contrast, I think my patch fixes what > the > bug really is. The memory area we fake up is bug, we should fix it there. The intention is to have a single FPU format set at bootup and xcomp_bv is

[PATCH 4.9 089/130] ARM: dts: omap4: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 6c565d1a63ce241a0100f5d327c48dde87b4df76 upstream. Commit da6269e7e3dd ("ARM: dts: omap4: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we w

[PATCH 4.9 068/130] ARM: dts: da850-evm: fix read access to SPI flash

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Fabien Parent commit 43849785e1079f6606a31cb7fda92d1200849728 upstream. Read access to the SPI flash are broken on da850-evm, i.e. the data read is not what is actually programmed on the flash.

[PATCH 4.9 064/130] ibmvscsis: Fix sleeping in interrupt context

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bryant G. Ly commit a5b0e4062fb225155189e593699bbfcd0597f8b5 upstream. Currently, dma_alloc_coherent is being called with a GFP_KERNEL flag which allows it to sleep in an interrupt context, nee

[PATCH 4.9 065/130] ibmvscsis: Fix max transfer length

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bryant G. Ly commit 387b978cb0d12cf3720ecb17e652e0a9991a08e2 upstream. Current code incorrectly calculates the max transfer length, since it is assuming a 4k page table, but ppc64 all run on 64

[PATCH 4.9 066/130] ceph: fix bad endianness handling in parse_reply_info_extra

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 6df8c9d80a27cb587f61b4f06b57e248d8bc3f86 upstream. sparse says: fs/ceph/mds_client.c:291:23: warning: restricted __le32 degrades to integer fs/ceph/mds_client.c:293:

Re: [GIT PULL] Immutable branch between MFD, ARM, IIO and PWM due for the v4.10 merge window

2017-01-24 Thread Lee Jones
On Mon, 23 Jan 2017, Olof Johansson wrote: > On Mon, Jan 23, 2017 at 4:12 AM, Lee Jones wrote: > > Arm, IIO and PWM Maintainers, > > > > Enjoy! > > > > The following changes since commit 7ce7d89f48834cefece7804d38fc5d85382edf77: > > > > Linux 4.10-rc1 (2016-12-25 16:13:08 -0800) > > > > are avai

Re: [PATCH] x86/fpu/xstate: Fix xcomp_bv in XSAVES header

2017-01-24 Thread Ingo Molnar
* Yu-cheng Yu wrote: > The compacted-format XSAVES area is determined at boot time and > never changed after. The field xsave.header.xcomp_bv indicates > which components are in the fixed XSAVES format. > > In fpstate_init() we did not set xcomp_bv to reflect the XSAVES > format since at the t

[PATCH 4.9 063/130] ARM: 8634/1: hw_breakpoint: blacklist Scorpion CPUs

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit ddc37832a1349f474c4532de381498020ed71d31 upstream. On APQ8060, the kernel crashes in arch_hw_breakpoint_init, taking an undefined instruction trap within write_wb_reg. This

[PATCH v2] [media] atmel-isc: add the isc pipeline function

2017-01-24 Thread Songjun Wu
Image Sensor Controller has an internal image processor. It can convert raw format to the other formats, like RGB565, YUV420P. A module parameter 'sensor_preferred' is used to enable or disable the pipeline function. Some v4l2 controls are added to tuning the image when the pipeline function is ena

[PATCH 4.9 067/130] ARM: dts: OMAP5 / DRA7: indicate that SATA port 0 is available.

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jean-Jacques Hiblot commit 87cb12910a2ab6ed41ae951ea4d9c1cc1120199a upstream. AHCI provides the register PORTS_IMPL to let the software know which port is supported. The register must be initia

[PATCH 4.9 099/130] ceph: fix ceph_get_caps() interruption

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit 6e09d0fb64402cec579f029ca4c7f39f5c48fc60 upstream. Commit 5c341ee32881 ("ceph: fix scheduler warning due to nested blocking") causes infinite loop when process is interrupted.

[PATCH 4.9 110/130] scsi: mpt3sas: fix hang on ata passthrough commands

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: James Bottomley commit ffb58456589443ca572221fabbdef3db8483a779 upstream. mpt3sas has a firmware failure where it can only handle one pass through ATA command at a time. If another comes in, c

[PATCH 4.9 098/130] ceph: fix scheduler warning due to nested blocking

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Borisov commit 5c341ee32881c554727ec14b71ec3e8832f01989 upstream. try_get_cap_refs can be used as a condition in a wait_event* calls. This is all fine until it has to call __ceph_do_pen

[PATCH 4.9 088/130] ARM: dts: am33xx: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 1d8d6d3f2f7d553c479f24ab93767974a8c2dfad upstream. Commit f8bf01611c99 ("ARM: dts: am33xx: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we

Re: [PATCH v3 1/13] mmc: sunxi: Fix clock frequency change sequence

2017-01-24 Thread Ulf Hansson
On 16 January 2017 at 17:56, Maxime Ripard wrote: > The MMC and SD specifications documents that the clock frequency should > only be changed once gated. Where? > > The current code first modifies the parent clock, gates it and then > modifies the internal divider. This means that since the pare

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

2017-01-24 Thread Lee Jones
On Tue, 24 Jan 2017, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the mfd tree got a conflict in: > > arch/arm/boot/dts/stm32f429.dtsi > > between commits: > > 3604ef9c8154 ("ARM: dts: stm32: Add ADC support to stm32f429") > dd3feb755a4a ("ARM: dts: stm32: Add RTC su

[PATCH 4.9 087/130] ARM: dts: dm814x: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 9536fd30d41ae4f30d04762676e5f5f602e16aa8 upstream. Commit 76155b378c59 ("ARM: dts: dm814x: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we

[PATCH 4.9 085/130] ARM: dts: dra7: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 7f6c857b12911ed56b2056f9d5491e16b5fc95ea upstream. Commit 55871eb6e2cc ("ARM: dts: dra7: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we wa

[PATCH 4.9 115/130] rpmsg: virtio_rpmsg_bus: fix channel creation

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Loic Pallardy commit 63447646ac657fde00bb658ce21a3431940ae0ad upstream. Since commit 4dffed5b3ac796b ("rpmsg: Name rpmsg devices based on channel id"), it is no more possible for a firmware to

[PATCH 4.9 116/130] [media] blackfin: check devm_pinctrl_get() for errors

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit c9205e18b41a6ef5ad73e1c4b86a78b2ea3ccb9b upstream. devm_pinctrl_get() can fail so we should check for that. Fixes: 0a6824bc10de ('[media] v4l2: blackfin: select proper pin

[PATCH 4.9 109/130] scsi: ses: Fix SAS device detection in enclosure

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ewan D. Milne commit 9373eba6cfae48911b977d14323032cd5d161aae upstream. The call to scsi_is_sas_rphy() needs to be made on the SAS end_device, not on the SCSI device. Fixes: 835831c57e9b ("ses

Re: [PATCH v3 2/13] mmc: sunxi: Gate the clock when rate is 0

2017-01-24 Thread Ulf Hansson
On 16 January 2017 at 17:56, Maxime Ripard wrote: > The MMC core assumes that the code will gate the clock when the bus > frequency is set to 0, which we've been ignoring so far. > > Handle that. > > Signed-off-by: Maxime Ripard Looks good! Kind regards Uffe > --- > drivers/mmc/host/sunxi-mmc

[PATCH 4.9 112/130] PM / devfreq: Fix the bug of devfreq_add_device when governor is NULL

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chanwoo Choi commit 73613b16cb5c5d5a659fc8832eff99eead3f9afb upstream. This patch fixes the bug of devfreq_add_device(). The devfreq device must have the default governor. If find_devfreq_gover

[PATCH 4.9 111/130] PM / devfreq: exynos-bus: Fix the wrong return value

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Chanwoo Choi commit 32dd7731699765f21dbe6df9020e613d4ed73fc3 upstream. This patch fixes the wrong return value. If devfreq driver requires the wrong and non-available governor, it is fail. So,

[PATCH 4.9 105/130] arm64: mm: avoid name clash in __page_to_voff()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Oleksandr Andrushchenko commit 1c8a946bf3754a59cba1fc373949a8114bfe5aaa upstream. The arm64 __page_to_voff() macro takes a parameter called 'page', and also refers to 'struct page'. Thus, if th

[PATCH 4.9 101/130] ceph: fix endianness bug in frag_tree_split_cmp

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit fe2ed42517533068ac03eed5630fffafff27eacf upstream. sparse says: fs/ceph/inode.c:308:36: warning: incorrect type in argument 1 (different base types) fs/ceph/inode.c

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-24 Thread Miroslav Lichvar
On Tue, Jan 24, 2017 at 06:32:43AM +0100, Richard Cochran wrote: > On Mon, Jan 23, 2017 at 09:06:20PM -0200, Marcelo Tosatti wrote: > > Can you please describe what problem exists with this scheme? > > This new kernel code exists just because chrony doesn't implement the > PRECISE ioctl. Instead

Re: [PATCH v3 3/13] mmc: sunxi: Always set signal delay to 0 for A64

2017-01-24 Thread Ulf Hansson
On 16 January 2017 at 17:56, Maxime Ripard wrote: > Experience have shown that the using the autocalibration could severely > degrade the performances of the MMC bus. > > Allwinner is using in its BSP a delay set to 0 for all the modes but HS400. > Remove the calibration code for now, and add com

[PATCH 4.9 039/130] fuse: fix time_to_jiffies nsec sanity check

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Sheets commit 210675270caa33253e4c33f3c5e657e7d6060812 upstream. Commit bcb6f6d2b9c2 ("fuse: use timespec64") introduced clamped nsec values in time_to_jiffies but used the max of nsec an

[PATCH 4.9 100/130] ceph: fix endianness of getattr mask in ceph_d_revalidate

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 1097680d759918ce4a8705381c0ab2ed7bd60cf1 upstream. sparse says: fs/ceph/dir.c:1248:50: warning: incorrect type in assignment (different base types) fs/ceph/dir.c:12

[PATCH 4.9 046/130] ieee802154: atusb: do not use the stack for buffers to make them DMA able

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Schmidt commit 05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655 upstream. >From 4.9 we should really avoid using the stack here as this will not be DMA able on various platforms. This changes th

[PATCH 4.9 095/130] ARM: dts: omap3: Fix Card Detect and Write Protect on Logic PD SOM-LV

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Adam Ford commit 1ea6af3216b092ec97129ac81bd95cf254c4b140 upstream. This fixes commit ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD DM3730 SOM-LV") where the Card Detect and Write P

[PATCH 4.9 043/130] HID: corsair: fix control-transfer error handling

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 7a546af50eb78ab99840903083231eb635c8a566 upstream. Make sure to check for short control transfers in order to avoid parsing uninitialised buffer data and leaking it to user

[PATCH 4.9 092/130] ARM: dts: omap3: Add an empty chosen node to top level DTSI

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 23ab4c6183ac0679d80888b5c4cc1d528fcc21c2 upstream. Commit 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage") removed the skeleton.dtsi usage since we w

Re: [PATCH v3 5/13] mmc: sunxi: Mask DATA0 when updating the clock

2017-01-24 Thread Ulf Hansson
On 16 January 2017 at 17:56, Maxime Ripard wrote: > The A64 MMC controllers need DATA0 to be masked while updating the clock, > otherwise any subsequent command will result in a timeout. Could you elaborate on what mask DATA0 really means? I don't follow. Kind regards Uffe > > Signed-off-by: Ma

[PATCH 4.9 083/130] libceph: switch ceph_x_decrypt() to ceph_crypt()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit e15fd0a11db00fc7f470a9fc804657ec3f6d04a5 upstream. Signed-off-by: Ilya Dryomov Reviewed-by: Sage Weil Signed-off-by: Greg Kroah-Hartman --- net/ceph/auth_x.c | 78 +++

[PATCH 4.9 080/130] libceph: rename and align ceph_x_authorizer::reply_buf

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit 7882a26d2e2e520099e2961d5e2e870f8e4172dc upstream. It's going to be used as a temporary buffer for in-place en/decryption with ceph_crypt() instead of on-stack buffers, so r

[PATCH 4.9 048/130] mtd: nand: xway: disable module support

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hauke Mehrtens commit 73529c872a189c747bdb528ce9b85b67b0e28dec upstream. The xway_nand driver accesses the ltq_ebu_membase symbol which is not exported. This also should not get exported and we

[PATCH 4.9 045/130] mmc: mxs-mmc: Fix additional cycles after transmission stop

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren commit 01167c7b9cbf099c69fe411a228e4e9c7104e123 upstream. According to the code the intention is to append 8 SCK cycles instead of 4 at end of a MMC_STOP_TRANSMISSION command. But

[PATCH 4.9 079/130] libceph: introduce ceph_crypt() for in-place en/decryption

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov commit a45f795c65b479b4ba107b6ccde29b896d51ee98 upstream. Starting with 4.9, kernel stacks may be vmalloced and therefore not guaranteed to be physically contiguous; the new CONFIG

Re: [PATCH v4 1/3] mmc: dt-bindings: update Mediatek MMC bindings

2017-01-24 Thread Ulf Hansson
+Rob, devicetree On 21 January 2017 at 09:55, Yong Mao wrote: > From: yong mao > > Add description for mediatek,hs200-cmd-int-delay > Add description for mediatek,hs400-cmd-int-delay > Add description for mediatek,hs400-cmd-resp-sel-rising > > Signed-off-by: Yong Mao You need an ack from a DT

[PATCH 4.9 042/130] HID: corsair: fix DMA buffers on stack

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 6d104af38b570d37aa32a5803b04c354f8ed513d upstream. Not all platforms support DMA to the stack, and specifically since v4.9 this is no longer supported on x86 with VMAP_STACK

[PATCH 4.9 073/130] arm64/ptrace: Avoid uninitialised struct padding in fpr_set()

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit aeb1f39d814b2e21e5e5706a48834bfd553d0059 upstream. This patch adds an explicit __reserved[] field to user_fpsimd_state to replace what was previously unnamed padding. This e

[PATCH 4.9 070/130] arm64/ptrace: Preserve previous registers for short regset write

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit 9a17b876b573441bfb3387ad55d98bf7184daf9d upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers, the thread's old registe

[PATCH 4.9 072/130] arm64/ptrace: Preserve previous registers for short regset write - 3

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit a672401c00f82e4e19704aff361d9bad18003714 upstream. Ensure that if userspace supplies insufficient data to PTRACE_SETREGSET to fill all the registers, the thread's old registe

[PATCH 4.9 074/130] arm64/ptrace: Reject attempts to set incomplete hardware breakpoint fields

2017-01-24 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dave Martin commit ad9e202aa1ce571b1d7fed969d06f66067f8a086 upstream. We cannot preserve partial fields for hardware breakpoints, because the values written by userspace to the hardware breakpo

  1   2   3   4   5   6   7   8   9   >