[PATCH 4.4 107/160] scsi: qla2xxx: Fix incorrect port speed being set for FC adapters

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Himanshu Madhani commit 4c1458df9635c7e3ced155f594d2e7dfd7254e21 upstream. Fixes: 6246b8a1d26c7c ("[SCSI] qla2xxx: Enhancements to support ISP83xx.") Fixes: 1bb395485160d2 ("qla2xxx: Correct

[PATCH 4.4 131/160] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrea Arcangeli commit ac5b2c18911ffe95c08d69273917f90212cf5659 upstream. THP allocation might be really disruptive when allocated on NUMA system with the local node full or hard to reclaim.

[PATCH 4.4 132/160] mtd: docg3: dont set conflicting BCH_CONST_PARAMS option

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit be2e1c9dcf76886a83fb1c433a316e26d4ca2550 upstream. I noticed during the creation of another bugfix that the BCH_CONST_PARAMS option that is set by DOCG3 breaks setting

[PATCH 4.4 134/160] arch/alpha, termios: implement BOTHER, IBSHIFT and termios2

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: H. Peter Anvin (Intel) commit d0ffb805b729322626639336986bc83fc2e60871 upstream. Alpha has had c_ispeed and c_ospeed, but still set speeds in c_cflags using arbitrary flags. Because BOTHER is

[PATCH 4.4 143/160] ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizing

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit f348e2241fb73515d65b5d77dd9c174128a7fbf2 upstream. Fixes: 117fff10d7f1 ("ext4: grow the s_flex_groups array as needed ...") Signed-off-by: Vasily Averin Signed-off-by:

[PATCH 4.4 139/160] ext4: add missing brelse() add_new_gdb_meta_bg()s error path

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 61a9c11e5e7a0dab5381afa5d9d4dd5ebf18f7a0 upstream. Fixes: 01f795f9e0d6 ("ext4: add online resizing support for meta_bg ...") Signed-off-by: Vasily Averin Signed-off-by:

[PATCH 4.4 146/160] ext4: release bs.bh before re-using in ext4_xattr_block_find()

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 45ae932d246f721e6584430017176cbcadfde610 upstream. bs.bh was taken in previous ext4_xattr_block_find() call, it should be released before re-using Fixes: 7e01c8e5420b

[PATCH 4.4 138/160] ext4: add missing brelse() in set_flexbg_block_bitmap()s error path

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit cea5794122125bf67559906a0762186cf417099c upstream. Fixes: 33afdcc5402d ("ext4: add a function which sets up group blocks ...") Cc: sta...@kernel.org # 3.3 Signed-off-by:

[PATCH 4.4 136/160] clockevents/drivers/i8253: Add support for PIT shutdown quirk

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Michael Kelley commit 35b69a420bfb56b7b74cb635ea903db05e357bec upstream. Add support for platforms where pit_shutdown() doesn't work because of a quirk in the PIT emulation. On these platforms

[PATCH 4.4 113/160] binfmt_elf: fix calculations for bss padding

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- commit 0036d1f7eb95bcc52977f15507f00dd07018e7e2 upstream. A double-bug exists in the bss calculation code, where an overflow can happen in the "last_bss - elf_bss" calculation, but vm_brk internally

[PATCH 4.4 140/160] ext4: avoid potential extra brelse in setup_new_flex_group_blocks()

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 9e4028935cca3f9ef9b6a90df9da6f1f94853536 upstream. Currently bh is set to NULL only during first iteration of for cycle, then this pointer is not cleared after end of

[PATCH 4.4 141/160] ext4: fix possible inode leak in the retry loop of ext4_resize_fs()

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit db6aee62406d9fbb53315fcddd81f1dc271d49fa upstream. Fixes: 1c6bd7173d66 ("ext4: convert file system to meta_bg if needed ...") Signed-off-by: Vasily Averin Signed-off-by:

[PATCH 3.18 90/90] hugetlbfs: fix kernel BUG at fs/hugetlbfs/inode.c:444!

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mike Kravetz commit 5e41540c8a0f0e98c337dda8b391e5dda0cde7cf upstream. This bug has been experienced several times by the Oracle DB team. The BUG is in remove_inode_hugepages() as follows:

[PATCH 3.18 86/90] mount: Prevent MNT_DETACH from disconnecting locked mounts

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 9c8e0a1b683525464a2abe9fb4b54404a50ed2b4 upstream. Timothy Baldwin wrote: > As per mount_namespaces(7) unprivileged users should not be able to look > under mount

[PATCH 3.18 89/90] configfs: replace strncpy with memcpy

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 1823342a1f2b47a4e6f5667f67cd28ab6bc4d6cd upstream. gcc 8.1.0 complains: fs/configfs/symlink.c:67:3: warning: 'strncpy' output truncated before terminating nul

[PATCH 3.18 87/90] sunrpc: correct the computation for page_ptr when truncating

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Frank Sorenson commit 5d7a5bcb67c70cbc904057ef52d3fcfeb24420bb upstream. When truncating the encode buffer, the page_ptr is getting advanced, causing the next page to be skipped while

[PATCH 3.18 88/90] fuse: fix leaked notify reply

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 7fabaf303458fcabb694999d6fa772cc13d4e217 upstream. fuse_request_send_notify_reply() may fail if the connection was reset for some reason (e.g. fs was unmounted). Don't

[PATCH 3.18 69/90] mtd: docg3: dont set conflicting BCH_CONST_PARAMS option

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit be2e1c9dcf76886a83fb1c433a316e26d4ca2550 upstream. I noticed during the creation of another bugfix that the BCH_CONST_PARAMS option that is set by DOCG3 breaks setting

[PATCH 3.18 73/90] ext4: add missing brelse() in set_flexbg_block_bitmap()s error path

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit cea5794122125bf67559906a0762186cf417099c upstream. Fixes: 33afdcc5402d ("ext4: add a function which sets up group blocks ...") Cc: sta...@kernel.org # 3.3 Signed-off-by:

[PATCH 3.18 71/90] arch/alpha, termios: implement BOTHER, IBSHIFT and termios2

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: H. Peter Anvin (Intel) commit d0ffb805b729322626639336986bc83fc2e60871 upstream. Alpha has had c_ispeed and c_ospeed, but still set speeds in c_cflags using arbitrary flags. Because BOTHER is

[PATCH 3.18 74/90] ext4: add missing brelse() add_new_gdb_meta_bg()s error path

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 61a9c11e5e7a0dab5381afa5d9d4dd5ebf18f7a0 upstream. Fixes: 01f795f9e0d6 ("ext4: add online resizing support for meta_bg ...") Signed-off-by: Vasily Averin Signed-off-by:

[PATCH 3.18 70/90] termios, tty/tty_baudrate.c: fix buffer overrun

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: H. Peter Anvin commit 991a25194097006ec1e0d2e0814ff920e59e3465 upstream. On architectures with CBAUDEX == 0 (Alpha and PowerPC), the code in tty_baudrate.c does not do any limit checking on

[PATCH 3.18 47/90] TC: Set DMA masks for devices

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Maciej W. Rozycki commit 3f2aa244ee1a0d17ed5b6c86564d2c1b24d1c96b upstream. Fix a TURBOchannel support regression with commit 205e1b7f51e4 ("dma-mapping: warn when there is no

[PATCH 3.18 64/90] clk: s2mps11: Fix matching when built as module and DT node contains compatible

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 8985167ecf57f97061599a155bb9652c84ea4913 upstream. When driver is built as module and DT node contains clocks compatible (e.g. "samsung,s2mps11-clk"), the module

[PATCH 3.18 79/90] ext4: avoid possible double brelse() in add_new_gdb() on error path

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Theodore Ts'o commit 4f32c38b4662312dd3c5f113d8bdd459887fb773 upstream. Fixes: b40971426a83 ("ext4: add error checking to calls to ...") Reported-by: Vasily Averin Signed-off-by: Theodore

Re: [PATCH] x86/mm/dump_pagetables: Change to use DEFINE_SHOW_ATTRIBUTE macro

2018-11-19 Thread Dave Hansen
On 11/19/18 7:43 AM, Yangtao Li wrote: > -static const struct file_operations ptdump_curusr_fops = { > - .owner = THIS_MODULE, > - .open = ptdump_open_curusr, > - .read = seq_read, > - .llseek = seq_lseek, > - .release=

[PATCH 3.18 60/90] media: tvp5150: fix width alignment during set_selection()

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Marco Felsch [ Upstream commit bd24db04101f45a9c1d874fe21b0c7eab7bcadec ] The driver ignored the width alignment which exists due to the UYVY colorspace format. Fix the width alignment and

[PATCH 3.18 78/90] ext4: fix missing cleanup if ext4_alloc_flex_bg_array() fails while resizing

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit f348e2241fb73515d65b5d77dd9c174128a7fbf2 upstream. Fixes: 117fff10d7f1 ("ext4: grow the s_flex_groups array as needed ...") Signed-off-by: Vasily Averin Signed-off-by:

[PATCH 3.18 82/90] ext4: fix buffer leak in ext4_xattr_move_to_block() on error path

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 6bdc9977fcdedf47118d2caf7270a19f4b6d8a8f upstream. Fixes: 3f2571c1f91f ("ext4: factor out xattr moving") Fixes: 6dd4ee7cab7e ("ext4: Expand extra_inodes space per ...")

[PATCH 3.18 81/90] ext4: release bs.bh before re-using in ext4_xattr_block_find()

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 45ae932d246f721e6584430017176cbcadfde610 upstream. bs.bh was taken in previous ext4_xattr_block_find() call, it should be released before re-using Fixes: 7e01c8e5420b

[PATCH 3.18 68/90] ocfs2: fix a misuse a of brelse after failing ocfs2_check_dir_entry

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Changwei Ge commit 29aa30167a0a2e6045a0d6d2e89d8168132333d5 upstream. Somehow, file system metadata was corrupted, which causes ocfs2_check_dir_entry() to fail in function

[PATCH 3.18 85/90] mount: Dont allow copying MNT_UNBINDABLE|MNT_LOCKED mounts

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit df7342b240185d58d3d9665c0bbf0a0f5570ec29 upstream. Jonathan Calmels from NVIDIA reported that he's able to bypass the mount visibility security check in place in the

[PATCH 3.18 84/90] mount: Retest MNT_LOCKED in do_umount

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 25d202ed820ee347edec0bf3bf553544556bf64b upstream. It was recently pointed out that the one instance of testing MNT_LOCKED outside of the namespace_sem is in

[PATCH 3.18 72/90] ext4: add missing brelse() update_backups()s error path

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit ea0abbb648452cdb6e1734b702b6330a7448fcf8 upstream. Fixes: ac27a0ec112a ("ext4: initial copy of files from ext3") Signed-off-by: Vasily Averin Signed-off-by: Theodore

[PATCH 3.18 75/90] ext4: avoid potential extra brelse in setup_new_flex_group_blocks()

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 9e4028935cca3f9ef9b6a90df9da6f1f94853536 upstream. Currently bh is set to NULL only during first iteration of for cycle, then this pointer is not cleared after end of

Re: [PATCH 2/2] hwmon: (ntc_thermistor): add support for B57891S0103 from Epcos

2018-11-19 Thread Guenter Roeck
On Sat, Nov 17, 2018 at 12:13:00PM +, Peter Rosin wrote: > More of the same... > > Signed-off-by: Peter Rosin > --- > drivers/hwmon/Kconfig| 3 +- > drivers/hwmon/ntc_thermistor.c | 57 > +++- >

[PATCH 3.18 66/90] mach64: fix display corruption on big endian machines

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 3c6c6a7878d00a3ac997a779c5b9861ff25dfcc8 upstream. The code for manual bit triple is not endian-clean. It builds the variable "hostdword" using byte accesses, therefore

[PATCH 10/16] dt-bindings: timer: Document RDA8810PL SoC timer

2018-11-19 Thread Manivannan Sadhasivam
Document RDA Micro RDA8810PL SoC timer. Signed-off-by: Manivannan Sadhasivam --- .../bindings/timer/rda,8810pl-timer.txt | 21 +++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/rda,8810pl-timer.txt diff --git

[PATCH 11/16] arm: dts: rda8810pl: Add timer support

2018-11-19 Thread Manivannan Sadhasivam
Add timer support for RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/rda8810pl.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810pl.dtsi index

[PATCH 12/16] clocksource: Add clock driver for RDA8810PL SoC

2018-11-19 Thread Manivannan Sadhasivam
Add clock driver for RDA Micro RDA8810PL SoC supporting OSTIMER and HWTIMER. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/mach-rda/Kconfig | 1 + drivers/clocksource/Kconfig | 7 ++ drivers/clocksource/Makefile| 1 +

[PATCH 15/16] tty: serial: Add RDA8810PL UART driver

2018-11-19 Thread Manivannan Sadhasivam
Add UART driver for RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- .../admin-guide/kernel-parameters.txt | 6 + drivers/tty/serial/Kconfig| 19 + drivers/tty/serial/Makefile | 1 +

[PATCH 16/16] MAINTAINERS: Add entry for RDA Micro SoC architecture

2018-11-19 Thread Manivannan Sadhasivam
Add MAINTAINERS entry for RDA Micro SoC architecture with myself and Andreas Färber as the maintainers. Signed-off-by: Manivannan Sadhasivam --- MAINTAINERS | 14 ++ 1 file changed, 14 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6c3fbbb361f8..7a5ae685a638 100644 ---

[PATCH 13/16] dt-bindings: serial: Document RDA Micro UART

2018-11-19 Thread Manivannan Sadhasivam
From: Andreas Färber Add an initial binding for the UART in RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- .../bindings/serial/rda,8810pl-uart.txt | 15 +++ 1 file changed, 15 insertions(+) create mode 100644

[PATCH 14/16] arm: dts: rda8810pl: Add interrupt support for UART

2018-11-19 Thread Manivannan Sadhasivam
Add interrupt support for UART in RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/boot/dts/rda8810pl.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/rda8810pl.dtsi b/arch/arm/boot/dts/rda8810pl.dtsi index

Re: [PATCH v2] x86/fpu: Disable BH while while loading FPU registers in __fpu__restore_sig()

2018-11-19 Thread Sebastian Andrzej Siewior
On 2018-11-19 09:02:45 [-0800], Dave Hansen wrote: > On 11/19/18 8:04 AM, Sebastian Andrzej Siewior wrote: > > v1…v2: A more verbose commit as message. > > I was really hoping for code comments. :) I though we agreed to make those in the larger series because those comments in

[PATCH 09/16] irqchip: Add RDA8810PL interrupt driver

2018-11-19 Thread Manivannan Sadhasivam
Add interrupt driver for RDA Micro RDA8810PL SoC. Signed-off-by: Andreas Färber Signed-off-by: Manivannan Sadhasivam --- arch/arm/mach-rda/Kconfig | 1 + drivers/irqchip/Kconfig| 4 ++ drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-rda-intc.c | 116

[PATCH 3.18 22/90] scsi: esp_scsi: Track residual for PIO transfers

2018-11-19 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Finn Thain [ Upstream commit fd47d919d0c336e7c22862b51ee94927ffea227a ] If a target disconnects during a PIO data transfer the command may fail when the target reconnects: scsi host1: DMA

Re: omap5 fixing palmas IRQ_TYPE_NONE warning leads to gpadc timeouts

2018-11-19 Thread Tony Lindgren
Hi, * Tony Lindgren [181119 16:19]: > * Peter Ujfalusi [181119 10:16]: > > On 2018-11-13 20:06, Tony Lindgren wrote: > > > Looks like the IRQ_TYPE_NONE issue still is there for omap5 and > > > should be fixed with IRQ_TYPE_HIGH. > > > > > > No idea about why palmas interrupts would stop

Re: [PATCH v1 2/2] signal: add procfd_signal() syscall

2018-11-19 Thread Eugene Syromiatnikov
On Mon, Nov 19, 2018 at 11:32:39AM +0100, Christian Brauner wrote: > +/** > + * sys_procfd_signal - send a signal to a process through a process file > + * descriptor > + * @fd: the file descriptor of the process > + * @sig: signal to be sent > + * @info: the signal info >

[PATCH 4.4 067/160] genirq: Fix race on spurious interrupt detection

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit 746a923b863a1065ef77324e1e43f19b1a3eab5c upstream. Commit 1e77d0a1ed74 ("genirq: Sanitize spurious interrupt detection of threaded irqs") made detection of spurious

[PATCH 4.4 102/160] sc16is7xx: Fix for multi-channel stall

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Phil Elwell [ Upstream commit 8344498721059754e09d30fe255a12dab8fb03ef ] The SC16IS752 is a dual-channel device. The two channels are largely independent, but the IRQ signals are wired

Re: [PATCH v17 18/23] platform/x86: Intel SGX driver

2018-11-19 Thread Jarkko Sakkinen
On Mon, Nov 19, 2018 at 04:22:54PM +, Jethro Beekman wrote: > On 2018-11-19 20:36, Jarkko Sakkinen wrote: > > Question: should be dissolve the driver completely and move this code to > > arch/x86/kernel/cpu/sgx/ (and rename intel_sgx.c as main.c)? Swapping > > patch removes the possibility to

Re: [PATCH 01/16] dt-bindings: Add RDA Micro vendor prefix

2018-11-19 Thread Andreas Färber
Am 19.11.18 um 18:09 schrieb Manivannan Sadhasivam: > From: Andreas Färber > > RDA Microelectronics is a Chinese SoC manufacturer. > > Cc: serv...@rdamicro.com > Signed-off-by: Andreas Färber This one is lacking your Signed-off-by, all others that I was CC'ed on had it. Cheers, Andreas --

[PATCH 4.4 036/160] MD: fix invalid stored role for a disk

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li [ Upstream commit d595567dc4f0c1d90685ec1e2e296e2cad2643ac ] If we change the number of array's device after device is removed from array, then add the device back to array, we can

Re: [PATCH v2] x86/fpu: Disable BH while while loading FPU registers in __fpu__restore_sig()

2018-11-19 Thread Borislav Petkov
On Mon, Nov 19, 2018 at 06:11:29PM +0100, Sebastian Andrzej Siewior wrote: > On 2018-11-19 09:02:45 [-0800], Dave Hansen wrote: > > On 11/19/18 8:04 AM, Sebastian Andrzej Siewior wrote: > > > v1…v2: A more verbose commit as message. > > > > I was really hoping for code comments. :) > > I though

Re: [PATCH v4 2/2] tpm: add support for partial reads

2018-11-19 Thread Jarkko Sakkinen
On Mon, Nov 19, 2018 at 08:44:49AM -0800, Tadeusz Struk wrote: > On 11/19/18 5:58 AM, Jarkko Sakkinen wrote: > > Please explain a scenario where "!ret_size" would no work given that > > both size and partial_data have always positive value? > > Right, I only looked at the one line above before

[PATCH v11 22/24] kasan: add __must_check annotations to kasan hooks

2018-11-19 Thread Andrey Konovalov
This patch adds __must_check annotations to kasan hooks that return a pointer to make sure that a tagged pointer always gets propagated. Suggested-by: Andrey Ryabinin Signed-off-by: Andrey Konovalov --- include/linux/kasan.h | 16 ++-- mm/kasan/common.c | 14 -- 2

[PATCH v11 17/24] kasan: add bug reporting routines for tag-based mode

2018-11-19 Thread Andrey Konovalov
This commit adds rountines, that print tag-based KASAN error reports. Those are quite similar to generic KASAN, the difference is: 1. The way tag-based KASAN finds the first bad shadow cell (with a mismatching tag). Tag-based KASAN compares memory tags from the shadow memory to the pointer

[PATCH v11 20/24] kasan, arm64: add brk handler for inline instrumentation

2018-11-19 Thread Andrey Konovalov
Tag-based KASAN inline instrumentation mode (which embeds checks of shadow memory into the generated code, instead of inserting a callback) generates a brk instruction when a tag mismatch is detected. This commit adds a tag-based KASAN specific brk handler, that decodes the immediate value passed

Re: [PATCH 01/16] dt-bindings: Add RDA Micro vendor prefix

2018-11-19 Thread Manivannan Sadhasivam
On Mon, Nov 19, 2018 at 06:22:02PM +0100, Andreas Färber wrote: > Am 19.11.18 um 18:09 schrieb Manivannan Sadhasivam: > > From: Andreas Färber > > > > RDA Microelectronics is a Chinese SoC manufacturer. > > > > Cc: serv...@rdamicro.com > > Signed-off-by: Andreas Färber > > This one is lacking

Re: Memory hotplug softlock issue

2018-11-19 Thread Michal Hocko
On Mon 19-11-18 15:10:16, Michal Hocko wrote: [...] > In other words. Why cannot we do the following? Baoquan, this is certainly not the right fix but I would be really curious whether it makes the problem go away. > diff --git a/mm/migrate.c b/mm/migrate.c > index f7e4bfdc13b7..7ccab29bcf9a

[PATCH 4.9 07/83] MIPS: kexec: Mark CPU offline before disabling local IRQ

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dengcheng Zhu [ Upstream commit dc57aaf95a516f70e2d527d8287a0332c481a226 ] After changing CPU online status, it will not be sent any IPIs such as in __flush_cache_all() on software coherency

[PATCH 4.9 29/83] MIPS: Loongson-3: Fix CPU UART irq delivery problem

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit d06f8a2f1befb5a3d0aa660ab1c05e9b744456ea ] Masking/unmasking the CPU UART irq in CP0_Status (and redirecting it to other CPUs) may cause interrupts be lost, especially in

Re: [PATCH v3 03/10] sched/topology: Provide cfs_overload_cpus bitmap

2018-11-19 Thread Steven Sistare
On 11/9/2018 12:38 PM, Valentin Schneider wrote: > Hi Steve, > > On 09/11/2018 12:50, Steve Sistare wrote: > [...] >> @@ -482,6 +484,10 @@ static void update_top_cache_domain(int cpu) >> dirty_sched_domain_sysctl(cpu); >> destroy_sched_domains(tmp); >> >> +sd =

Re: [PATCH v2] x86/fpu: Disable BH while while loading FPU registers in __fpu__restore_sig()

2018-11-19 Thread Dave Hansen
On 11/19/18 9:27 AM, Borislav Petkov wrote: >>> I was really hoping for code comments. :) >> I though we agreed to make those in the larger series because those >> comments in __fpu__restore_sig() would be removed anyway (as part of the >> series). > Also, over local_bh_disable() does not really

Re: [PATCH v3 05/10] sched/fair: Hoist idle_stamp up from idle_balance

2018-11-19 Thread Steven Sistare
On 11/9/2018 2:07 PM, Valentin Schneider wrote: > Hi Steve, > > On 09/11/2018 12:50, Steve Sistare wrote: >> Move the update of idle_stamp from idle_balance to the call site in >> pick_next_task_fair, to prepare for a future patch that adds work to >> pick_next_task_fair which must be included in

Re: [PATCH 0/2] PCI/AER: Consistently use _OSC to determine who owns AER

2018-11-19 Thread Sinan Kaya
On 11/19/2018 11:53 AM, Keith Busch wrote: On Mon, Nov 19, 2018 at 11:53:05AM -0500, Tyler Baicar wrote: On Thu, Nov 15, 2018 at 8:49 PM Sinan Kaya wrote: On 11/15/2018 3:16 PM, Alexandru Gagniuc wrote: I've asked around a few people at Dell and they unanimously agree that _OSC is the

Re: [PATCH 0/7] ACPI HMAT memory sysfs representation

2018-11-19 Thread Dave Hansen
On 11/18/18 9:44 PM, Anshuman Khandual wrote: > IIUC NUMA re-work in principle involves these functional changes > > 1. Enumerating compute and memory nodes in heterogeneous environment > (short/medium term) This patch set _does_ that, though. > 2. Enumerating memory node attributes as seen

[PATCH 4.14 033/124] fuse: set FR_SENT while locked

2018-11-19 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 4c316f2f3ff315cb48efb7435621e5bfb81df96d upstream. Otherwise fuse_dev_do_write() could come in and finish off the request, and the set_bit(FR_SENT, ...) could trigger

[PATCH 4.14 051/124] reset: hisilicon: fix potential NULL pointer dereference

2018-11-19 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit e9a2310fb689151166df7fd9971093362d34bd79 upstream. There is a potential execution path in which function platform_get_resource() returns NULL. If this happens, we

Re: [PATCH 1/9] mm: Introduce new vm_insert_range API

2018-11-19 Thread Souptick Joarder
On Mon, Nov 19, 2018 at 9:56 PM Mike Rapoport wrote: > > On Mon, Nov 19, 2018 at 08:43:09PM +0530, Souptick Joarder wrote: > > Hi Mike, > > > > On Sat, Nov 17, 2018 at 8:07 PM Matthew Wilcox wrote: > > > > > > On Sat, Nov 17, 2018 at 12:26:38PM +0530, Souptick Joarder wrote: > > > > On Fri, Nov

Re: [PATCH v2] x86/fpu: Disable BH while while loading FPU registers in __fpu__restore_sig()

2018-11-19 Thread Borislav Petkov
On Mon, Nov 19, 2018 at 06:31:36PM +0100, Sebastian Andrzej Siewior wrote: > I though about __fpregs_changes_begin() in the last patch of the commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/bigeasy/staging.git/commit/?h=x86_fpu_rtu_v4 Also a good spot - api.h talks about preemption

[PATCH 4.9 00/83] 4.9.138-stable review

2018-11-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.138 release. There are 83 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Nov 21 16:25:13 UTC 2018. Anything

[PATCH 4.9 26/83] parisc: Align os_hpmc_size on word boundary

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit 0ed9d3de5f8f97e6efd5ca0e3377cab5f0451ead ] The os_hpmc_size variable sometimes wasn't aligned at word boundary and thus triggered the unaligned fault handler at startup. Fix it by

[PATCH 4.9 04/83] powerpc/nohash: fix undefined behaviour when testing page size support

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Axtens [ Upstream commit f5e284803a7206d43e26f9ffcae5de9626d95e37 ] When enumerating page size definitions to check hardware support, we construct a constant which is (1U << (def->shift

[PATCH 4.9 39/83] mach64: fix display corruption on big endian machines

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit 3c6c6a7878d00a3ac997a779c5b9861ff25dfcc8 upstream. The code for manual bit triple is not endian-clean. It builds the variable "hostdword" using byte accesses, therefore

[PATCH 4.9 46/83] mtd: docg3: dont set conflicting BCH_CONST_PARAMS option

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit be2e1c9dcf76886a83fb1c433a316e26d4ca2550 upstream. I noticed during the creation of another bugfix that the BCH_CONST_PARAMS option that is set by DOCG3 breaks setting

[PATCH 4.9 41/83] reset: hisilicon: fix potential NULL pointer dereference

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit e9a2310fb689151166df7fd9971093362d34bd79 upstream. There is a potential execution path in which function platform_get_resource() returns NULL. If this happens, we

[PATCH 4.9 03/83] ARM: imx_v6_v7_defconfig: Select CONFIG_TMPFS_POSIX_ACL

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam [ Upstream commit 35d3cbe84544da74e39e1cec01374092467e3119 ] Andreas Müller reports: "Fixes: | Sep 04 09:05:10 imx6qdl-variscite-som systemd-udevd[220]: Failed to apply ACL on

[PATCH 4.9 44/83] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andrea Arcangeli commit ac5b2c18911ffe95c08d69273917f90212cf5659 upstream. THP allocation might be really disruptive when allocated on NUMA system with the local node full or hard to reclaim.

[PATCH 4.9 08/83] powerpc/boot: Ensure _zimage_start is a weak symbol

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Joel Stanley [ Upstream commit ee9d21b3b3583712029a0db65a4b7c081d08d3b3 ] When building with clang crt0's _zimage_start is not marked weak, which breaks the build when linking the kernel

[PATCH 4.9 42/83] vhost/scsi: truncate T10 PI iov_iter to prot_bytes

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Greg Edwards commit 4542d623c7134bc1738f8a68ccb6dd546f1c264f upstream. Commands with protection information included were not truncating the protection iov_iter to the number of protection

[PATCH 4.9 40/83] mach64: fix image corruption due to reading accelerator registers

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit c09bcc91bb94ed91f1391bffcbe294963d605732 upstream. Reading the registers without waiting for engine idle returns unpredictable values. These unpredictable values result

Re: [PATCH v2] riscv: add asm/unistd.h UAPI header

2018-11-19 Thread Palmer Dabbelt
On Fri, 16 Nov 2018 18:39:45 PST (-0800), Olof Johansson wrote: On Thu, Nov 8, 2018 at 11:02 AM David Abdurachmanov wrote: Marcin Juszkiewicz reported issues while generating syscall table for riscv using 4.20-rc1. The patch refactors our unistd.h files to match some other architectures. -

[PATCH 4.9 05/83] drm/omap: fix memory barrier bug in DMM driver

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tomi Valkeinen [ Upstream commit 538f66ba204944470a653a45f8befdf97c22 ] A DMM timeout "timed out waiting for done" has been observed on DRA7 devices. The timeout happens rarely, and only

[PATCH 4.9 27/83] parisc: Fix HPMC handler by increasing size to multiple of 16 bytes

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- [ Upstream commit d5654e156bc4d68a87bbaa6d7e020baceddf6e68 ] Make sure that the HPMC (High Priority Machine Check) handler is 16-byte aligned and that it's length in the IVT is a multiple of 16 bytes.

[PATCH 4.9 09/83] MIPS/PCI: Call pcie_bus_configure_settings() to set MPS/MRRS

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Huacai Chen [ Upstream commit 2794f688b2c336e0da85e9f91fed33febbd9f54a ] Call pcie_bus_configure_settings() on MIPS, like for other platforms. The function pcie_bus_configure_settings() makes

[PATCH 4.9 38/83] Revert "ceph: fix dentry leak in splice_dentry()"

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit efe328230dc01aa0b1269aad0b5fae73eea4677a upstream. This reverts commit 8b8f53af1ed9df88a4c0fbfdf3db58f62060edf3. splice_dentry() is used by three places. For two places,

[PATCH 4.9 45/83] netfilter: conntrack: fix calculation of next bucket number in early_drop

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Khoruzhick commit f393808dc64149ccd0e5a8427505ba2974a59854 upstream. If there's no entry to drop in bucket that corresponds to the hash, early_drop() should look for it in other

[PATCH 4.9 06/83] media: pci: cx23885: handle adding to list failure

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire [ Upstream commit c5d59528e24ad22500347b199d52b9368e686a42 ] altera_hw_filt_init() which calls append_internal() assumes that the node was successfully linked in while in

[PATCH 4.9 43/83] ocfs2: fix a misuse a of brelse after failing ocfs2_check_dir_entry

2018-11-19 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Changwei Ge commit 29aa30167a0a2e6045a0d6d2e89d8168132333d5 upstream. Somehow, file system metadata was corrupted, which causes ocfs2_check_dir_entry() to fail in function

[PATCH 4.4 039/160] uio: ensure class is registered before devices

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni [ Upstream commit ae61cf5b9913027c6953a79ed3894da4f47061bd ] When both uio and the uio drivers are built in the kernel, it is possible for a driver to register devices before

[PATCH 4.4 006/160] parisc: Fix address in HPMC IVA

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 1138b6718ff74d2a934459643e3754423d23b5e2 upstream. Helge noticed that the address of the os_hpmc handler was not being correctly calculated in the hpmc macro. As a

[PATCH 4.4 037/160] usb: chipidea: Prevent unbalanced IRQ disable

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Loic Poulain [ Upstream commit 8b97d73c4d72a2abf58f8e49062a7ee1e5f1334e ] The ChipIdea IRQ is disabled before scheduling the otg work and re-enabled on otg work completion. However if the job

[PATCH 4.4 007/160] parisc: Fix map_pages() to not overwrite existing pte entries

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 3c229b3f2dd8133f61bb81d3cb018be92f4bba39 upstream. Fix a long-existing small nasty bug in the map_pages() implementation which leads to overwriting already written pte

[PATCH 4.4 000/160] 4.4.164-stable review

2018-11-19 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.164 release. There are 160 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed Nov 21 16:25:20 UTC 2018. Anything

[PATCH 4.4 038/160] driver/dma/ioat: Call del_timer_sync() without holding prep_lock

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Waiman Long [ Upstream commit cfb03be6c7e8a1591285849c361d67b09f5149f7 ] The following lockdep splat was observed: [ 1222.241750] == [

[PATCH 4.4 005/160] ipmi: Fix timer race with module unload

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Glauber commit 0711e8c1b4572d076264e71b0002d223f2666ed7 upstream. Please note that below oops is from an older kernel, but the same race seems to be present in the upstream kernel too.

[PATCH 4.4 004/160] pcmcia: Implement CLKRUN protocol disabling for Ricoh bridges

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Maciej S. Szmigiero commit 95691e3eddc41da2d1cd3cca51fecdfb46bd85bc upstream. Currently, "disable_clkrun" yenta_socket module parameter is only implemented for TI CardBus bridges. Add also an

[PATCH 4.4 008/160] ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905)

2018-11-19 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jeremy Cline commit e7bb6ad5685f05685dd8a6a5eda7bfcd14d5f95b upstream. The Lenovo G50-30, like other G50 models, has a Conexant codec that requires a quirk for its inverted stereo dmic.

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