[PATCH 4.8 033/140] dm: return correct error code in dm_resume()s retry loop

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Minfei Huang commit 8dc23658b7aaa8b6b0609c81c8ad75e98b612801 upstream. dm_resume() will return success (0) rather than -EINVAL if !dm_suspended_md() upon retry within dm_resume(). Reset the er

RE: [PATCH 1/6] dt/bindings: adjust bindings for Layerscape SCFG MSI

2016-10-26 Thread M.H. Lian
Hi Robin, Please see my comments inline. Thanks, Minghuan > -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Tuesday, October 25, 2016 9:01 PM > To: M.H. Lian ; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.or

[PATCH 4.8 036/140] dm crypt: fix crash on exit

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Rabin Vincent commit f659b10087daaf4ce0087c3f6aec16746be9628f upstream. As the documentation for kthread_stop() says, "if threadfn() may call do_exit() itself, the caller must ensure task_struc

[PATCH 4.8 007/140] spi: spidev_test: Fix buffer overflow in unescape()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit 0278b34bf15f8d8a609595b15909cd8622dd64ca upstream. Sometimes spidev_test crashes with: *** Error in `spidev_test': munmap_chunk(): invalid pointer: 0x00022020 ***

[PATCH 4.8 000/140] 4.8.5-stable review

2016-10-26 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.5 release. There are 140 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 Fri Oct 28 12:21:58 UTC 2016. Anything receive

[PATCH 4.8 005/140] clk: imx6: initialize GPU clocks

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit d8846023aed1293e54d33499558fc2aa2b2f393f upstream. Initialize the GPU clock muxes to sane inputs. Until now they have not been changed from their default values, which means

[PATCH 4.8 031/140] perf intel-pt: Fix MTC timestamp calculation for large MTC periods

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 3bccbe20f6d188ce7b00326e776b745cfd35b10a upstream. The MTC packet provides a 8-bit slice of CTC which is related to TSC by the TMA packet, however the TMA packet only provi

[PATCH 4.8 039/140] powerpc/powernv: Pass CPU-endian PE number to opal_pci_eeh_freeze_clear()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit d63e51b31e0b655ed0f581b8a8fd4c4b4f8d1919 upstream. The PE number (@frozen_pe_no), filled by opal_pci_next_error() is in big-endian format. It should be converted to CPU-endian

[PATCH 4.8 056/140] zfcp: restore tracing of handle for port and LUN with HBA records

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 7c964ffe586bc0c3d9febe9bf97a2e4b2866e5b7 upstream. This information was lost with commit a54ca0f62f953898b05549391ac2a8a4dad6482b ("[SCSI] zfcp: Redesign of the debug traci

[PATCH 4.8 047/140] IB/srp: Fix infinite loop when FMR sg[0].offset != 0

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 681cc3608355737c1effebc8145f95c8c3344bc3 upstream. Avoid that mapping an sg-list in which the first element has a non-zero offset triggers an infinite loop when using FMR

[PATCH 4.8 027/140] pstore/ram: Use memcpy_toio instead of memcpy

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Furquan Shaikh commit 7e75678d23167c2527e655658a8ef36a36c8b4d9 upstream. persistent_ram_update uses vmap / iomap based on whether the buffer is in memory region or reserved region. However, bot

[PATCH 4.8 009/140] ath10k: fix copy engine 5 destination ring stuck

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Rajkumar Manoharan commit 0628467f97b5227755428bac10a68257322f7e34 upstream. Firmware is running watchdog timer for tracking copy engine ring index and write index. Whenever both indices are st

linux-kernel@vger.kernel.org

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 94db3725f049ead24c96226df4a4fb375b880a77 upstream. commit 2c55b750a884b86dea8b4cc5f15e1484cc47a25c ("[SCSI] zfcp: Redesign of the debug tracing for SAN records.") started t

[PATCH 4.8 038/140] powerpc/vdso64: Use double word compare on pointers

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit 5045ea37377ce8cca6890d32b127ad6770e6dce5 upstream. __kernel_get_syscall_map() and __kernel_clock_getres() use cmpli to check if the passed in pointer is non zero. cmpli m

[PATCH 4.8 052/140] zfcp: close window with unblocked rport during rport gone

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 4eeaa4f3f1d6c47b69f70e97a4df4743363e upstream. On a successful end of reopen port forced, zfcp_erp_strategy_followup_success() re-uses the port erp_action and the subse

Re: [PATCH 0/7] mfd: Fix all W=1 warnings

2016-10-26 Thread Lee Jones
On Thu, 15 Sep 2016, Arnd Bergmann wrote: > On Thursday, September 15, 2016 11:45:14 AM CEST Lee Jones wrote: > > It really is as simple as it sounds! > > > > I seem to have one that you didn't find. Applied, thanks. > 8< > From 6c63171eba728fc6d8bc6358884deaccd4cee33d Mon Sep 17 00:00

[PATCH 4.8 029/140] perf intel-pt: Fix snapshot overlap detection decoder errors

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 810c398bc09b2f2dfde52a7d2483a710612c5fb8 upstream. Fix occasional decoder errors decoding trace data collected in snapshot mode. Snapshot mode can take successive snapshot

[PATCH 4.8 049/140] ubi: Deal with interrupted erasures in WL

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 2365418879e9abf12ea9def7f9f3caf0dfa7ffb0 upstream. When Fastmap is used we can face here an -EBADMSG since Fastmap cannot know about unmaps. If the erasure was interru

[PATCH 4.8 054/140] zfcp: restore: Dont use 0 to indicate invalid LUN in rec trace

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 0102a30a6ff60f4bb4c07358ca3b1f92254a6c25 upstream. bring back commit d21e9daa63e009ce5b87bbcaa6d11ce48e07bbbe ("[SCSI] zfcp: Dont use 0 to indicate invalid LUN in rec trace

[PATCH 4.8 053/140] zfcp: retain trace level for SCSI and HBA FSF response records

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 35f040df97fa0e94c7851c054ec71533c88b4b81 upstream. While retaining the actual filtering according to trace level, the following commits started to write such filtered recor

[PATCH 4.8 034/140] dm rq: take request_queue lock while clearing QUEUE_FLAG_STOPPED

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 9dbeaeabacb26260d1621fe58f0f6fdedc8860d4 upstream. Every call of queue_flag_clear_unlocked() after block device initialization has finished is wrong if blk_cleanup_queue() c

[PATCH 4.8 040/140] powerpc/eeh: Null check uses of eeh_pe_bus_get

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Russell Currey commit 04fec21c06e35b169a83e75a84a015ab4606bf5e upstream. eeh_pe_bus_get() can return NULL if a PCI bus isn't found for a given PE. Some callers don't check this, and can cause a

[PATCH 4.8 060/140] scsi: zfcp: spin_lock_irqsave() is not nestable

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit e7cb08e894a0b876443ef8fdb0706575dc00a5d2 upstream. We accidentally overwrite the original saved value of "flags" so that we can't re-enable IRQs at the end of the function.

[PATCH 4.8 071/140] MIPS: ptrace: Fix regs_return_value for kernel context

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Nowakowski commit 74f1077b5b783e7bf4fa3007cefdc8dbd6c07518 upstream. Currently regs_return_value always negates reg[2] if it determines the syscall has failed, but when called in kernel

Re: [PATCH v2] usb: musb: remove duplicated actions

2016-10-26 Thread Sergei Shtylyov
On 10/26/2016 03:01 PM, Kirill Esipov wrote: Removing unnecessary duplicated actions that we've got while merging: "Merge 4.1-rc7 into usb-next" 19915e623458 See Documentation/SubmittingPatches, it should be: 19915e623458 ("Merge 4.1-rc7 into usb-next"). Perhaps the MUSB maintainer can fix

[PATCH 4.8 045/140] powerpc/pseries: Fix stack corruption in htpe code

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Dufour commit 05af40e885955065aee8bb7425058eb3e1adca08 upstream. This commit fixes a stack corruption in the pseries specific code dealing with the huge pages. In __pSeries_lpar_hugepa

Re: [PATCH stable 4.4 2/4] mm: filemap: don't plant shadow entries without radix tree node

2016-10-26 Thread Greg KH
On Wed, Oct 26, 2016 at 02:47:53PM +0200, Michal Hocko wrote: > On Wed 26-10-16 14:45:53, Michal Hocko wrote: > > Greg, > > I do not see this one in the 4.4 queue you have just sent today. > > Scratch that. I can see it now on lkml. I just wasn't on the CC so it > hasn't shown up in my inbox. Sor

[PATCH 4.8 064/140] [media] mb86a20s: fix the locking logic

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit dafb65fb98d85d8e78405e82c83e81975e5d5480 upstream. On this frontend, it takes a while to start output normal TS data. That only happens on state S9. On S8, the TS o

[PATCH 4.8 041/140] powerpc/powernv: Use CPU-endian hub diag-data type in pnv_eeh_get_and_dump_hub_diag()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit a7032132d7560a8434e1f54b71efd7fa20f073bd upstream. The hub diag-data type is filled with big-endian data by OPAL call opal_pci_get_hub_diag_data(). We need convert it to CPU-e

[PATCH 4.8 037/140] powerpc/xmon: Dont use ld on 32-bit

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit b42d9023a31e384504f5b53fc9a437d5536a3f63 upstream. In commit 31cdd0c39c75 ("powerpc/xmon: Fix SPR read/write commands and add command to dump SPRs") I added two uses of

[PATCH 4.8 073/140] Input: elantech - force needed quirks on Fujitsu H760

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Matti Kurkela commit f9a703a54d16ba2470391c4b12236ee56591d50c upstream. Just like Fujitsu CELSIUS H730, the H760 also has an Elantech touchpad with the same quirks. Without this patch, the touc

[PATCH 4.8 069/140] ALSA: hda - Fix a failure of micmute led when having multi adcs

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 4875a5f7218068cdeea5f998330dfa3d118b2fea upstream. On a Dell laptop, there is no global adcs for all input devices, so the input devices use the different adc, as a result, dyn_

Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent()

2016-10-26 Thread Guenter Roeck
On 10/26/2016 05:58 AM, Lee Jones wrote: On Wed, 26 Oct 2016, Thomas Gleixner wrote: On Wed, 26 Oct 2016, Lee Jones wrote: On Fri, 14 Oct 2016, Guenter Roeck wrote: The call to irq_set_parent() causes the following build error if tps65217 is built as module. ERROR: ".irq_set_parent" [driver

[PATCH 4.8 062/140] ovl: Fix info leak in ovl_lookup_temp()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 6a45b3628ce4dcf7498b39c87d475bab6e2a9b24 upstream. The function uses the memory address of a struct dentry as unique id. While the address-based directory entry is onl

pmem.c:undefined reference to `nd_dax_probe'

