[PATCH] usb-storage: ignore ZTE MF 823 card reader in mode 0x1225

2015-07-06 Thread Oliver Neukum
This device automatically switches itself to another mode (0x1405) unless the specific access pattern of Windows is followed in its initial mode. That makes a dirty unmount of the internal storage devices inevitable if they are mounted. So the card reader of such a device should be ignored, lest

Re: [PATCH][stable] nfs: take extra reference to fl-fl_file when running a setlk

2015-07-06 Thread Luis Henriques
On Thu, Jul 02, 2015 at 06:40:17AM -0400, Jeff Layton wrote: From: Jeff Layton jlay...@poochiereds.net We had a report of a crash while stress testing the NFS client: BUG: unable to handle kernel NULL pointer dereference at 0150 IP: [8127b698]

Re: [PATCH] usb-storage: ignore ZTE MF 823 in mode 0x1225

2015-07-06 Thread Oliver Neukum
On Thu, 2015-07-02 at 20:33 +0700, Lars Melin wrote: Yes but there are other 19d2:1225 devices which don't have dual-mode (19d2:1403 RNDIS or 19d2:1405 ECM) they do only have one of the modes and they don't auto-flip so they need usb_modeswitch. This is the first 3G dongle I have seen with

[git:media_tree/devel] [media] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers

2015-07-06 Thread Mauro Carvalho Chehab
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/media_tree.git tree: Subject: [media] vb2: Don't WARN when v4l2_buffer.bytesused is 0 for multiplanar buffers Author: Laurent Pinchart

Re: [PATCH v2] ARM: dts: am57xx-beagle-x15: Provide supply for usb2_phy2

2015-07-06 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [150617 07:54]: Without this USB2 breaks if USB1 is disabled or USB1 initializes after USB2 e.g. due to deferred probing. Fixes: 5a0f93c6576a (ARM: dts: Add am57xx-beagle-x15) Signed-off-by: Roger Quadros rog...@ti.com Cc: stable@vger.kernel.org (v3.19+)

[PATCH 3.18 000/195] 3.18.18-review

2015-07-06 Thread Sasha Levin
This is the start of the stable review cycle for the 3.18.18 release. There are 195 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. Aaro Koskinen (1): pata_octeon_cf: fix broken build Aaron Lu (1):

[PATCH 3.18 002/195] HID: sony: Add support for the third-party SMK PS3 Bluetooth Remote

2015-07-06 Thread Sasha Levin
From: Frank Praznik frank.praz...@oh.rr.com [ Upstream commit 68a49e51a4a9c500d950f893f1758c5ac13b7c8b ] Add vid/pid for the SMK branded third-party PS3 Bluetooth remote and enable support in the hid-sony driver. Signed-off-by: Frank Praznik frank.praz...@oh.rr.com Signed-off-by: Jiri Kosina

[PATCH 3.18 006/195] clk: at91: pll: fix input range validity check

2015-07-06 Thread Sasha Levin
From: Boris Brezillon boris.brezil...@free-electrons.com [ Upstream commit 6c7b03e1aef2e92176435f4fa562cc483422d20f ] The PLL impose a certain input range to work correctly, but it appears that this input range does not apply on the input clock (or parent clock) but on the input clock after it

[PATCH 3.18 008/195] ALSA: hda - adding a DAC/pin preference map for a HP Envy TS machine

2015-07-06 Thread Sasha Levin
From: Hui Wang hui.w...@canonical.com [ Upstream commit 6ab42ff44864d26e8e498b8ac655d24ee389d267 ] On a HP Envy TouchSmart laptop, there are 2 speakers (main speaker and subwoofer speaker), 1 headphone and 2 DACs, without this fixup, the headphone will be assigned to a DAC and the 2 speakers

[PATCH 3.18 001/195] drm/i915: Make sample_c messages go faster on Haswell.

2015-07-06 Thread Sasha Levin
From: Kenneth Graunke kenn...@whitecape.org [ Upstream commit 944115934436b1ff6cf773a9e9123858ea9ef3da ] Haswell significantly improved the performance of sampler_c messages, but the optimization appears to be off by default. Later platforms remove this bit, and apparently always enable the

[PATCH 3.18 007/195] clk: at91: fix h32mx prototype inclusion in pmc header

2015-07-06 Thread Sasha Levin
From: Nicolas Ferre nicolas.fe...@atmel.com [ Upstream commit 28df9c2fb6f896179fcffd5a3f5a86e2d1dff0a5 ] Trivial fix that prevents to compile this pmc clock driver if h32mx clock is present but smd clock isn't. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Signed-off-by: Boris Brezillon

[PATCH 3.18 003/195] lib/rhashtable: fix race between rhashtable_lookup_compare and hashtable resize

2015-07-06 Thread Sasha Levin
From: Konstantin Khlebnikov khlebni...@yandex-team.ru Hash value passed as argument into rhashtable_lookup_compare could be computed using different hash table than rhashtable_lookup_compare sees. This patch passes key into rhashtable_lookup_compare() instead of hash and compures hash value

[PATCH 3.18 004/195] crypto: caam - improve initalization for context state saves

2015-07-06 Thread Sasha Levin
From: Steve Cornelius steve.cornel...@freescale.com [ Upstream commit 6fd4b15603124c1b56e03db29b41ec39d8a077b9 ] Multiple function in asynchronous hashing use a saved-state block, a.k.a. struct caam_hash_state, which holds a stash of information between requests (init/update/final). Certain

[PATCH 3.18 010/195] drm/mgag200: Reject non-character-cell-aligned mode widths

