[PATCH 4.13 31/43] scsi: aacraid: Fix controller initialization failure

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Raghava Aditya Renukunta commit 45348de2c8a7a1e64c5be27b22c9786b4152dd41 upstream. This is a fix to an issue where the driver sends its periodic WELLNESS command to the controller after the

[PATCH 4.13 06/43] Fix tracing sample code warning.

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit a0cb2b5c390151837b08e5f7bca4a6ecddbcd39c upstream. Commit 6575257c60e1 ("tracing/samples: Fix creation and deletion of simple_thread_fn creation") introduced a new

[PATCH 4.13 42/43] regulator: fan53555: fix I2C device ids

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Tucker commit fcb885437f374ed54aadda44d8b241ebd2a3 upstream. The device tree nodes all correctly describe the regulators as syr827 or syr828, but the I2C device id is currently

[PATCH 4.13 01/43] workqueue: replace pool->manager_arb mutex with a flag

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 692b48258dda7c302e777d7d5f4217244478f1f6 upstream. Josef reported a HARDIRQ-safe -> HARDIRQ-unsafe lock order detected by lockdep: [ 1270.472259] WARNING: HARDIRQ-safe ->

[PATCH 4.13 10/43] s390/kvm: fix detection of guest machine checks

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit 0a5e2ec2647737907d267c09dc9a25fab1468865 upstream. The new detection code for guest machine checks added a check based on %r11 to .Lcleanup_sie to distinguish

[PATCH 4.13 09/43] KVM: PPC: Book3S: Protect kvmppc_gpa_to_ua() with SRCU

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kardashevskiy commit 8f6a9f0d0604817f7c8d4376fd51718f1bf192ee upstream. kvmppc_gpa_to_ua() accesses KVM memory slot array via srcu_dereference_check() and this produces warnings from

[PATCH 4.9 18/23] can: kvaser_usb: Correct return value in printout

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Assarsson commit 8f65a923e6b628e187d5e791cf49393dd5e8c2f9 upstream. If the return value from kvaser_usb_send_simple_msg() was non-zero, the return value from kvaser_usb_flush_queue() was

[PATCH 4.9 02/23] ALSA: hda/realtek - Add support for ALC236/ALC3204

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 736f20a7060857ff569e9e9586ae6c1204a73e07 upstream. Add support for ALC236/ALC3204. Add headset mode support for ALC236/ALC3204. Signed-off-by: Kailang Yang Signed-off-by:

[PATCH 4.13 05/43] ceph: unlock dangling spinlock in try_flush_caps()

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 6c2838fbdedb9b72a81c931d49e56b229b6cdbca upstream. sparse warns: fs/ceph/caps.c:2042:9: warning: context imbalance in 'try_flush_caps' - wrong count at exit We need to

Re: [PATCH V4 00/12] drivers: Boot Constraints core

2017-10-31 Thread Viresh Kumar
Hi Rob, On 30-10-17, 17:07, Rob Herring wrote: > Would probing the display earlier solve this as that's also something > people care about (or work-around by initializing the display in the > bootloader). Not always. And probing the display earlier may result in breaking some other devices. For

[PATCH 4.13 07/43] KVM: PPC: Fix oops when checking KVM_CAP_PPC_HTM

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kurz commit ac64115a66c18c01745bbd3c47a36b124e5fd8c0 upstream. The following program causes a kernel oops: #include #include #include #include #include main() { int fd =

[PATCH 4.13 39/43] can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Assarsson commit e1d2d1329a5722dbecc9c278303fcc4aa01f8790 upstream. To avoid kernel warning "Unhandled message (68)", ignore the CMD_FLUSH_QUEUE_REPLY message for now. As of Leaf v2

[PATCH 4.13 37/43] can: sun4i: fix loopback mode

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Gerhard Bertelsmann commit 3a379f5b36ae039dfeb6f73316e47ab1af4945df upstream. Fix loopback mode by setting the right flag and remove presume mode. Signed-off-by: Gerhard Bertelsmann

[PATCH 4.13 32/43] scsi: qla2xxx: Initialize Work element before requesting IRQs

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Himanshu Madhani commit 1010f21ecf8ac43be676d498742de18fa6c20987 upstream. commit a9e170e28636 ("scsi: qla2xxx: Fix uninitialized work element") moved initializiation of work element earlier