2016-10-26 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9fe68cad6e74967b88d0c6aeca7d9cd6b6e91942 commit: e476f94482fc20a23b7b33b3d8e50f1953f71828 Merge branch 'for-4.9/dax' into libnvdimm-for-next date: 3 weeks ago config: x86_64-randconfig-s4-10261936 (attache

[PATCH 4.8 065/140] [media] mb86a20s: fix demod settings

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 505a0ea706fc1db4381baa6c6bd2e596e730a55e upstream. With the current settings, only one channel locks properly. That's likely because, when this driver was written,

[PATCH 4.8 043/140] powerpc/mm: Update FORCE_MAX_ZONEORDER range to allow hugetlb w/4K

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Aneesh Kumar K.V commit d5a1e42cb4be016a45a787953dd70c3bc4509da5 upstream. For hugetlb to work with 4K page size, we need MAX_ORDER to be 13 or more. When switching from a 64K page size to 4K l

[PATCH 4.8 087/140] soc/fsl/qe: fix gpio save_regs functions

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 5dc6f3fedee58efa343e822558fc3e2f0eb2ad1f upstream. of_mm_gpiochip_add_data() calls mm_gc->save_regs() before setting the data. Therefore ->save_regs() cannot use gpiochi

[PATCH 4.8 111/140] irqchip/eznps: Acknowledge NPS_IPI before calling the handler

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Noam Camus commit c0ca8df717061ae3d2ea624024033103c64210ae upstream. IPI_IRQ (also TIMER0_IRQ) should be acked before the action->handler is called in handle_percpu_devid_irq. The IPI irq is e

Re: [PATCH 11/13] ALSA: Deletion of checks before the function call "iounmap"

2016-10-26 Thread Dan Carpenter
Someone was just mentioning in another thread that removing the check from iounmap() is not portable to other arches and then I remembered that Markus removed a bunch of these. We should consider reverting this, perhaps? regards, dan carpenter On Sun, Jan 04, 2015 at 02:36:01PM +0100, SF Markus

[PATCH 4.8 139/140] target: Dont override EXTENDED_COPY xcopy_pt_cmd SCSI status code

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dinesh Israni commit 926317de33998c112c5510301868ea9aa34097e2 upstream. This patch addresses a bug where a local EXTENDED_COPY WRITE or READ backend I/O request would always return SAM_STAT_CHE

Re: [PATCH] mfd: intel-lpss: Do not put device in reset state on suspend

2016-10-26 Thread Lee Jones
On Wed, 12 Oct 2016, Azhar Shaikh wrote: > Commit 41a3da2b8e163 ("mfd: intel-lpss: Save register context on > suspend") saved the register context while going to suspend and > also put the device in reset state. > > Due to the resetting of device, system cannot enter S3/S0ix > states when no_cons

[PATCH 4.8 089/140] arm64: KVM: VHE: reset PSTATE.PAN on entry to EL2

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Murzin commit cb96408da4e11698674abd04aeac941c1bed2038 upstream. SCTLR_EL2.SPAN bit controls what happens with the PSTATE.PAN bit on an exception. However, this bit has no effect on th

[PATCH 4.8 124/140] powerpc/mm: Prevent unlikely crash in copro_calculate_slb()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Frederic Barrat commit d2cf909cda5f8c5609cb7ed6cda816c3e15528c7 upstream. If a cxl adapter faults on an invalid address for a kernel context, we may enter copro_calculate_slb() with a NULL mm p

[PATCH 4.8 108/140] sched/fair: Fix incorrect task group ->load_avg

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vincent Guittot commit b5a9b340789b2b24c6896bcf7a065c31a4db671c upstream. A scheduler performance regression has been reported by Joseph Salisbury, which he bisected back to: 3d30544f0212 ("

[PATCH 4.8 100/140] Fix regression which breaks DFS mounting

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Prabhu commit d171356ff11ab1825e456dfb979755e01b3c54a1 upstream. Patch a6b5058 results in -EREMOTE returned by is_path_accessible() in cifs_mount() to be ignored which breaks DFS mountin

[PATCH 4.8 095/140] Display number of credits available

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 9742805d6b1bfb45d7f267648c34fb5bcd347397 upstream. In debugging smb3, it is useful to display the number of credits available, so we can see when the server has not granted

[PATCH 4.8 077/140] NFS: Fix inode corruption in nfs_prime_dcache()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit 7dc72d5f7a0ec97a53e126c46e2cbd2560757955 upstream. Due to inode number reuse in filesystems, we can end up corrupting the inode on our client if we apply the file attribu

Re: [PATCH] mfd: exynos-lpass: Add hardware dependency

2016-10-26 Thread Lee Jones
On Fri, 14 Oct 2016, Jean Delvare wrote: > This driver is meant for Exynos systems so do not offer the option > elsewhere unless build-testing. > > Signed-off-by: Jean Delvare > Cc: Inha Song > Cc: Beomho Seo > Cc: Sylwester Nawrocki > Cc: Lee Jones > --- > drivers/mfd/Kconfig |1 + > 1

[PATCH 4.8 090/140] arc: dont leak bits of kernel stack into coredump

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 7798bf2140ebcc36eafec6a4194fffd8d585d471 upstream. On faulting sigreturn we do get SIGSEGV, all right, but anything we'd put into pt_regs could end up in the coredump. And since

Re: [PATCH 4.8 135/140] ubifs: Abort readdir upon error

2016-10-26 Thread Greg Kroah-Hartman
On Wed, Oct 26, 2016 at 02:40:36PM +0200, Richard Weinberger wrote: > Greg, > > On 26.10.2016 14:23, Greg Kroah-Hartman wrote: > > 4.8-stable review patch. If anyone has any objections, please let me know. > > This stable patch is buggy and needs a fixup patch. > Can you please hold back this pa

[PATCH 4.8 117/140] arm64: swp emulation: bound LL/SC retries before rescheduling

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 1c5b51dfb7b4564008e0cadec5381a69e88b0d21 upstream. If a CPU does not implement a global monitor for certain memory types, then userspace can attempt a kernel DoS by issuing S

[PATCH 4.8 116/140] memstick: rtsx_usb_ms: Manage runtime PM when accessing the device

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson commit 9158cb29e7c2f10dd325eb1589f0fe745a271257 upstream. Accesses to the rtsx usb device, which is the parent of the rtsx memstick device, must not be done unless it's runtime resu

[PATCH 4.8 132/140] ext4: do not advertise encryption support when disabled

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit c4704a4fbe834eee4109ca064131d440941f6235 upstream. The sysfs file /sys/fs/ext4/features/encryption was present on kernels compiled with CONFIG_EXT4_FS_ENCRYPTION=n. This wa

[PATCH 4.8 118/140] arm64: kaslr: fix breakage with CONFIG_MODVERSIONS=y

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 9c0e83c371cf4696926c95f9c8c77cd6ea803426 upstream. As it turns out, the KASLR code breaks CONFIG_MODVERSIONS, since the kcrctab has an absolute address field that is reloc

[PATCH 4.8 110/140] irqchip/gicv3: Handle loop timeout proper

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit d102eb5c1ac5e6743b1c6d145c06a25d98ad1375 upstream. The timeout loop terminates when the loop count is zero, but the decrement of the count variable is post check. So count

[PATCH 4.8 126/140] mmc: core: switch to 1V8 or 1V2 for hs400es mode

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Lin commit 1720d3545b772c49b2975eeb3b8f4d3f56dc2085 upstream. When introducing hs400es, I didn't notice that we haven't switched voltage to 1V2 or 1V8 for it. That happens to work as the

[PATCH 4.8 122/140] arm64: KVM: Take S1 walks into account when determining S2 write faults

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 60e21a0ef54cd836b9eb22c7cb396989b5b11648 upstream. The WnR bit in the HSR/ESR_EL2 indicates whether a data abort was generated by a read or a write instruction. For stage 2 d

[PATCH 4.8 131/140] fscrypto: lock inode while setting encryption policy

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit 8906a8223ad4909b391c5628f7991ebceda30e52 upstream. i_rwsem needs to be acquired while setting an encryption policy so that concurrent calls to FS_IOC_SET_ENCRYPTION_POLICY a

[PATCH 4.8 092/140] cifs: Limit the overall credit acquired

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall commit 7d414f396c91a3382e51cf628c1cf0709ad0188b upstream. The kernel client requests 2 credits for many operations even though they only use 1 credit (presumably to build up a bu

[PATCH 4.4 013/112] parisc: Fix kernel memory layout regarding position of __gp

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit f8850abb7ba68229838014b3409460e576751c6d upstream. Architecturally we need to keep __gp below 0x100. But because of ftrace and tracepoint support, the RO_DATA_SECTION n

[PATCH 4.8 098/140] Do not send SMB3 SET_INFO request if nothing is changing

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 18dd8e1a65ddae2351d0f0d6dd4a334f441fc5fa upstream. [CIFS] We had cases where we sent a SMB2/SMB3 setinfo request with all timestamp (and DOS attribute) fields marked as 0 (i

[PATCH 4.4 011/112] cpufreq: intel_pstate: Fix unsafe HWP MSR access

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Pandruvada commit f9f4872df6e1801572949f8a370c886122d4b6da upstream. This is a requirement that MSR MSR_PM_ENABLE must be set to 0x01 before reading MSR_HWP_CAPABILITIES on a given CPU

[PATCH 4.8 133/140] jbd2: fix incorrect unlock on j_list_lock

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Taesoo Kim commit 559cce698eaf4ccecb2213b2519ea3a0413e5155 upstream. When 'jh->b_transaction == transaction' (asserted by below) J_ASSERT_JH(jh, (jh->b_transaction == transaction || ... 'jo

[PATCH 4.8 086/140] metag: Only define atomic_dec_if_positive conditionally

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 35d04077ad96ed33ceea2501f5a4f1eacda77218 upstream. The definition of atomic_dec_if_positive() assumes that atomic_sub_if_positive() exists, which is only the case if metag

Re: [PATCH 11/13] ALSA: Deletion of checks before the function call "iounmap"

2016-10-26 Thread Johannes Berg
On Wed, 2016-10-26 at 15:26 +0300, Dan Carpenter wrote: > Someone was just mentioning in another thread that removing the check > from iounmap() is not portable to other arches and then I remembered > that Markus removed a bunch of these. > > We should consider reverting this, perhaps? Can't we t

[PATCH 4.8 079/140] NFSv4: nfs4_copy_delegation_stateid() must fail if the delegation is invalid

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit aa05c87f23efe417adc7ff9b4193b7201ec0dd79 upstream. We must not allow the use of delegations that have been revoked or are being returned. Signed-off-by: Trond Myklebust

[PATCH 4.4 010/112] platform: dont return 0 from platform_get_irq[_byname]() on error

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit e330b9a6bb35dc7097a4f02cb1ae7b6f96df92af upstream. of_irq_get[_byname]() return 0 iff irq_create_of_mapping() call fails. Returning both error code and 0 on failure is

[PATCH 4.8 075/140] sunrpc: fix write space race causing stalls

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit d48f9ce73c997573e1b512893fa6eddf353a6f69 upstream. Write space becoming available may race with putting the task to sleep in xprt_wait_for_buffer_space(). The existing mech

Re: [v3,6/9] mm/page_owner: use stackdepot to store stacktrace

2016-10-26 Thread Sascha Silbe
Dear Joonsoo, Joonsoo Kim writes: > Currently, we store each page's allocation stacktrace on corresponding > page_ext structure and it requires a lot of memory. This causes the > problem that memory tight system doesn't work well if page_owner is > enabled. Moreover, even with this large memor

[PATCH 4.4 018/112] pstore/ram: Use memcpy_fromio() to save old buffer

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Bresticker commit d771fdf94180de2bd811ac90cba75f0f346abf8d upstream. The ramoops buffer may be mapped as either I/O memory or uncached memory. On ARM64, this results in a device-type (s

[PATCH 4.8 113/140] cxl: Prevent adapter reset if an active context exists

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vaibhav Jain commit 70b565bbdb911023373e035225ab10077e4ab937 upstream. This patch prevents resetting the cxl adapter via sysfs in presence of one or more active cxl_context on it. This protects

[PATCH 4.8 085/140] watchdog: mt7621_wdt: Remove assignment of dev pointer

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Guenter Roeck commit 8355b3f94425ac8b9683869354be935795f055ca upstream. Commit 0254e953537c ("watchdog: Drop pointer to watchdog device from struct watchdog_device") removed the dev pointer fro

[PATCH 4.8 115/140] memstick: rtsx_usb_ms: Runtime resume the device when polling for cards

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 796aa46adf1d90eab36ae06a42e6d3f10b28a75c upstream. Accesses to the rtsx usb device, which is the parent of the rtsx memstick device, must not be done unless it's runtime resum

[PATCH 4.8 119/140] arm64: percpu: rewrite ll/sc loops in assembly

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Will Deacon commit 1e6e57d9b34a9075d5f9e2048ea7b09756590d11 upstream. Writing the outer loop of an LL/SC sequence using do {...} while constructs potentially allows the compiler to hoist memory

[PATCH 4.8 130/140] fscrypto: make XTS tweak initialization endian-independent

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit fb4454376df9d820d95452d71dd83da6971f9338 upstream. The XTS tweak (or IV) was initialized differently on little endian and big endian systems. Because the ciphertext depends

[PATCH 4.4 017/112] pstore/ram: Use memcpy_toio instead of memcpy

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Furquan Shaikh commit 7e75678d23167c2527e655658a8ef36a36c8b4d9 upstream. persistent_ram_update uses vmap / iomap based on whether the buffer is in memory region or reserved region. However, bot

[PATCH 4.8 066/140] [media] cx231xx: dont return error on success

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 1871d718a9db649b70f0929d2778dc01bc49b286 upstream. The cx231xx_set_agc_analog_digital_mux_select() callers expect it to return 0 or an error. Returning a positive v

Re: [Question] Git histrory after greybus merge

2016-10-26 Thread Dmitry Safonov
Adding Cc: git list, Junio. 2016-10-26 15:55 GMT+03:00 Dmitry Safonov <0x7f454...@gmail.com>: > Hi, > > Is there any way to specify git-log or git-rev-list which root tree to use? > I mean, I got the following situation: > I saw the commit a67dd266adf4 ("netfilter: xtables: prepare for > on-demand

[PATCH 4.4 015/112] pstore/ramoops: fixup driver removal

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 4407de74df18ed405cc5998990004c813ccfdbde upstream. A basic rmmod ramoops segfaults. Let's see why. Since commit 34f0ec82e0a9 ("pstore: Correct the max_dump_cnt

Re: [RFC PATCH v2 1/9] drm: Add writeback connector type

2016-10-26 Thread Daniel Vetter
On Wed, Oct 26, 2016 at 01:42:42PM +0100, Brian Starkey wrote: > On Wed, Oct 26, 2016 at 01:00:21PM +0200, Daniel Vetter wrote: > > On Wed, Oct 26, 2016 at 09:55:00AM +0100, Brian Starkey wrote: > > > diff --git a/drivers/gpu/drm/drm_writeback.c > > > b/drivers/gpu/drm/drm_writeback.c > > > new fi

[PATCH 4.8 138/140] target: Make EXTENDED_COPY 0xe4 failure return COPY TARGET DEVICE NOT REACHABLE

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 449a137846c84829a328757cd21fd9ca65c08519 upstream. This patch addresses a bug where EXTENDED_COPY across multiple LUNs results in a CHECK_CONDITION when the source + d

[PATCH 4.4 036/112] zfcp: retain trace level for SCSI and HBA FSF response records

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 35f040df97fa0e94c7851c054ec71533c88b4b81 upstream. While retaining the actual filtering according to trace level, the following commits started to write such filtered recor

[PATCH 4.8 128/140] mmc: rtsx_usb_sdmmc: Handle runtime PM while changing the led

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ulf Hansson commit 4f48aa7a11bfed9502a7c85a5b68cd40ea827f73 upstream. Accesses of the rtsx sdmmc's parent device, which is the rtsx usb device, must be done when it's runtime resumed. Currently

[PATCH 4.8 046/140] powerpc/mm/hash64: Fix might_have_hea() check

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 08bf75ba852ef8304a84b6a030466b4b4850382e upstream. In commit 2b4e3ad8f579 ("powerpc/mm/hash64: Don't test for machine type to detect HEA special case") we changed the lo

[PATCH 4.8 042/140] powerpc/powernv: Use CPU-endian PEST in pnv_pci_dump_p7ioc_diag_data()

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Gavin Shan commit 5adaf8629b193f185ca5a1665b9e777a0579f518 upstream. This fixes the warnings reported from sparse: pci.c:312:33: warning: restricted __be64 degrades to integer pci.c:313:33

[PATCH 4.8 136/140] target/tcm_fc: use CPU affinity for responses

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit 1ba0158fa66b5b2c597a748f87be1650c9960ccc upstream. The libfc stack assigns exchange IDs based on the CPU the request was received on, so we need to send the responses via

[PATCH 4.8 102/140] x86/e820: Dont merge consecutive E820_PRAM ranges

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 23446cb66c073b827779e5eb3dec301623299b32 upstream. Commit: 917db484dc6a ("x86/boot: Fix kdump, cleanup aborted E820_PRAM max_pfn manipulation") ... fixed up the broken

[PATCH 4.8 044/140] powerpc/64: Fix incorrect return value from __copy_tofrom_user

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 1a34439e5a0b2235e43f96816dbb15ee1154f656 upstream. Debugging a data corruption issue with virtio-net/vhost-net led to the observation that __copy_tofrom_user was occasiona

[PATCH 4.8 093/140] fs/cifs: keep guid when assigning fid to fileinfo

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Aurelien Aptel commit 94f873717571c759b7928399cbbddfa3d569bd01 upstream. When we open a durable handle we give a Globally Unique Identifier (GUID) to the server which we must keep for later ref

[PATCH 4.8 135/140] ubifs: Abort readdir upon error

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit c83ed4c9dbb358b9e7707486e167e940d48bfeed upstream. If UBIFS is facing an error while walking a directory, it reports this error and ubifs_readdir() returns the error c

[PATCH 4.8 094/140] Clarify locking of cifs file and tcon structures and make more granular

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 3afca265b5f53a0b15b79531c13858049505582d upstream. Remove the global file_list_lock to simplify cifs/smb3 locking and have spinlocks that more closely match the information

[PATCH 4.8 121/140] arm64: Cortex-A53 errata workaround: check for kernel addresses

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Andre Przywara commit 87261d19046aeaeed8eb3d2793fde850ae1b5c9e upstream. Commit 7dd01aef0557 ("arm64: trap userspace "dc cvau" cache operation on errata-affected core") adds code to execute cac

Re: [PATCH v5 10/18] x86/intel_rdt: Build structures for each resource based on cache topology

2016-10-26 Thread Thomas Gleixner
On Sat, 22 Oct 2016, Fenghua Yu wrote: > +void rdt_cbm_update(void *arg) > +{ > + struct msr_param *m = (struct msr_param *)arg; > + struct rdt_resource *r = m->res; > + int i, cpu = smp_processor_id(); > + struct rdt_domain *d; > + > + list_for_each_entry(d, &r->domains, list)

Re: [tip:x86/vdso] x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*

2016-10-26 Thread Paul Bolle
This is bit late, but we're still on v4.9-rc2, so anyhow. On Wed, 2016-09-14 at 12:34 -0700, tip-bot for Dmitry Safonov wrote: > Commit-ID:  2eefd8789698e89c4a5d610921dc3c1b66e3bd0d > Gitweb: http://git.kernel.org/tip/2eefd8789698e89c4a5d610921dc3c1b66e3bd0d > Author: Dmitry Safonov > Aut

[PATCH 4.8 076/140] NFSD: fix corruption in notifier registration

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 1eca45f8a840987d0df355e0176921653e4f7ec2 upstream. By design notifier can be registered once only, however nfsd registers the same inetaddr notifiers per net-namespace. Wh

[PATCH 4.8 082/140] pnfs/blocklayout: fix last_write_offset incorrectly set to page boundary

2016-10-26 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit a3f9d1b58a9ffce011ef4f074bfa36ae30eade28 upstream. Commit 41963c10c47a35185e68cb9049f7a3493c94d2d7 sets the block layout's last written byte to the offset of the end

Re: [PATCH 0/2] objtool: a couple of minor fixes

2016-10-26 Thread Josh Poimboeuf
On Wed, Oct 26, 2016 at 07:43:41AM -0500, Josh Poimboeuf wrote: > On Wed, Oct 26, 2016 at 07:37:39AM -0500, Josh Poimboeuf wrote: > > On Wed, Oct 26, 2016 at 09:58:29AM +0200, Arnd Bergmann wrote: > > > On Thursday, October 13, 2016 4:22:51 PM CEST Josh Poimboeuf wrote: > > > > Fix a couple of issu

[PATCH 4.4 050/112] [media] cx231xx: fix GPIOs for Pixelview SBTVD hybrid

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 24b923f073ac37eb744f56a2c7f77107b8219ab2 upstream. This device uses GPIOs: 28 to switch between analog and digital modes: on digital mode, it should be set to 1. T

[PATCH 4.4 035/112] zfcp: close window with unblocked rport during rport gone

2016-10-26 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 4eeaa4f3f1d6c47b69f70e97a4df4743363e upstream. On a successful end of reopen port forced, zfcp_erp_strategy_followup_success() re-uses the port erp_action and the subse

<    3   4   5   6   7   8   9   10   11   12   >