2015-07-06 Thread Sasha Levin
From: Adam Jackson a...@redhat.com [ Upstream commit 25161084b1c1b0c29948f6f77266a35f302196b7 ] Turns out 1366x768 does not in fact work on this hardware. Signed-off-by: Adam Jackson a...@redhat.com Cc: stable@vger.kernel.org Signed-off-by: Dave Airlie airl...@redhat.com Signed-off-by: Sasha

[PATCH 3.18 009/195] iser-target: Fix variable-length response error completion

2015-07-06 Thread Sasha Levin
From: Sagi Grimberg sa...@mellanox.com [ Upstream commit 9253e667ab50fd4611a60e1cdd6a6e05a1d91cf1 ] Since commit 2426bd456a6 target: Report correct response ... we might get a command with data_size that does not fit to the number of allocated data sg elements. Given that we rely on cmd

[PATCH 3.18 016/195] b43: fix support for 14e4:4321 PCI dev with BCM4321 chipset

2015-07-06 Thread Sasha Levin
From: Rafał Miłecki zaj...@gmail.com [ Upstream commit 90f91b129810c3f169e443252be30ed7c0130326 ] It seems Broadcom released two devices with conflicting device id. There are for sure 14e4:4321 PCI devices with BCM4321 (N-PHY) chipset, they can be found in routers, e.g. Netgear WNR834Bv2.

[PATCH 3.18 015/195] ath3k: add support of 13d3:3474 AR3012 device

2015-07-06 Thread Sasha Levin
From: Dmitry Tunin hanipouspi...@gmail.com [ Upstream commit 0d0cef6183aec0fb6d0c9f00a09ff51ee086bbe2 ] BugLink: https://bugs.launchpad.net/bugs/1427680 This device requires new firmware files AthrBT_0x11020100.dfu and ramps_0x11020100_40.dfu added to /lib/firmware/ar3k/ that are not included

[PATCH 3.18 017/195] cdc-acm: Add support of ATOL FPrint fiscal printers

2015-07-06 Thread Sasha Levin
From: Alexey Sokolov soko...@7pikes.com [ Upstream commit 15bf722e6f6c0b884521a0363204532e849deb7f ] ATOL FPrint fiscal printers require usb_clear_halt to be executed to work properly. Add quirk to fix the issue. Signed-off-by: Alexey Sokolov soko...@7pikes.com Cc: stable stable@vger.kernel.org

[PATCH 3.18 011/195] drm/radeon: Add RADEON_INFO_VA_UNMAP_WORKING query

2015-07-06 Thread Sasha Levin
From: Michel Dänzer michel.daen...@amd.com [ Upstream commit 3bc980bf19bb62007e923691fa2869ba113be895 ] This tells userspace that it's safe to use the RADEON_VA_UNMAP operation of the DRM_RADEON_GEM_VA ioctl. Cc: stable@vger.kernel.org (NOTE: Backporting this commit requires at least backports

[PATCH 3.18 005/195] crypto: caam - fix RNG buffer cache alignment

2015-07-06 Thread Sasha Levin
From: Steve Cornelius steve.cornel...@freescale.com [ Upstream commit 412c98c1bef65fe7589f1300e93735d96130307c ] The hwrng output buffers (2) are cast inside of a a struct (caam_rng_ctx) allocated in one DMA-tagged region. While the kernel's heap allocator should place the overall struct on a

[PATCH 3.18 026/195] iio: adis16400: Compute the scan mask from channel indices

2015-07-06 Thread Sasha Levin
From: Paul Cercueil paul.cercu...@analog.com [ Upstream commit c2a8b623a089d52c199e305e7905829907db8ec8 ] We unfortunately can't use ~0UL for the scan mask to indicate that the only valid scan mask is all channels selected. The IIO core needs the exact mask to work correctly and not a super-set

[PATCH 3.18 012/195] drm/radeon: fix lockup when BOs aren't part of the VM on release

2015-07-06 Thread Sasha Levin
From: Christian König christian.koe...@amd.com [ Upstream commit 26d4d129b6042197b4cbc8341c0618f99231af2f ] If we unmap BOs before releasing them them the intervall tree locks up because we try to remove an entry not inside the tree. Based on a patch from Michel Dänzer. Signed-off-by:

[PATCH 3.18 024/195] iio: adis16400: Report pressure channel scale

2015-07-06 Thread Sasha Levin
From: Lars-Peter Clausen l...@metafoo.de [ Upstream commit 69ca2d771e4e709c5ae1125858e1246e77ef8b86 ] Add the scale for the pressure channel, which is currently missing. Signed-off-by: Lars-Peter Clausen l...@metafoo.de Fixes: 76ada52f7f5d (iio:adis16400: Add support for the adis16448) Cc:

[PATCH 3.18 023/195] drm/radeon: partially revert fix VM_CONTEXT*_PAGE_TABLE_END_ADDR handling

2015-07-06 Thread Sasha Levin
From: Christian König christian.koe...@amd.com [ Upstream commit 7c0411d2fabc2e2702c9871ffb603e251158b317 ] We have that bug for years and some users report side effects when fixing it on older hardware. So revert it for VM_CONTEXT0_PAGE_TABLE_END_ADDR, but keep it for VM 1-15. Signed-off-by:

[PATCH 3.18 021/195] ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724

2015-07-06 Thread Sasha Levin
From: David Henningsson david.hennings...@canonical.com [ Upstream commit 6ffc0898b29a2811a6c0569c5dd9b581980110df ] This patch adds support for Conexant HD Audio codecs CX20721, CX20722, CX20723 and CX20724. Cc: stable@vger.kernel.org BugLink: https://bugs.launchpad.net/bugs/1454656