[PATCH 4.13 34/43] x86/cpu/AMD: Apply the Erratum 688 fix when the BIOS doesnt

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit bfc1168de949cd3e9ca18c3480b5085deff1ea7c upstream. Some F14h machines have an erratum which, "under a highly specific and detailed set of internal timing conditions"

[PATCH 4.13 33/43] scsi: sg: Re-fix off by one in sg_fill_request_table()

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 587c3c9f286cee5c9cac38d28c8ae1875f4ec85b upstream. Commit 109bade9c625 ("scsi: sg: use standard lists for sg_requests") introduced an off-by-one error in sg_ioctl(),

[PATCH 4.13 04/43] ALSA: hda - fix headset mic problem for Dell machines with alc236

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit f265788c336979090ac80b9ae173aa817c4fe40d upstream. We have several Dell laptops which use the codec alc236, the headset mic can't work on these machines. Following the commit

Re: possible deadlock in snd_seq_deliver_event

2017-10-31 Thread Takashi Iwai
On Tue, 31 Oct 2017 09:39:41 +0100, Dmitry Vyukov wrote: > > On Tue, Oct 31, 2017 at 11:10 AM, Takashi Iwai wrote: > > On Sun, 29 Oct 2017 10:57:58 +0100, > > Takashi Iwai wrote: > >> > >> On Fri, 27 Oct 2017 10:11:18 +0200, > >> Dmitry Vyukov wrote: > >> > > >> > On Fri, Oct 27, 2017 at 10:09

[PATCH 4.13 29/43] assoc_array: Fix a buggy node-splitting case

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit ea6789980fdaa610d7eb63602c746bf6ec70cd2b upstream. This fixes CVE-2017-12193. Fix a case in the assoc_array implementation in which a new leaf is added that needs to go

[PATCH 4.13 30/43] scsi: zfcp: fix erp_action use-before-initialize in REC action trace

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit ab31fd0ce65ec93828b617123792c1bb7c6dcc42 upstream. v4.10 commit 6f2ce1c6af37 ("scsi: zfcp: fix rport unblock race with LUN recovery") extended accessing parent pointer

Re: [Intel-gfx] [PATCH v5 2/2] drm/i915: Acquire PUNIT->PMIC bus for intel_uncore_forcewake_reset()

2017-10-31 Thread Daniel Vetter
On Tue, Oct 31, 2017 at 10:50:06AM +0100, Ingo Molnar wrote: > > * Hans de Goede wrote: > > > intel_uncore_forcewake_reset() does forcewake puts and gets as such > > we need to make sure that no-one tries to access the PUNIT->PMIC bus > > (on systems where this bus is shared) while it runs,

[PATCH 4.13 28/43] SMB3: Validate negotiate request must always be signed

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 4587eee04e2ac7ac3ac9fa2bc164fb6e548f99cd upstream. According to MS-SMB2 3.2.55 validate_negotiate request must always be signed. Some Windows can fail the request if you

[PATCH 4.13 27/43] Fix encryption labels and lengths for SMB3.1.1

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Steve French commit 06e2290844fa408d3295ac03a1647f0798518ebe upstream. SMB3.1.1 is most secure and recent dialect. Fixup labels and lengths for sMB3.1.1 signing and encryption.

Re: kvm: GPF in native_write_cr4

2017-10-31 Thread Wanpeng Li
2017-10-31 17:59 GMT+08:00 Dmitry Vyukov : > Hello, > > I am seeing the following crash on upstream > 15f859ae5c43c7f0a064ed92d33f7a5bc5de6de0 (Oct 26). > Reproducer: >

[PATCH 4.13 26/43] Input: gtco - fix potential out-of-bound access

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit a50829479f58416a013a4ccca791336af3c584c7 upstream. parse_hid_report_descriptor() has a while (i < length) loop, which only guarantees that there's at least 1 byte in

[PATCH 4.13 36/43] drm/i915/perf: fix perf enable/disable ioctls with 32bits userspace

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Lionel Landwerlin commit 7277f755048da562eb2489becacd38d0d05e1e06 upstream. The compat callback was missing and triggered failures in 32bits userspace when enabling/disable the perf stream.

[PATCH 4.13 22/43] xen: fix booting ballooned down hvm guest

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Juergen Gross commit 5266b8e4445cc836c46689d80a9ff539fa3bfbda upstream. Commit 96edd61dcf44362d3ef0bed1a5361e0ac7886a63 ("xen/balloon: don't online new memory initially") introduced a

