[PATCH 3.13.y-ckt 17/85] iio: adis16400: Fix adis16448 gyroscope scale

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 8166537283b31d7abaae9e56bd48fbbc30cdc579 upstream. Use the correct scale for the adis16448 gyroscope output. Signed-off-by: Lars-Peter Clausen Signed-off

[PATCH 3.13.y-ckt 32/85] NFS: Fix a NULL pointer dereference of migration recovery ops for v4.2 client

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Kinglong Mee commit 18e3b739fdc826481c6a1335ce0c5b19b3d415da upstream. ---Steps to Reproduce-- # cat /etc/exports /nfs/referal *(rw,insecure,no_subtree_check,no_root_squash,crossm

[PATCH 3.13.y-ckt 30/85] xtensa: fix kernel register spilling

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 77d6273e79e3a86552fcf10cdd31a69b46ed2ce6 upstream. call12 can't be safely used as the first call in the inline function, because the compiler does not extend the

[PATCH 3.13.y-ckt 27/85] serial: 8250: don't bind to SMSC IrCC IR port

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: "Maciej S. Szmigiero" commit ffa34de03bcfbfa88d8352942bc238bb48e94e2d upstream. SMSC IrCC SIR/FIR port should not be bound to by (legacy) serial driver so its own driver (smsc-ircc2

[PATCH 3.13.y-ckt 29/85] blk-mq: fix buffer overflow when reading sysfs file of 'pending'

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 596f5aad2a704b72934e5abec1b1b4114c16f45b upstream. There may be lots of pending requests so that the buffer of PAGE_SIZE can't hold them at all. One typical example

[PATCH 3.13.y-ckt 31/85] NFS: nfs_set_pgio_error sometimes misses errors

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust commit e9ae58aeee8842a50f7e199d602a5ccb2e41a95f upstream. We should ensure that we always set the pgio_header's error field if a READ or WRITE RPC call returns an er

[PATCH 3.13.y-ckt 28/85] staging: comedi: adl_pci7x3x: fix digital output on PCI-7230

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit ad83dbd974feb2e2a8cc071a1d28782bd4d2c70e upstream. The "adl_pci7x3x" driver replaced the "adl_pci7230" and "adl_pci7432" drivers in commits 8f567c373c4b ("staging:

[PATCH 3.13.y-ckt 26/85] drivers: usb: fsl: Workaround for USB erratum-A005275

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Nikhil Badola commit f8786a91548df6930643a052e40e5c0b7a8403a5 upstream. Incoming packets in high speed are randomly corrupted by h/w resulting in multiple errors. This workaround ma

[PATCH 3.13.y-ckt 02/85] dcache: Handle escaped paths in prepend_path

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit cde93be45a8a90d8c264c776fab63487b5038a65 upstream. A rename can result in a dentry that by walking up d_parent will never reach it's mnt_root. For lack o

Re: [PATCH 0/5] MADV_FREE refactoring and fix KSM page

2015-10-20 Thread Kirill A. Shutemov
On Tue, Oct 20, 2015 at 02:36:51PM -0700, Andrew Morton wrote: > On Tue, 20 Oct 2015 16:21:09 +0900 Minchan Kim wrote: > > > > > I reviewed THP refcount redesign patch and It seems below patch fixes > > MADV_FREE problem. It works well for hours. > > > > >From 104a0940b4c0f97e61de9fee0fd602926f

[PATCH 3.13.y-ckt 34/85] USB: symbolserial: Use usb_get_serial_port_data

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Philipp Hachtmann commit 951d3793bbfc0a441d791d820183aa3085c83ea9 upstream. The driver used usb_get_serial_data(port->serial) which compiled but resulted in a NULL pointer being ret

Re: [PATCH 3.13.y-ckt 47/85] Input: synaptics - fix handling of disabling gesture mode

2015-10-20 Thread Dmitry Torokhov
Hi Kamal, On Tue, Oct 20, 2015 at 2:35 PM, Kamal Mostafa wrote: > 3.13.11-ckt28 -stable review patch. If anyone has any objections, please let > me know. Please drop this one, it's been shown wrong and is reverted form mainline. Thanks! > > -- > > From: Dmitry Torokhov > > c

Re: [PATCH v3 1/1] i2c: add ACPI support for I2C mux ports

2015-10-20 Thread Rafael J. Wysocki
On Tuesday, October 20, 2015 10:49:59 AM Dustin Byford wrote: > Hi Mika, > > On Tue Oct 20 15:51, Mika Westerberg wrote: > > On Mon, Oct 19, 2015 at 03:29:00PM -0700, Dustin Byford wrote: > > > Although I2C mux devices are easily enumerated using ACPI (_HID/_CID or > > > device property compatible

[PATCH 3.13.y-ckt 38/85] libxfs: readahead of dir3 data blocks should use the read verifier

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: "Darrick J. Wong" commit 2f123bce18943fff819bc10f8868ffb9149fc622 upstream. In the dir3 data block readahead function, use the regular read verifier to check the block's CRC and spo

Re: [PATCH v3 1/1] i2c: add ACPI support for I2C mux ports

2015-10-20 Thread Rafael J. Wysocki
On Tuesday, October 20, 2015 03:51:11 PM Mika Westerberg wrote: > On Mon, Oct 19, 2015 at 03:29:00PM -0700, Dustin Byford wrote: > > Although I2C mux devices are easily enumerated using ACPI (_HID/_CID or > > device property compatible string match) enumerating I2C client devices > > connected thro

[PATCH 3.13.y-ckt 33/85] usb: host: ehci-sys: delete useless bus_to_hcd conversion

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Chen commit 0521cfd06e1ebcd575e7ae36aab068b38df23850 upstream. The ehci platform device's drvdata is the pointer of struct usb_hcd already, so we doesn't need to call bus_to_h

[PATCH 3.13.y-ckt 35/85] USB: ftdi_sio: Added custom PID for CustomWare products

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Matthijs Kooijman commit 1fb8dc36384ae1140ee6ccc470de74397606a9d5 upstream. CustomWare uses the FTDI VID with custom PIDs for their ShipModul MiniPlex products. Signed-off-by: Matt

Re: [PATCH] staging/wilc: fix Kconfig dependencies, second try

2015-10-20 Thread Arnd Bergmann
On Monday 19 October 2015 11:53:40 Arnd Bergmann wrote: > On Monday 19 October 2015 11:39:31 Arnd Bergmann wrote: > > On Monday 19 October 2015 16:54:23 Tony Cho wrote: > > > Hi Arnd Bergmann, > > > > > > When I apply this patch, I cannot make WILC1000 module (wilc1000.ko) > > > because CONFIG_WI

[PATCH 3.13.y-ckt 37/85] eCryptfs: Invalidate dcache entries when lower i_nlink is zero

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 5556e7e6d30e8e9b5ee51b0e5edd526ee80e5e36 upstream. Consider eCryptfs dcache entries to be stale when the corresponding lower inode's i_nlink count is zero. This s

[PATCH 3.13.y-ckt 36/85] HID: usbhid: Fix the check for HID_RESET_PENDING in hid_io_error

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Don Zickus commit 3af4e5a95184d6d3c1c6a065f163faa174a96a1d upstream. It was reported that after 10-20 reboots, a usb keyboard plugged into a docking station would not work unless it

[PATCH 3.13.y-ckt 40/85] arm64: kconfig: Move LIST_POISON to a safe value

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Vander Stoep commit bf0c4e04732479f650ff59d1ee82de761c0071f0 upstream. Move the poison pointer offset to 0xdead, a recognized value that is not mappable by user-spa

[PATCH 3.13.y-ckt 24/85] ASoC: adav80x: Remove .read_flag_mask setting from adav80x_regmap_config

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 9d8352864907f0ad76124c5b28f65b5a382d7d7c upstream. Don't set .read_flag_mask for adav803, it's for adav801 only. Fixes: 0c2d69645628 ("ASoC: adav80x: Split SPI and

[PATCH 3.13.y-ckt 42/85] DRM - radeon: Don't link train DisplayPort on HPD until we get the dpcd

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Stephen Chandler Paul commit 924f92bf12bfbef3662619e3ed24a1cea7c1cbcd upstream. Most of the time this isn't an issue since hotplugging an adaptor will trigger a crtc mode change whi

Re: What is a "phy"; lanes or a group?

2015-10-20 Thread Kishon Vijay Abraham I
Hi, On Monday 19 October 2015 10:35 PM, Stephen Warren wrote: > On 10/19/2015 08:56 AM, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Saturday 17 October 2015 12:47 AM, Stephen Warren wrote: >>> Kishon, >>> >>> I wanted to confirm a few aspects about the PHY subsystem in Linux, and >>> also the DT

[PATCH 3.13.y-ckt 39/85] xfs: Fix xfs_attr_leafblock definition

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit ffeecc5213024ae663377b442eedcfbacf6d0c5d upstream. struct xfs_attr_leafblock contains 'entries' array which is declared with size 1 altough it can in fact contain mu

[PATCH 3.13.y-ckt 44/85] rtlwifi: rtl8192cu: Add new device ID

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Adrien Schildknecht commit 1642d09fb9b128e8e538b2a4179962a34f38dff9 upstream. The v2 of NetGear WNA1000M uses a different idProduct: USB ID 0846:9043 Signed-off-by: Adrien Schildkn

[PATCH 3.13.y-ckt 47/85] Input: synaptics - fix handling of disabling gesture mode

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit e51e38494a8ecc18650efb0c840600637891de2c upstream. Bit 2 of the mode byte has dual meaning: it can disable reporting of gestures when touchpad works in Relati

[PATCH 3.13.y-ckt 45/85] of/address: Don't loop forever in of_find_matching_node_by_address().

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: David Daney commit 3a496b00b6f90c41bd21a410871dfc97d4f3c7ab upstream. If the internal call to of_address_to_resource() fails, we end up looping forever in of_find_matching_node_by_a

[PATCH 3.13.y-ckt 23/85] unshare: Unsharing a thread does not require unsharing a vm

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 12c641ab8270f787dfcce08b5f20ce8b65008096 upstream. In the logic in the initial commit of unshare made creating a new thread group for a process, contingen

[PATCH 3.13.y-ckt 41/85] Btrfs: check if previous transaction aborted to avoid fs corruption

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit 1f9b8c8fbc9a4d029760b16f477b9d15500e3a34 upstream. While we are committing a transaction, it's possible the previous one is still finishing its commit and there

[PATCH 3.13.y-ckt 43/85] rtlwifi: rtl8192cu: Add new device ID

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Marek Vasut commit 9374e7d2fdcad3c36dafc8d3effd554bc702c4b6 upstream. Add new ID for ASUS N10 WiFi dongle. Signed-off-by: Marek Vasut Tested-by: Marek Vasut Cc: Larry Finger Cc:

[PATCH 3.13.y-ckt 49/85] IB/qib: Change lkey table allocation to support more MRs

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Mike Marciniszyn commit d6f1c17e162b2a11e708f28fa93f2f79c164b442 upstream. The lkey table is allocated with with a get_user_pages() with an order based on a number of index bits fro

[PATCH 3.13.y-ckt 48/85] xfs: return errors from partial I/O failures to files

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: David Jeffery commit c9eb256eda4420c06bb10f5e8fbdbe1a34bc98e0 upstream. There is an issue with xfs's error reporting in some cases of I/O partially failing and partially succeeding.

[PATCH 3.13.y-ckt 46/85] drivercore: Fix unregistration path of platform devices

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Grant Likely commit 7f5dcaf1fdf289767a126a0a5cc3ef39b5254b06 upstream. The unregister path of platform_device is broken. On registration, it will register all resources with either

[PATCH 3.13.y-ckt 50/85] tg3: Fix temperature reporting

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jean Delvare commit d3d11fe08ccc9bff174fc958722b5661f0932486 upstream. The temperature registers appear to report values in degrees Celsius while the hwmon API mandates values to be

[PATCH 3.13.y-ckt 22/85] NFSv4: don't set SETATTR for O_RDONLY|O_EXCL

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit efcbc04e16dfa95fef76309f89710dd1d99a5453 upstream. It is unusual to combine the open flags O_RDONLY and O_EXCL, but it appears that libre-office does just that. [p

[PATCH 3.13.y-ckt 52/85] Add radeon suspend/resume quirk for HP Compaq dc5750.

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jeffery Miller commit 09bfda10e6efd7b65bcc29237bee1765ed779657 upstream. With the radeon driver loaded the HP Compaq dc5750 Small Form Factor machine fails to resume from suspend. A

Re: [4.1.3-rt10][RFC PATCH] PM / sleep: freeze: fix bug "sleeping function called from invalid context"

2015-10-20 Thread kbuild test robot
Hi Grygorii, [auto build test ERROR on v4.3-rc6 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Grygorii-Strashko/PM-sleep-freeze-fix-bug-sleeping-function-called-from-invalid-context/20151021-043733 conf

[PATCH 3.13.y-ckt 55/85] Input: evdev - do not report errors form flush()

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit eb38f3a4f6e86f8bb10a3217ebd85ecc5d763aae upstream. We've got bug reports showing the old systemd-logind (at least system-210) aborting unexpectedly, and this tur

[PATCH 3.13.y-ckt 21/85] iio: event: Remove negative error code from iio_event_poll

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Cristina Opriceana commit 41d903c00051d8f31c98a8136edbac67e6f8688f upstream. Negative return values are not supported by iio_event_poll since its return type is unsigned int. Fixes

[PATCH 3.13.y-ckt 53/85] IB/uverbs: reject invalid or unknown opcodes

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit b632ffa7cee439ba5dce3b3bc4a5cbe2b3e20133 upstream. We have many WR opcodes that are only supported in kernel space and/or require optional information to be

[PATCH 3.13.y-ckt 54/85] hpfs: update ctime and mtime on directory modification

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit f49a26e7718dd30b49e3541e3e25aecf5e7294e2 upstream. Update ctime and mtime when a directory is modified. (though OS/2 doesn't update them anyway) Signed-off-b

[PATCH 3.13.y-ckt 58/85] ALSA: hda - Enable headphone jack detect on old Fujitsu laptops

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit bb148bdeb0ab16fc0ae8009799471e4d7180073b upstream. According to the bug report, FSC Amilo laptops with ALC880 can detect the headphone jack but currently the dri

[PATCH 3.13.y-ckt 20/85] iio: industrialio-buffer: Fix iio_buffer_poll return value

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Cristina Opriceana commit 1bdc0293901cbea23c6dc29432e81919d4719844 upstream. Change return value to 0 if no device is bound since unsigned int cannot support negative error codes.

[PATCH 3.13.y-ckt 59/85] ALSA: hda - Use ALC880_FIXUP_FUJITSU for FSC Amilo M1437

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit a161574e200ae63a5042120e0d8c36830e81bde3 upstream. It turned out that the machine has a bass speaker, so take a correct fixup entry. Bugzilla: https://bugzilla.

[PATCH 3.13.y-ckt 56/85] crypto: ghash-clmulni: specify context size for ghash async algorithm

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 71c6da846be478a61556717ef1ee1cea91f5d6a8 upstream. Currently context size (cra_ctxsize) doesn't specified for ghash_async_alg. Which means it's zero. Thus cry

[PATCH 3.13.y-ckt 57/85] fs: create and use seq_show_option for escaping

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit a068acf2ee77693e0bf39d6e07139ba704f461c3 upstream. Many file systems that implement the show_options hook fail to correctly escape their output which could lead to

[PATCH 3.13.y-ckt 61/85] parisc: Use double word condition in 64bit CAS operation

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: John David Anglin commit 1b59ddfcf1678de38a1f8ca9fb8ea5eebeff1843 upstream. The attached change fixes the condition used in the "sub" instruction. A double word comparison is needed

[PATCH 3.13.y-ckt 60/85] scsi: fix scsi_error_handler vs. scsi_host_dev_release race

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 537b604c8b3aa8b96fe35f87dd085816552e294c upstream. b9d5c6b7ef57 ("[SCSI] cleanup setting task state in scsi_error_handler()") has introduced a race between scsi_

[PATCH 3.13.y-ckt 51/85] drm/i915: Always mark the object as dirty when used by the GPU

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 51bc140431e233284660b1d22c47dec9ecdb521e upstream. There have been many hard to track down bugs whereby userspace forgot to flag a write buffer and then cause gr

[PATCH 3.13.y-ckt 78/85] IB/mlx4: Fix potential deadlock when sending mad to wire

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein commit 90c1d8b6350cca9d8a234f03c77a317a7613bcee upstream. send_mad_to_wire takes the same spinlock that is taken in the interrupt context. Therefore, it needs irqs

[PATCH 3.13.y-ckt 69/85] jbd2: avoid infinite loop when destroying aborted journal

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 841df7df196237ea63233f0f9eaa41db53afd70f upstream. Commit 6f6a6fda2945 "jbd2: fix ocfs2 corrupt when updating journal superblock fails" changed jbd2_cleanup_journal_

Re: [PATCH v2 1/3] unix: fix use-after-free in unix_dgram_poll()

2015-10-20 Thread Rainer Weikusat
Jason Baron writes: > On 10/18/2015 04:58 PM, Rainer Weikusat wrote: > > [...] > >> >> The idea behind 'the wait queue' (insofar I'm aware of it) is that it >> will be used as list of threads who need to be notified when the >> associated event occurs. Since you seem to argue that the run-of-the-

Re: linux-next: build failure after merge of the battery tree

2015-10-20 Thread Stephen Rothwell
Hi Sebastian, On Fri, 16 Oct 2015 01:26:39 +1100 Stephen Rothwell wrote: > > On Thu, 8 Oct 2015 12:04:24 +1100 Stephen Rothwell > wrote: > > > > On Fri, 2 Oct 2015 11:49:32 +1000 Stephen Rothwell > > wrote: > > > > > > On Tue, 29 Sep 2015 11:45:31 +1000 Stephen Rothwell > > > wrote:

[PATCH 3.13.y-ckt 67/85] x86/mm: Initialize pmd_idx in page_table_range_init_count()

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Minfei Huang commit 9962eea9e55f797f05f20ba6448929cab2a9f018 upstream. The variable pmd_idx is not initialized for the first iteration of the for loop. Assign the proper value whic

[PATCH 3.13.y-ckt 74/85] batman-adv: Make DAT capability changes atomic

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Linus=20L=C3=BCssing?= commit 65d7d46050704bcdb8121ddbf4110bfbf2b38baa upstream. Bitwise OR/AND assignments in C aren't guaranteed to be atomic. One OGM handler might undo

Re: [PATCH v7 03/60] sparc/PCI: Unify pci_register_region()

2015-10-20 Thread Yinghai Lu
On Tue, Oct 20, 2015 at 3:16 PM, Yinghai Lu wrote: > On Tue, Oct 20, 2015 at 2:57 PM, Bjorn Helgaas wrote: >> On Thu, Oct 08, 2015 at 02:38:22PM -0700, Yinghai Lu wrote: >>> We register regions for legacy and iommu and all have open code. >>> >>> Unify them to pci_register_region() and call it ac

[PATCH 3.13.y-ckt 68/85] powerpc/rtas: Introduce rtas_get_sensor_fast() for IRQ handlers

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Huth commit 1c2cb594441d02815d304cccec9742ff5c707495 upstream. The EPOW interrupt handler uses rtas_get_sensor(), which in turn uses rtas_busy_delay() to wait for RTAS becomi

[PATCH 3.13.y-ckt 71/85] usb: gadget: m66592-udc: forever loop in set_feature()

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 5feb5d2003499b1094d898c010a7604d7afddc4c upstream. There is an "&&" vs "||" typo here so this loops 3000 times or if we get unlucky it could loop forever. Fixe

[PATCH 3.13.y-ckt 76/85] powerpc/mm: Fix pte_pagesize_index() crash on 4K w/64K hash

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 74b5037baa2011a2799e2c43adde7d171b072f9e upstream. The powerpc kernel can be built to have either a 4K PAGE_SIZE or a 64K PAGE_SIZE. However when built with

[PATCH 3.13.y-ckt 70/85] clk: versatile: off by one in clk_sp810_timerclken_of_get()

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 3294bee87091be5f179474f6c39d1d87769635e2 upstream. The ">" should be ">=" or we end up reading beyond the end of the array. Fixes: 6e973d2c4385 ('clk: vexpress

[PATCH 3.13.y-ckt 75/85] batman-adv: Make NC capability changes atomic

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Linus=20L=C3=BCssing?= commit 4635469f5c617282f18c69643af36cd8c0acf707 upstream. Bitwise OR/AND assignments in C aren't guaranteed to be atomic. One OGM handler might undo

Re: [PATCH 1/2] wait/ptrace: always assume __WALL if the child is traced

2015-10-20 Thread Andrew Morton
On Tue, 20 Oct 2015 19:17:54 +0200 Oleg Nesterov wrote: > The following program (simplified version of generated by syzkaller) > > #include > #include > #include > #include > #include > > void *thread_func(void *arg) > { > ptrace(PTRA

[PATCH 3.13.y-ckt 77/85] perf stat: Get correct cpu id for print_aggr

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Kan Liang commit 601083cffb7cabdcc55b8195d732f0f7028570fa upstream. print_aggr() fails to print per-core/per-socket statistics after commit 582ec0829b3d ("perf stat: Fix per-socket

[PATCH 3.13.y-ckt 79/85] IB/mlx4: Forbid using sysfs to change RoCE pkeys

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein commit 2b135db3e81301d0452e6aa107349abe67b097d6 upstream. The pkey mapping for RoCE must remain the default mapping: VFs: virtual index 0 = mapped to real index 0

[PATCH 3.13.y-ckt 80/85] IB/mlx4: Use correct SL on AH query under RoCE

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Noa Osherovich commit 5e99b139f1b68acd65e36515ca347b03856dfb5a upstream. The mlx4 IB driver implementation for ib_query_ah used a wrong offset (28 instead of 29) when link type is E

Re: [PATCH] x86, perf: Use INST_RETIRED.PREC_DIST for cycles:pp on Skylake

2015-10-20 Thread Andi Kleen
> Typically on workstations you do not, because there's only a single > user, but on servers it might be more common. The thing I expect to be > most common is having both a CPU wide and a per task cycle counter > enabled. With multiple users they would sample only their own processes. That works

[PATCH 3.13.y-ckt 72/85] windfarm: decrement client count when unregistering

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Bolle commit fe2b592173ff0274e70dc44d1d28c19bb995aa7c upstream. wf_unregister_client() increments the client count when a client unregisters. That is obviously incorrect. Decre

[PATCH 3.13.y-ckt 82/85] mmc: core: fix race condition in mmc_wait_data_done

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jialing Fu commit 71f8a4b81d040b3d094424197ca2f1bf811b1245 upstream. The following panic is captured in ker3.14, but the issue still exists in latest kernel. ---

[PATCH 3.13.y-ckt 73/85] perf hists: Update the column width for the "srcline" sort key

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo commit e8e6d37e73e6b950c891c780745460b87f4755b6 upstream. When we introduce a new sort key, we need to update the hists__calc_col_len() function accordingly

[PATCH 3.19.y-ckt 009/156] xtensa: fix threadptr reload on return to userspace

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 4229fb12a03e5da5882b420b0aa4a02e77447b86 upstream. Userspace return code may skip restoring THREADPTR register if there are no registers that need to be zeroed. Th

[PATCH 3.19.y-ckt 008/156] HID: cp2112: fix byte order in SMBUS operations

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ellen Wang commit 29e2d6d1f6f61ba2b5cc9d9867e01d8c31a6c4f7 upstream. Change all occurrences of be16 to le16 in cp2112_xfer(), because SMBUS words are little endian, not big endian. S

[PATCH 3.13.y-ckt 65/85] drm/qxl: validate monitors config modes

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Jonathon Jongsma commit bd3e1c7c6de9f5f70d97cdb6c817151c0477c5e3 upstream. Due to some recent changes in drm_helper_probe_single_connector_modes_merge_bits(), old custom modes were

[PATCH 3.13.y-ckt 85/85] scsi_dh: fix randconfig build error

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 294ab783ad98066b87296db1311c7ba2a60206a5 upstream. It looks like the Kconfig check that was meant to fix this (commit fe9233fb6914a0eb20166c967e3020f7f0fba2

[PATCH 3.19.y-ckt 013/156] PCI: Add dev_flags bit to access VPD through function 0

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Mark Rustad commit 932c435caba8a2ce473a91753bad0173269ef334 upstream. Add a dev_flags bit, PCI_DEV_FLAGS_VPD_REF_F0, to access VPD through function 0 to provide VPD access on other fu

[PATCH 3.19.y-ckt 011/156] mac80211: enable assoc check for mesh interfaces

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Bob Copeland commit 3633ebebab2bbe88124388b7620442315c968e8f upstream. We already set a station to be associated when peering completes, both in user space and in the kernel. Thus we

[PATCH 3.19.y-ckt 010/156] ARM: OMAP2+: DRA7: clockdomain: change l4per2_7xx_clkdm to SW_WKUP

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Vignesh R commit b9e23f321940d2db2c9def8ff723b8464fb86343 upstream. Legacy IPs like PWMSS, present under l4per2_7xx_clkdm, cannot support smart-idle when its clock domain is in HW_AUT

[PATCH 3.13.y-ckt 81/85] IB/uverbs: Fix race between ib_uverbs_open and remove_one

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Yishai Hadas commit 35d4a0b63dc0c6d1177d4f532a9deae958f0662c upstream. Fixes: 2a72f212263701b927559f6850446421d5906c41 ("IB/uverbs: Remove dev_table") Before this commit there was

[PATCH 3.13.y-ckt 84/85] task_work: remove fifo ordering guarantee

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit c82199061009d1561e31e17fca5e47a87cb7ff4c upstream. In commit f341861fb0b ("task_work: add a scheduling point in task_work_run()") I fixed a latency problem addin

[PATCH 3.13.y-ckt 83/85] ipv6: fix exthdrs offload registration in out_rt path

2015-10-20 Thread Kamal Mostafa
3.13.11-ckt28 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit e41b0bedba0293b9e1e8d1e8ed553104b9693656 upstream. We previously register IPPROTO_ROUTING offload under inet6_add_offload(), but in error path, we try to unre

[PATCH 3.19.y-ckt 006/156] [media] rc-core: fix remove uevent generation

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?David=20H=C3=A4rdeman?= commit a66b0c41ad277ae62a3ae6ac430a71882f899557 upstream. The input_dev is already gone when the rc device is being unregistered so checking for its

[PATCH 3.19.y-ckt 004/156] sctp: fix race on protocol/netns initialization

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Marcelo Ricardo Leitner commit 8e2d61e0aed2b7c4ecb35844fe07e0b2b762dee4 upstream. Consider sctp module is unloaded and is being requested because an user is creating a sctp socket. D

[PATCH 3.19.y-ckt 003/156] vfs: Test for and handle paths that are unreachable from their mnt_root

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: "Eric W. Biederman" commit 397d425dc26da728396e66d392d5dcb8dac30c37 upstream. In rare cases a directory can be renamed out from under a bind mount. In those cases without special hand

[PATCH 3.19.y-ckt 019/156] usb: dwc3: ep0: Fix mem corruption on OUT transfers of more than 512 bytes

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Kishon Vijay Abraham I commit b2fb5b1a0f50d3ebc12342c8d8dead245e9c9d4e upstream. DWC3 uses bounce buffer to handle non max packet aligned OUT transfers and the size of bounce buffer i

[PATCH 3.19.y-ckt 017/156] clk: exynos4: Fix wrong clock for Exynos4x12 ADC

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit e323d56eb06b266b77c2b430cb5f1977ba549e03 upstream. The TSADC gate clock was used in Exynos4x12 DTSI for exynos-adc driver. However TSADC is present only on

[PATCH 3.19.y-ckt 018/156] USB: pl2303: fix baud-rate divisor calculations

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Micha=C5=82=20Pecio?= commit 49bda21266fdf195142e8b5dea057f09e96ada9f upstream. This commit fixes the following issues: 1. The 9th bit of buf was believed to be the LSB of

[PATCH 3.19.y-ckt 012/156] rtlwifi: rtl8821ae: Fix an expression that is always false

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 251086f588720277a6f5782020a648ce32c4e00b upstream. In routine _rtl8821ae_set_media_status(), an incorrect mask results in a test for AP status to always be false.

[PATCH 3.19.y-ckt 023/156] serial: 8250_pci: Add support for Pericom PI7C9X795[1248]

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Adam Lee commit 89c043a6cb2d4525d48a38ed78d5f0f5672338b3 upstream. Pericom PI7C9X795[1248] are Uno/Dual/Quad/Octal UART devices, this patch enables them, also defines PCI_VENDOR_ID_PE

[PATCH 3.19.y-ckt 021/156] Doc: ABI: testing: configfs-usb-gadget-loopback

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Chen commit 8cd50626823c00ca7472b2f61cb8c0eb9798ddc0 upstream. Fix the name of attribute Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi Signed-off-by: Kamal Mostafa -

[PATCH 3.19.y-ckt 007/156] HID: cp2112: fix I2C_SMBUS_BYTE write

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ellen Wang commit 6d00d153f00097d259f86304e11858a50a1b8ad1 upstream. When doing an I2C_SMBUS_BYTE write (one byte write, no address), the data to be written is in "command" not "data-

Re: [PATCH] mm, hugetlb: use memory policy when available

2015-10-20 Thread Andrew Morton
On Tue, 20 Oct 2015 12:53:17 -0700 Dave Hansen wrote: > > From: Dave Hansen > > I have a hugetlbfs user which is never explicitly allocating huge pages > with 'nr_hugepages'. They only set 'nr_overcommit_hugepages' and then let > the pages be allocated from the buddy allocator at fault time.

[PATCH 3.19.y-ckt 022/156] Doc: ABI: testing: configfs-usb-gadget-sourcesink

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Chen commit 4bc58eb16bb2352854b9c664cc36c1c68d2bfbb7 upstream. Fix the name of attribute Signed-off-by: Peter Chen Signed-off-by: Felipe Balbi Signed-off-by: Kamal Mostafa -

[PATCH 3.19.y-ckt 020/156] usb: gadget: f_uac2: finalize wMaxPacketSize according to bandwidth

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Chen commit 913e4a90b6f9687ac0f543e7b632753e4f51c441 upstream. According to USB Audio Device 2.0 Spec, Ch4.10.1.1: wMaxPacketSize is defined as follows: Maximum packet size this

[PATCH 3.19.y-ckt 028/156] iio: Add inverse unit conversion macros

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit c689a923c867eac40ed3826c1d9328edea8b6bc7 upstream. Add inverse unit conversion macro to convert from standard IIO units to units that might be used by some d

RE: [PATCH 3.19.y-ckt 147/156] IB/mlx5: avoid destroying a NULL mr in reg_user_mr error flow

2015-10-20 Thread Eli Cohen
Acked-by: Eli Cohen -Original Message- From: Kamal Mostafa [mailto:ka...@canonical.com] Sent: Tuesday, October 20, 2015 4:38 PM To: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; kernel-t...@lists.ubuntu.com Cc: Eli Cohen; Haggai Eran; Doug Ledford; Kamal Mostafa Subject: [PATCH

[PATCH 3.19.y-ckt 027/156] iio: adis16400: Fix adis16448 gyroscope scale

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 8166537283b31d7abaae9e56bd48fbbc30cdc579 upstream. Use the correct scale for the adis16448 gyroscope output. Signed-off-by: Lars-Peter Clausen Signed-off-b

[PATCH 3.19.y-ckt 024/156] KVM: MMU: fix validation of mmio page fault

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Xiao Guangrong commit 6f691251c0350ac52a007c54bf3ef62e9d8cdc5e upstream. We got the bug that qemu complained with "KVM: unknown exit, hardware reason 31" and KVM shown these info: [84

[PATCH 3.19.y-ckt 029/156] iio: adis16480: Fix scale factors

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 7abad1063deb0f77d275c61f58863ec319c58c5c upstream. The different devices support by the adis16480 driver have slightly different scales for the gyroscope and

[PATCH 3.19.y-ckt 025/156] auxdisplay: ks0108: fix refcount

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Sudip Mukherjee commit bab383de3b84e584b0f09227151020b2a43dc34c upstream. parport_find_base() will implicitly do parport_get_port() which increases the refcount. Then parport_register

[PATCH 3.19.y-ckt 034/156] iio: event: Remove negative error code from iio_event_poll

2015-10-20 Thread Kamal Mostafa
3.19.8-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Cristina Opriceana commit 41d903c00051d8f31c98a8136edbac67e6f8688f upstream. Negative return values are not supported by iio_event_poll since its return type is unsigned int. Fixes:

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