[PATCH 3.18 022/195] drm/radeon: fix VM_CONTEXT*_PAGE_TABLE_END_ADDR handling

2015-07-06 Thread Sasha Levin
From: Christian König christian.koe...@amd.com [ Upstream commit 607d48063512707a414e346972e2210dc71ab491 ] The mapping range is inclusive between starting and ending addresses. Signed-off-by: Christian König christian.koe...@amd.com CC: stable@vger.kernel.org Signed-off-by: Alex Deucher

[PATCH 3.18 027/195] n_tty: Fix auditing support for cannonical mode

2015-07-06 Thread Sasha Levin
From: Laura Abbott labb...@fedoraproject.org [ Upstream commit 72586c6061ab8c23ffd9f301ed19782a44ff5f04 ] Commit 32f13521ca68bc624ff6effc77f308a52b038bf0 (n_tty: Line copy to user buffer in canonical mode) changed cannonical mode copying to use copy_to_user but missed adding the call to the

[PATCH 3.18 025/195] iio: adis16400: Use != channel indices for the two voltage channels

2015-07-06 Thread Sasha Levin
From: Paul Cercueil paul.cercu...@analog.com [ Upstream commit 7323d59862802ca109451eeda9777024a7625509 ] Previously, the two voltage channels had the same ID, which didn't cause conflicts in sysfs only because one channel is named and the other isn't; this is still violating the spec though,

[PATCH 3.18 037/195] ring-buffer-benchmark: Fix the wrong sched_priority of producer

2015-07-06 Thread Sasha Levin
From: Wang Long long.wangl...@huawei.com [ Upstream commit 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 ] The producer should be used producer_fifo as its sched_priority, so correct it. Link: http://lkml.kernel.org/r/1433923957-67842-1-git-send-email-long.wangl...@huawei.com Cc:

[PATCH 3.18 035/195] USB: serial: ftdi_sio: Add support for a Motion Tracker Development Board

2015-07-06 Thread Sasha Levin
From: Patrick Riphagen patrick.ripha...@xsens.com [ Upstream commit 1df5b888f54070a373a73b34488cc78c2365b7b4 ] This adds support for new Xsens device, Motion Tracker Development Board, using Xsens' own Vendor ID Signed-off-by: Patrick Riphagen patrick.ripha...@xsens.com Cc:

[PATCH 3.18 020/195] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-07-06 Thread Sasha Levin
From: Junling Zheng zhengjunl...@huawei.com [ Upstream commit HEAD ] Based on 08adb7dabd4874cc5666b4490653b26534702ce0 upstream. We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL was expected. We tested it through the recvmsg01 testcase come from LTP testsuit. It set

[PATCH 3.18 018/195] ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

