Re: [Nbd] [PATCH v2 4/5]nbd: make nbd device wait for its users.

2016-06-15 Thread Wouter Verhelst
On Wed, Jun 15, 2016 at 08:30:45AM +0200, Markus Pargmann wrote: > Thanks for the explanations. I think my understanding was off by one ;).. > I didn't realize that the DO_IT thread from the userspace has the block > device open as well. Obviously, otherwise it couldn't do an ioctl() to it :-) >

Re: [rfc patch] sched/fair: Use instantaneous load for fork/exec balancing

2016-06-15 Thread Mike Galbraith
On Wed, 2016-06-15 at 06:42 +0800, Yuyang Du wrote: > I am entirely for giving it a "clear unadulterated reality", and even > more for it an option. > > Reviewed-by: Yuyang Du Thanks. I'll have a look at perhaps having wake_affine to the same, such that there is a clean separation of wake/LB p

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-15 Thread Richard Cochran
On Tue, Jun 14, 2016 at 10:38:10PM +0200, Henrik Austad wrote: > Whereas I want to do > > aplay some_song.wav Can you please explain how your patches accomplish this? Thanks, Richard

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-15 Thread Stephan Mueller
Am Dienstag, 14. Juni 2016, 10:22:15 schrieb Mat Martineau: Hi Mat, > Stephan, > > On Sat, 14 May 2016, Tadeusz Struk wrote: > > From: Stephan Mueller > > > > This patch adds the user space interface for asymmetric ciphers. The > > interface allows the use of sendmsg as well as vmsplice to pro

Re: [rcu:rcu/next 25/36] include/linux/irqflags.h:79:3: error: implicit declaration of function 'arch_irqs_disabled_flags'

2016-06-15 Thread Richard Weinberger
Paul, Am 15.06.2016 um 00:54 schrieb Paul E. McKenney: > On Mon, Jun 06, 2016 at 02:04:03AM +0800, kbuild test robot wrote: >> tree: >> https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git >> rcu/next >> head: 13ee0de9cd2444b57ce30c4f1607b49b90aa0c38 >> commit: f251ac814fc57

Re: disfunctional floppy driver in kernels 4.5, 4.6 and 4.7

2016-06-15 Thread Jiri Kosina
On Tue, 14 Jun 2016, Wim Osterholt wrote: > Surprising or not, the thusly compiled kernel ran fine and I could > handle floppies like before! (open(/dev/fd0,O_ACCMODE) succeeds.) Thanks for testing. Now next question -- what do you actually want to achieve with passing O_ACCMODE to open()? O_

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-15 Thread Richard Cochran
On Tue, Jun 14, 2016 at 10:38:10PM +0200, Henrik Austad wrote: > Where is your media-application in this? Um, that *is* a media application. It plays music on the sound card. > You only loop the audio from > network to the dsp, is the media-application attached to the dsp-device? Sorry, I thou

Re: [PATCH v10 03/14] usb: hcd.h: Add OTG to HCD interface

2016-06-15 Thread Roger Quadros
On 14/06/16 17:21, Alan Stern wrote: > On Tue, 14 Jun 2016, Roger Quadros wrote: > >> +Alan >> >> On 10/06/16 16:07, Roger Quadros wrote: >>> The OTG core will use struct otg_hcd_ops to interface >>> with the HCD (Host Controller Driver). >>> >>> The main purpose of this interface is to avoid dire

Re: [PATCH v2] HID: rmi: Make hid-rmi a transport driver for synaptics-rmi4

2016-06-15 Thread Jiri Kosina
On Fri, 3 Jun 2016, Andrew Duggan wrote: > The Synaptics RMI4 driver provides support for RMI4 devices. Instead of > duplicating the RMI4 processing code, make hid-rmi a transport driver > and register it with the Synaptics RMI4 core. > > Signed-off-by: Andrew Duggan Is there any update on the

Re: [PATCH net-next v3 0/7] vmxnet3: upgrade to version 3

2016-06-15 Thread David Miller
From: Shrikrishna Khare Date: Mon, 13 Jun 2016 18:50:00 -0700 > This patchset upgrades vmxnet3 to version 3. As stated by others, it is completely unacceptable to post so many patches with little or no commit log message. You must describe, in full detail, what each and every patch does, why it

Re: [RFC][PATCH 8/8] rtmutex: Fix PI chain order integrity

2016-06-15 Thread Juri Lelli
On 14/06/16 21:44, Peter Zijlstra wrote: > On Tue, Jun 14, 2016 at 06:39:08PM +0100, Juri Lelli wrote: > > On 07/06/16 21:56, Peter Zijlstra wrote: > > > rt_mutex_waiter::prio is a copy of task_struct::prio which is updated > > > during the PI chain walk, such that the PI chain order isn't messed u

[PATCH] rcu: Fix soft lockup for rcu_nocb_kthread

2016-06-15 Thread Ding Tianhong
I met this problem when using the Testgine to send package to ixgbevf nic by this steps: 1. Connect to ixgbevf, and set the speed to 10Gb/s, it could work fine. 2. Then use ifconfig to down the nic and up again, loop for several times. 3. The system panic by soft lockup. [ 317.005148] IPv6: ADDRCO

[PATCH 3.12 00/56] 3.12.61-stable review

2016-06-15 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.61 release. There are 56 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 Jun 17 09:29:40 CEST 2016. Anything recei

