[PATCH 4.15 147/202] Btrfs: raid56: iterate raid56 internal bio with bio_for_each_segment_all

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Liu Bo commit 0198e5b707cfeb5defbd1b71b1ec6e71580d7db9 upstream. Bio iterated by set_bio_pages_uptodate() is raid56 internal one, so it will never be a BIO_CLONED bio, and since this is called

[PATCH 4.15 151/202] media: dvb-frontends: fix i2c access helpers for KASAN

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 3cd890dbe2a4f14cc44c85bb6cf37e5e22d4dd0e upstream. A typical code fragment was copied across many dvb-frontend drivers and causes large stack frames when built with with C

[PATCH 4.15 149/202] kasan: rework Kconfig settings

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit e7c52b84fb18f08ce49b6067ae6285aca79084a8 upstream. We get a lot of very large stack frames using gcc-7.0.1 with the default -fsanitize-address-use-after-scope --param asan

[PATCH 4.15 153/202] media: ts2020: avoid integer overflows on 32 bit machines

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 81742be14b6a90c9fd0ff6eb4218bdf696ad8e46 upstream. Before this patch, when compiled for arm32, the signal strength were reported as: Lock (0x1f) Signal= 4294908

[PATCH 4.15 157/202] kernel/async.c: revert "async: simplify lowest_in_progress()"

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Rasmus Villemoes commit 4f7e988e63e336827f4150de48163bed05d653bd upstream. This reverts commit 92266d6ef60c ("async: simplify lowest_in_progress()") which was simply wrong: In the case where d

[PATCH 4.15 156/202] fs/proc/kcore.c: use probe_kernel_read() instead of memcpy()

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit d0290bc20d4739b7a900ae37eb5d4cc3be2b393f upstream. Commit df04abfd181a ("fs/proc/kcore.c: Add bounce buffer for ktext data") added a bounce buffer to avoid hardened userc

[PATCH 4.15 160/202] pipe: fix off-by-one error when checking buffer limits

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 9903a91c763ecdae333a04a9d89d79d2b8966503 upstream. With pipe-user-pages-hard set to 'N', users were actually only allowed up to 'N - 1' buffers; and likewise for pipe-user-

[PATCH 4.15 161/202] HID: quirks: Fix keyboard + touchpad on Toshiba Click Mini not working

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit edfc3722cfef4217c7fe92b272cbe0288ba1ff57 upstream. The Toshiba Click Mini uses an i2c attached keyboard/touchpad combo (single i2c_hid device for both) which has a vid:pid

[PATCH 4.15 129/202] crypto: talitos - fix Kernel Oops on hashing an empty file

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: LEROY Christophe commit 87a81dce53b1ea61acaeefa5191a0376a2d1d721 upstream. Performing the hash of an empty file leads to a kernel Oops [ 44.504600] Unable to handle kernel paging request fo

[PATCH 4.15 178/202] pinctrl: sx150x: Unregister the pinctrl on release

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Peter Rosin commit 0657cb50b5a75abd92956028727dc255d690a4a6 upstream. There is no matching call to pinctrl_unregister, so switch to the managed devm_pinctrl_register to clean up properly when

[PATCH 4.15 184/202] clocksource/drivers/stm32: Fix kernel panic with multiple timers

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Lezcano commit e0aeca3d8cbaea514eb98df1149faa918f9ec42d upstream. The current code hides a couple of bugs: - The global variable 'clock_event_ddata' is overwritten each time the in

[PATCH 4.15 165/202] ipmi: use dynamic memory for DMI driver override

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: John Garry commit 5516e21a1e95e9b9f39985598431a25477d91643 upstream. Currently a crash can be seen if we reach the "err" label in dmi_add_platform_ipmi(), calling platform_device_put(), like h

[PATCH 4.15 164/202] Bluetooth: btusb: Restore QCA Rome suspend/resume fix with a "rewritten" version

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 61f5acea8737d9b717fcc22bb6679924f3c82b98 upstream. Commit 7d06d5895c15 ("Revert "Bluetooth: btusb: fix QCA...suspend/resume"") removed the setting of the BTUSB_RESET_RESUM