2015-07-06 Thread Sasha Levin
From: Calvin Owens calvinow...@fb.com [ Upstream commit 28423ad283d5348793b0c45cc9b1af058e776fd6 ] While debugging an issue with excessive softirq usage, I encountered the following note in commit 3e339b5dae24a706 (softirq: Use hotplug thread infrastructure): [ paulmck: Call

[PATCH 3.18 029/195] ALSA: usb-audio: Add mic volume fix quirk for Logitech Quickcam Fusion

2015-07-06 Thread Sasha Levin
From: Wolfram Sang w...@the-dreams.de [ Upstream commit 1ef9f0583514508bc93427106ceef3215e4eb1a5 ] Fix this from the logs: usb 7-1: New USB device found, idVendor=046d, idProduct=08ca ... usb 7-1: Warning! Unlikely big volume range (=3072), cval-res is probably wrong. usb 7-1: [5] FU [Mic

[PATCH 3.18 028/195] ALSA: hda/realtek - Add a fixup for another Acer Aspire 9420

2015-07-06 Thread Sasha Levin
From: Takashi Iwai ti...@suse.de [ Upstream commit b5d724b1add6eabf3aa7276ab3454ea9f45eebd3 ] Acer Aspire 9420 with ALC883 (1025:0107) needs the fixup for EAPD to make the sound working like other Aspire models. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=94111 Cc:

[PATCH 3.18 036/195] x86/asm/irq: Stop relying on magic JMP behavior for early_idt_handlers

2015-07-06 Thread Sasha Levin
From: Andy Lutomirski l...@kernel.org [ Upstream commit 425be5679fd292a3c36cb1fe423086708a99f11a ] The early_idt_handlers asm code generates an array of entry points spaced nine bytes apart. It's not really clear from that code or from the places that reference it what's going on, and the code

[PATCH 3.18 033/195] block: fix ext_dev_lock lockdep report

2015-07-06 Thread Sasha Levin
From: Dan Williams dan.j.willi...@intel.com [ Upstream commit 4d66e5e9b6d720d8463e11d027bd4ad91c8b1318 ] = [ INFO: inconsistent lock state ] 4.1.0-rc7+ #217 Tainted: G O - inconsistent {SOFTIRQ-ON-W} - {IN-SOFTIRQ-W}

[PATCH 3.18 045/195] serial: imx: Fix DMA handling for IDLE condition aborts

2015-07-06 Thread Sasha Levin
From: Philipp Zabel p.za...@pengutronix.de [ Upstream commit 392bceedb107a3dc1d4287e63d7670d08f702feb ] The driver configures the IDLE condition to interrupt the SDMA engine. Since the SDMA UART ROM script doesn't clear the IDLE bit itself, this caused repeated 1-byte DMA transfers, regardless

[PATCH 3.18 044/195] drm/i915: Fix DDC probe for passive adapters

2015-07-06 Thread Sasha Levin
From: Jani Nikula jani.nik...@intel.com [ Upstream commit 3f5f1554ee715639e78d9be87623ee82772537e0 ] Passive DP-DVI/HDMI dongles on DP++ ports show up to the system as HDMI devices, as they do not have a sink device in them to respond to any AUX traffic. When probing these dongles over the DDC,

[PATCH 3.18 041/195] ozwpan: unchecked signed subtraction leads to DoS

2015-07-06 Thread Sasha Levin
From: Jason A. Donenfeld ja...@zx2c4.com [ Upstream commit 9a59029bc218b48eff8b5d4dde5662fd79d3e1a8 ] The subtraction here was using a signed integer and did not have any bounds checking at all. This commit adds proper bounds checking, made easy by use of an unsigned integer. This way, a single

[PATCH 3.18 046/195] mm/memory_hotplug.c: set zone-wait_table to null after freeing it

2015-07-06 Thread Sasha Levin
From: Gu Zheng guz.f...@cn.fujitsu.com [ Upstream commit 85bd839983778fcd0c1c043327b14a046e979b39 ] Izumi found the following oops when hot re-adding a node: BUG: unable to handle kernel paging request at c90008963690 IP: __wake_up_bit+0x20/0x70 Oops: [#1] SMP CPU: 68

[PATCH 3.18 032/195] Input: elantech - fix detection of touchpads where the revision matches a known rate

2015-07-06 Thread Sasha Levin
From: Hans de Goede hdego...@redhat.com [ Upstream commit 5f0ee9d17aae628b22be86966471db65be21f262 ] Make the check to skip the rate check more lax, so that it applies to all hw_version 4 models. This fixes the touchpad not being detected properly on Asus PU551LA laptops. Cc:

[PATCH 3.18 071/195] [media] media: Fix regression in some more dib0700 based devices

2015-07-06 Thread Sasha Levin
From: Thomas Reitmayr treitm...@devbase.at [ Upstream commit e989a73ebd09d22c22ead51fa363a2f56f70f28a ] Fix an oops during device initialization by correctly setting size_of_priv instead of leaving it 0. The regression was introduced by 8abe4a0a3f6d4217b16a ([media] dib7000: export just one

[PATCH 3.18 117/195] pinctrl: mvebu: armada-xp: remove non-existing VDD cpu_pd functions

2015-07-06 Thread Sasha Levin
From: Thomas Petazzoni thomas.petazz...@free-electrons.com [ Upstream commit 80b3d04feab5e69d51cb2375eb989a7165e43e3b ] The latest version of the Armada XP datasheet no longer documents the VDD cpu_pd functions, which might indicate they are not working and/or not supported. This commit ensures

[PATCH 3.18 053/195] Revert drm/radeon: adjust pll when audio is not enabled

2015-07-06 Thread Sasha Levin
From: Alex Deucher alexander.deuc...@amd.com [ Upstream commit ebb9bf18636926d5da97136c22e882c5d91fda73 ] This reverts commit 7fe04d6fa824ccea704535a597dc417c8687f990. Fixes some systems at the expense of others. Need to properly fix the pll divider selection. bug:

[PATCH 3.18 038/195] MIPS: Fix enabling of DEBUG_STACKOVERFLOW

2015-07-06 Thread Sasha Levin
From: James Hogan james.ho...@imgtec.com [ Upstream commit 5f35b9cd553fd64415b563497d05a563c988dbd6 ] Commit 334c86c494b9 (MIPS: IRQ: Add stackoverflow detection) added kernel stack overflow detection, however it only enabled it conditional upon the preprocessor definition DEBUG_STACKOVERFLOW,

[PATCH 3.18 047/195] cfg80211: wext: clear sinfo struct before calling driver

2015-07-06 Thread Sasha Levin
From: Johannes Berg johannes.b...@intel.com [ Upstream commit 9c5a18a31b321f120efda412281bb9f610f84aa0 ] Until recently, mac80211 overwrote all the statistics it could provide when getting called, but it now relies on the struct having been zeroed by the caller. This was always the case in

[PATCH 3.18 067/195] Revert crypto: talitos - convert to use be16_add_cpu()

2015-07-06 Thread Sasha Levin
From: Horia Geant? horia.gea...@freescale.com [ Upstream commit 69d9cd8c592f1abce820dbce7181bbbf6812cfbd ] This reverts commit 7291a932c6e27d9768e374e9d648086636daf61c. The conversion to be16_add_cpu() is incorrect in case cryptlen is negative due to premature (i.e. before addition /

[PATCH 3.18 040/195] ozwpan: divide-by-zero leading to panic

2015-07-06 Thread Sasha Levin
From: Jason A. Donenfeld ja...@zx2c4.com [ Upstream commit 04bf464a5dfd9ade0dda918e44366c2c61fce80b ] A network supplied parameter was not checked before division, leading to a divide-by-zero. Since this happens in the softirq path, it leads to a crash. A PoC follows below, which requires the

[PATCH 3.18 078/195] PCI: Propagate the ignore hotplug setting to parent

2015-07-06 Thread Sasha Levin
From: Rafael J. Wysocki rafael.j.wyso...@intel.com [ Upstream commit 0824965140fff1bf640a987dc790d1594a8e0699 ] Refine the mechanism introduced by commit f244d8b623da (ACPIPHP / radeon / nouveau: Fix VGA switcheroo problem related to hotplug) to propagate the ignore_hotplug setting of the device

[PATCH 3.18 061/195] spi: fix race freeing dummy_tx/rx before it is unmapped

2015-07-06 Thread Sasha Levin
From: Martin Sperl ker...@martin.sperl.org [ Upstream commit 8e76ef88f607174082023f50b87fe12dcdbe5db5 ] Fix a race (with some kernel configurations) where a queued master-pump_messages runs and frees dummy_tx/rx before spi_unmap_msg is running (or is finished). This results in the following

[PATCH 3.18 064/195] intel_pstate: set BYT MSR with wrmsrl_on_cpu()

2015-07-06 Thread Sasha Levin
From: Joe Konno joe.ko...@intel.com [ Upstream commit 0dd23f94251f49da99a6cbfb22418b2d757d77d6 ] Commit 007bea098b86 (intel_pstate: Add setting voltage value for baytrail P states.) introduced byt_set_pstate() with the assumption that it would always be run by the CPU whose MSR is to be written

[PATCH 3.18 056/195] [media] cx24116: fix a buffer overflow when checking userspace params

2015-07-06 Thread Sasha Levin
From: Mauro Carvalho Chehab mche...@osg.samsung.com [ Upstream commit 1fa2337a315a2448c5434f41e00d56b01a22283c ] The maximum size for a DiSEqC command is 6, according to the userspace API. However, the code allows to write up much more values: drivers/media/dvb-frontends/cx24116.c:983

[PATCH 3.18 062/195] mtd: fix: avoid race condition when accessing mtd-usecount

2015-07-06 Thread Sasha Levin
From: Brian Norris computersforpe...@gmail.com [ Upstream commit 073db4a51ee43ccb827f54a4261c0583b028d5ab ] On A MIPS 32-cores machine a BUG_ON was triggered because some acesses to mtd-usecount were done without taking mtd_table_mutex. kernel: Call Trace: kernel: [80401818]

[PATCH 3.18 070/195] ASoC: wm8903: Fix define for WM8903_VMID_RES_250K

2015-07-06 Thread Sasha Levin
From: Axel Lin axel@ingics.com [ Upstream commit ebb6ad73e645b8f2d098dd3c41d2ff0da4146a02 ] VMID Control 0 BIT[2:1] is VMID Divider Enable and Select 00 = VMID disabled (for OFF mode) 01 = 2 x 50kΩ divider (for normal operation) 10 = 2 x 250kΩ divider (for low power standby) 11 = 2 x 5kΩ

[PATCH 3.18 013/195] drm/radeon: reset BOs address after clearing it.

2015-07-06 Thread Sasha Levin
From: Christian König christian.koe...@amd.com [ Upstream commit 48afbd70ac7b6aa62e8d452091023941d8085f8a ] Otherwise it is possible that we will have page table corruption if we change a BOs address multiple times. Signed-off-by: Christian König christian.koe...@amd.com CC:

[PATCH 3.18 014/195] ath3k: Add support of 0489:e076 AR3012 device

2015-07-06 Thread Sasha Levin
From: Dmitry Tunin hanipouspi...@gmail.com [ Upstream commit 692c062e7c282164fd7cda68077f79dafd176eaf ] BugLink: https://bugs.launchpad.net/bugs/1462614 This device requires new firmware files AthrBT_0x11020100.dfu and ramps_0x11020100_40.dfu added to /lib/firmware/ar3k/ that are not included

[PATCH 3.18 034/195] USB: cp210x: add ID for HubZ dual ZigBee and Z-Wave dongle

2015-07-06 Thread Sasha Levin
From: John D. Blair jo...@candicontrols.com [ Upstream commit df72d588c54dad57dabb3cc8a87475d8ed66d806 ] Added the USB serial device ID for the HubZ dual ZigBee and Z-Wave radio dongle. Signed-off-by: John D. Blair jo...@candicontrols.com Cc: stable stable@vger.kernel.org Signed-off-by: Johan

[PATCH 3.18 019/195] ALSA: hda - Fix mute-LED fixed mode

2015-07-06 Thread Sasha Levin
From: Takashi Iwai ti...@suse.de [ Upstream commit ee52e56e7b12834476cd0031c5986254ba1b6317 ] The mute-LED mode control has the fixed on/off states that are supposed to remain on/off regardless of the master switch. However, this doesn't work actually because the vmaster hook is called in the

[PATCH 3.18 042/195] pata_octeon_cf: fix broken build

2015-07-06 Thread Sasha Levin
From: Aaro Koskinen aaro.koski...@nokia.com [ Upstream commit 4710f2facb5c68d629015747bd09b37203e0d137 ] MODULE_DEVICE_TABLE is referring to wrong driver's table and breaks the build. Fix that. Cc: stable@vger.kernel.org Signed-off-by: Aaro Koskinen aaro.koski...@nokia.com Signed-off-by: Tejun

[PATCH 3.18 030/195] ALSA: usb-audio: add MAYA44 USB+ mixer control names

2015-07-06 Thread Sasha Levin
From: Clemens Ladisch clem...@ladisch.de [ Upstream commit 044bddb9ca8d49edb91bc22b9940a463b0dbb97f ] Add mixer control names for the ESI Maya44 USB+ (which appears to be identical width the AudioTrak Maya44 USB). Reported-by: nightmixes nightmi...@gmail.com Signed-off-by: Clemens Ladisch

[PATCH 3.18 031/195] Input: synaptics - add min/max quirk for Lenovo S540

2015-07-06 Thread Sasha Levin
From: Peter Hutterer peter.hutte...@who-t.net [ Upstream commit 7f2ca8b55aeff1fe51ed3570200ef88a96060917 ] https://bugzilla.redhat.com/show_bug.cgi?id=1223051#c2 Cc: stable@vger.kernel.org Tested-by: tommy.gag...@gmail.com Signed-off-by: Peter Hutterer peter.hutte...@who-t.net Signed-off-by:

Applied ASoC: dapm: Lock during userspace access to the asoc tree

2015-07-06 Thread Mark Brown
The patch ASoC: dapm: Lock during userspace access has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH 1/2] drm/radeon: Handle irqs only based on irq ring, not irq status regs.

2015-07-06 Thread Alex Deucher
On Fri, Jul 3, 2015 at 5:51 AM, Christian König deathsim...@vodafone.de wrote: On 03.07.2015 06:03, Mario Kleiner wrote: Trying to resolve issues with missed vblanks and impossible values inside delivered kms pageflip completion events showed that radeon's irq handling sometimes doesn't

[PATCH 3.18 186/195] bridge: fix br_stp_set_bridge_priority race conditions

2015-07-06 Thread Sasha Levin
From: Nikolay Aleksandrov ra...@blackwall.org [ Upstream commit 2dab80a8b486f0a69daca6859519e05781d9 ] After the -set() spinlocks were removed br_stp_set_bridge_priority was left running without any protection when used via sysfs. It can race with port add/del and could result in

[PATCH 3.18 094/195] powerpc/perf: Fix book3s kernel to userspace backtraces

2015-07-06 Thread Sasha Levin
From: Anton Blanchard an...@samba.org [ Upstream commit 72e349f1124a114435e599479c9b8d14bfd1ebcd ] When we take a PMU exception or a software event we call perf_read_regs(). This overloads regs-result with a boolean that describes if we should use the sampled instruction address register (SIAR)

[PATCH 3.18 140/195] dm space map metadata: fix occasional leak of a metadata block on resize

2015-07-06 Thread Sasha Levin
From: Joe Thornber e...@redhat.com [ Upstream commit 6096d91af0b65a3967139b32d5adbb3647858a26 ] The metadata space map has a simplified 'bootstrap' mode that is operational when extending the space maps. Whilst in this mode it's possible for some refcount decrement operations to become queued

[PATCH 3.18 086/195] rcu: Correctly handle non-empty Tiny RCU callback list with none ready

2015-07-06 Thread Sasha Levin
From: Paul E. McKenney paul...@linux.vnet.ibm.com [ Upstream commit 6e91f8cb138625be96070b778d9ba71ce520ea7e ] If, at the time __rcu_process_callbacks() is invoked, there are callbacks in Tiny RCU's callback list, but none of them are ready to be invoked, the current list-management code will

[PATCH 3.18 172/195] drm/radeon: compute ring fix hibernation (CI GPU family) v2.

2015-07-06 Thread Sasha Levin
From: Jérôme Glisse jgli...@redhat.com [ Upstream commit 161569deaa03cf3c00ed63352006193f250b0648 ] In order for hibernation to reliably work we need to cleanup more thoroughly the compute ring. Hibernation is different from suspend resume as when we resume from hibernation the hardware is first

[PATCH 3.18 083/195] drm/radeon: take the mode_config mutex when dealing with hpds (v2)

2015-07-06 Thread Sasha Levin
From: Alex Deucher alexander.deuc...@amd.com [ Upstream commit 39fa10f7e21574a70cecf1fed0f9b36535aa68a0 ] Since we are messing with state in the worker. v2: drop the changes in the mst worker Signed-off-by: Alex Deucher alexander.deuc...@amd.com Cc: stable@vger.kernel.org Signed-off-by: Sasha

[PATCH 3.18 138/195] arm64: entry: fix context tracking for el0_sp_pc

2015-07-06 Thread Sasha Levin
From: Mark Rutland mark.rutl...@arm.com [ Upstream commit 46b0567c851cf85d6ba6f23eef385ec9111d09bc ] Commit 6c81fe7925cc4c42 (arm64: enable context tracking) did not update el0_sp_pc to use ct_user_exit, but this appears to have been unintentional. In commit 6ab6463aeb5fbc75 (arm64: adjust

[PATCH 3.18 167/195] tracing/filter: Do not allow infix to exceed end of string

2015-07-06 Thread Sasha Levin
From: Steven Rostedt (Red Hat) rost...@goodmis.org [ Upstream commit 6b88f44e161b9ee2a803e5b2b1fbcf4e20e8b980 ] While debugging a WARN_ON() for filtering, I found that it is possible for the filter string to be referenced after its end. With the filter: # echo ''

[PATCH 3.18 187/195] packet: read num_members once in packet_rcv_fanout()

2015-07-06 Thread Sasha Levin
From: Eric Dumazet eduma...@google.com [ Upstream commit f98f4514d07871da7a113dd9e3e330743fd70ae4 ] We need to tell compiler it must not read f-num_members multiple times. Otherwise testing if num is not zero is flaky, and we could attempt an invalid divide by 0 in fanout_demux_cpu() Note bug

[PATCH 3.18 188/195] packet: avoid out of bounds read in round robin fanout

2015-07-06 Thread Sasha Levin
From: Willem de Bruijn will...@google.com [ Upstream commit 468479e6043c84f5a65299cc07cb08a22a28c2b1 ] PACKET_FANOUT_LB computes f-rr_cur such that it is modulo f-num_members. It returns the old value unconditionally, but f-num_members may have changed since the last store. Ensure that the

[PATCH 3.18 181/195] hwmon: (mcp3021) Fix broken output scaling

2015-07-06 Thread Sasha Levin
From: Stevens, Nick nick.stev...@digi.com [ Upstream commit 347d7e45bd09ce09cbc30d5cea9de377eb22f55c ] The mcp3021 scaling code is dividing the VDD (full-scale) value in millivolts by the A2D resolution to obtain the scaling factor. When VDD is 3300mV (the standard value) and the resolution is

[PATCH 3.18 126/195] Disable write buffering on Toshiba ToPIC95

2015-07-06 Thread Sasha Levin
From: Ryan Underwood neme...@icequake.net [ Upstream commit 2fb22a8042fe96b4220843f79241c116d90922c4 ] Disable write buffering on the Toshiba ToPIC95 if it is enabled by somebody (it is not supposed to be a power-on default according to the datasheet). On the ToPIC95, practically no 32-bit

[PATCH 3.18 091/195] staging: vt6655: device_rx_srv check sk_buff is NULL

2015-07-06 Thread Sasha Levin
From: Malcolm Priestley tvbox...@gmail.com [ Upstream commit b5eeed8cb6097c8ea660b6598d36fdbb94065a22 ] There is a small chance that pRD-pRDInfo-skb could go NULL while the interrupt is processing. Put NULL check on loop to break out. Signed-off-by: Malcolm Priestley tvbox...@gmail.com Cc:

[PATCH 3.18 080/195] w1_therm reference count family data

2015-07-06 Thread Sasha Levin
From: David Fries da...@fries.net [ Upstream commit f7134eea05b2fb4a2c0935f8a540539fff01f3eb ] A temperature conversion can take 750 ms and when possible the w1_therm slave driver drops the bus_mutex to allow other bus operations, but that includes operations such as a periodic slave search,

[PATCH 3.18 081/195] spi: orion: Fix maximum baud rates for Armada 370/XP

2015-07-06 Thread Sasha Levin
From: Gregory CLEMENT gregory.clem...@free-electrons.com [ Upstream commit ce2f6ea1cbd41d78224f703af980a6ceeb0eb56a ] The commit df59fa7f4bca spi: orion: support armada extended baud rates was too optimistic for the maximum baud rate that the Armada SoCs can support. According to the hardware

[PATCH 3.18 195/195] mmc: sdhci-pxav3: do the mbus window configuration after enabling clocks

2015-07-06 Thread Sasha Levin
From: Thomas Petazzoni thomas.petazz...@free-electrons.com [ upstream commit aa8165f914420f143476305a01894b017d3abe6b ] In commit 5491ce3f79ee (mmc: sdhci-pxav3: add support for the Armada 38x SDHCI controller), the sdhci-pxav3 driver was extended to include support for the SDHCI controller

[PATCH 3.18 082/195] rtlwifi: Remove the clear interrupt routine from all drivers

2015-07-06 Thread Sasha Levin
From: Vincent Fann vincent_f...@realtek.com [ Upstream commit 1277fa2ab2f9a624a4b0177119ca13b5fd65edd0 ] Several of these drivers have there TX randomly blocked for 3~5 seconds while measuring tx throughput (iperf). The root couse happens in rtl_pci_flush(). The function uses a while-loop to

[PATCH 3.18 079/195] mei: txe: reduce suspend/resume time

2015-07-06 Thread Sasha Levin
From: Tomas Winkler tomas.wink...@intel.com [ Upstream commit fe292283c23329218e384bffc6cb4bfa3fd92277 ] HW has to be in known state before the initialisation sequence is started. The polling step for settling aliveness was set to 200ms while in practise this can be done in up to 30msecs. Cc:

[PATCH 3.18 084/195] usb: dwc3: gadget: return error if command sent to DGCMD register fails

2015-07-06 Thread Sasha Levin
From: Subbaraya Sundeep Bhatta subbaraya.sundeep.bha...@xilinx.com [ Upstream commit 891b1dc022955d36cf4c0f42d383226a930db7ed ] We need to return error to caller if command is not sent to controller succesfully. Signed-off-by: Subbaraya Sundeep Bhatta sbha...@xilinx.com Fixes: b09bb64239c8

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-06 Thread Felipe Balbi
On Wed, Jul 01, 2015 at 07:29:28AM +, Subbaraya Sundeep Bhatta wrote: Hi Felipe, -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Tuesday, June 30, 2015 3:17 AM To: Subbaraya Sundeep Bhatta Cc: ba...@ti.com; gre...@linuxfoundation.org;

Re: [PATCH v2] Btrfs: fix memory leak in the extent_same ioctl

2015-07-06 Thread Mark Fasheh
Thanks for this Filipe, On Fri, Jul 03, 2015 at 11:36:49AM +0100, fdman...@kernel.org wrote: From: Filipe Manana fdman...@suse.com We were allocating memory with memdup_user() but we were never releasing that memory. This affected pretty much every call to the ioctl, whether it deduplicated

[PATCH 26/36] sparc/PCI: Add mem64 resource parsing for root bus

2015-07-06 Thread Yinghai Lu
Found no compatible bridge window warning in boot log from T5-8. pci :00:01.0: can't claim BAR 15 [mem 0x1-0x4afff pref]: no compatible bridge window That resource is above 4G, but does not get offset correctly as root bus only report io and mem32. pci_sun4v f02dbcfc: PCI host

[PATCH 34/36] PCI: Set resource to FIXED for lsi devices

2015-07-06 Thread Yinghai Lu
LSI HBA firmware stop responding pci read from host if pci core ever change pci device BAR values. Set their resources to FIXED, so will allow realloc to skip them. Reported-by: Paul Johnson p...@nwtrail.com Suggested-by: Bjorn Helgaas bhelg...@google.com Bugzilla:

[PATCH 21/36] PCI: Check pref compatible bit for mem64 resource of pcie device

2015-07-06 Thread Yinghai Lu
We still get no compatible bridge window warning on sparc T5-8 after we add support for 64bit resource parsing for root bus. PCI: scan_bus[/pci@300/pci@1/pci@0/pci@6] bus no 8 PCI: Claiming :00:01.0: Resource 15: 8001..8004afff [220c] PCI: Claiming :01:00.0:

[PATCH 33/36] PCI: Don't release fixed resource for realloc

2015-07-06 Thread Yinghai Lu
We should not release bridge resource if there is fixed resources under it, otherwise the children firmware would stop working. Reported-by: Paul Johnson p...@nwtrail.com Suggested-by: Bjorn Helgaas bhelg...@google.com Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=92351 Signed-off-by:

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-06 Thread John Youn
On 7/1/2015 8:00 PM, Felipe Balbi wrote: On Thu, Jul 02, 2015 at 02:03:14AM +, John Youn wrote: On 6/29/2015 2:48 PM, Felipe Balbi wrote: Hi again, On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe Balbi wrote: On Thu, May 21, 2015 at 03:46:48PM +0530, Subbaraya Sundeep Bhatta wrote: We

Re: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-06 Thread Felipe Balbi
Hi, On Tue, Jul 07, 2015 at 02:10:26AM +, John Youn wrote: On 7/1/2015 8:00 PM, Felipe Balbi wrote: On Thu, Jul 02, 2015 at 02:03:14AM +, John Youn wrote: On 6/29/2015 2:48 PM, Felipe Balbi wrote: Hi again, On Mon, Jun 29, 2015 at 04:47:01PM -0500, Felipe Balbi wrote: On Thu,

Re: [PATCH] dmaengine: pl330: Fix overflow when reporting residue in memcpy

2015-07-06 Thread Vinod Koul
On Mon, Jun 15, 2015 at 05:25:16PM +0900, Krzysztof Kozlowski wrote: During memcpy operations the residue was always set to an u32 overflowed value. In pl330_tx_status() function number of currently transferred bytes was subtracted from internal bytes_requested field. However this

Re: [PATCH] dmaengine: pl330: Really fix choppy sound because of wrong residue calculation

2015-07-06 Thread Vinod Koul
On Mon, Jun 15, 2015 at 11:00:09PM +0900, Krzysztof Kozlowski wrote: When pl330 driver was used during sound playback, after some time or after a number of plays the sound became choppy or totally noisy. For example on Odroid XU3 board the first four executions of aplay with small WAVE worked

[PATCH 2/2] powerpc/powernv: Fix wrong IOMMU table in pnv_ioda_setup_bus_dma()

2015-07-06 Thread Michael Ellerman
From: Alexey Kardashevskiy a...@ozlabs.ru commit 5c89a87d13d168eacb8110810544a98ce0f4319d upstream. When pnv_pci_ioda_fixup() is called during PHB fixup time, each PE in the sorted list of PEs (phb::pe_dma_list) is iterated to setup the PE's DMA32 space by pnv_ioda_setup_bus_dma() if the PE's

[PATCH 1/2] powerpc/eeh: Fix trivial error in eeh_restore_dev_state()

2015-07-06 Thread Michael Ellerman
From: David Gibson da...@gibson.dropbear.id.au commit 502f159c0239863deebfc50e09c0892d0c157101 upstream. Commit 28158cd powerpc/eeh: Enhance pcibios_set_pcie_reset_state() introduced a fix for a problem where certain configurations could lead to pci_reset_function() destroying the state of PCI

Re: [PATCH] xtensa: fix threadptr reload on return to userspace

2015-07-06 Thread Chris Zankel
Thanks for the fix, Max, added to my for_next tree to upstream later this week... On Sat, Jul 4, 2015 at 5:53 AM, Max Filippov jcmvb...@gmail.com wrote: Userspace return code may skip restoring THREADPTR register if there are no registers that need to be zeroed. This leads to spurious failures

RE: [PATCH v2 3/3] usb: dwc3: gadget: return error if command sent to DEPCMD register fails

2015-07-06 Thread Subbaraya Sundeep Bhatta
Hi Felipe, -Original Message- From: Felipe Balbi [mailto:ba...@ti.com] Sent: Monday, July 06, 2015 10:38 PM To: Subbaraya Sundeep Bhatta Cc: ba...@ti.com; gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux-ker...@vger.kernel.org; stable@vger.kernel.org Subject: Re: [PATCH

[PATCH-4.0.y 0/1] target: stable backports

2015-07-06 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org Hi Greg-KH Sagi, Here is the one outstanding backport patch that has been updated to apply against v4.0.7. Please apply to queue-4.0. Thank you, --nab Sagi Grimberg (1): iser-target: release stale iser connections

[PATCH-4.0.y 1/1] iser-target: release stale iser connections

2015-07-06 Thread Nicholas A. Bellinger
From: Sagi Grimberg sa...@mellanox.com commit 2f1b6b7d9a815f341b18dfd26a363f37d4d3c96a upstream. When receiving a new iser connect request we serialize the pending requests by adding the newly created iser connection to the np accept list and let the login thread process the connect request one

[PATCH-3.14.y 3/3] iser-target: release stale iser connections

2015-07-06 Thread Nicholas A. Bellinger
From: Sagi Grimberg sa...@mellanox.com commit 2f1b6b7d9a815f341b18dfd26a363f37d4d3c96a upstream. When receiving a new iser connect request we serialize the pending requests by adding the newly created iser connection to the np accept list and let the login thread process the connect request one

[PATCH-3.14.y 1/3] iscsi-target: Convert iscsi_thread_set usage to kthread.h

2015-07-06 Thread Nicholas A. Bellinger
From: Nicholas Bellinger n...@linux-iscsi.org commit 88dcd2dab5c23b1c9cfc396246d8f476c872f0ca upstream. This patch converts iscsi-target code to use modern kthread.h API callers for creating RX/TX threads for each new iscsi_conn descriptor, and releasing associated RX/TX threads during

  1   2   3   >