[PATCH 4.2.y-ckt 004/273] ASN.1: Fix non-match detection failure on data overrun

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Howells commit 0d62e9dd6da45bbf0f33a8617afc5fe774c8f45f upstream. If the ASN.1 decoder is asked to parse a sequence of objects, non

[PATCH 4.2.y-ckt 008/273] iw_cxgb3: Fix incorrectly returning error on success

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hariprasad S commit 67f1aee6f45059fd6b0f5b0ecb2c97ad0451f6b3 upstream. The cxgb3_*_send() functions return NET_XMIT_ values, which are po

[PATCH 4.2.y-ckt 005/273] KEYS: Fix keyring ref leak in join_session_keyring()

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Yevgeny Pats commit 23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 upstream. This fixes CVE-2016-0728. If a thread is asked to join as a sessi

[PATCH 4.2.y-ckt 014/273] KVM: VMX: Fix host initiated access to guest MSR_TSC_AUX

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Haozhong Zhang commit 81b1b9ca6d5ca5f3ce91c0095402def657cf5db3 upstream. The current handling of accesses to guest MSR_TSC_AUX returns er

[PATCH 4.2.y-ckt 003/273] [media] usbvision: fix crash on detecting device with invalid configuration

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vladis Dronov commit fa52bd506f274b7619955917abfde355e3d19ffe upstream. The usbvision driver crashes when a specially crafted usb device