Re: [PATCH 02/48] ARM: at91: Document new TCB bindings

2016-06-15 Thread Boris Brezillon
On Tue, 14 Jun 2016 16:47:37 -0500 Rob Herring wrote: > On Sat, Jun 11, 2016 at 12:03:05AM +0200, Alexandre Belloni wrote: > > The current binding for the TCB is not flexible enough for some use cases > > and prevents proper utilization of all the channels. > > > > Cc: Daniel Lezcano > > Cc: Th

[PATCH 3.12 04/56] HID: Fix boot delay for Creative SB Omni Surround 5.1 with quirk

2016-06-15 Thread Jiri Slaby
From: Nazar Mokrynskyi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 567a44ecb44eb2584ddb93e962cfb133ce77e0bb upstream. Needed for v2 of the device firmware, otherwise kernel will stuck for few seconds and throw "usb_submit_urb(ctrl) failed

[PATCH 3.12 01/56] NFS: Don't attempt to decode missing directory entries

2016-06-15 Thread Jiri Slaby
From: Benjamin Coddington 3.12-stable review patch. If anyone has any objections, please let me know. === commit ce85cfbed6fe3dbc01bd1976b23ac3e97878cde6 upstream. If a READDIR reply comes back without any page data, avoid a NULL pointer dereference in xdr_copy_to_scratch(). BUG:

[PATCH 3.12 03/56] HID: usbhid: quirks for Corsair RGB keyboard & mice (K70R, K95RGB, M65RGB, K70RGB, K65RGB)

2016-06-15 Thread Jiri Slaby
From: Trent Lloyd 3.12-stable review patch. If anyone has any objections, please let me know. === commit 282bf1fe6dca4b768d6bedc14aea1b82c36241c1 upstream. These devices feature multiple interfaces/endpoints: a legacy BIOS/boot interface (endpoint 0x81), as well as 2 corsair-speci

[PATCH 3.12 43/56] drm/gma500: Fix possible out of bounds read

2016-06-15 Thread Jiri Slaby
From: Itai Handler 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7ccca1d5bf69fdd1d3c5fcf84faf1659a6e0ad11 upstream. Fix possible out of bounds read, by adding missing comma. The code may read pass the end of the dsi_errors array when the mo

[PATCH 3.12 40/56] powerpc/book3s64: Fix branching to OOL handlers in relocatable kernel

2016-06-15 Thread Jiri Slaby
From: Hari Bathini 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8ed8ab40047a570fdd8043a40c104a57248dd3fd upstream. Some of the interrupt vectors on 64-bit POWER server processors are only 32 bytes long (8 instructions), which is not enough

[PATCH 3.12 54/56] pch_phub: return -ENODATA if ROM can't be mapped

2016-06-15 Thread Jiri Slaby
From: Colin Ian King 3.12-stable review patch. If anyone has any objections, please let me know. === commit a75fa128236bc2fdaa5e412145cbd577e42e14c2 upstream. The error return err is not initialized for the case when pci_map_rom fails and no ROM can me mapped. Fix this by setting

[PATCH 3.12 12/56] HID: wiimote: Fix wiimote mp scale linearization

2016-06-15 Thread Jiri Slaby
From: Cyan Ogilvie 3.12-stable review patch. If anyone has any objections, please let me know. === commit d30596737e8e7b2f1235d7ba20592b8309e3af04 upstream. The wiimote motion plus gyros use two scales to report fast and slow rotation - below 440 deg/s uses 8192/440 units / deg/s,

[PATCH 3.12 47/56] ext4: silence UBSAN in ext4_mb_init()

2016-06-15 Thread Jiri Slaby
From: Nicolai Stange 3.12-stable review patch. If anyone has any objections, please let me know. === commit 935244cd54b86ca46e69bc6604d2adfb1aec2d42 upstream. Currently, in ext4_mb_init(), there's a loop like the following: do { ... offset += 1 << (sb->s_blocksize_bits

[PATCH 3.12 30/56] MIPS: math-emu: Fix jalr emulation when rd == $0

2016-06-15 Thread Jiri Slaby
From: Paul Burton 3.12-stable review patch. If anyone has any objections, please let me know. === commit ab4a92e66741b35ca12f8497896bafbe579c28a1 upstream. When emulating a jalr instruction with rd == $0, the code in isBranchInstr was incorrectly writing to GPR $0 which should act

[PATCH 3.12 02/56] IB/security: Restrict use of the write() interface

2016-06-15 Thread Jiri Slaby
From: Jason Gunthorpe 3.12-stable review patch. If anyone has any objections, please let me know. === commit e6bd18f57aad1a2d1ef40e646d03ed0f2515c9e3 upstream. The drivers/infiniband stack uses write() as a replacement for bi-directional ioctl(). This is not safe. There are ways

[PATCH 3.12 52/56] [media] af9035: correct eeprom offsets

2016-06-15 Thread Jiri Slaby
From: Antti Palosaari 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9c574ad4d360353ec8dd6bc85e78d8b2d0f8e775 upstream. Used memory mapped eeprom offsets were off-by 8 bytes. Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Che

[PATCH 3.12 50/56] xfs: fix inode validity check in xfs_iflush_cluster

2016-06-15 Thread Jiri Slaby
From: Dave Chinner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 51b07f30a71c27405259a0248206ed4e22adbee2 upstream. Some careless idiot(*) wrote crap code in commit 1a3e8f3 ("xfs: convert inode cache lookups to use RCU locking") back in lat