[PATCH 4.13 35/43] drm/amd/powerplay: fix uninitialized variable

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Rex Zhu commit 8b95f4f730cba02ef6febbdc4ca7e55ca045b00e upstream. refresh_rate was not initialized when program display gap. this patch can fix vce ring test failed when do S3 on Polaris10.

[PATCH 4.13 25/43] Input: elan_i2c - add ELAN0611 to the ACPI table

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 57a95b41869b8f0d1949c24df2a9dac1ca7082ee upstream. ELAN0611 touchpad uses elan_i2c as its driver. It can be found on Lenovo ideapad 320-15IKB. So add it to ACPI table to

kvm: GPF in native_write_cr4

2017-10-31 Thread Dmitry Vyukov
Hello, I am seeing the following crash on upstream 15f859ae5c43c7f0a064ed92d33f7a5bc5de6de0 (Oct 26). Reproducer: https://gist.githubusercontent.com/dvyukov/a9690f90c39c1e3b1b6c7acda2d5ef89/raw/33e07f3d6779005fc475764e0802e4a5aee8d0cf/gistfile1.txt I run qemu with -append "kvm-intel.nested=1"

[PATCH 4.13 08/43] KVM: PPC: Book3S HV: POWER9 more doorbell fixes

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 2cde3716321ec64a1faeaf567bd94100c7b4160f upstream. - Add another case where msgsync is required. - Required barrier sequence for global doorbells is msgsync ; lwsync

[PATCH 4.13 00/43] 4.13.11-stable review

2017-10-31 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.13.11 release. There are 43 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 Thu Nov 2 09:55:17 UTC 2017. Anything