[PATCH 4.15 133/202] KVM: PPC: Book3S HV: Make sure we dont re-enter guest without XIVE loaded

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 43ff3f65234061e08d234bdef5a9aadc19832b74 upstream. This fixes a bug where it is possible to enter a guest on a POWER9 system without having the XIVE (interrupt controller

[PATCH 4.15 190/202] ACPI: sbshc: remove raw pointer from printk() message

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit 43cdd1b716b26f6af16da4e145b6578f98798bf6 upstream. There's no need to be printing a raw kernel pointer to the kernel log at every boot. So just remove it, and change

[PATCH 4.15 186/202] lib/ubsan: add type mismatch handler for new GCC/Clang

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 42440c1f9911b4b7b8ba3dc4e90c1197bc561211 upstream. UBSAN=y fails to build with new GCC/clang: arch/x86/kernel/head64.o: In function `sanitize_boot_params': arch

[PATCH 4.15 166/202] signal/openrisc: Fix do_unaligned_access to send the proper signal

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 500d58300571b6602341b041f97c082a461ef994 upstream. While reviewing the signal sending on openrisc the do_unaligned_access function stood out because it is obviously wr

[PATCH 4.15 196/202] ovl: hash directory inodes for fsnotify

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 31747eda41ef3c30c09c5c096b380bf54013746a upstream. fsnotify pins a watched directory inode in cache, but if directory dentry is released, new lookup will allocate a new d

[PATCH 4.15 188/202] arm64: dts: marvell: add Ethernet aliases

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Yan Markman commit 474c5885582c4a79c21bcf01ed98f98c935f1f4a upstream. This patch adds Ethernet aliases in the Marvell Armada 7040 DB, 8040 DB and 8040 mcbin device trees so that the bootloader

[PATCH 4.15 199/202] ftrace: Remove incorrect setting of glob search field

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit 7b6586562708d2b3a04fe49f217ddbad0546 upstream. __unregister_ftrace_function_probe() will incorrectly parse the glob filter because it resets the search varia

[PATCH 4.15 200/202] scsi: core: Ensure that the SCSI error handler gets woken up

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 3bd6f43f5cb3714f70c591514f344389df593501 upstream. If scsi_eh_scmd_add() is called concurrently with scsi_host_queue_ready() while shost->host_blocked > 0 then it can ha

[PATCH 4.15 169/202] alpha: osf_sys.c: fix put_tv32 regression

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 47669fb6b5951d0e09fc99719653e0ac92b50b99 upstream. There was a typo in the new version of put_tv32() that caused an unguarded access of a user space pointer, and failed to

[PATCH 4.15 170/202] alpha: Fix mixed up args in EXC macro in futex operations

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Michael Cree commit 84e455361ec97ea6037d31d42a2955628ea2094b upstream. Fix the typo (mixed up arguments) in the EXC macro in the futex definitions introduced by commit ca282f697381 (alpha: add

[PATCH 4.15 163/202] Revert "Bluetooth: btusb: fix QCA Rome suspend/resume"

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 7d06d5895c159f64c46560dc258e553ad8670fe0 upstream. This reverts commit fd865802c66bc451dc515ed89360f84376ce1a56. This commit causes a regression on some QCA ROME chips. T

RE: [[INTERNAL] PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding

2018-02-15 Thread Amelie DELAUNAY
Forget this one! Sorry for the inconvenience. > -Original Message- > From: Amelie DELAUNAY > Sent: jeudi 15 février 2018 16:47 > To: John Youn ; Felipe Balbi ; > Greg Kroah-Hartman ; Rob Herring > ; Mark Rutland > Cc: linux-...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@

Re: [patch 1/2] mm, page_alloc: extend kernelcore and movablecore for percent

2018-02-15 Thread Christopher Lameter
On Thu, 15 Feb 2018, Matthew Wilcox wrote: > What if ... on startup, slab allocated a MAX_ORDER page for itself. > It would then satisfy its own page allocation requests from this giant > page. If we start to run low on memory in the rest of the system, slab > can be induced to return some of it

[PATCH 4.15 202/202] scsi: cxlflash: Reset command ioasc

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Uma Krishnan commit 96cf727fe8f102bf92150b741db71ee39fb8c521 upstream. In the event of a command failure, cxlflash returns the failure to the upper layers to process. After processing the erro

[PATCH 4.15 172/202] alpha: fix formating of stack content

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 4b01abdb32fc36abe877503bfbd33019159fad71 upstream. Since version 4.9, the kernel automatically breaks printk calls into multiple newlines unless pr_cont is used. Fix the

[PATCH 4.15 171/202] alpha: fix reboot on Avanti platform

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 55fc633c41a08ce9244ff5f528f420b16b1e04d6 upstream. We need to define NEED_SRM_SAVE_RESTORE on the Avanti, otherwise we get machine check exception when attempting to reb

Re: [PATCH 08/15] Documentation: devicetree: renesas,sci: Add r8a77965

2018-02-15 Thread Simon Horman
On Tue, Feb 13, 2018 at 10:45:55AM +0100, Jacopo Mondi wrote: > Add documentation for r8a77965 compatible string to reneass sci-serial > device tree bindings documentation. I think a better subject would be: dt-bindings: serial: sh-sci: Add support for r8a77965 (H)SCIF

[PATCH 4.15 168/202] alpha: fix crash if pthread_create races with signal delivery

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 21ffceda1c8b3807615c40d440d7815e0c85d366 upstream. On alpha, a process will crash if it attempts to start a thread and a signal is delivered at the same time. The crash

[PATCH 4.15 167/202] signal/sh: Ensure si_signo is initialized in do_divide_error

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 0e88bb002a9b2ee8cc3cc9478ce2dc126f849696 upstream. Set si_signo. Cc: Yoshinori Sato Cc: Rich Felker Cc: Paul Mundt Cc: linux...@vger.kernel.org Fixes: 0983b31849bb

[PATCH 4.15 201/202] scsi: lpfc: Fix crash after bad bar setup on driver attachment

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: James Smart commit e4b9794efdce13242f4af6682f3ed48ce3864a87 upstream. In test cases where an instance of the driver is detached and reattached, the driver will crash on reattachment. There is

[PATCH 4.15 197/202] mn10300/misalignment: Use SIGSEGV SEGV_MAPERR to report a failed user copy

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 6ac1dc736b323011a55ecd1fc5897c24c4f77cbd upstream. Setting si_code to 0 is the same a setting si_code to SI_USER which is definitely not correct. With si_code set to

Re: [PATCH 0/3] crypto: stm32/hash: Correction to improve robustness

2018-02-15 Thread Herbert Xu
On Mon, Jan 29, 2018 at 03:28:08PM +0100, Lionel Debieve wrote: > From: Lionel Debieve > > Hi, > > This patch serie will improve global robustness for stm32-hash driver. > > Patch #1 is fixing dma-burst issue when configuration is not set. > Patch #2 solves issue that occurs when irq append du

Re: [PATCH v2 0/6] crypto: engine - Permit to enqueue all async requests

2018-02-15 Thread Herbert Xu
On Fri, Jan 26, 2018 at 08:15:28PM +0100, Corentin Labbe wrote: > Hello > > The current crypto_engine support only ahash and ablkcipher request. > My first patch which try to add skcipher was Nacked, it will add too many > functions > and adding other algs(aead, asymetric_key) will make the situa

[PATCH 4.15 198/202] devpts: fix error handling in devpts_mntget()

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit c9cc8d01fb04117928830449388512a5047569c9 upstream. If devpts_ptmx_path() returns an error code, then devpts_mntget() dereferences an ERR_PTR(): BUG: unable to handle k

Re: [PATCH] crypto: s5p-sss.c: Fix kernel Oops in AES-ECB mode

2018-02-15 Thread Herbert Xu
On Mon, Feb 05, 2018 at 06:40:20PM +0100, Kamil Konieczny wrote: > > In AES-ECB mode crypt is done with key only, so any use of IV > can cause kernel Oops, as reported by Anand Moon. > Fixed it by using IV only in AES-CBC and AES-CTR. > > Signed-off-by: Kamil Konieczny > Reported-by: Anand Moon

Re: [PATCH] crypto: qat - Make several functions static

2018-02-15 Thread Herbert Xu
On Tue, Feb 06, 2018 at 11:36:42PM +, Colin King wrote: > From: Colin Ian King > > Functions qat_rsa_set_n, qat_rsa_set_e and qat_rsa_set_n are local to > the source and do not need to be in global scope, so make them static. > > Cleans up sparse warnings: > drivers/crypto/qat/qat_common/qat

Re: [PATCH] crypto: ccp - Make function ccp_get_dma_chan_attr static

2018-02-15 Thread Herbert Xu
On Tue, Feb 06, 2018 at 11:20:01PM +, Colin King wrote: > From: Colin Ian King > > Function ccp_get_dma_chan_attr is local to the source and does not > need to be in global scope, so make it static. > > Cleans up sparse warning: > drivers/crypto/ccp/ccp-dmaengine.c:41:14: warning: symbol > '

Re: [PATCH 0/2] crypto: stm32/cryp - add AEAD cipher algorithms

2018-02-15 Thread Herbert Xu
On Wed, Feb 07, 2018 at 02:08:53PM +0100, Fabien Dessenne wrote: > This patchset depends on "crypto: engine - Permit to enqueue all async > requests" > proposed by Corentin Labbe [https://lkml.org/lkml/2018/1/26/608]. > stm32-cryp uses this updated crpyto engine to handle AEAD cipher algortihms. >

Re: [PATCH v3] crypto: s5p-sss.c: Fix kernel Oops in AES-ECB mode

2018-02-15 Thread Herbert Xu
On Wed, Feb 07, 2018 at 04:52:09PM +0100, Kamil Konieczny wrote: > In AES-ECB mode crypt is done with key only, so any use of IV > can cause kernel Oops. Use IV only in AES-CBC and AES-CTR. > > Signed-off-by: Kamil Konieczny > Reported-by: Anand Moon > Reviewed-by: Krzysztof Kozlowski > Tested-

Re: [PATCH] crypto: chelsio - Make function aead_ccm_validate_input static

2018-02-15 Thread Herbert Xu
On Tue, Feb 06, 2018 at 11:09:20PM +, Colin King wrote: > From: Colin Ian King > > Function aead_ccm_validate_input is local to the source and does not > need to be in global scope, so make it static. > > Cleans up sparse warning: > drivers/crypto/chelsio/chcr_algo.c:2627:5: warning: symbol

[PATCH 4.15 194/202] ovl: take mnt_want_write() for work/index dir setup

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 2ba9d57e65044859f7ff133bcb0a902769bf3bc6 upstream. There are several write operations on upper fs not covered by mnt_want_write(): - test set/remove OPAQUE xattr - test

[PATCH 4.15 195/202] ovl: take mnt_want_write() for removing impure xattr

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit a5a927a7c82e28ea76599dee4019c41e372c911f upstream. The optimization in ovl_cache_get_impure() that tries to remove an unneeded "impure" xattr needs to take mnt_want_write

[PATCH 4.15 191/202] acpi, nfit: fix register dimm error handling

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Toshi Kani commit 23fbd7c70aec7600e3227eb24259fc55bf6e4881 upstream. A NULL pointer reference kernel bug was observed when acpi_nfit_add_dimm() called in acpi_nfit_register_dimms() failed. Thi

[PATCH 4.15 192/202] ovl: force r/o mount when index dir creation fails

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 972d0093c2f7b1bd57e47a1780a552dde528fd16 upstream. When work dir creation fails, a warning is emitted and overlay is mounted r/o. Trying to remount r/w will fail with no

Re: [PATCH 2/2] mm: Add kvmalloc_ab_c and kvzalloc_struct

2018-02-15 Thread Christopher Lameter
On Wed, 14 Feb 2018, Matthew Wilcox wrote: > > Uppercase like the similar KMEM_CACHE related macros in > > include/linux/slab.h?> > > Do you think that would look better in the users? Compare: Does looking matter? I thought we had the convention that macros are uppercase. There are some tricks g

[PATCH 1/3] ARM: dts: stm32: add gadget fifo sizes to usbotg_hs on stm32f746

2018-02-15 Thread Amelie Delaunay
USB OTG HS on STM32F746 can also be used as Peripheral (gadget), so this patch adds DWC2 gadget mode fifo sizes bindings. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f746.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746.dtsi b/arch/arm/boot/dt

[PATCH 3/3] ARM: dts: stm32: enable USB HS on stm32f769-disco

2018-02-15 Thread Amelie Delaunay
This patch enables USB HS on stm32f749-disco in OTG (DRD) mode. The USB connector used will determine the role of USB OTG controller. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32f769-disco.dts | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/st

[PATCH 2/3] ARM: dts: stm32: select otg mode for usbotg_hs on stm32746g_eval

2018-02-15 Thread Amelie Delaunay
Configure USB OTG HS in OTG (DRD) mode on STM32746G_eval. The USB connector used will determine the role of USB OTG controller. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32746g-eval.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32746g-

Re: [PATCH 06/15] Documentation: devicetree: dma: Add r8a77965 dmac

2018-02-15 Thread Simon Horman
On Thu, Feb 15, 2018 at 04:39:49PM +0100, Simon Horman wrote: > On Tue, Feb 13, 2018 at 10:45:53AM +0100, Jacopo Mondi wrote: > > Add documentation for r8a77965 compatible string to rcar-dmac device > > tree bindings documentation. > > > > Signed-off-by: Jacopo Mondi > > Reviewed-by: Simon Horma

[PATCH 0/3] USB OTG on STM32F7 boards

2018-02-15 Thread Amelie Delaunay
This patchset adds support for Peripheral mode on stm32f746 by adding dwc2 gadget fifo sizes and enables USB OTG HS in OTG (DRD) mode on stm32746g-eval and stm32f769-disco. It possible to use OTG HS in Peripheral or Host mode, depending on the USB connector. Amelie Delaunay (3): ARM: dts: stm32:

[PATCH 4.15 187/202] objtool: Fix switch-table detection

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 99ce7962d52d1948ad6f2785e308d48e76e0a6ef upstream. Linus reported that GCC-7.3 generated a switch-table construct that confused objtool. It turns out that, in particular

[PATCH 4.15 185/202] lib/ubsan.c: s/missaligned/misaligned/

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Morton commit b8fe1120b4ba342b4f156d24e952d6e686b20298 upstream. A vist from the spelling fairy. Cc: David Laight Cc: Andrey Ryabinin Signed-off-by: Andrew Morton Signed-off-by: Lin

[PATCH 2/2] usb: dwc2: fix STM32F7 USB OTG HS compatible

2018-02-15 Thread Amelie Delaunay
This patch fixes compatible for STM32F7 USB OTG HS and consistently rename dw2_set_params function. The v2 former patch [1] had been acked by Paul Young, but v1 was merged. [1] https://patchwork.kernel.org/patch/9925573/ Fixes: d8fae8b93682 ("usb: dwc2: add support for STM32F7xx USB OTG HS") Sign

Trial of conflict resolution of Alan's patch

2018-02-15 Thread Akira Yokosawa
>From 81bd6374057f0d89894ead482b870e2f001d2998 Mon Sep 17 00:00:00 2001 From: Alan Stern Date: Fri, 16 Feb 2018 00:29:56 +0900 Subject: [PATCH] [TENTATIVE] Trial conflict resolution of Alan's patch This is a trial of conflict resolution of the patch Alan provided. Alan's message and original pat

[PATCH 4.15 183/202] blk-mq: quiesce queue before freeing queue

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit c2856ae2f315d754a0b6a268e4c6745b332b42e7 upstream. After queue is frozen, dispatch still may happen, for example: 1) requests are submitted from several contexts 2) requests f

[PATCH 1/2] dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding

2018-02-15 Thread Amelie Delaunay
This patch fixes binding documentation for DWC2 controller in HS mode found on STMicroelectronics STM32F7 SoC. The v2 former patch [1] had been acked by Rob Herring, but v1 was merged. [1] https://patchwork.kernel.org/patch/9925575/ Fixes: 000777dadc7e ("dt-bindings: usb: Document the STM32F7xx D

Re: objtool warnings on 4.14-stable/gcc-7.3.0

2018-02-15 Thread Arnd Bergmann
On Thu, Feb 15, 2018 at 4:25 PM, Josh Poimboeuf wrote: > On Thu, Feb 15, 2018 at 04:01:57PM +0100, Arnd Bergmann wrote: >> On Wed, Feb 14, 2018 at 11:45 PM, Josh Poimboeuf wrote: >> > On Wed, Feb 14, 2018 at 04:24:12PM -0600, Josh Poimboeuf wrote: >> >> On Wed, Feb 14, 2018 at 04:11:15PM +0100, A

[PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding

2018-02-15 Thread Amelie Delaunay
This patchset fixes STM32F7 DWC2 OTG HS binding. It actually re-applies the v2 former patches adding STM32F7 DWC2 OTG HS support. Amelie Delaunay (2): dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding usb: dwc2: fix STM32F7 USB OTG HS compatible Documentation/devicetree/bindings/usb

[[INTERNAL] PATCH 0/2] Fix STM32F7 DWC2 OTG HS binding

2018-02-15 Thread Amelie Delaunay
This patchset fixes STM32F7 DWC2 OTG HS binding. It actually re-applies the v2 former patches adding STM32F7 DWC2 OTG HS support. Amelie Delaunay (2): dt-bindings: usb: fix the STM32F7 DWC2 OTG HS core binding usb: dwc2: fix STM32F7 USB OTG HS compatible Documentation/devicetree/bindings/usb

[PATCH 4.15 182/202] pktcdvd: Fix a recently introduced NULL pointer dereference

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 882d4171a8950646413b1a3cbe0e4a6a612fe82e upstream. Call bdev_get_queue(bdev) after bdev->bd_disk has been initialized instead of just before that pointer has been initia

[PATCH 4.15 179/202] pinctrl: sx150x: Register pinctrl before adding the gpiochip

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Peter Rosin commit 1a1d39e1b8dd1d0f92a79da4fcc1ab0be3ae9bfc upstream. Various gpiolib activity depend on the pinctrl to be up and kicking. Therefore, register the pinctrl before adding a gpioc

[PATCH 4.15 181/202] pktcdvd: Fix pkt_setup_dev() error path

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 5a0ec388ef0f6e33841aeb810d7fa23f049ec4cd upstream. Commit 523e1d399ce0 ("block: make gendisk hold a reference to its queue") modified add_disk() and disk_release() but d

[PATCH 4.15 180/202] pinctrl: sx150x: Add a static gpio/pinctrl pin range mapping

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Peter Rosin commit b930151e5b55a0e62a3aad06876de891ac980471 upstream. Without such a range, gpiolib fails with -EPROBE_DEFER, pending the addition of the range. So, without a range, gpiolib wi

Re: [PATCH 1/4] arm64: dts: renesas: r8a77995: add FCPVB node

2018-02-15 Thread Simon Horman
On Tue, Feb 13, 2018 at 02:31:48PM +0200, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Tuesday, 13 February 2018 00:25:26 EET Kieran Bingham wrote: > > From: Kieran Bingham > > > > The FCPVB handles the interface between the VSPB and memory. > > > > Signed-off-by: K

[PATCH 4.15 175/202] genirq: Make legacy autoprobing work again

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 1beaeacdc88b537703d04d5536235d0bbb36db93 upstream. Meelis reported the following warning on a quad P3 HP NetServer museum piece: WARNING: CPU: 3 PID: 258 at kernel/irq/

[PATCH 4.15 176/202] pinctrl: intel: Initialize GPIO properly when used through irqchip

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit f5a26acf0162477af6ee4c11b4fb9cffe5d3e257 upstream. When a GPIO is requested using gpiod_get_* APIs the intel pinctrl driver switches the pin to GPIO mode and makes sure

[PATCH 4.15 177/202] pinctrl: mcp23s08: fix irq setup order

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Mastykin commit 02e389e63e3523828fc3832f27e0341885f60f6f upstream. When using mcp23s08 module with gpio-keys, often (50% of boots) it fails to get irq numbers with message: "gpio-keys k

[PATCH] ARM: cpuidle: Delete an error message for a failed memory allocation in arm_idle_init_cpu()

2018-02-15 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 15 Feb 2018 16:40:38 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/cpuidle/cpuidle-arm.c | 1 - 1 file changed, 1 deletion(-) di

[PATCH 4.15 173/202] xtensa: fix futex_atomic_cmpxchg_inatomic

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit ca47480921587ae30417dd234a9f79af188e3666 upstream. Return 0 if the operation was successful, not the userspace memory value. Check that userspace value equals passed oldval

[PATCH 4.15 124/202] media: v4l2-compat-ioctl32.c: dont copy back the result for certain errors

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil commit d83a8243aaefe62ace433e4384a4f077bed86acb upstream. Some ioctls need to copy back the result even if the ioctl returned an error. However, don't do this for the error code -

[PATCH 4.15 130/202] arm: KVM: Fix SMCCC handling of unimplemented SMC/HVC calls

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 20e8175d246e9f9deb377f2784b3e7dfb2ad3e86 upstream. KVM doesn't follow the SMCCC when it comes to unimplemented calls, and inject an UNDEF instead of returning an error. Sin

[PATCH 1/3] ARM: dts: stm32: add USB OTG HS support for STM32H743 SoC

2018-02-15 Thread Amelie Delaunay
This patch adds support for USB OTG HS on STM32H743 SoC. USB OTG HS controller is the same than the one used on STM32F7 SoCs. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/a

[PATCH 0/3] USB OTG on STM32H743

2018-02-15 Thread Amelie Delaunay
This patchset adds support for USB OTG HS and FS on stm32h743 SoC. It also enables USB OTG HS on stm32h743i-eval board in OTG (DRD) mode. It is possible to use OTG HS in Peripheral or Host mode depending on the USB connector. Amelie Delaunay (3): ARM: dts: stm32: add USB OTG HS support for STM32

[PATCH 3/3] ARM: dts: stm32: enable USB OTG HS on stm32h743i-eval

2018-02-15 Thread Amelie Delaunay
This patch enables USB HS on stm32h743i-eval in OTG (DRD) mode. The USB connector used will determine the role of USB OTG controller. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743-pinctrl.dtsi | 20 arch/arm/boot/dts/stm32h743i-eval.dts| 16 +

[PATCH 2/3] ARM: dts: stm32: add USB OTG FS support for STM32H743 SoC

2018-02-15 Thread Amelie Delaunay
This patch adds support for USB OTG FS on STM32H743 SoC. USB OTG FS controller is the same than the one used on STM32F4 SoCs. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32h743.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32h743.dtsi b/arch/a

[PATCH] Drivers/mfd: Remove Non-standard Case Statements

2018-02-15 Thread Progyan Bhattacharya
Remove Range Expressions from Case Statements and replace them with equivalent If-Else ladder. Comments are kept as is for understanding. Signed-off-by: Progyan Bhattacharya Cc: Lee Jones Cc: patc...@opensource.cirrus.com Cc: linux-kernel@vger.kernel.org --- drivers/mfd/cs47l24-tables.c | 30 +

[PATCH 4.15 128/202] crypto: sha512-mb - initialize pending lengths correctly

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit eff84b379089cd8b4e83599639c1f5f6e34ef7bf upstream. The SHA-512 multibuffer code keeps track of the number of blocks pending in each lane. The minimum of these values is us

[PATCH 4.15 162/202] Bluetooth: btsdio: Do not bind to non-removable BCM43341

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit b4cdaba274247c9c841c6a682c08fa91fb3aa549 upstream. BCM43341 devices soldered onto the PCB (non-removable) always (AFAICT) use an UART connection for bluetooth. But they al

[PATCH 4.15 158/202] kernel/relay.c: revert "kernel/relay.c: fix potential memory leak"

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit a1be1f3931bfe0a42b46fef77a04593c2b136e7f upstream. This reverts commit ba62bafe942b ("kernel/relay.c: fix potential memory leak"). This commit introduced a double free bug

[PATCH 4.15 159/202] pipe: actually allow root to exceed the pipe buffer limits

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 85c2dd5473b2718b4b63e74bfeb1ca876868e11f upstream. pipe-user-pages-hard and pipe-user-pages-soft are only supposed to apply to unprivileged users, as documented in both Doc

Re: [PATCH v2 1/6] phy: rockchip-typec: deprecate some DT properties for various register fields.

2018-02-15 Thread Heiko Stuebner
Hi Enric, Am Mittwoch, 14. Februar 2018, 17:54:42 CET schrieb Enric Balletbo i Serra: > Adding properties for various register fields in the DT doesn't scale and > this information should be in the driver instead. > > Before this patch these registers (description below) were specified in > the D

[PATCH 4.15 155/202] media: cxusb, dib0700: ignore XC2028_I2C_FLUSH

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 9893b905e743ded332575ca04486bd586c0772f7 upstream. The XC2028_I2C_FLUSH only needs to be implemented on a few devices. Others can safely ignore it. That prevents

[PATCH 4.15 154/202] media: vivid: fix module load error when enabling fb and no_error_inj=1

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil commit 0fa2c5f954c41e870fe327907c01cb8f7ea8d5a2 upstream. If the framebuffer is enabled and error injection is disabled, then creating the controls for the video output device wou

Re: [PATCH 13/15] Documentation: devicetree: ravb: Add r8a77965

2018-02-15 Thread Simon Horman
On Tue, Feb 13, 2018 at 10:46:00AM +0100, Jacopo Mondi wrote: > Add documentation for r8a77965 compatible string to renesas ravb device > tree bindings documentation. > > Signed-off-by: Jacopo Mondi Reviewed-by: Simon Horman This needs to be CCed to Sergei and netdev to proceed into mainline.

[PATCH 4.15 150/202] media: dvb_frontend: be sure to init dvb_frontend_handle_ioctl() return code

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit a9cb97c3e628902e37583d8a40bb28cf76522cf1 upstream. As smatch warned: drivers/media/dvb-core/dvb_frontend.c:2468 dvb_frontend_handle_ioctl() error: uniniti

Re: apm_32.c: undefined reference to `cpuidle_poll_state_init'

2018-02-15 Thread Rafael J. Wysocki
On 2/14/2018 7:02 PM, Meelis Roos wrote: This is 4.16-rc1+git as of today, on a IBM PC 365 that uses APM instead of ACPI. APM linking fails: MODPOST vmlinux.o arch/x86/kernel/apm_32.o: In function `apm_init': apm_32.c:(.init.text+0x597): undefined reference to `cpuidle_poll_state_init' Ther

[PATCH 4.15 152/202] media: dt-bindings/media/cec-gpio.txt: mention the CEC/HPD max voltages

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Hans Verkuil commit dac15ed62dc9d7898d3695a3c393d6f712d66185 upstream. Mention the maximum voltages of the CEC and HPD lines. Since in the example these lines are connected to a Raspberry Pi a

[PATCH 0/3] percpu: introduce no retry semantics and gfp passthrough

2018-02-15 Thread Dennis Zhou
Hi everyone, The percpu memory using the valloc area based chunk allocator lazily populates chunks by first requesting the full virtual address space required for the chunk and subsequently adding pages as allocations come through. To ensure atomic allocations can succeed, a workqueue item is used

[PATCH 1/3] percpu: match chunk allocator declarations with definitions

2018-02-15 Thread Dennis Zhou
At some point the function declaration parameters got out of sync with the function definitions in percpu-vm.c and percpu-km.c. This patch makes them match again. Signed-off-by: Dennis Zhou --- mm/percpu.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mm/percpu.c b/mm

Re: [PATCH] drm/i915/selftests: fix inconsistent IS_ERR and PTR_ERR

2018-02-15 Thread Gustavo A. R. Silva
On 02/15/2018 03:13 AM, Jani Nikula wrote: On Wed, 14 Feb 2018, "Gustavo A. R. Silva" wrote: Fix inconsistent IS_ERR and PTR_ERR in shrink_boom. The proper pointer to use is _explode_ instead of _purge_. This issue was detected with the help of Coccinelle. Fixes: fe215c8bc426 ("drm/i915/sel

[PATCH 3/3] percpu: allow select gfp to be passed to underlying allocators

2018-02-15 Thread Dennis Zhou
The prior patch added support for passing gfp flags through to the underlying allocators. This patch allows users to pass along gfp flags (currently only __GFP_NORETRY and __GFP_NOWARN) to the underlying allocators. This should allow users to decide if they are ok with failing allocations recoverin

[PATCH 2/3] percpu: add __GFP_NORETRY semantics to the percpu balancing path

2018-02-15 Thread Dennis Zhou
Percpu memory using the vmalloc area based chunk allocator lazily populates chunks by first requesting the full virtual address space required for the chunk and subsequently adding pages as allocations come through. To ensure atomic allocations can succeed, a workqueue item is used to maintain a mi

[PATCH 4.15 148/202] kasan: dont emit builtin calls when sanitization is off

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Konovalov commit 0e410e158e5baa1300bdf678cea4f4e0cf9d8b94 upstream. With KASAN enabled the kernel has two different memset() functions, one with KASAN checks (memset) and one without (_

Re: [PATCH v2 2/6] dt-bindings: phy-rockchip-typec: deprecate some register properties.

2018-02-15 Thread Heiko Stuebner
Am Mittwoch, 14. Februar 2018, 17:54:43 CET schrieb Enric Balletbo i Serra: > As now the following register properties are in the driver, document as > deprecated these properties and recommend to not use them on new bindings. > > The deprecated properties are: > > - rockchip,typec-conn-dir : the

[PATCH 4.15 144/202] afs: Fix missing cursor clearance

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit fe4d774c847398c2a45c10a780ccfde069840793 upstream. afs_select_fileserver() ends the address cursor it is using in the case in which we get some sort of network error and r

[PATCH 4.15 146/202] btrfs: Handle btrfs_set_extent_delalloc failure in fixup worker

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Borisov commit f3038ee3a3f1017a1cbe9907e31fa12d366c5dcb upstream. This function was introduced by 247e743cbe6e ("Btrfs: Use async helpers to deal with pages that have been improperly d

[PATCH 4.15 145/202] afs: Fix server list handling

2018-02-15 Thread Greg Kroah-Hartman
4.15-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit 45df8462730d2149834980d3db16e2d2b9daaf60 upstream. Fix server list handling in the following ways: (1) In afs_alloc_volume(), remove duplicate server list build code. T

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