[PATCH 3.12 42/56] sunrpc: fix stripping of padded MIC tokens

2016-06-15 Thread Jiri Slaby
From: Tomáš Trnka 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0cb8bf3a8e4bd82e640862cdd8891400405cb89 upstream. The length of the GSS MIC token need not be a multiple of four bytes. It is then padded by XDR to a multiple of 4 B, but unwr

[PATCH 3.12 53/56] misc: ad525x_dpot: Fix the enabling of the "otpXen" attributes

2016-06-15 Thread Jiri Slaby
From: Dan Bogdan Nechita 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1bb850a1b7f68b66361e658e334f9fdf8231f17d upstream. Currently writing the attributes with "echo" will result in comparing: "enabled\n" with "enabled\0" and attribute is a

[PATCH 3.12 49/56] xfs: xfs_iflush_cluster fails to abort on error

2016-06-15 Thread Jiri Slaby
From: Dave Chinner 3.12-stable review patch. If anyone has any objections, please let me know. === commit b1438f477934f5a4d5a44df26f3079a7575d5946 upstream. When a failure due to an inode buffer occurs, the error handling fails to abort the inode writeback correctly. This can resu

[PATCH 3.12 41/56] xen/events: Don't move disabled irqs

2016-06-15 Thread Jiri Slaby
From: Ross Lagerwall 3.12-stable review patch. If anyone has any objections, please let me know. === commit f0f393877c71ad227d36705d61d1e4062bc29cf5 upstream. Commit ff1e22e7a638 ("xen/events: Mask a moving irq") open-coded irq_move_irq() but left out checking if the IRQ is disabl

[PATCH 3.12 56/56] Bluetooth: hci_ldisc: Fix null pointer derefence in case of early data

2016-06-15 Thread Jiri Slaby
From: Loic Poulain 3.12-stable review patch. If anyone has any objections, please let me know. === commit 84cb3df02aea4b00405521e67c4c67c2d525c364 upstream. HCI_UART_PROTO_SET flag is set before hci_uart_set_proto call. If we receive data from tty layer during this procedure, prot

Re: [PATCH] net: hns: update the dependency

2016-06-15 Thread Yisen Zhuang
Hi David, I'm really sorry for this. Because i didn't receive the first two emails, i resented it a few times. I will pay more attention next time. Thanks, Yisen 在 2016/6/15 14:24, David Miller 写道: > From: Yisen Zhuang > Date: Wed, 15 Jun 2016 14:03:33 +0800 > >> Hi David, >> >> You mean th

Re: [PATCH v2 2/9] kexec_file: Generalize kexec_add_buffer.

2016-06-15 Thread Dave Young
Hi, Thiago On 06/14/16 at 11:59am, Thiago Jung Bauermann wrote: > Allow architectures to specify different memory walking functions for > kexec_add_buffer. Intel uses iomem to track reserved memory ranges, > but PowerPC uses the memblock subsystem. > > Signed-off-by: Thiago Jung Bauermann > Cc:

[PATCH 3.12 55/56] Bluetooth: btmrvl_sdio: fix firmware activation failure

2016-06-15 Thread Jiri Slaby
From: Wei-Ning Huang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a01242dc7fc4d5fe3f722afbf35b33aa414cd2f upstream. In some case, the btmrvl_sdio firmware would fail to active within the polling time. Increase the polling interval to 100

[PATCH 3.12 51/56] xfs: skip stale inodes in xfs_iflush_cluster

2016-06-15 Thread Jiri Slaby
From: Dave Chinner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7d3aa7fe970791f1a674b14572a411accf2f4d4e upstream. We don't write back stale inodes so we should skip them in xfs_iflush_cluster, too. Signed-off-by: Dave Chinner Reviewed-b

[PATCH 3.12 35/56] aacraid: Relinquish CPU during timeout wait