[PATCH 4.2.y-ckt 001/273] x86/xen/p2m: hint at the last populated P2M entry

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Vrabel commit 98dd166ea3a3c3b57919e20d9b0d1237fcd0349d upstream. With commit 633d6f17cd91ad5bf2370265946f716e42d388c6 (x86/xen: pre

[PATCH 4.2.y-ckt 002/273] [media] usbvision fix overflow of interfaces array

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Oliver Neukum commit 588afcc1c0e45358159090d95bf7b246fb67565f upstream. This fixes the crash reported in: http://seclists.org/bugtraq/201

[PATCH 4.2.y-ckt 131/273] ALSA: timer: Fix race between stop and interrupt

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit ed8b1d6d2c741ab26d60d499d7fbb7ac801f0f51 upstream. A slave timer element also unlinks at snd_timer_stop() but it take

[PATCH 4.2.y-ckt 081/273] Btrfs: fix page reading in extent_same ioctl leading to csum errors

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Filipe Manana commit 313140023026ae542ad76e7e268c56a1eaa2c28e upstream. In the extent_same ioctl, we were grabbing the pages (locked) and

[PATCH 4.2.y-ckt 116/273] qla2xxx: Fix stale pointer access.

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Quinn Tran commit cb43285ff7039fe3c4b0bc476e6d6569c31104f3 upstream. [ Upstream Commit 84e32a06f4f8756ce9ec3c8dc7e97896575f0771 ] Commit

[PATCH 4.2.y-ckt 038/273] ARM: dts: at91: sama5d4ek: add phy address and IRQ for macb0

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Wenyou Yang commit aae6b18f5c95b9dc78de66d1e27e8afeee2763b7 upstream. On SAMA5D4EK board, the Ethernet doesn't work after resuming from t

[PATCH 4.2.y-ckt 118/273] tty: Add support for PCIe WCH382 2S multi-IO card

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jeremy McNicoll commit 7dde55787b43a8f2b4021916db38d90c03a2ec64 upstream. WCH382 2S board is a PCIe card with 2 DB9 COM ports detected as

[PATCH 4.2.y-ckt 015/273] x86/entry/compat: Add missing CLAC to entry_INT80_32

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Andy Lutomirski commit 3d44d51bd339766f0178f0cf2e8d048b4a4872aa upstream. This doesn't seem to fix a regression -- I don't think the CLAC

[PATCH 4.2.y-ckt 079/273] btrfs: fix clone / extent-same deadlocks

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mark Fasheh commit 293a8489f300536dc6d996c35a6ebb89aa03bab2 upstream. Clone and extent same lock their source and target inodes in opposi

[PATCH 4.2.y-ckt 091/273] [media] tda1004x: only update the frontend properties if locked

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mauro Carvalho Chehab commit e8beb02343e7582980c6705816cd957cf4f74c7a upstream. The tda1004x was updating the properties cache before loc

[PATCH 4.2.y-ckt 078/273] drivers/hwspinlock: fix race between radix tree insertion and lookup

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Matthew Wilcox commit c6400ba7e13a41539342f1b6e1f9e78419cb0148 upstream. of_hwspin_lock_get_id() is protected by the RCU lock, which mean

[PATCH 4.2.y-ckt 077/273] radix-tree: fix race in gang lookup

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Matthew Wilcox commit 46437f9a554fbe3e110580ca08ab703b59f2f95a upstream. If the indirect_ptr bit is set on a slot, that indicates we need

[PATCH 4.2.y-ckt 031/273] rtlwifi: rtl8821ae: Fix 5G failure when EEPROM is incorrectly encoded

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Larry Finger commit c72fc9093718a3f8597249863a1bac345ba00859 upstream. Recently, it has been reported that D-Link DWA-582 cards, which us

[PATCH 4.2.y-ckt 086/273] xhci: Fix list corruption in urb dequeue at host removal

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mathias Nyman commit 5c82171167adb8e4ac77b91a42cd49fb211a81a0 upstream. xhci driver frees data for all devices, both usb2 and and usb3 th

[PATCH 4.2.y-ckt 129/273] xen/scsiback: correct frontend counting

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Juergen Gross commit f285aa8db7cc4432c1a03f8b55ff34fe96317c11 upstream. When adding a new frontend to xen-scsiback don't decrement the nu

[PATCH 4.2.y-ckt 059/273] MIPS: Fix buffer overflow in syscall_get_arguments()

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Hogan commit f4dce1ffd2e30fa31756876ef502ce6d2324be35 upstream. Since commit 4c21b8fd8f14 ("MIPS: seccomp: Handle indirect system c

[PATCH 4.2.y-ckt 030/273] ARM: OMAP2+: Fix ppa_zero_params and ppa_por_params for rodata

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tony Lindgren commit 4da597d16602d14405b71a18d45e1c59f28f0fd2 upstream. We don't want to write to .text so let's move ppa_zero_params and

[PATCH 4.2.y-ckt 029/273] ARM: OMAP2+: Fix l2_inv_api_params for rodata

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tony Lindgren commit 0a0b13275558c32bbf6241464a7244b1ffd5afb3 upstream. We don't want to write to .text, so let's move l2_inv_api_params

[PATCH 4.2.y-ckt 189/273] kernel/resource.c: fix muxed resource handling in __request_region()

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Simon Guinot commit 59ceeaaf355fa0fb16558ef7c24413c804932ada upstream. In __request_region, if a conflict with a BUSY and MUXED resource

[PATCH 4.2.y-ckt 234/273] net:Add sysctl_max_skb_frags

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hans Westgaard Ry [ Upstream commit 5f74f82ea34c0da80ea0b49192bb5ea06e063593 ] Devices may have limits on the number of fragments in an s

[PATCH 4.2.y-ckt 142/273] drm/amdgpu: remove unnecessary forward declaration

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?Nicolai=20H=C3=A4hnle?= commit b19763d0d867eb863953500a5c87f2fd663863b8 upstream. Signed-off-by: Nicolai Hähnle Reviewed-by: A

[PATCH 4.2.y-ckt 236/273] sctp: translate network order to host order when users get a hmacid

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Xin Long [ Upstream commit 7a84bd46647ff181eb2659fdc99590e6f16e501d ] Commit ed5a377d87dc ("sctp: translate host order to network order w

[PATCH 4.2.y-ckt 159/273] xen/pciback: Save the number of MSI-X entries to be copied later.

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit d159457b84395927b5a52adb72f748dd089ad5e5 upstream. Commit 8135cf8b092723dbfcc611fe6fdcb3a36c9951c5 (xen/pcib

[PATCH 4.2.y-ckt 170/273] drm: Fix treatment of drm_vblank_offdelay in drm_vblank_on() (v2)

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mario Kleiner commit bb74fc1bf3072bd3ab4ed5f43afd287a63baf2d7 upstream. drm_vblank_offdelay can have three different types of values: <

[PATCH 4.2.y-ckt 141/273] drm/amdgpu: fix s4 resume

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Flora Cui commit ca19852884c8937eed89560f924f5a34cfcc22af upstream. No need to re-init asic if it's already been initialized. Skip IB tes

[PATCH 4.2.y-ckt 133/273] ALSA: timer: Fix race at concurrent reads

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 4dff5c7b7093b19c19d3a100f8a3ad87cb7cd9e7 upstream. snd_timer_user_read() has a potential race among parallel reads, a

[PATCH 4.2.y-ckt 146/273] s390/dasd: prevent incorrect length error under z/VM after PAV changes

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Stefan Haberland commit 020bf042e5b397479c1174081b935d0ff15d1a64 upstream. The channel checks the specified length and the provided amoun

[PATCH 4.2.y-ckt 139/273] ahci: Intel DNV device IDs SATA

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexandra Yates commit 342decff2b846b46fa61eb5ee40986fab79a9a32 upstream. Adding Intel codename DNV platform device IDs for SATA. Signed

Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread Andrew Morton
On Mon, 7 Mar 2016 18:43:47 +0800 "Leizhen (ThunderTown)" wrote: > Suppose: > CONFIG_SPARSEMEM is opened. > CONFIG_DMA_API_DEBUG or CONFIG_CMA is opened. > > Then virt_to_page or phys_to_page will be called. Finally, in __pfn_to_page, > __sec = __pfn_to_section(__pfn) is NULL. > So access sect

[PATCH 4.2.y-ckt 194/273] drm/amdgpu/pm: adjust display configuration after powerstate

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Deucher commit 8e7cedc6f7fe762ffe6e348502be34b11fa79298 upstream. set_power_state defaults to no displays, so we need to update the

[PATCH 4.2.y-ckt 188/273] hwmon: (gpio-fan) Remove un-necessary speed_index lookup for thermal hook

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Nishanth Menon commit 000e0949148382c4962489593a2f05504c2a6771 upstream. Thermal hook gpio_fan_get_cur_state is only interested in knowin

[PATCH 4.2.y-ckt 186/273] ext4: fix crashes in dioread_nolock mode

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jan Kara commit 74dae4278546b897eb81784fdfcce872ddd8b2b8 upstream. Competing overwrite DIO in dioread_nolock mode will just overwrite poi

[PATCH 4.2.y-ckt 195/273] drm/radeon/pm: adjust display configuration after powerstate

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alex Deucher commit 39d4275058baf53e89203407bf3841ff2c74fa32 upstream. set_power_state defaults to no displays, so we need to update the

[PATCH 4.2.y-ckt 196/273] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ivaylo Dimitrov commit 3f315c5b850fa7aff73f50de8e316b98f611a32b upstream. Commit e7b11dc7b77b ("ARM: OMAP2+: Fix onenand rate detection t

[PATCH 4.2.y-ckt 156/273] powerpc/eeh: Fix stale cached primary bus

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Gavin Shan commit 05ba75f848647135f063199dc0e9f40fee769724 upstream. When PE is created, its primary bus is cached to pe->bus. At later p

[PATCH 4.2.y-ckt 235/273] tg3: Fix for tg3 transmit queue 0 timed out when too many gso_segs

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Siva Reddy Kallam [ Upstream commit b7d987295c74500b733a0ba07f9a9bcc4074fa83 ] tg3_tso_bug() can hit a condition where the entire tx ring

[PATCH 4.2.y-ckt 187/273] nfit: fix multi-interface dimm handling, acpi6.1 compatibility

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dan Williams commit 6697b2cf69d4363266ca47eaebc49ef13dabc1c9 upstream. ACPI 6.1 clarified that multi-interface dimms require multiple con

Re: Oops in 3.10.99 -- NULL pointer dereference in radeon_fence_ref

2016-03-07 Thread Greg Kroah-Hartman
On Mon, Mar 07, 2016 at 10:06:47PM +0100, Christian König wrote: > Am 07.03.2016 um 21:46 schrieb Greg Kroah-Hartman: > >On Sun, Mar 06, 2016 at 07:50:14PM -0700, Erik Andersen wrote: > >>The following patch to radeon_sa_bo_new that > >>went into 3.10.99 > >> > >> commit 8d5e1e5af0c667545c202e8f4

[PATCH 4.2.y-ckt 158/273] xen/pciback: Check PF instead of VF for PCI_COMMAND_MEMORY

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit 8d47065f7d1980dde52abb874b301054f3013602 upstream. Commit 408fb0e5aa7fda0059db282ff58c3b2a4278baa0 (xen/pcib

[PATCH 4.2.y-ckt 267/273] net: phy: bcm7xxx: Fix bcm7xxx_config_init() check

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit 258bf44364263cb6391f35ebaca3c2366655bded upstream. Since we were wrongly advertising gigabit features for these 1

[PATCH 4.2.y-ckt 268/273] s390/oprofile: fix address range for asynchronous stack

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Heiko Carstens commit 232f5dd78586a684a7364a486b934e19384189dc upstream. git commit dc7ee00d4771 ("s390: lowcore stack pointer offsets")

[PATCH 4.2.y-ckt 271/273] net: phy: bcm7xxx: Fix 40nm EPHY features

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit c6dd213abe40132f83e6ee569d70f3d60aa8b257 upstream. The PHY entries for BCM7425/29/35 declare the 40nm Ethernet PH

[PATCH 4.2.y-ckt 269/273] net: phy: Fix phy_mac_interrupt()

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit deccd16f91f930af8e91ffbbfc839d0ad8da999d upstream. Commit 5ea94e7686a3 ("phy: add phy_mac_interrupt()") to use wi

[PATCH 4.2.y-ckt 270/273] net: phy: Avoid polling PHY with PHY_IGNORE_INTERRUPTS

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit d5c3d84657db57bd23ecd58b97f1c99dd42a7b80 upstream. Commit 2c7b49212a86 ("phy: fix the use of PHY_IGNORE_INTERRUPT

[PATCH 4.2.y-ckt 261/273] MAINTAINERS: Remove stale entry for BCM33xx chips

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit 87bee0ecf01d2ed0d48bba1fb12c954f9476d243 upstream. Commit 70371cef114ca ("MAINTAINERS: Add entry for BMIPS multip

[PATCH 4.2.y-ckt 266/273] bonding: don't use stale speed and duplex information

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jay Vosburgh commit 266b495f11d6706018f66250cb02a788ff2490d7 upstream. There is presently a race condition between the bonding periodic l

[PATCH 4.2.y-ckt 273/273] IB/IPoIB: Do not set skb truesize since using one linearskb

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Carol L Soto commit bb6a777369449d15a4a890306d2f925cae720e1c upstream. We are seeing this warning: at net/core/skbuff.c:4174 and before c

[PATCH 4.2.y-ckt 256/273] af_unix: Don't set err in unix_stream_read_generic unless there was an error

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Rainer Weikusat commit 1b92ee3d03af6643df395300ba7748f19ecdb0c5 upstream. The present unix_stream_read_generic contains various code sequ

[PATCH 4.2.y-ckt 264/273] net: phy: bcm7xxx: Fix shadow mode 2 disabling

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Florian Fainelli commit 50d899808d33a5b0aa82be23e824119944042689 upstream. The clear and set masks in the call to phy_set_clr_bits() call

[PATCH 4.2.y-ckt 259/273] ARM: dts: kirkwood: use unique machine name for ds112

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Heinrich Schuchardt commit 9d021c9d1b4b774a35d8a03d58dbf029544debda upstream. Downstream packages like Debian flash-kernel use /proc/devi

Re: [PATCH 4/6] x86/mbm: Memory bandwidth monitoring event management

2016-03-07 Thread Peter Zijlstra
On Tue, Mar 01, 2016 at 03:48:26PM -0800, Vikas Shivappa wrote: > Lot of the scheduling code was taken out from Tony's patch and a 3-4 > lines of change were added in the intel_cqm_event_read. Since the timer > is no more added on every context switch this change was made. It this here to confuse

[PATCH 4.2.y-ckt 265/273] writeback: initialize inode members that track writeback history

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tahsin Erdogan commit 3d65ae4634ed8350aee98a4e6f4e41fe40c7d282 upstream. inode struct members that track cgroup writeback information sho

[PATCH 4.2.y-ckt 272/273] netfilter: nfnetlink: correctly validate length of batch messages

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Phil Turnbull commit c58d6c93680f28ac58984af61d0a7ebf4319c241 upstream. If nlh->nlmsg_len is zero then an infinite loop is triggered beca

[PATCH 4.2.y-ckt 263/273] net/mlx4_core: Fix potential corruption in counters database

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Eran Ben Elisha commit 6b94bab0ee8d5def6a2aac0ef6204ee6e24386b6 upstream. The error flow in procedure handle_existing_counter() is wrong.

[PATCH 4.2.y-ckt 262/273] [media] exynos4-is: fix a format string bug

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Rasmus Villemoes commit 76a563675485849f6f9ad5b30df220438b3628c1 upstream. Ironically, 7d4020c3c400 ("[media] exynos4-is: fix some warnin

[PATCH 4.2.y-ckt 258/273] Input: xpad - remove unused function

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Arnd Bergmann commit a6ed4a18ba6a6f5a01e024b9d221d6439bf6ca4c upstream. There are two definitions of xpad_identify_controller(), one is u

[PATCH 4.2.y-ckt 260/273] s390/stacktrace: fix address ranges for asynchronous and panic stack

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Heiko Carstens commit 9900c48c46d8bcf497972024c5fe366e6d9771f3 upstream. git commit dc7ee00d4771 ("s390: lowcore stack pointer offsets")

Re: [PATCH 1/6] x86,perf/cqm: Fix cqm handling of grouping events into a cache_group

2016-03-07 Thread Peter Zijlstra
On Tue, Mar 01, 2016 at 03:48:23PM -0800, Vikas Shivappa wrote: > --- a/include/linux/perf_event.h > +++ b/include/linux/perf_event.h > @@ -121,6 +121,7 @@ struct hw_perf_event { > struct { /* intel_cqm */ > int cqm_state; >

[PATCH 4.2.y-ckt 257/273] netlink: not trim skb for mmaped socket when dump

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ken-ichirou MATSUZAWA commit aa3a022094fac7f6e48050e139fa8a5a2e3265ce upstream. We should not trim skb for mmaped socket since its buf si

[PATCH 4.2.y-ckt 251/273] unix_diag: fix incorrect sign extension in unix_lookup_by_ino

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Dmitry V. Levin" [ Upstream commit b5f0549231ffb025337be5a625b0ff9f52b016f0 ] The value passed by unix_diag_get_exact to unix_lookup_by_

[PATCH 4.2.y-ckt 252/273] sctp: Fix port hash table size computation

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Neil Horman [ Upstream commit d9749fb5942f51555dc9ce1ac0dbb1806960a975 ] Dmitry Vyukov noted recently that the sctp_port_hashtable had an

[PATCH 4.2.y-ckt 255/273] batman-adv: Avoid endless loop in bat-on-bat netdevice check

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Andrew Lunn commit 1bc4e2b000e7fa9773d6623bc8850561ce10a4fb upstream. batman-adv checks in different situation if a new device is already

[PATCH 4.2.y-ckt 254/273] s390/perf_event: fix address range for asynchronous stack

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Heiko Carstens commit 1f8cbb9c8365061d8b866e9b4f4403e029d57989 upstream. git commit dc7ee00d4771 ("s390: lowcore stack pointer offsets")

[PATCH 4.2.y-ckt 253/273] net/mlx4_core: Do not BUG_ON during reset when PCI is offline

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniel Jurgens commit 22e3817e6c8301dc0520b855c8a2d764580e719c upstream. The PCI channel could go offline during reset due to EEH. Don't

[PATCH 4.2.y-ckt 250/273] rtnl: RTM_GETNETCONF: fix wrong return value

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Anton Protopopov [ Upstream commit a97eb33ff225f34a8124774b3373fd244f0e83ce ] An error response from a RTM_GETNETCONF request can return

[PATCH 4.2.y-ckt 248/273] pppoe: fix reference counting in PPPoE proxy

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Guillaume Nault [ Upstream commit 29e73269aa4d36f92b35610c25f8b01c789b0dc8 ] Drop reference on the relay_po socket when __pppoe_xmit() su

[PATCH 4.2.y-ckt 239/273] bpf: fix branch offset adjustment on backjumps after patching ctx expansion

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniel Borkmann [ Upstream commit a1b14d27ed0965838350f1377ff97c93ee383492 ] When ctx access is used, the kernel often needs to expand/re

[PATCH 4.2.y-ckt 247/273] l2tp: Fix error creating L2TP tunnels

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mark Tomlinson [ Upstream commit 853effc55b0f975abd6d318cca486a9c1b67e10f ] A previous commit (33f72e6) added notification via netlink fo

[PATCH 4.2.y-ckt 242/273] af_unix: Guard against other == sk in unix_dgram_sendmsg

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Rainer Weikusat [ Upstream commit a5527dda344fff0514b7989ef7a755729769daa1 ] The unix_dgram_sendmsg routine use the following test if (u

[PATCH 4.2.y-ckt 249/273] route: check and remove route cache when we get route

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Xin Long [ Upstream commit deed49df7390d5239024199e249190328f1651e7 ] Since the gc of ipv4 route was removed, the route cached would has

[PATCH 4.2.y-ckt 243/273] qmi_wwan: add "4G LTE usb-modem U901"

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= [ Upstream commit aac8d3c282e024c344c5b86dc1eab7af88bb9716 ] Thomas reports: T: Bus=01 Lev=01 Prnt=01 Por

[PATCH 4.2.y-ckt 238/273] net: Copy inner L3 and L4 headers as unaligned on GRE TEB

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexander Duyck [ Upstream commit 78565208d73ca9b654fb9a6b142214d52eeedfd1 ] This patch corrects the unaligned accesses seen on GRE TEB t

[PATCH 4.2.y-ckt 244/273] net/mlx4_en: Count HW buffer overrun only once

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Amir Vadai [ Upstream commit 281e8b2fdf8e4ef366b899453cae50e09b577ada ] RdropOvflw counts overrun of HW buffer, therefore should be used

[PATCH 4.2.y-ckt 246/273] net/mlx4_en: Avoid changing dev->features directly in run-time

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Eugenia Emantayev [ Upstream commit 925ab1aa9394bbaeac47ee5b65d3fdf0fb8135cf ] It's forbidden to manually change dev->features in run-tim

[PATCH 4.2.y-ckt 245/273] net/mlx4_en: Choose time-stamping shift value according to HW frequency

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Eugenia Emantayev [ Upstream commit 31c128b66e5b28f468076e4f3ca3025c35342041 ] Previously, the shift value used for time-stamping was con

Re: sscanf: implement basic character sets

2016-03-07 Thread Jessica Yu
+++ Rasmus Villemoes [03/03/16 00:49 +0100]: On Fri, Feb 26 2016, Jessica Yu wrote: @@ -2714,6 +2718,57 @@ int vsscanf(const char *buf, const char *fmt, va_list args) num++; } continue; + /* +* Warning: This

[PATCH v2 7/9] staging: lustre: change test to assert in LNetGetId

2016-03-07 Thread James Simmons
The ln_refcount test was changed into an assert. Signed-off-by: James Simmons --- drivers/staging/lustre/lnet/lnet/api-ni.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/staging/lustre/lnet/lnet/api-ni.c b/drivers/staging/lustre/lnet/lnet/api-ni.c index a66

Re: [PATCH v3 05/19] x86, boot: Fix run_size calculation

2016-03-07 Thread Kees Cook
On Fri, Mar 4, 2016 at 8:25 AM, Baoquan He wrote: > From: Yinghai Lu > > Firstly, current run_size is calculated via shell script > arch/x86/tools/calc_run_size.sh. It gets file offset and mem size of section > .bss and .brk in vmlinux, then add them as follows: > > run_size=$(( $offsetA + $sizeA

[PATCH 4.2.y-ckt 241/273] ipv4: fix memory leaks in ip_cmsg_send() callers

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Eric Dumazet [ Upstream commit 919483096bfe75dda338e98d56da91a263746a0a ] Dmitry reported memory leaks of IP options allocated in ip_cmsg

[PATCH 4.2.y-ckt 240/273] bonding: Fix ARP monitor validation

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jay Vosburgh [ Upstream commit 21a75f0915dde8674708b39abfcda113911c49b1 ] The current logic in bond_arp_rcv will accept an incoming ARP f

[PATCH v2 9/9] staging: lustre: make LNet use lprocfs_call_handler

2016-03-07 Thread James Simmons
Sometime ago a patch was submitted to duplicate the proc_call_handler code in the LNet layer. This was due to the thinking libcfs was not used by the LNet layer. This was a wrong assumption so lets make LNet use the lprocfs_call_handler from the libcfs layer. Signed-off-by: James Simmons --- ...

[PATCH 4.2.y-ckt 233/273] unix: correctly track in-flight fds in sending process user_struct

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hannes Frederic Sowa [ Upstream commit 415e3d3e90ce9e18727e8843ae343eda5a58fad6 ] The commit referenced in the Fixes tag incorrectly acco

[PATCH] drm/radeon: refactor CIK tiling table initialization

2016-03-07 Thread Josh Poimboeuf
When compiling the radeon driver on x86_64 with CONFIG_STACK_VALIDATION enabled, objtool gives the following warnings: drivers/gpu/drm/radeon/cik.o: warning: objtool: cik_tiling_mode_table_init()+0x6ce: call without frame pointer save/setup drivers/gpu/drm/radeon/cik.o: warning: objtool: cik

[PATCH v2 0/9] Last batch of fixes for LNet

2016-03-07 Thread James Simmons
This batch merges the remaining LNet patches from the OpenSFS branch for the upstream client. Once merged the LNet code will be up to date with the latest production code. Only style issues are remaining. Still future patches being developed for LNet will be landed to the upstream client as soon as

[PATCH v2 8/9] staging: lustre: rename proc_call_handler to lprocfs_call_handler

2016-03-07 Thread James Simmons
Using proc_call_handler as a function name is way too generic. Rename to lprocfs_call_handler to avoid possible collisions. Signed-off-by: James Simmons --- drivers/staging/lustre/lustre/libcfs/module.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dri

Re: [PATCH] scripts/dtc: Update to upstream version 53bf130b1cdd

2016-03-07 Thread Olof Johansson
Hi, On Fri, Mar 4, 2016 at 7:13 AM, Rob Herring wrote: > Sync to upstream dtc commit 53bf130b1cdd ("libfdt: simplify > fdt_node_check_compatible()"). This adds the following commits from > upstream: > > 53bf130 libfdt: simplify fdt_node_check_compatible() > c9d9121 Warn on node name unit-address

Re: [PATCH v3 06/19] x86, kaslr: Clean up useless code related to run_size.

2016-03-07 Thread Kees Cook
On Fri, Mar 4, 2016 at 8:25 AM, Baoquan He wrote: > From: Yinghai Lu > > So now we use the below formula to get run_size. > > run_size = VO__end - VO__text > > Let's remove code for old run_size calculation and clean up the places > where run_size need be passed in and out. > > Cc: "H. Pe

Re: sscanf: implement basic character sets

2016-03-07 Thread Jessica Yu
+++ Jessica Yu [26/02/16 15:28 -0500]: +++ Jessica Yu [26/02/16 15:20 -0500]: Implement basic character sets for the '%[' conversion specifier. The '%[' conversion specifier matches a nonempty sequence of characters from the specified set of accepted (or with '^', rejected) characters between t

[PATCH v2 6/9] staging: lustre: Correct missing newline

2016-03-07 Thread James Simmons
From: James Nunez Several error messages are missing newline characters at the end of the message. Newlines are added where necessary and other minor corrections; no punctuation at the end of an error message, add a return code to the end of error messages, device name at the beginning, etc. The

[PATCH v2 4/9] staging: lustre: fix 'NULL pointer dereference' errors

2016-03-07 Thread James Simmons
From: Sebastien Buisson Fix 'NULL pointer dereference' defects found by Coverity version 6.5.3: Dereference after null check (FORWARD_NULL) For instance, Passing null pointer to a function which dereferences it. Dereference before null check (REVERSE_INULL) Null-checking variable suggests that it

[PATCH v2 5/9] staging: lustre: fix 'data race condition' issue in framework.c

2016-03-07 Thread James Simmons
From: Sebastien Buisson Fix 'data race condition' defects found by Coverity version 6.5.0: Data race condition (MISSING_LOCK) Accessing variable without holding lock. Elsewhere, this variable is accessed with lock held. Signed-off-by: Sebastien Buisson Intel-bug-id: https://jira.hpdd.intel.com/

[PATCH v2 3/9] staging: lustre: fix 'data race condition' issue in conrpc.c

2016-03-07 Thread James Simmons
From: Sebastien Buisson Fix 'data race condition' defects found by Coverity version 6.5.0: Data race condition (MISSING_LOCK) Accessing variable without holding lock. Elsewhere, this variable is accessed with lock held. Signed-off-by: Sebastien Buisson Intel-bug-id: https://jira.hpdd.intel.com/

[PATCH v2 1/9] staging: lustre: LNet drop rule implementation

2016-03-07 Thread James Simmons
From: Liang Zhen This is implementation of LNet Drop Rule, which can randomly drop LNet messages at specified rate. LNet Drop Rule can only be applied to receive side of message. User can add drop_rule either on end point of cluster (client/server) or on LNet routers. Here are lctl command to c

[PATCH 4.2.y-ckt 171/273] x86/uaccess/64: Make the __copy_user_nocache() assembly code more readable

2016-03-07 Thread Kamal Mostafa
4.2.8-ckt5 -stable review patch. If anyone has any objections, please let me know. ---8< From: Toshi Kani commit ee9737c924706aaa72c2ead93e3ad5644681dc1c upstream. Add comments to __copy_user_nocache() to clarify its procedures and

[PATCH v2 2/9] staging: lustre: LNet network latency simulation

2016-03-07 Thread James Simmons
From: Liang Zhen Incoming lnet message can be delayed for seconds if it can match any of LNet Delay Rules. User can add/remove/list Delay Rule by lctl commands: - lctl net_delay_add Add a new Delay Rule to LNet, options <-s | --source SRC_NID> <-d | --dest DST_NID> <<-r | --rate RATE_NUM

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