Re: [PATCH] powerpc/8xx: use SPRN_EIE and SPRN_EID to enable/disable interrupts

2016-08-19 Thread Christophe Leroy
Le 18/08/2016 à 19:54, Segher Boessenkool a écrit : On Thu, Aug 18, 2016 at 06:52:47PM +0200, Christophe Leroy wrote: Le 18/08/2016 à 18:34, Segher Boessenkool a écrit : On Thu, Aug 18, 2016 at 05:56:02PM +0200, Christophe Leroy wrote: The 8xx has two special registers called EID (External I

[PATCH] Documentation: dt: dwc3: note the supported phy-names

2016-08-19 Thread Brian Norris
The dwc3 driver expicitly looks for "usb2-phy" or "usb3-phy", but we never noted these names in the documentation. Signed-off-by: Brian Norris --- Documentation/devicetree/bindings/usb/dwc3.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/binding

[PATCH] IB/qib: Use memdup_user() rather than duplicating its implementation

2016-08-19 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 19 Aug 2016 08:50:23 +0200 Reuse existing functionality from memdup_user() instead of keeping duplicate source code. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/infiniband/hw/qib/qib_fs.c | 11 +++

[PATCH 3.12 007/100] um: Remove copy&paste code from init.h

2016-08-19 Thread Jiri Slaby
From: Richard Weinberger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 30b11ee9ae23d78de66b9ae315880af17a64ba83 upstream. As we got rid of the __KERNEL__ abuse, we can directly include linux/compiler.h now. This also allows gcc 5 to build U

[PATCH 3.12 006/100] um: Fix out-of-tree build

2016-08-19 Thread Jiri Slaby
From: Richard Weinberger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0b5aedfe0e6654ec54f35109e1929a1cf7fc4cdd upstream. Commit 30b11ee9a (um: Remove copy&paste code from init.h) uncovered an issue wrt. out-of-tree builds. For out-of-tree

[PATCH 3.12 005/100] um: Stop abusing __KERNEL__

2016-08-19 Thread Jiri Slaby
From: Richard Weinberger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 298e20ba8c197e8d429a6c8671550c41c7919033 upstream. Currently UML is abusing __KERNEL__ to distinguish between kernel and host code (os-Linux). It is better to use a cust

[PATCH 3.12 035/100] Input: xpad - validate USB endpoint count during probe

2016-08-19 Thread Jiri Slaby
From: Cameron Gutman 3.12-stable review patch. If anyone has any objections, please let me know. === commit caca925fca4fb30c67be88cacbe908eec6721e43 upstream. This prevents a malicious USB device from causing an oops. Signed-off-by: Cameron Gutman Signed-off-by: Dmitry Torokhov

[PATCH 3.12 003/100] panic: release stale console lock to always get the logbuf printed out

2016-08-19 Thread Jiri Slaby
From: Vitaly Kuznetsov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 08d78658f393fefaa2e6507ea052c6f8ef4002a2 upstream. In some cases we may end up killing the CPU holding the console lock while still having valuable data in logbuf. E.g. I'

[PATCH 3.12 000/100] 3.12.63-stable review

2016-08-19 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.63 release. There are 100 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 Tue Aug 23 08:55:00 CEST 2016. Anything rece

[PATCH 3.12 008/100] netfilter: x_tables: validate targets of jumps

2016-08-19 Thread Jiri Slaby
From: Florian Westphal 3.12-stable review patch. If anyone has any objections, please let me know. === commit 36472341017529e2b12573093cc0f68719300997 upstream. When we see a jump also check that the offset gets us to beginning of a rule (an ipt_entry). The extra overhead is negi

[PATCH 3.12 087/100] drm/i915/dp: Revert "drm/i915/dp: fall back to 18 bpp when sink capability is unknown"

2016-08-19 Thread Jiri Slaby
From: Mario Kleiner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 196f954e250943df414efd3d632254c29be38e59 upstream. This reverts commit 013dd9e03872 ("drm/i915/dp: fall back to 18 bpp when sink capability is unknown") This commit introduc

[PATCH 3.12 097/100] ubi: Fix race condition between ubi device creation and udev

2016-08-19 Thread Jiri Slaby
From: Iosif Harutyunov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 714fb87e8bc05ff78255afc0dca981e8c5242785 upstream. Install the UBI device object before we arm sysfs. Otherwise udev tries to read sysfs attributes before UBI is ready and

[PATCH 3.12 095/100] IB/mlx4: Fix the SQ size of an RC QP

2016-08-19 Thread Jiri Slaby
From: Yishai Hadas 3.12-stable review patch. If anyone has any objections, please let me know. === commit f2940e2c76bb554a7fbdd28ca5b90904117a9e96 upstream. When calculating the required size of an RC QP send queue, leave enough space for masked atomic operations, which require mo

[RESEND PATCH] serial: samsung: Register cpufreq notifier only on S3C24xx

2016-08-19 Thread Krzysztof Kozlowski
The Samsung serial driver registered for CPU frequency transitions to recalculate its clock when ARM clock frequency changes. Driver is used on all Samsung SoCs (old S3C and new Exynos) however this is needed only on S3C24xx platform so limit the ifdef to respective cpufreq driver. On S3C24xx the

[PATCH 3.12 090/100] metag: Fix __cmpxchg_u32 asm constraint for CMP

2016-08-19 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6154c187b97ee7513046bb4eb317a89f738f13ef upstream. The LNKGET based atomic sequence in __cmpxchg_u32 has slightly incorrect constraints for the return value which under certain

[PATCH 3.12 088/100] balloon: check the number of available pages in leak balloon

2016-08-19 Thread Jiri Slaby
From: Konstantin Neumoin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 37cf99e08c6fb4dcea0f9ad2b13b6daa8c76a711 upstream. The balloon has a special mechanism that is subscribed to the oom notification which leads to deflation for a fixed nu

[PATCH 3.12 099/100] dm flakey: error READ bios during the down_interval

2016-08-19 Thread Jiri Slaby
From: Mike Snitzer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 99f3c90d0d85708e7401a81ce3314e50bf7f2819 upstream. When the corrupt_bio_byte feature was introduced it caused READ bios to no longer be errored with -EIO during the down_inter

[PATCH 3.12 100/100] module: Invalidate signatures on force-loaded modules

2016-08-19 Thread Jiri Slaby
From: Ben Hutchings 3.12-stable review patch. If anyone has any objections, please let me know. === commit bca014caaa6130e57f69b5bf527967aa8ee70fdd upstream. Signing a module should only make it trusted by the specific kernel it was built for, not anything else. Loading a signed

[PATCH 3.12 096/100] ubi: Make volume resize power cut aware

2016-08-19 Thread Jiri Slaby
From: Richard Weinberger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4946784bd3924b1374f05eebff2fd68660bae866 upstream. When the volume resize operation shrinks a volume, LEBs will be unmapped. Since unmapping will not erase these LEBs im

[PATCH 3.12 074/100] s5p-mfc: Add release callback for memory region devs

2016-08-19 Thread Jiri Slaby
From: Javier Martinez Canillas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6311f1261f59ce5e51fbe5cc3b5e7737197316ac upstream. When s5p_mfc_remove() calls put_device() for the reserved memory region devs, the driver core warns that the dev

[PATCH 3.12 092/100] IB/mlx5: Fix returned values of query QP

2016-08-19 Thread Jiri Slaby
From: Noa Osherovich 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0540d8148d419bf769e5aa99c77027febd8922f0 upstream. Some variables were not initialized properly: max_recv_wr, max_recv_sge, max_send_wr, qp_context and max_inline_data. Fix

[PATCH 3.12 091/100] IB/mlx5: Fix MODIFY_QP command input structure

2016-08-19 Thread Jiri Slaby
From: Artemy Kovalyov 3.12-stable review patch. If anyone has any objections, please let me know. === commit e3353c268b06236d6c40fa1714c114f21f44451c upstream. Make MODIFY_QP command input structure compliant to specification Fixes: e126ba97dba9 ('mlx5: Add driver for Mellanox Co

[PATCH 3.12 094/100] IB/IPoIB: Don't update neigh validity for unresolved entries

2016-08-19 Thread Jiri Slaby
From: Erez Shitrit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 61c78eea9516a921799c17b4c20558e2aa780fd3 upstream. ipoib_neigh_get unconditionally updates the "alive" variable member on any packet send. This prevents the neighbor garbage

[PATCH 3.12 086/100] drm/radeon: support backlight control for UNIPHY3

2016-08-19 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit d3200be6c423afa1c34f7e39e9f6d04dd5b0af9d upstream. Same interface as other UNIPHY blocks Signed-off-by: Alex Deucher Signed-off-by: Jiri Slaby --- drivers/gpu/drm/radeon/a

[PATCH 3.12 089/100] ftrace/recordmcount: Work around for addition of metag magic but not relocations

2016-08-19 Thread Jiri Slaby
From: Laura Abbott 3.12-stable review patch. If anyone has any objections, please let me know. === commit b2e1c26f0b62531636509fbcb6dab65617ed8331 upstream. glibc recently did a sync up (94e73c95d9b5 "elf.h: Sync with the gabi webpage") that added a #define for EM_METAG but did no

[PATCH 3.12 093/100] IB/mlx5: Fix post send fence logic

2016-08-19 Thread Jiri Slaby
From: Eli Cohen 3.12-stable review patch. If anyone has any objections, please let me know. === commit c9b254955b9f8814966f5dabd34c39d0e0a2b437 upstream. If the caller specified IB_SEND_FENCE in the send flags of the work request and no previous work request stated that the succes

Re: [PATCH v5 00/11] Add HW throttle for Tegra soctherm

2016-08-19 Thread Zhang Rui
On 四, 2016-05-26 at 17:42 +0800, Wei Ni wrote: > Hi, > Does there have any comments on this series? > Let me know if someone has suggestions. > I have no objections to this patch set. As 10 patches out of 11, in this patch series, contain changes out of thermal scope, if you prefer this patch set

[PATCH 3.12 098/100] Input: i8042 - break load dependency between atkbd/psmouse and i8042

2016-08-19 Thread Jiri Slaby
From: Dmitry Torokhov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4097461897df91041382ff6fcd2bfa7ee6b2448c upstream. As explained in 1407814240-4275-1-git-send-email-de...@microsoft.com we have a hard load dependency between i8042 and atk

[PATCH 3.12 084/100] drm/radeon: Poll for both connect/disconnect on analog connectors

2016-08-19 Thread Jiri Slaby
From: Lyude 3.12-stable review patch. If anyone has any objections, please let me know. === commit 14ff8d48f2235295dfb3117693008e367b49cdb5 upstream. DRM_CONNECTOR_POLL_CONNECT only enables polling for connections, not disconnections. Because of this, we end up losing hotplug poll

[PATCH 3.12 083/100] drm/radeon: add a delay after ATPX dGPU power off

2016-08-19 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit d814b24fb74cb9797d70cb8053961447c5879a5c upstream. ATPX dGPU power control requires a 200ms delay between power off and on. This should fix dGPU failures on resume from power

[PATCH 3.12 085/100] drm/radeon: fix firmware info version checks

2016-08-19 Thread Jiri Slaby
From: Alex Deucher 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3edc38a0facef45ee22af8afdce3737f421f36ab upstream. Some of the checks didn't handle frev 2 tables properly. Signed-off-by: Alex Deucher Signed-off-by: Jiri Slaby --- drive

[PATCH 3.12 082/100] netlabel: add address family checks to netlbl_{sock,req}_delattr()

2016-08-19 Thread Jiri Slaby
From: Paul Moore 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0e0e36774081534783aa8eeb9f6fbddf98d3c061 upstream. It seems risky to always rely on the caller to ensure the socket's address family is correct before passing it to the NetLabel

[PATCH 3.12 079/100] random: properly align get_random_int_hash

2016-08-19 Thread Jiri Slaby
From: Eric Biggers 3.12-stable review patch. If anyone has any objections, please let me know. === commit b1132deac01c2332d234fa821a70022796b79182 upstream. get_random_long() reads from the get_random_int_hash array using an unsigned long pointer. For this code to be guaranteed c

[PATCH 3.12 081/100] ARM: 8579/1: mm: Fix definition of pmd_mknotpresent

2016-08-19 Thread Jiri Slaby
From: Steve Capper 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56530f5d2ddc9b9fade7ef8db9cb886e9dc689b5 upstream. Currently pmd_mknotpresent will use a zero entry to respresent an invalidated pmd. Unfortunately this definition clashes wi

[PATCH 3.12 072/100] gpio: pca953x: Fix NBANK calculation for PCA9536

2016-08-19 Thread Jiri Slaby
From: Vignesh R 3.12-stable review patch. If anyone has any objections, please let me know. === commit a246b8198f776a16d1d3a3bbfc2d437bad766b29 upstream. NBANK() macro assumes that ngpios is a multiple of 8(BANK_SZ) and hence results in 0 banks for PCA9536 which has just 4 gpios.

[PATCH 3.12 076/100] cifs: Check for existing directory when opening file with O_CREAT

2016-08-19 Thread Jiri Slaby
From: Sachin Prabhu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8d9535b6efd86e6c07da59f97e68f44efb7fe080 upstream. When opening a file with O_CREAT flag, check to see if the file opened is an existing directory. This prevents the directo

[PATCH 3.12 080/100] nfs: don't create zero-length requests

2016-08-19 Thread Jiri Slaby
From: Benjamin Coddington 3.12-stable review patch. If anyone has any objections, please let me know. === commit 149a4fddd0a72d526abbeac0c8deaab03559836a upstream. NFS doesn't expect requests with wb_bytes set to zero and may make unexpected decisions about how to handle that requ

[PATCH 3.12 058/100] KEYS: 64-bit MIPS needs to use compat_sys_keyctl for 32-bit userspace

2016-08-19 Thread Jiri Slaby
From: David Howells 3.12-stable review patch. If anyone has any objections, please let me know. === commit 20f06ed9f61a185c6dabd662c310bed6189470df upstream. MIPS64 needs to use compat_sys_keyctl for 32-bit userspace rather than calling sys_keyctl. The latter will work in a lot o

[PATCH 3.12 070/100] usb: renesas_usbhs: protect the CFIFOSEL setting in usbhsg_ep_enable()

2016-08-19 Thread Jiri Slaby
From: Yoshihiro Shimoda 3.12-stable review patch. If anyone has any objections, please let me know. === commit 15e4292a2d21e9997fdb2b8c014cc461b3f268f0 upstream. This patch fixes an issue that the CFIFOSEL register value is possible to be changed by usbhsg_ep_enable() wrongly. And

[PATCH 3.12 066/100] ext4: fix deadlock during page writeback

2016-08-19 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit 646caa9c8e196880b41cd3e3d33a2ebc752bdb85 upstream. Commit 06bd3c36a733 (ext4: fix data exposure after a crash) uncovered a deadlock in ext4_writepages() which was previously much

[PATCH 3.12 078/100] CIFS: Fix a possible invalid memory access in smb2_query_symlink()

2016-08-19 Thread Jiri Slaby
From: Pavel Shilovsky 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7893242e2465aea6f2cbc2639da8fa5ce96e8cc2 upstream. During following a symbolic link we received err_buf from SMB2_open(). While the validity of SMB2 error response is check

[PATCH 3.12 073/100] s5p-mfc: Set device name for reserved memory region devs

2016-08-19 Thread Jiri Slaby
From: Javier Martinez Canillas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 29debab0a94035a390801d1f177d171d014b7765 upstream. The devices don't have a name set, so makes dev_name() returns NULL which makes harder to identify the devices t

[PATCH 3.12 071/100] USB: serial: option: add support for Telit LE910 PID 0x1206

2016-08-19 Thread Jiri Slaby
From: Daniele Palmas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3c0415fa08548e3bc63ef741762664497ab187ed upstream. This patch adds support for 0x1206 PID of Telit LE910. Since the interfaces positions are the same than the ones for 0x10

[PATCH 3.12 054/100] HID: i2c-hid: set power sleep before shutdown

2016-08-19 Thread Jiri Slaby
From: Guohua Zhong 3.12-stable review patch. If anyone has any objections, please let me know. === commit d9f448e3d71f3a703977196fa73be533b4b85adc upstream. Add i2c_hid_shutdown for i2c-hid driver to send suspend cmd & free irq before device shutdown. Some HW design (i.e. Umaro,

[PATCH 3.12 075/100] Bluetooth: Fix l2cap_sock_setsockopt() with optname BT_RCVMTU

2016-08-19 Thread Jiri Slaby
From: Amadeusz Sławiński 3.12-stable review patch. If anyone has any objections, please let me know. === commit 23bc6ab0a0912146fd674a0becc758c3162baabc upstream. When we retrieve imtu value from userspace we should use 16 bit pointer cast instead of 32 as it's defined that way in

[PATCH 3.12 077/100] cifs: fix crash due to race in hmac(md5) handling

2016-08-19 Thread Jiri Slaby
From: Rabin Vincent 3.12-stable review patch. If anyone has any objections, please let me know. === commit bd975d1eead2558b76e1079e861eacf1f678b73b upstream. The secmech hmac(md5) structures are present in the TCP_Server_Info struct and can be shared among multiple CIFS sessions.

[PATCH 3.12 067/100] ext4: don't call ext4_should_journal_data() on the journal inode

2016-08-19 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6a7fd522a7c94cdef0a3b08acf8e6702056e635c upstream. If ext4_fill_super() fails early, it's possible for ext4_evict_inode() to call ext4_should_journal_data() before superblock

Re: [PATCH][v2] PM / sleep: Increase default DPM watchdog timeout to 120

2016-08-19 Thread Pavel Machek
On Fri 2016-08-19 12:37:23, Chen Yu wrote: > Recently we have a new report that, the harddisk can not > resume on time due to firmware issues, and got a kernel > panic because of DPM watchdog timeout. So adjust the > default timeout from 60 to 120 to survive on this platform, > and make DPM_WATCHDO

[PATCH 3.12 064/100] crypto: scatterwalk - Fix test in scatterwalk_done

2016-08-19 Thread Jiri Slaby
From: Herbert Xu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5f070e81bee35f1b7bd1477bb223a873ff657803 upstream. When there is more data to be processed, the current test in scatterwalk_done may prevent us from calling pagedone even when w

[PATCH 3.12 061/100] sysv, ipc: fix security-layer leaking

2016-08-19 Thread Jiri Slaby
From: Fabian Frederick 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9b24fef9f0410fb5364245d6cc2bd044cc064007 upstream. Commit 53dad6d3a8e5 ("ipc: fix race with LSMs") updated ipc_rcu_putref() to receive rcu freeing function but used generi

[PATCH 3.12 069/100] ext4: fix reference counting bug on block allocation error

2016-08-19 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 554a5ccc4e4a20c5f3ec859de0842db4b4b9c77e upstream. If we hit this error when mounted with errors=continue or errors=remount-ro: EXT4-fs error (device loop0): ext4_mb_mar

[PATCH 3.12 065/100] ext4: check for extents that wrap around

2016-08-19 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit f70749ca42943faa4d4dcce46dfdcaadb1d0c4b6 upstream. An extent with lblock = 4294967295 and len = 1 will pass the ext4_valid_extent() test: ext4_lblk_t last = lblock +

[PATCH 3.12 062/100] fuse: fix wrong assignment of ->flags in fuse_send_init()

2016-08-19 Thread Jiri Slaby
From: Wei Fang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9446385f05c9af25fed53dbed3cc75763730be52 upstream. FUSE_HAS_IOCTL_DIR should be assigned to ->flags, it may be a typo. Signed-off-by: Wei Fang Signed-off-by: Miklos Szeredi Fix

[PATCH 3.12 063/100] crypto: gcm - Filter out async ghash if necessary

2016-08-19 Thread Jiri Slaby
From: Herbert Xu 3.12-stable review patch. If anyone has any objections, please let me know. === commit b30bdfa86431afbafe15284a3ad5ac19b49b88e3 upstream. As it is if you ask for a sync gcm you may actually end up with an async one because it does not filter out async implementati

[PATCH 3.12 043/100] can: fix oops caused by wrong rtnl dellink usage

2016-08-19 Thread Jiri Slaby
From: Oliver Hartkopp 3.12-stable review patch. If anyone has any objections, please let me know. === commit 25e1ed6e64f52a692ba3191c4fde650aab3ecc07 upstream. For 'real' hardware CAN devices the netlink interface is used to set CAN specific communication parameters. Real CAN hard

Re: [PATCH][RFC v2] PCI: Workaround to enable poweroff on Mac Pro 11

2016-08-19 Thread Lukas Wunner
On Fri, Aug 19, 2016 at 01:44:52AM +0800, Chen Yu wrote: > People reported that they can not do a poweroff nor a > suspend to memory on their Mac Pro 11. After some investigations > it was found that, once the PCI bridge :00:1c.0 reassigns its > mm windows([mem 0x7fa0-0x7fbf] and > [mem

[PATCH 3.12 068/100] ext4: short-cut orphan cleanup on error

2016-08-19 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit c65d5c6c81a1f27dec5f627f67840726fcd146de upstream. If we encounter a filesystem error during orphan cleanup, we should stop. Otherwise, we may end up in an infinite loop wher

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-19 Thread Marcelo Ricardo Leitner
Hi, Em 19-08-2016 02:29, Aaron Lu escreveu: ... It doesn't look insane and sctp_wait_for_sndbuf may actually have something to do with a larger sctp_chunk I suppose? The same perf record doesn't capture any sample for the good commit, which suggests the nerperf process doesn't sleep in sctp_wai

[PATCH 3.12 041/100] can: at91_can: RX queue could get stuck at high bus load

2016-08-19 Thread Jiri Slaby
From: Wolfgang Grandegger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 43200a4480cbbe660309621817f54cbb93907108 upstream. At high bus load it could happen that "at91_poll()" enters with all RX message boxes filled up. If then at the end th

[PATCH 3.12 053/100] MIPS: KVM: Propagate kseg0/mapped tlb fault errors

2016-08-19 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9b731bcfdec4c159ad2e4312e25d69221709b96a upstream. Propagate errors from kvm_mips_handle_kseg0_tlb_fault() and kvm_mips_handle_mapped_seg_tlb_fault(), usually triggering an int

[PATCH 3.12 056/100] x86/mm: Improve switch_mm() barrier comments

2016-08-19 Thread Jiri Slaby
From: Andy Lutomirski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4eaffdd5a5fe6ff9f95e1ab4de1ac904d5e0fa8b upstream. My previous comments were still a bit confusing and there was a typo. Fix it up. Reported-by: Peter Zijlstra Signed-off

[PATCH 3.12 059/100] apparmor: fix ref count leak when profile sha1 hash is read

2016-08-19 Thread Jiri Slaby
From: John Johansen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0b938a2e2cf0b0a2c8bac9769111545aff0fee97 upstream. Signed-off-by: John Johansen Acked-by: Seth Arnold Signed-off-by: Jiri Slaby --- security/apparmor/apparmorfs.c | 1 +

[PATCH 3.12 060/100] block: fix use-after-free in seq file

2016-08-19 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 77da160530dd1dc94f6ae15a981f24e5f0021e84 upstream. I got a KASAN report of use-after-free: == BUG: KA

[PATCH 3.12 057/100] arm: oabi compat: add missing access checks

2016-08-19 Thread Jiri Slaby
From: Dave Weinstein 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7de249964f5578e67b99699c5f0b405738d820a2 upstream. Add access checks to sys_oabi_epoll_wait() and sys_oabi_semtimedop(). This fixes CVE-2016-3857, a local privilege escalati

[PATCH 3.12 052/100] MIPS: KVM: Fix gfn range check in kseg0 tlb faults

2016-08-19 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0741f52d1b980dbeb290afe67d88fc2928edd8ab upstream. Two consecutive gfns are loaded into host TLB, so ensure the range check isn't off by one if guest_pmap_npages is odd. Fixes

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-19 Thread Aaron Lu
On Fri, Aug 19, 2016 at 04:19:39AM -0300, Marcelo Ricardo Leitner wrote: > Hi, > > Em 19-08-2016 02:29, Aaron Lu escreveu: > ... > > It doesn't look insane and sctp_wait_for_sndbuf may actually have > > something to do with a larger sctp_chunk I suppose? > > > > The same perf record doesn't captu

[PATCH 3.12 055/100] HID: multitouch: Add MT_QUIRK_NOT_SEEN_MEANS_UP to Surface Pro 3

2016-08-19 Thread Jiri Slaby
From: Benjamin Tissoires 3.12-stable review patch. If anyone has any objections, please let me know. === commit a80e803a2ae4efa5efbcfa97dcbbc48d15226cf9 upstream. The firmware found in the touch screen of an SP3 is buggy and may miss to send lift off reports for contacts. Try to w

[PATCH 3.12 049/100] tcp: consider recv buf for the initial window scale

2016-08-19 Thread Jiri Slaby
From: Soheil Hassas Yeganeh 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit f626300a3e776ccc9671b0dd94698fb3aa315966 ] tcp_select_initial_window() intends to advertise a window scaling for the maximum possible window size. To do so

[PATCH 3.12 045/100] net: mvneta: set real interrupt per packet for tx_done

2016-08-19 Thread Jiri Slaby
From: Dmitri Epshtein 3.12-stable review patch. If anyone has any objections, please let me know. === commit 06708f81528725148473c0869d6af5f809c6824b upstream. Commit aebea2ba0f74 ("net: mvneta: fix Tx interrupt delay") intended to set coalescing threshold to a value guaranteeing

[PATCH 3.12 042/100] can: fix handling of unmodifiable configuration options fix

2016-08-19 Thread Jiri Slaby
From: Oliver Hartkopp 3.12-stable review patch. If anyone has any objections, please let me know. === commit bce271f255dae8335dc4d2ee2c4531e09cc67f5a upstream. With upstream commit bb208f144cf3f59 (can: fix handling of unmodifiable configuration options) a new can_validate() funct

[PATCH 3.12 051/100] MIPS: KVM: Add missing gfn range check

2016-08-19 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8985d50382359e5bf118fdbefc859d0dbf6cebc7 upstream. kvm_mips_handle_mapped_seg_tlb_fault() calculates the guest frame number based on the guest TLB EntryLo values, however it is

[PATCH 3.12 039/100] mm: thp: fix SMP race condition between THP page fault and MADV_DONTNEED

2016-08-19 Thread Jiri Slaby
From: Andrea Arcangeli 3.12-stable review patch. If anyone has any objections, please let me know. === commit ad33bb04b2a6cee6c1f99fabb15cddbf93ff0433 upstream. pmd_trans_unstable()/pmd_none_or_trans_huge_or_clear_bad() were introduced to locklessy (but atomically) detect when a p

[PATCH 3.12 050/100] MIPS: KVM: Fix mapped fault broken commpage handling

2016-08-19 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit c604cffa93478fbec62b23d6073dad03d43a upstream. kvm_mips_handle_mapped_seg_tlb_fault() appears to map the guest page at virtual address 0 to PFN 0 if the guest has created i

[PATCH 3.12 048/100] net/irda: fix NULL pointer dereference on memory allocation failure

2016-08-19 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit d3e6952cfb7ba5f4bfa29d4803ba91f96ce1204d ] I ran into this: kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory

[PATCH 3.12 040/100] x86, asmlinkage, lguest: Pass in globals into assembler statement

2016-08-19 Thread Jiri Slaby
From: Andi Kleen 3.12-stable review patch. If anyone has any objections, please let me know. === commit cdd77e87eae52b7251acc5990207a1c4500a84ce upstream. Tell the compiler that the inline assembler statement references lguest_entry. This fixes compile problems with LTO where the

[PATCH 3.12 046/100] random32: add prandom_u32_max and convert open coded users

2016-08-19 Thread Jiri Slaby
From: Daniel Borkmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit f337db64af059c9a94278a8b0ab97d87259ff62f upstream. Many functions have open coded a function that returns a random number in range [0,N-1]. Under the assumption that we hav

[PATCH 3.12 047/100] tcp: make challenge acks less predictable

2016-08-19 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 75ff39ccc1bd5d3c455b6822ab09e533c551f758 ] Yue Cao claims that current host rate limiting of challenge ACKS (RFC 5961) could leak enough information to allow a pati

[PATCH 3.12 044/100] ipr: Clear interrupt on croc/crocodile when running with LSI

2016-08-19 Thread Jiri Slaby
From: Brian King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 54e430bbd490e18ab116afa4cd90dcc45787b3df upstream. If we fall back to using LSI on the Croc or Crocodile chip we need to clear the interrupt so we don't hang the system. Tested

[PATCH 3.12 018/100] iio:ad7266: Fix broken regulator error handling

2016-08-19 Thread Jiri Slaby
From: Mark Brown 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6b7f4e25f3309f106a5c7ff42c8231494cf285d3 upstream. All regulator_get() variants return either a pointer to a regulator or an ERR_PTR() so testing for NULL makes no sense and may

[PATCH 3.12 038/100] mmc: block: fix packed command header endianness

2016-08-19 Thread Jiri Slaby
From: Taras Kondratiuk 3.12-stable review patch. If anyone has any objections, please let me know. === commit f68381a70bb2b26c31b13fdaf67c778f92fd32b4 upstream. The code that fills packed command header assumes that CPU runs in little-endian mode. Hence the header is malformed in

[PATCH 3.12 037/100] qeth: delete napi struct when removing a qeth device

2016-08-19 Thread Jiri Slaby
From: Ursula Braun 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7831b4ff0d926e0deeaabef9db8800ed069a2757 upstream. A qeth_card contains a napi_struct linked to the net_device during device probing. This struct must be deleted when removing

[PATCH 3.12 033/100] xen/pciback: Fix conf_space read/write overlap check.

2016-08-19 Thread Jiri Slaby
From: Andrey Grodzovsky 3.12-stable review patch. If anyone has any objections, please let me know. === commit 02ef871ecac290919ea0c783d05da7eedeffc10e upstream. Current overlap check is evaluating to false a case where a filter field is fully contained (proper subset) of a r/w re

[PATCH 3.12 032/100] arc: unwind: warn only once if DW2_UNWIND is disabled

2016-08-19 Thread Jiri Slaby
From: Alexey Brodkin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9bd54517ee86cb164c734f72ea95aeba4804f10b upstream. If CONFIG_ARC_DW2_UNWIND is disabled every time arc_unwind_core() gets called following message gets printed in debug cons

[PATCH 3.12 029/100] tmpfs: fix regression hang in fallocate undo

2016-08-19 Thread Jiri Slaby
From: Hugh Dickins 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7f556567036cb7f89aabe2f0954b08566b4efb53 upstream. The well-spotted fallocate undo fix is good in most cases, but not when fallocate failed on the very first page. index 0 th

[PATCH 3.12 030/100] s390/seccomp: fix error return for filtered system calls

2016-08-19 Thread Jiri Slaby
From: Jan Willeke 3.12-stable review patch. If anyone has any objections, please let me know. === commit dc295880c6752076f8b94ba3885d0bfff09e3e82 upstream. The syscall_set_return_value function of s390 negates the error argument before storing the value to the return register gpr2

[PATCH 3.12 019/100] iio:ad7266: Fix support for optional regulators

2016-08-19 Thread Jiri Slaby
From: Mark Brown 3.12-stable review patch. If anyone has any objections, please let me know. === commit e5511c816e5ac4909bdd38e85ac344e2b9b8e984 upstream. The ad7266 driver attempts to support deciding between the use of internal and external power supplies by checking to see if a

[PATCH 3.12 034/100] Input: wacom_w8001 - w8001_MAX_LENGTH should be 13

2016-08-19 Thread Jiri Slaby
From: Ping Cheng 3.12-stable review patch. If anyone has any objections, please let me know. === commit 12afb34400eb2b301f06b2aa3535497d14faee59 upstream. Somehow the patch that added two-finger touch support forgot to update W8001_MAX_LENGTH from 11 to 13. Signed-off-by: Ping Ch

[PATCH 3.12 031/100] fs/nilfs2: fix potential underflow in call to crc32_le

2016-08-19 Thread Jiri Slaby
From: Torsten Hilbrich 3.12-stable review patch. If anyone has any objections, please let me know. === commit 63d2f95d63396059200c391ca87161897b99e74a upstream. The value `bytes' comes from the filesystem which is about to be mounted. We cannot trust that the value is always in t

[PATCH 3.12 028/100] tmpfs: don't undo fallocate past its last page

2016-08-19 Thread Jiri Slaby
From: Anthony Romano 3.12-stable review patch. If anyone has any objections, please let me know. === commit b9b4bb26af017dbe930cd4df7f9b2fc3a0497bfe upstream. When fallocate is interrupted it will undo a range that extends one byte past its range of allocated pages. This can corr

[PATCH 3.12 036/100] ext4: verify extent header depth

2016-08-19 Thread Jiri Slaby
From: Vegard Nossum 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7bc9491645118c9461bd21099c31755ff6783593 upstream. Although the extent tree depth of 5 should enough be for the worst case of 2*32 extents of length 1, the extent tree code d

[PATCH 3.12 023/100] ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()

2016-08-19 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 62db7152c924e4c060e42b34a69cd39658e8a0dc upstream. vortex_wtdma_bufshift() function does calculate the page index wrongly, first masking then shift, which always results in ze

[PATCH 3.12 025/100] scsi: fix race between simultaneous decrements of ->host_failed

2016-08-19 Thread Jiri Slaby
From: Wei Fang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 72d8c36ec364c82bf1bf0c64dfa1041cfaf139f7 upstream. sas_ata_strategy_handler() adds the works of the ata error handler to system_unbound_wq. This workqueue asynchronously runs work

[PATCH 3.12 026/100] Fix reconnect to not defer smb3 session reconnect long after socket reconnect

2016-08-19 Thread Jiri Slaby
From: Steve French 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4fcd1813e6404dd4420c7d12fb483f9320f0bf93 upstream. Azure server blocks clients that open a socket and don't do anything on it. In our reconnect scenarios, we can reconnect the

Re: [PATCH 1/1] ARM: dma: fix dma_max_pfn()

2016-08-19 Thread Roger Quadros
Hi Santosh, On 19/08/16 05:01, Santosh Shilimkar wrote: > On 8/18/2016 4:07 PM, Russell King - ARM Linux wrote: >> On Thu, Aug 18, 2016 at 09:55:55AM -0700, Santosh Shilimkar wrote: >>> Hi Russell, >>> >>> On 8/18/2016 7:24 AM, Russell King - ARM Linux wrote: On Wed, Aug 17, 2016 at 03:05:17P

[PATCH 3.12 024/100] ALSA: ctl: Stop notification after disconnection

2016-08-19 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit f388cdcdd160687c6650833f286b9c89c50960ff upstream. snd_ctl_remove() has a notification for the removal event. It's superfluous when done during the device got disconnected.

[PATCH 3.12 017/100] iio: accel: kxsd9: fix the usage of spi_w8r8()

2016-08-19 Thread Jiri Slaby
From: Linus Walleij 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0c1f91b98552da49d9d8eed32b3132a58d2f4598 upstream. These two spi_w8r8() calls return a value with is used by the code following the error check. The dubious use was caused by

[PATCH 3.12 021/100] tty/vt/keyboard: fix OOB access in do_compute_shiftstate()

2016-08-19 Thread Jiri Slaby
From: Dmitry Torokhov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 510cccb5b0c8868a2b302a0ab524da7912da648b upstream. The size of individual keymap in drivers/tty/vt/keyboard.c is NR_KEYS, which is currently 256, whereas number of keys/but

[PATCH 3.12 022/100] ALSA: dummy: Fix a use-after-free at closing

2016-08-19 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit d5dbbe6569481bf12dcbe3e12cff72c5f78d272c upstream. syzkaller fuzzer spotted a potential use-after-free case in snd-dummy driver when hrtimer is used as backend: >

[PATCH 3.12 027/100] xen/acpi: allow xen-acpi-processor driver to load on Xen 4.7

2016-08-19 Thread Jiri Slaby
From: Jan Beulich 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6f2d9d99213514360034c6d52d2c3919290b3504 upstream. As of Xen 4.7 PV CPUID doesn't expose either of CPUID[1].ECX[7] and CPUID[0x8007].EDX[7] anymore, causing the driver to f

[PATCH 3.12 020/100] iio:ad7266: Fix probe deferral for vref

2016-08-19 Thread Jiri Slaby
From: Mark Brown 3.12-stable review patch. If anyone has any objections, please let me know. === commit 68b356eb3d9f5e38910fb62e22a78e2a18d544ae upstream. Currently the ad7266 driver treats any failure to get vref as though the regulator were not present but this means that if pro

  1   2   3   4   5   6   7   8   >