2016-06-15 Thread Jiri Slaby
From: Raghava Aditya Renukunta 3.12-stable review patch. If anyone has any objections, please let me know. === commit 07beca2be24cc710461c0b131832524c9ee08910 upstream. aac_fib_send has a special function case for initial commands during driver initialization using wait < 0(pseudo

[PATCH 3.12 34/56] ath5k: Change led pin configuration for compaq c700 laptop

2016-06-15 Thread Jiri Slaby
From: Joseph Salisbury 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7b9bc799a445aea95f64f15e0083cb19b5789abe upstream. BugLink: http://bugs.launchpad.net/bugs/972604 Commit 09c9bae26b0d3c9472cb6ae45010460a2cee8b8d ("ath5k: add led pin con

[PATCH 3.12 38/56] PCI: Disable all BAR sizing for devices with non-compliant BARs

2016-06-15 Thread Jiri Slaby
From: Prarit Bhargava 3.12-stable review patch. If anyone has any objections, please let me know. === commit ad67b437f187ea818b2860524d10f878fadfdd99 upstream. b84106b4e229 ("PCI: Disable IO/MEM decoding for devices with non-compliant BARs") disabled BAR sizing for BARs 0-5 of dev

[PATCH 3.12 45/56] ext4: fix hang when processing corrupted orphaned inode list

2016-06-15 Thread Jiri Slaby
From: Theodore Ts'o 3.12-stable review patch. If anyone has any objections, please let me know. === commit c9eb13a9105e2e418f72e46a2b6da3f49e696902 upstream. If the orphaned inode list contains inode #5, ext4_iget() returns a bad inode (since the bootloader inode should never be r

[PATCH 3.12 39/56] rtlwifi: Fix logic error in enter/exit power-save mode

2016-06-15 Thread Jiri Slaby
From: wang yanqing 3.12-stable review patch. If anyone has any objections, please let me know. === commit 873ffe154ae074c46ed2d72dbd9a2a99f06f55b4 upstream. In commit a269913c52ad ("rtlwifi: Rework rtl_lps_leave() and rtl_lps_enter() to use work queue"), the tests for enter/exit p

[PATCH 3.12 44/56] drm/fb_helper: Fix references to dev->mode_config.num_connector

2016-06-15 Thread Jiri Slaby
From: Lyude 3.12-stable review patch. If anyone has any objections, please let me know. === commit 255f0e7c418ad95a4baeda017ae6182ba9b3c423 upstream. During boot, MST hotplugs are generally expected (even if no physical hotplugging occurs) and result in DRM's connector topology ch

[PATCH 3.12 46/56] ext4: address UBSAN warning in mb_find_order_for_block()

2016-06-15 Thread Jiri Slaby
From: Nicolai Stange 3.12-stable review patch. If anyone has any objections, please let me know. === commit b5cb316cdf3a3f5f6125412b0f6065185240cfdc upstream. Currently, in mb_find_order_for_block(), there's a loop like the following: while (order <= e4b->bd_blkbits + 1) {

[PATCH 3.12 48/56] dma-debug: avoid spinlock recursion when disabling dma-debug

2016-06-15 Thread Jiri Slaby
From: Ville Syrjälä 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3017cd63f26fc655d56875aaf497153ba60e9edf upstream. With netconsole (at least) the pr_err("... disablingn") call can recurse back into the dma-debug code, where it'll try to

Re: [RFC v4 2/4] crypto: Introduce CRYPTO_ALG_BULK flag

2016-06-15 Thread Baolin Wang
On 15 June 2016 at 14:49, Herbert Xu wrote: > On Wed, Jun 15, 2016 at 02:27:04PM +0800, Baolin Wang wrote: >> >> After some investigation, I still think we should divide the bulk >> request from dm-crypt into small request (each one is 512bytes) if >> this algorithm is not support bulk mode (like

[PATCH 3.12 31/56] MIPS: Fix siginfo.h to use strict posix types

2016-06-15 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5daebc477da4dfeb31ae193d83084def58fd2697 upstream. Commit 85efde6f4e0d ("make exported headers use strict posix types") changed the asm-generic siginfo.h to use the __kernel_*

[PATCH 3.12 32/56] MIPS: ath79: make bootconsole wait for both THRE and TEMT

2016-06-15 Thread Jiri Slaby
From: Matthias Schiffer 3.12-stable review patch. If anyone has any objections, please let me know. === commit f5b556c94c8490d42fea79d7b4ae0ecbc291e69d upstream. This makes the ath79 bootconsole behave the same way as the generic 8250 bootconsole. Also waiting for TEMT (transmit

[PATCH] libata:fix kernel panic when hotplug

2016-06-15 Thread DingXiang
In normal condition,if we use sas protocol and hotplug a sata disk on a port, the sas driver will send event "PORTE_BYTES_DMAED" and call function "sas_porte_bytes_dmaed". But if a sata disk is run io and unplug it,then plug a new sata disk,this operation may cause a kernel panic like this: [ 236

[PATCH 3.12 37/56] cpuidle: Indicate when a device has been unregistered

2016-06-15 Thread Jiri Slaby
From: Dave Gerlach 3.12-stable review patch. If anyone has any objections, please let me know. === commit c998c07836f985b24361629dc98506ec7893e7a0 upstream. Currently the 'registered' member of the cpuidle_device struct is set to 1 during cpuidle_register_device. In this same func

[PATCH 3.12 28/56] tty: vt, return error when con_startup fails

2016-06-15 Thread Jiri Slaby
3.12-stable review patch. If anyone has any objections, please let me know. === commit 6798df4c5fe0a7e6d2065cf79649a794e5ba7114 upstream. When csw->con_startup() fails in do_register_con_driver, we return no error (i.e. 0). This was changed back in 2006 by commit 3e795de763. Before

[PATCH 3.12 33/56] Input: uinput - handle compat ioctl for UI_SET_PHYS

2016-06-15 Thread Jiri Slaby
From: Ricky Liang 3.12-stable review patch. If anyone has any objections, please let me know. === commit affa80bd97f7ca282d1faa91667b3ee9e4c590e6 upstream. When running a 32-bit userspace on a 64-bit kernel, the UI_SET_PHYS ioctl needs to be treated with special care, as it has th

[PATCH 3.12 36/56] aacraid: Fix for aac_command_thread hang

2016-06-15 Thread Jiri Slaby
From: Raghava Aditya Renukunta 3.12-stable review patch. If anyone has any objections, please let me know. === commit fc4bf75ea300a5e62a2419f89dd0e22189dd7ab7 upstream. Typically under error conditions, it is possible for aac_command_thread() to miss the wakeup from kthread_stop()

Re: [PATCH 4/4] coccicheck: add indexing enhancement options

2016-06-15 Thread Julia Lawall
On Wed, 15 Jun 2016, Luis R. Rodriguez wrote: > On Tue, Jun 14, 2016 at 11:17:13PM +0200, Julia Lawall wrote: > > > > > > On Tue, 14 Jun 2016, Luis R. Rodriguez wrote: > > > > > On Tue, Jun 14, 2016 at 10:47:32PM +0200, Julia Lawall wrote: > > > > > > > > > > > > On Tue, 14 Jun 2016, Luis R. Rod

[PATCH 3.12 25/56] USB: serial: io_edgeport: fix memory leaks in attach error path

2016-06-15 Thread Jiri Slaby
From: Johan Hovold 3.12-stable review patch. If anyone has any objections, please let me know. === commit c5c0c55598cefc826d6cfb0a417eeaee3631715c upstream. Private data, URBs and buffers allocated for Epic devices during attach were never released on errors (e.g. missing endpoint

[PATCH 3.12 09/56] HID: microsoft: Add ID for MS Wireless Comfort Keyboard

2016-06-15 Thread Jiri Slaby
From: Slava Bacherikov 3.12-stable review patch. If anyone has any objections, please let me know. === commit f9a82c2054bcdebdf81a63c26a3b41197bb6070a upstream. Microsoft Wireless Comfort Keyboard has vendor specific My Favorites 1-5 keys. Linux already supports this buttons on ot

[PATCH 3.12 27/56] USB: serial: option: add support for Cinterion PH8 and AHxx

2016-06-15 Thread Jiri Slaby
From: Schemmel Hans-Christoph 3.12-stable review patch. If anyone has any objections, please let me know. === commit 444f94e9e625f6ec6bbe2cb232a6451c637f35a3 upstream. Added support for Gemalto's Cinterion PH8 and AHxx products with 2 RmNet Interfaces and products with 1 RmNet + 1

Re: [RFC v4 2/4] crypto: Introduce CRYPTO_ALG_BULK flag

2016-06-15 Thread Herbert Xu
On Wed, Jun 15, 2016 at 03:38:02PM +0800, Baolin Wang wrote: > > But that means we should divide the bulk request into 512-byte size > requests and break up the mapped sg table for each request. Another > hand we should allocate memory for each request in crypto layer, which > dm-crypt have supplie

[PATCH 3.12 26/56] USB: serial: io_edgeport: fix memory leaks in probe error path

2016-06-15 Thread Jiri Slaby
From: Johan Hovold 3.12-stable review patch. If anyone has any objections, please let me know. === commit c8d62957d450cc1a22ce3242908709fe367ddc8e upstream. URBs and buffers allocated in attach for Epic devices would never be deallocated in case of a later probe error (e.g. failur

[PATCH 3.12 16/56] fs/cifs: correctly to anonymous authentication via NTLMSSP

2016-06-15 Thread Jiri Slaby
From: Stefan Metzmacher 3.12-stable review patch. If anyone has any objections, please let me know. === commit cfda35d98298131bf38fbad3ce4cd5ecb3cf18db upstream. See [MS-NLMP] 3.2.5.1.2 Server Receives an AUTHENTICATE_MESSAGE from the Client: ... Set NullSession to FALSE

[PATCH 3.12 29/56] serial: samsung: Reorder the sequence of clock control when call s3c24xx_serial_set_termios()

2016-06-15 Thread Jiri Slaby
From: Chanwoo Choi 3.12-stable review patch. If anyone has any objections, please let me know. === commit b8995f527aac143e83d3900ff39357651ea4e0f6 upstream. This patch fixes the broken serial log when changing the clock source of uart device. Before disabling the original clock so

[PATCH 3.12 21/56] mmc: longer timeout for long read time quirk

2016-06-15 Thread Jiri Slaby
From: Matt Gumbel 3.12-stable review patch. If anyone has any objections, please let me know. === commit 32ecd320db39bcb007679ed42f283740641b81ea upstream. 008GE0 Toshiba mmc in some Intel Baytrail tablets responds to MMC_SEND_EXT_CSD in 450-600ms. This patch will... () Increase

[PATCH 3.12 17/56] ring-buffer: Use long for nr_pages to avoid overflow failures

2016-06-15 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9b94a8fba501f38368aef6ac1b30e7335252a220 upstream. The size variable to change the ring buffer in ftrace is a long. The nr_pages used to update the ring buffer b

[PATCH 3.12 24/56] USB: serial: quatech2: fix use-after-free in probe error path

2016-06-15 Thread Jiri Slaby
From: Johan Hovold 3.12-stable review patch. If anyone has any objections, please let me know. === commit 028c49f5e02a257c94129cd815f7c8485f51d4ef upstream. The interface read URB is submitted in attach, but was only unlinked by the driver at disconnect. In case of a late probe e

[PATCH 3.12 22/56] [media] usbvision: revert commit 588afcc1

2016-06-15 Thread Jiri Slaby
From: Vladis Dronov 3.12-stable review patch. If anyone has any objections, please let me know. === commit d5468d7afaa9c9e961e150f0455a14a9f4872a98 upstream. Commit 588afcc1c0e4 ("[media] usbvision fix overflow of interfaces array")' should be reverted, because: * "!dev->actconfi

[PATCH 3.12 20/56] ACPI / osi: Fix an issue that acpi_osi=!* cannot disable ACPICA internal strings

2016-06-15 Thread Jiri Slaby
From: Lv Zheng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 30c9bb0d7603e7b3f4d6a0ea231e1cddae020c32 upstream. The order of the _OSI related functionalities is as follows: acpi_blacklisted() acpi_dmi_osi_linux() acpi_osi_setup

[PATCH 3.12 06/56] HID: microsoft: Add Surface 3 type cover

2016-06-15 Thread Jiri Slaby
From: Stephen Just 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0439de75d32c249bd9f5824ffd5e40c4c2109d77 upstream. Adding support for the Microsoft Surface 3 (non-pro) Type Cover. The existing definitions and quirks are actually for the S

[PATCH 3.12 23/56] USB: serial: keyspan: fix use-after-free in probe error path

2016-06-15 Thread Jiri Slaby
From: Johan Hovold 3.12-stable review patch. If anyone has any objections, please let me know. === commit 35be1a71d70775e7bd7e45fa6d2897342ff4c9d2 upstream. The interface instat and indat URBs were submitted in attach, but never unlinked in release before deallocating the correspo

[PATCH 3.12 07/56] HID: microsoft: add support for 3 more devices

2016-06-15 Thread Jiri Slaby
From: Alistair Leslie-Hughes 3.12-stable review patch. If anyone has any objections, please let me know. === commit c847a89a871e1ea21d45120c3045c9b443e258f5 upstream. Adds support for the Micrsift Digital 4K, Media 600 and Media 3000 V1 Keyboards, which have the same quirks as the

[PATCH 3.12 19/56] mmc: mmc: Fix partition switch timeout for some eMMCs

2016-06-15 Thread Jiri Slaby
From: Adrian Hunter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1c447116d017a98c90f8f71c8c5a611e0aa42178 upstream. Some eMMCs set the partition switch timeout too low. Now typically eMMCs are considered a critical component (e.g. because

[PATCH 3.12 14/56] ARC: use ASL assembler mnemonic

2016-06-15 Thread Jiri Slaby
From: Vineet Gupta 3.12-stable review patch. If anyone has any objections, please let me know. === commit a6416f57ce57fb390b6ee30b12c01c29032a26af upstream. ARCompact and ARCv2 only have ASL, while binutils used to support LSL as a alias mnemonic. Newer binutils (upstream) don't

[PATCH 3.12 13/56] HID: usbhid: enable NO_INIT_REPORTS quirk for Semico USB Keykoard2

2016-06-15 Thread Jiri Slaby
From: Daniel Bristot de Oliveira 3.12-stable review patch. If anyone has any objections, please let me know. === commit c14022bfd2eb2d2ece74a405dfbdb02a829c07bc upstream. The device which identifies itself as a "USB Keykoard" (no typo) with VID:PID 1a2c:0027 does not seem to be ha

[PATCH 3.12 18/56] ring-buffer: Prevent overflow of size in ring_buffer_resize()

2016-06-15 Thread Jiri Slaby
From: "Steven Rostedt (Red Hat)" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 59643d1535eb220668692a5359de22545af579f6 upstream. If the size passed to ring_buffer_resize() is greater than MAX_LONG - BUF_PAGE_SIZE then the DIV_ROUND_UP() w

[PATCH 3.12 11/56] HID: sjoy: support Super Joy Box 4

2016-06-15 Thread Jiri Slaby
From: Sean Young 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6e5e9a06a206010eabd19b523fd0833c51afc0b0 upstream. This device supports force feedback and has two ports. Signed-off-by: Sean Young Signed-off-by: Jiri Kosina Signed-off-by:

[PATCH 3.12 15/56] remove directory incorrectly tries to set delete on close on non-empty directories

2016-06-15 Thread Jiri Slaby
From: Steve French 3.12-stable review patch. If anyone has any objections, please let me know. === commit 897fba1172d637d344f009d700f7eb8a1fa262f1 upstream. Wrong return code was being returned on SMB3 rmdir of non-empty directory. For SMB3 (unlike for cifs), we attempt to delete

[PATCH 3.12 05/56] HID: microsoft: Add Surface Power Cover

2016-06-15 Thread Jiri Slaby
From: Raimund Roth 3.12-stable review patch. If anyone has any objections, please let me know. === commit 18eec2cd7e9746cd672ada102987534ae16f0f44 upstream. Adding support for the Microsoft Surface Pro Power Cover. Signed-off-by: Raimund Roth Signed-off-by: Jiri Kosina Signed-o

[PATCH 3.12 08/56] HID: Add new Microsoft Type Cover 3 product ID

2016-06-15 Thread Jiri Slaby
From: Donavan Lance 3.12-stable review patch. If anyone has any objections, please let me know. === commit c6956eb70e2549a3c2fa6ee525e02776d293caf4 upstream. Adds support for Microsoft Type Cover 3 with 0x07e2 product ID. Signed-off-by: Donavan Lance Signed-off-by: Jiri Kosina

Re: [PATCH v6 1/4] sched/fair: Fix attaching task sched avgs twice when switching to fair or changing task group

2016-06-15 Thread Vincent Guittot
On 15 June 2016 at 00:21, Yuyang Du wrote: > Vincent reported that the first task to a new task group's cfs_rq will > be attached in attach_task_cfs_rq() and once more when it is enqueued > (see https://lkml.org/lkml/2016/5/25/388). > > Actually, it is worse. The sched avgs can be sometimes attach

[PATCH 3.12 10/56] HID: chicony: Add support for Acer Aspire Switch 12

2016-06-15 Thread Jiri Slaby
From: Николай Кудрявцев 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a1d78a3780e0e37eeff11b377fc5fbb01446a36 upstream. Acer Aspire Switch 12 keyboard Chicony's controller reports too big usage index on the 1st interface. The patch fixes t

Re: [PATCH 1/3] net: Add MDIO bus driver for the Hisilicon FEMAC

2016-06-15 Thread Li Dongpo
On 2016/6/15 6:27, Rob Herring wrote: > On Mon, Jun 13, 2016 at 02:07:54PM +0800, Dongpo Li wrote: >> This patch adds a separate driver for the MDIO interface of the >> Hisilicon Fast Ethernet MAC. >> >> Reviewed-by: Jiancheng Xue >> Signed-off-by: Dongpo Li >> --- >> .../bindings/net/hisilico

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-15 Thread Henrik Austad
On Wed, Jun 15, 2016 at 09:04:41AM +0200, Richard Cochran wrote: > On Tue, Jun 14, 2016 at 10:38:10PM +0200, Henrik Austad wrote: > > Whereas I want to do > > > > aplay some_song.wav > > Can you please explain how your patches accomplish this? In short: modprobe tsn modprobe avb_alsa mkdir /sy

Re: [PATCH 2/4] scripts: add reqs python library

2016-06-15 Thread Michal Marek
On 2016-06-15 00:10, Luis R. Rodriguez wrote: > +weight = (int(rel_specs['VERSION'])<< 32) + \ > + (int(rel_specs['PATCHLEVEL']) << 16) + \ > + (sublevel << 8 ) + \ > + (extra * 60) + (relmod * 2) This is going to

Re: [PATCH 3/4] coccicheck: enable use of the kernel's python library

2016-06-15 Thread Michal Marek
On 2016-06-15 00:10, Luis R. Rodriguez wrote: > Signed-off-by: Luis R. Rodriguez > --- > scripts/coccicheck | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/scripts/coccicheck b/scripts/coccicheck > index ba7301ab0a3d..a4d91d649ad9 100755 > --- a/scripts/coccicheck > +++ b/scripts/cocc

Re: [PATCH] ARM: sun8i: Add Parrot Board DTS

2016-06-15 Thread Hans de Goede
Hi, On 06/14/2016 03:19 PM, Chen-Yu Tsai wrote: On Tue, Jun 14, 2016 at 8:59 PM, Quentin Schulz wrote: Hi, On 13/06/2016 15:04, Chen-Yu Tsai wrote: Hi, On Mon, Jun 13, 2016 at 6:15 PM, Quentin Schulz wrote: The Parrot Board is an evaluation board with an Allwinner R16 (assumed to be close

Re: [PATCH] extcon: palmas: Fix boot up state of VBUS when using GPIO detection

2016-06-15 Thread Chanwoo Choi
On 2016년 06월 15일 15:47, Roger Quadros wrote: > On 15/06/16 04:57, Chanwoo Choi wrote: >> On 2016년 06월 14일 23:04, Roger Quadros wrote: >>> If USB cable is connected prior to boot, we don't get any interrupts >>> so we must manually check the VBUS state and report it during probe. >>> If we don't do

Re: [PATCH v7 00/12] Support non-lru page migration

2016-06-15 Thread Sergey Senozhatsky
Hello Minchan, -next 4.7.0-rc3-next-20160614 [ 315.146533] kasan: CONFIG_KASAN_INLINE enabled [ 315.146538] kasan: GPF could be caused by NULL-ptr deref or user memory access [ 315.146546] general protection fault: [#1] PREEMPT SMP KASAN [ 315.146576] Modules linked in: lzo zram zsmall

Re: [RFC PATCH-tip v2 1/6] locking/osq: Make lock/unlock proper acquire/release barrier

2016-06-15 Thread Boqun Feng
Hi Waiman, On Tue, Jun 14, 2016 at 06:48:04PM -0400, Waiman Long wrote: > The osq_lock() and osq_unlock() function may not provide the necessary > acquire and release barrier in some cases. This patch makes sure > that the proper barriers are provided when osq_lock() is successful > or when osq_un

Re: [PATCH] dell-smm-hwmon: Detect fan with index=2

2016-06-15 Thread Pali Rohár
On Monday 13 June 2016 19:01:15 Guenter Roeck wrote: > On 06/13/2016 11:26 AM, Pali Rohár wrote: > >Guenter, I think you can take this patch also with Tolga's Tested-by. > > > > The patch on its own doesn't apply. It depends on 'Cache fan-type calls ...'. > Should I take that patch as well ? Ah r

[PATCH] ALSA: seq_oss: Change structure initialisation to C99 style

2016-06-15 Thread Amitoj Kaur Chawla
Replace the in order struct initialisation style with explicit field style. The Coccinelle semantic patch used to make this change is as follows: @decl@ identifier i1,fld; type T; field list[n] fs; @@ struct i1 { fs T fld; ...}; @@ identifier decl.i1,i2,decl.fld; expression e; position bad.p

Re: [PATCH 3/4] x86: Rewrite switch_to() code

2016-06-15 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Sat, May 21, 2016 at 9:04 AM, Brian Gerst wrote: > > > Move the low-level context switch code to an out-of-line asm stub instead > > of > > using complex inline asm. This allows constructing a new stack frame for > > the > > child process to make it seamlessly

Re: [PATCH] dell-smm-hwmon: Cache fan_type() calls and use fan_status() for fan detection

2016-06-15 Thread Pali Rohár
On Monday 13 June 2016 19:02:14 Guenter Roeck wrote: > >And second question: how to fix second bug? I see only one option: > >Create machine blacklist with broken Dell SMM firmware and disallow > >calling I8K_SMM_GET_FAN_TYPE for them. > > > Or maybe a whitelist with known working systems ? > > Gu

Re: Moving drivers/leds/dell-led.c to drivers/platform/x86

2016-06-15 Thread Pali Rohár
On Monday 13 June 2016 15:49:42 Michał Kępień wrote: > Hi everyone, > > Back in January [1], while working on the dell-smbios module, I > suggested that the code present in drivers/leds/dell-led.c could be > moved to drivers/platform/x86 for coherency. I decided to revisit that > idea. > > dell-

Re: [very-RFC 0/8] TSN driver for the kernel

2016-06-15 Thread Richard Cochran
On Wed, Jun 15, 2016 at 12:15:24PM +0900, Takashi Sakamoto wrote: > > On Mon, Jun 13, 2016 at 01:47:13PM +0200, Richard Cochran wrote: > >> I have seen audio PLL/multiplier chips that will take, for example, a > >> 10 kHz input and produce your 48 kHz media clock. With the right HW > >> design, yo

Re: [PATCH v1 1/1] x86/platform/intel-mid: Enable GPIO expanders on Edison

2016-06-15 Thread Ingo Molnar
* Andy Shevchenko wrote: > +static const struct devs_id pcal9555a_1_dev_id __initconst = { > + .name = "pcal9555a-1", > + .type = SFI_DEV_TYPE_I2C, > + .delay = 1, > + .get_platform_data = &pcal9555a_platform_data, > +}; > + > +static const struct devs_id pcal9555a_2_dev_id __ini

Re: [PATCH v2 4/9] arm64: Add platform selection for BCM2835.

2016-06-15 Thread Catalin Marinas
On Tue, Jun 14, 2016 at 11:48:54PM -0700, Eric Anholt wrote: > Catalin Marinas writes: > > > On Thu, Jun 09, 2016 at 05:21:35PM -0700, Eric Anholt wrote: > >> Catalin Marinas writes: > >> > On Sat, Jun 04, 2016 at 12:55:15PM -0700, Eric Anholt wrote: > >> >> Catalin Marinas writes: > >> >> > On

[PATCH] extcon: palmas: Fix boot up state of VBUS when using GPIO detection

2016-06-15 Thread Roger Quadros
If USB cable is connected prior to boot, we don't get any interrupts so we must manually check the VBUS state and report it during probe. If we don't do it then USB controller will never know that peripheral cable was connected till the user unplugs and replugs the cable. Fixes: b7aad8e2685b ("ext

Re: [PATCH v8 3/4] i2c: i801: add support of Host Notify

2016-06-15 Thread Benjamin Tissoires
On Jun 09 2016 or thereabouts, Benjamin Tissoires wrote: > The i801 chip can handle the Host Notify feature since ICH 3 as mentioned > in > http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf > > Enable the functionality unconditionally and propagate the alert

Re: [PATCH] ALSA: seq_oss: Change structure initialisation to C99 style

2016-06-15 Thread Takashi Iwai
On Wed, 15 Jun 2016 10:03:31 +0200, Amitoj Kaur Chawla wrote: > > Replace the in order struct initialisation style with explicit field > style. > > The Coccinelle semantic patch used to make this change is as follows: > > @decl@ > identifier i1,fld; > type T; > field list[n] fs; > @@ > > struct

Re: [PATCH v6 1/4] sched/fair: Fix attaching task sched avgs twice when switching to fair or changing task group

2016-06-15 Thread Yuyang Du
On Wed, Jun 15, 2016 at 09:46:53AM +0200, Vincent Guittot wrote: > I still have concerned with this change of the behavior that attaches > the task only when it is enqueued. The load avg of the task will not > be decayed between the time we move it into its new group until its > enqueue. With this

Re: [PATCH v2 1/1] x86/platform/intel-mid: Add Power Management Unit driver

2016-06-15 Thread Ingo Molnar
* Andy Shevchenko wrote: > Add Power Management Unit driver to handle power states of South Complex > devices on Intel Tangier. In the future it might be expanded to cover North > Complex devices as well. > > With this driver the power state of the host controllers such as SPI, I2C, > UART, eMM

[PATCH 1/2] pinctrl: uniphier: prohibit drive control for pin 61-66 of PH1-LD11

2016-06-15 Thread Masahiro Yamada
According to the hardware document, setting the drive control is prohibited for these pins (N-channel Open Drain pins). Set their drive control attribute to "fixed". Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 12 ++-- 1 file changed, 6 inserti

[PATCH 0/2] pinctrl: uniphier: two more fixes for UniPhier pin data

2016-06-15 Thread Masahiro Yamada
Masahiro Yamada (2): pinctrl: uniphier: prohibit drive control for pin 61-66 of PH1-LD11 pinctrl: uniphier: fix meaningless drive control offsets drivers/pinctrl/uniphier/pinctrl-uniphier-ld11.c | 12 ++-- drivers/pinctrl/uniphier/pinctrl-uniphier-pro4.c | 6 +++--- 2 files changed,

  1   2   3   4   5   6   7   8   9   10   >