[PATCH 4.13 16/43] ovl: add NULL check in ovl_alloc_inode

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Hirofumi Nakagawa commit b3885bd6edb41b91a0e3976469f72ae31bfb8d95 upstream. This was detected by fault injection test Signed-off-by: Hirofumi Nakagawa Fixes: 13cf199d0088 ("ovl: allocate an

[PATCH 4.13 38/43] can: kvaser_usb: Correct return value in printout

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Assarsson commit 8f65a923e6b628e187d5e791cf49393dd5e8c2f9 upstream. If the return value from kvaser_usb_send_simple_msg() was non-zero, the return value from kvaser_usb_flush_queue()

[PATCH 4.9 00/23] 4.9.60-stable review

2017-10-31 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.60 release. There are 23 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 Thu Nov 2 09:55:07 UTC 2017. Anything

Re: [RFC PATCH 3/5] gpio: gpiolib: Add chardev support for maintaining GPIO values on reset

2017-10-31 Thread Linus Walleij
On Thu, Oct 26, 2017 at 2:05 AM, Andrew Jeffery wrote: > I feel that taking this argument to its logical conclusion leads to > never exporting any GPIOs to userspace and doing everything in the > kernel. That is very much how I feel about things anyways. In a recent presentation:

[PATCH 4.13 41/43] ipsec: Fix aborted xfrm policy dump crash

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit 1137b5e2529a8f5ca8ee709288ecba3e68044df2 upstream. An independent security researcher, Mohamed Ghannam, has reported this vulnerability to Beyond Security's SecuriTeam

[PATCH 4.13 23/43] cifs: Select all required crypto modules

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Gilbert commit 5b454a64555055aaa5769b3ba877bd911d375d5a upstream. Some dependencies were lost when CIFS_SMB2 was merged into CIFS. Fixes: 2a38e12053b7 ("[SMB3] Remove ifdef since

[PATCH 4.13 40/43] cfg80211: fix connect/disconnect edge cases

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 51e13359cd5ea34acc62c90627603352956380af upstream. If we try to connect while already connected/connecting, but this fails, we set ssid_len=0 but leave current_bss

Re: [PATCH v2] x86/cpufeatures: Enable new SSE/AVX/AVX512 cpu features

2017-10-31 Thread Borislav Petkov
On Mon, Oct 30, 2017 at 06:20:29PM -0700, Gayatri Kammela wrote: > Add a few new SSE/AVX/AVX512 instruction groups/features for enumeration > in /proc/cpuinfo: AVX512_VBMI2, GFNI, VAES, VPCLMULQDQ, AVX512_VNNI, > AVX512_BITALG. > > CPUID.(EAX=7,ECX=0):ECX[bit 6] AVX512_VBMI2 >

Re: [PATCH] mfd: ab8500-debugfs: Use common error handling code in ab8500_print_modem_registers()

2017-10-31 Thread Linus Walleij
On Fri, Oct 27, 2017 at 5:37 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 27 Oct 2017 17:20:45 +0200 > > Add jump targets so that two error messages are stored only once > at the end of this function implementation. > > This issue was detected by using the Coccinelle

[PATCH][V2] net: ethernet: slicoss: remove redundant initialization of idx

2017-10-31 Thread Colin King
From: Colin Ian King Variable idx is being initialized and later on over-written by a new value in a do-loop without the initial value ever being read. Hence the initializion is redundant and can be removed. Cleans up clang warning: drivers/net/ethernet/alacritech/slicoss.c:358:15: warning:

Re: BUG: unable to handle kernel paging request in ata_bmdma_qc_prep

2017-10-31 Thread Dmitry Vyukov
On Tue, Oct 31, 2017 at 1:06 PM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 1f183459b5144384e2669a3f757d36bacab108cf > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is

[PATCH 4.13 19/43] ovl: do not cleanup unsupported index entries

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit fa0096e3bad69ed6f34843fd7ae1c45ca987012a upstream. With index=on, ovl_indexdir_cleanup() tries to cleanup invalid index entries (e.g. bad index name). This behavior

[PATCH 4.13 17/43] ovl: fix EIO from lookup of non-indexed upper

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 6eaf011144af10cad34c0d46f82e50d382c8e926 upstream. Commit fbaf94ee3cd5 ("ovl: don't set origin on broken lower hardlink") attempt to avoid the condition of non-indexed

[PATCH 4.13 13/43] spi: a3700: Return correct value on timeout detection

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Maxime Chevallier commit 5a866ec0014b2baa4ecbb1eaa19c835482829d08 upstream. When waiting for transfer completion, a3700_spi_wait_completion returns a boolean indicating if a timeout occurred.

[PATCH 4.13 15/43] spi: armada-3700: Fix failing commands with quad-SPI

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Miquel Raynal commit 747e1f60470b975363cbbfcde0c41a3166391be5 upstream. A3700 SPI controller datasheet states that only the first line (IO0) is used to receive and send instructions,

[PATCH 4.13 14/43] spi: bcm-qspi: Fix use after free in bcm_qspi_probe() in error path

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit c0368e4db4a3e8a3dce40f3f621c06e14c560d79 upstream. There was an inversion in how the error path in bcm_qspi_probe() is done which would make us trip over a KASAN

[PATCH 4.13 12/43] spi: uapi: spidev: add missing ioctl header

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Baruch Siach commit a2b4a79b88b24c49d98d45a06a014ffd22ada1a4 upstream. The SPI_IOC_MESSAGE() macro references _IOC_SIZEBITS. Add linux/ioctl.h to make sure this macro is defined. This fixes

Re: [PATCH v5 2/2] drm/i915: Acquire PUNIT->PMIC bus for intel_uncore_forcewake_reset()

2017-10-31 Thread Hans de Goede
Hi, On 31-10-17 10:50, Ingo Molnar wrote: * Hans de Goede wrote: intel_uncore_forcewake_reset() does forcewake puts and gets as such we need to make sure that no-one tries to access the PUNIT->PMIC bus (on systems where this bus is shared) while it runs, otherwise bad things happen.

[PATCH 4.13 11/43] nbd: handle interrupted sendmsg with a sndtimeo set

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit 32e67a3a06b88904155170560b7a63d372b320bd upstream. If you do not set sk_sndtimeo you will get -ERESTARTSYS if there is a pending signal when you enter sendmsg, which we

[PATCH 4.9 09/23] fuse: fix READDIRPLUS skipping an entry

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit c6cdd51404b7ac12dd95173ddfc548c59ecf037f upstream. Marios Titas running a Haskell program noticed a problem with fuse's readdirplus: when it is interrupted by a signal,

[PATCH 4.9 05/23] usb: xhci: Handle error condition in xhci_stop_device()

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mayank Rana commit b3207c65dfafae27e7c492cb9188c0dc0eeaf3fd upstream. xhci_stop_device() calls xhci_queue_stop_endpoint() multiple times without checking the return value.

Re: [PATCH v2] fs: fsnotify: account fsnotify metadata to kmemcg

2017-10-31 Thread Jan Kara
On Tue 31-10-17 00:39:58, Yang Shi wrote: > On 10/30/17 5:43 AM, Jan Kara wrote: > >On Sat 28-10-17 02:22:18, Yang Shi wrote: > >>If some process generates events into a huge or unlimit event queue, but no > >>listener read them, they may consume significant amount of memory silently > >>until oom

[PATCH 4.9 07/23] spi: uapi: spidev: add missing ioctl header

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Baruch Siach commit a2b4a79b88b24c49d98d45a06a014ffd22ada1a4 upstream. The SPI_IOC_MESSAGE() macro references _IOC_SIZEBITS. Add linux/ioctl.h to make sure this macro is defined. This fixes

[PATCH 4.9 04/23] ceph: unlock dangling spinlock in try_flush_caps()

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 6c2838fbdedb9b72a81c931d49e56b229b6cdbca upstream. sparse warns: fs/ceph/caps.c:2042:9: warning: context imbalance in 'try_flush_caps' - wrong count at exit We need to

[PATCH 4.9 23/23] ecryptfs: fix dereference of NULL user_key_payload

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit f5c09ab489a11ca490d6a82df57cfc1bea3e upstream. In eCryptfs, we failed to verify that the authentication token keys are not revoked before dereferencing their payloads,

[PATCH 4.9 19/23] can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Assarsson commit e1d2d1329a5722dbecc9c278303fcc4aa01f8790 upstream. To avoid kernel warning "Unhandled message (68)", ignore the CMD_FLUSH_QUEUE_REPLY message for now. As of Leaf v2

[PATCH 4.9 22/23] regulator: fan53555: fix I2C device ids

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Tucker commit fcb885437f374ed54aadda44d8b241ebd2a3 upstream. The device tree nodes all correctly describe the regulators as syr827 or syr828, but the I2C device id is currently

Re: possible deadlock in snd_seq_deliver_event

2017-10-31 Thread Dmitry Vyukov
On Tue, Oct 31, 2017 at 12:58 PM, Takashi Iwai wrote: > On Tue, 31 Oct 2017 09:39:41 +0100, > Dmitry Vyukov wrote: >> >> On Tue, Oct 31, 2017 at 11:10 AM, Takashi Iwai wrote: >> > On Sun, 29 Oct 2017 10:57:58 +0100, >> > Takashi Iwai wrote: >> >> >> >> On Fri, 27 Oct 2017 10:11:18 +0200, >> >>

[PATCH 4.9 20/23] cfg80211: fix connect/disconnect edge cases

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit 51e13359cd5ea34acc62c90627603352956380af upstream. If we try to connect while already connected/connecting, but this fails, we set ssid_len=0 but leave current_bss

[PATCH 4.9 17/23] can: sun4i: fix loopback mode

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Gerhard Bertelsmann commit 3a379f5b36ae039dfeb6f73316e47ab1af4945df upstream. Fix loopback mode by setting the right flag and remove presume mode. Signed-off-by: Gerhard Bertelsmann

[PATCH 4.9 15/23] scsi: sg: Re-fix off by one in sg_fill_request_table()

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 587c3c9f286cee5c9cac38d28c8ae1875f4ec85b upstream. Commit 109bade9c625 ("scsi: sg: use standard lists for sg_requests") introduced an off-by-one error in sg_ioctl(), which

Re: [PATCH v2] sched/sysctl: Fix attributes of some extern declarations

2017-10-31 Thread Ingo Molnar
* Matthias Kaehlcke wrote: > The definition of sysctl_sched_migration_cost, sysctl_sched_nr_migrate > and sysctl_sched_time_avg includes the attribute const_debug. This > attribute is not part of the extern declaration of these variables in > include/linux/sched/sysctl.h, as a result clang

[PATCH 4.13 03/43] ALSA: hda/realtek - Add support for ALC236/ALC3204

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 736f20a7060857ff569e9e9586ae6c1204a73e07 upstream. Add support for ALC236/ALC3204. Add headset mode support for ALC236/ALC3204. Signed-off-by: Kailang Yang

[PATCH 4.13 18/43] ovl: handle ENOENT on index lookup

2017-10-31 Thread Greg Kroah-Hartman
4.13-stable review patch. If anyone has any objections, please let me know. -- From: Amir Goldstein commit 7937a56fdf0b064c2ffa33025210f725a4ebc822 upstream. Treat ENOENT from index entry lookup the same way as treating a returned negative dentry. Apparently, either could be

Re: WARNING in get_pi_state

2017-10-31 Thread Peter Zijlstra
On Tue, Oct 31, 2017 at 12:29:50PM +0300, Dmitry Vyukov wrote: > I understand your sentiment, but it's definitely not _at all_. The > system compiled this exact code, run it and triggered the bug on it. > Do you have suggestions on how to make this code more portable? How > does this setup would

[PATCH 4.9 12/23] Input: gtco - fix potential out-of-bound access

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit a50829479f58416a013a4ccca791336af3c584c7 upstream. parse_hid_report_descriptor() has a while (i < length) loop, which only guarantees that there's at least 1 byte in the

[PATCH 4.9 13/23] assoc_array: Fix a buggy node-splitting case

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit ea6789980fdaa610d7eb63602c746bf6ec70cd2b upstream. This fixes CVE-2017-12193. Fix a case in the assoc_array implementation in which a new leaf is added that needs to go

[PATCH 4.9 11/23] Input: elan_i2c - add ELAN0611 to the ACPI table

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 57a95b41869b8f0d1949c24df2a9dac1ca7082ee upstream. ELAN0611 touchpad uses elan_i2c as its driver. It can be found on Lenovo ideapad 320-15IKB. So add it to ACPI table to

[PATCH 4.9 01/23] workqueue: replace pool->manager_arb mutex with a flag

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 692b48258dda7c302e777d7d5f4217244478f1f6 upstream. Josef reported a HARDIRQ-safe -> HARDIRQ-unsafe lock order detected by lockdep: [ 1270.472259] WARNING: HARDIRQ-safe ->

[PATCH 4.9 10/23] xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap()

2017-10-31 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Juergen Gross commit 298d275d4d9bea3524ff4bc76678c140611d8a8d upstream. In case gntdev_mmap() succeeds only partially in mapping grant pages it will leave some vital information uninitialized

[PATCH 4.4 09/20] Input: elan_i2c - add ELAN0611 to the ACPI table

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 57a95b41869b8f0d1949c24df2a9dac1ca7082ee upstream. ELAN0611 touchpad uses elan_i2c as its driver. It can be found on Lenovo ideapad 320-15IKB. So add it to ACPI table to

[PATCH 4.4 20/20] [PATCH] Revert "drm: bridge: add DT bindings for TI ths8135"

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- This reverts commit 11bf4a8e1d5a300b38ca4bbe1156716b0174f2da which is commit 2e644be30fcc08c736f66b60f4898d274d4873ab upstream. Ben pointed out that there is no driver or device trees referencing this

[PATCH 3/3][RFC/RFT] PM / sleep: Do not delay the synchronization of MTRR during resume

2017-10-31 Thread Yu Chen
From: Chen Yu Sometimes it is too late for the APs to synchronize the MTRR after all the APs have been brought up. In some cases the BIOS might scribble the MTRR across suspend/resume, as a result we might get insane MTRR after resumed back, thus every instruction run on this AP would be

[PATCH 4.4 04/20] ceph: unlock dangling spinlock in try_flush_caps()

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 6c2838fbdedb9b72a81c931d49e56b229b6cdbca upstream. sparse warns: fs/ceph/caps.c:2042:9: warning: context imbalance in 'try_flush_caps' - wrong count at exit We need to

CONFIG_ARCH_SUPPORTS_INT128 for AArch64

2017-10-31 Thread Jason A. Donenfeld
Hi folks, Older versions of gcc are horrible for int128_t on aarch64, emitting a __multi3 call, which is slow and defeats the purpose. However, more recent versions of gcc (since 5, IIRC), do the right thing and produce the proper inlined instructions. Do we have the infrastructure available to

[PATCH v2] IB/rxe: don't crash, if allocation of crc algorithm failed

2017-10-31 Thread Thomas Bogendoerfer
Following crash happens, if crc algorithm couldn't be allocated: [ 1087.989072] rdma_rxe: loaded [ 1097.855397] PCLMULQDQ-NI instructions are not detected. [ 1097.901220] rdma_rxe: failed to allocate crc algorithmi err:-2 [ 1097.901248] BUG: unable to handle kernel [ 1097.901249] NULL pointer

[PATCH 4.4 03/20] ALSA: hda - fix headset mic problem for Dell machines with alc236

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit f265788c336979090ac80b9ae173aa817c4fe40d upstream. We have several Dell laptops which use the codec alc236, the headset mic can't work on these machines. Following the commit

[PATCH v2 resend 0/1] Input: add support HiDeep touchscreen.

2017-10-31 Thread Anthony Kim
Hi, I remake patch to base on dmitry's modified code. Please refer as follow. http://www.spinics.net/lists/linux-input/msg53724.html That code is working well almost, but needed to some modified. - v2 - Our fw binary data is little endian, but our IC protocol for fw update use big endian.

[PATCH v2 resend 1/1] Input: add support for HiDeep touchscreen

2017-10-31 Thread Anthony Kim
The HiDeep touchscreen device is a capacitive multi-touch controller mainly for multi-touch supported devices use. It use I2C interface for communication to IC and provide axis X, Y, Z locations for ten finger touch through input event interface to userspace. It support the Crimson and the Lime

Re: WARNING in get_pi_state

2017-10-31 Thread Peter Zijlstra
On Tue, Oct 31, 2017 at 09:36:44AM +0100, Peter Zijlstra wrote: > On Mon, Oct 30, 2017 at 12:44:00PM -0700, syzbot wrote: > > WARNING: CPU: 1 PID: 24353 at kernel/futex.c:818 get_pi_state+0x15b/0x190 > > kernel/futex.c:818 > > > exit_pi_state_list+0x556/0x7a0 kernel/futex.c:932 > >

Re: [PATCH] PM / QoS: Fix default runtime_pm device resume latency

2017-10-31 Thread Tero Kristo
On 31/10/17 10:40, Rafael J. Wysocki wrote: On Tue, Oct 31, 2017 at 8:13 AM, Tero Kristo wrote: On 31/10/17 01:27, Rafael J. Wysocki wrote: On Monday, October 30, 2017 11:19:08 AM CET Rafael J. Wysocki wrote: On Mon, Oct 30, 2017 at 8:10 AM, Tero Kristo wrote: The recent change to the

Re: [PATCH v2] mtd: nand: Fix writing mtdoops to nand flash.

2017-10-31 Thread Boris Brezillon
On Mon, 30 Oct 2017 22:32:45 -0500 moto...@gmail.com wrote: > From: Brent Taylor > > When mtdoops calls mtd_panic_write, it eventually calls > panic_nand_write in nand_base.c. In order to properly > wait for the nand chip to be ready in panic_nand_wait, > the chip must first be selected. > >

[PATCH] [media] pt3: remove redundant assignment to mask

2017-10-31 Thread Colin King
From: Colin Ian King Variable mask is being set to 0x80 and then set to this value again in the following for-loop. Remove the extraneous first setting of mask. Cleans up clang warning: drivers/media/pci/pt3/pt3_i2c.c:88:2: warning: Value stored to 'mask' is never read Signed-off-by: Colin Ian

Re: [PATCH] crypto: testmgr: don't allocate IV on stack

2017-10-31 Thread Herbert Xu
On Tue, Oct 31, 2017 at 09:05:57AM +, Horia Geantă wrote: > > > > The driver that is mapping the IV directly should be fixed instead. > > Only input that is given in the form of SG lists can be mapped. > > Everything else should be copied if they need to go over DMA. > > > Herbert, wouldn't

Re: [PATCH] drm: gma500: Convert timers to use timer_setup()

2017-10-31 Thread Daniel Vetter
On Mon, Oct 30, 2017 at 03:05:29PM -0700, Kees Cook wrote: > On Mon, Oct 30, 2017 at 3:08 AM, Daniel Vetter wrote: > > On Tue, Oct 24, 2017 at 08:16:09AM -0700, Kees Cook wrote: > >> In preparation for unconditionally passing the struct timer_list pointer to > >> all timer callbacks, switch to

[PATCH 4.4 02/20] ALSA: hda/realtek - Add support for ALC236/ALC3204

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 736f20a7060857ff569e9e9586ae6c1204a73e07 upstream. Add support for ALC236/ALC3204. Add headset mode support for ALC236/ALC3204. Signed-off-by: Kailang Yang Signed-off-by:

Re: WARNING in get_pi_state

2017-10-31 Thread Dmitry Vyukov
On Tue, Oct 31, 2017 at 1:08 PM, Peter Zijlstra wrote: > On Tue, Oct 31, 2017 at 12:29:50PM +0300, Dmitry Vyukov wrote: >> I understand your sentiment, but it's definitely not _at all_. The >> system compiled this exact code, run it and triggered the bug on it. >> Do you have suggestions on how

[PATCH 2/3][RFC/RFT] x86/mtrr: Add cpu id into the MTRR setting data structure

2017-10-31 Thread Yu Chen
From: Chen Yu We record the cpu which has issued the MTRR setting command, then in the mtrr_rendezvous_handler() we can distinguish it from the other cpus. This is used for MTRR synchronization optimization. Cc: Len Brown Cc: Rafael J. Wysocki Cc: Rui Zhang Signed-off-by: Chen Yu ---

Re: [lkp-robot] [android/ion] 5fb70554d6: kernel_selftests.android.make_fail

2017-10-31 Thread Pintu Kumar
On Tue, Oct 31, 2017 at 2:32 AM, Laura Abbott wrote: > On 10/30/2017 12:12 AM, Pintu Kumar wrote: >> On Sun, Oct 29, 2017 at 7:51 PM, kernel test robot >> wrote: >>> >>> FYI, we noticed the following commit (built with gcc-6): >>> >>> commit: 5fb70554d68e2ea032b6a28b082801d8b7b76cb8

[PATCH 4.4 19/20] ecryptfs: fix dereference of NULL user_key_payload

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit f5c09ab489a11ca490d6a82df57cfc1bea3e upstream. In eCryptfs, we failed to verify that the authentication token keys are not revoked before dereferencing their payloads,

[PATCH 4.4 17/20] regulator: fan53555: fix I2C device ids

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Tucker commit fcb885437f374ed54aadda44d8b241ebd2a3 upstream. The device tree nodes all correctly describe the regulators as syr827 or syr828, but the I2C device id is currently

RE: [PATCH v3 5/5] RFC: fw_cfg: add DMA write operation in sysfs

2017-10-31 Thread Hatayama, Daisuke
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Michael S. Tsirkin > Sent: Tuesday, October 31, 2017 1:19 AM > To: Hatayama, Daisuke > Cc: 'marcandre.lur...@redhat.com' ; > 'so...@cmu.edu' ;

Re: WARNING in drm_modeset_lock_all

2017-10-31 Thread Daniel Vetter
On Mon, Oct 30, 2017 at 02:24:32PM +, Chris Wilson wrote: > Quoting syzbot (2017-10-27 09:09:50) > > Hello, > > > > syzkaller hit the following crash on > > 6f20b7a58cb9c0fe00badcdfd65b1f4a8f28dfc6 > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/master > > compiler:

Re: [PATCH v2] usb: dwc2: host: Don't retry NAKed transactions right away

2017-10-31 Thread Felipe Balbi
Doug Anderson writes: > Hi, > > On Mon, Oct 30, 2017 at 1:32 AM, Felipe Balbi wrote: >> >> Hi, >> >> Doug Anderson writes: >>> Hi, >>> >>> On Sat, Oct 28, 2017 at 8:51 AM, Stefan Wahren >>> wrote: Hi Doug, [add Felipe since this should go through his tree] >>> >>> Ah. Sorry

[PATCH 4.4 16/20] can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Assarsson commit e1d2d1329a5722dbecc9c278303fcc4aa01f8790 upstream. To avoid kernel warning "Unhandled message (68)", ignore the CMD_FLUSH_QUEUE_REPLY message for now. As of Leaf v2

[PATCH 4.4 15/20] can: kvaser_usb: Correct return value in printout

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jimmy Assarsson commit 8f65a923e6b628e187d5e791cf49393dd5e8c2f9 upstream. If the return value from kvaser_usb_send_simple_msg() was non-zero, the return value from kvaser_usb_flush_queue() was

Re: WARNING in get_pi_state

2017-10-31 Thread Dmitry Vyukov
On Tue, Oct 31, 2017 at 1:21 PM, Dmitry Vyukov wrote: > On Tue, Oct 31, 2017 at 1:08 PM, Peter Zijlstra wrote: >> On Tue, Oct 31, 2017 at 12:29:50PM +0300, Dmitry Vyukov wrote: >>> I understand your sentiment, but it's definitely not _at all_. The >>> system compiled this exact code, run it and

[PATCH 4.4 14/20] can: sun4i: fix loopback mode

2017-10-31 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Gerhard Bertelsmann commit 3a379f5b36ae039dfeb6f73316e47ab1af4945df upstream. Fix loopback mode by setting the right flag and remove presume mode. Signed-off-by: Gerhard Bertelsmann

<    8   9   10   11   12   13   14   15   16   17   >