Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 10:37:56PM +0900, David Woodhouse wrote: > On Wed, 2015-10-28 at 13:23 +0200, Michael S. Tsirkin wrote: > > On Wed, Oct 28, 2015 at 05:36:53PM +0900, Benjamin Herrenschmidt > > wrote: > > > On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > > > > We have discu

[PATCH] hwmon: (scpi) skip unsupported sensors properly

2015-10-28 Thread Sudeep Holla
Currently it's assumed that firmware exports only the class of sensors supported by the driver. However with newer firmware or SCPI protocol revision, support for newer classes of sensors can be present. The driver fails to probe with the following warning if an unsupported class of sensor is enco

[PATCH 3.12 102/123] rbd: fix double free on rbd_dev->header_name

2015-10-28 Thread Jiri Slaby
From: Ilya Dryomov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3ebe138ac642a195c7f2efdb918f464734421fd6 upstream. If rbd_dev_image_probe() in rbd_dev_probe_parent() fails, header_name is freed twice: once in rbd_dev_probe_parent() and the

[PATCH 3.12 082/123] af_unix: Convert the unix_sk macro to an inline function for type safety

2015-10-28 Thread Jiri Slaby
From: Aaron Conole 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 4613012db1d911f80897f9446a49de817b2c4c47 ] As suggested by Eric Dumazet this change replaces the #define with a static inline function to enjoy complaints by the co

[PATCH 3.12 083/123] af_unix: return data from multiple SKBs on recv() with MSG_PEEK flag

2015-10-28 Thread Jiri Slaby
From: Aaron Conole 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 9f389e35674f5b086edd70ed524ca0f287259725 ] AF_UNIX sockets now return multiple skbs from recv() when MSG_PEEK flag is set. This is referenced in kernel bugzilla #1

[PATCH 3.12 088/123] ppp: don't override sk->sk_state in pppoe_flush_dev()

2015-10-28 Thread Jiri Slaby
From: Guillaume Nault 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit e6740165b8f7f06d8caee0fceab3fb9d790a6fed ] Since commit 2b018d57ff18 ("pppoe: drop PPPOX_ZOMBIEs in pppoe_release"), pppoe_release() calls dev_put(po->pppoe_dev)

[PATCH 3.12 084/123] net/unix: fix logic about sk_peek_offset

2015-10-28 Thread Jiri Slaby
From: Andrey Vagin 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit e9193d60d363e4dff75ff6d43a48f22be26d59c7 ] Now send with MSG_PEEK can return data from multiple SKBs. Unfortunately we take into account the peek offset for each s

[PATCH 3.12 087/123] net: add pfmemalloc check in sk_add_backlog()

2015-10-28 Thread Jiri Slaby
From: Eric Dumazet 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit c7c49b8fde26b74277188bdc6c9dca38db6fa35b ] Greg reported crashes hitting the following check in __sk_backlog_rcv() BUG_ON(!sock_flag(sk, SOCK_MEMALLOC));

[PATCH 3.12 086/123] skbuff: Fix skb checksum partial check.

2015-10-28 Thread Jiri Slaby
From: Pravin B Shelar 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 31b33dfb0a144469dd805514c9e63f4993729a48 ] Earlier patch 6ae459bda tried to detect void ckecksum partial skb by comparing pull length to checksum offset. But it

[PATCH 3.12 076/123] genirq: Fix race in register_irq_proc()

2015-10-28 Thread Jiri Slaby
From: Ben Hutchings 3.12-stable review patch. If anyone has any objections, please let me know. === commit 95c2b17534654829db428f11bcf4297c059a2a7e upstream. Per-IRQ directories in procfs are created only when a handler is first added to the irqdesc, not when the irqdesc is create

[PATCH 3.12 075/123] m68k: Define asmlinkage_protect

2015-10-28 Thread Jiri Slaby
From: Andreas Schwab 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8474ba74193d302e83401e16c85cc4b98caf upstream. Make sure the compiler does not modify arguments of syscall functions. This can happen if the compiler generates a tailcal

[PATCH 3.12 073/123] UBI: return ENOSPC if no enough space available

2015-10-28 Thread Jiri Slaby
From: shengyong 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7c7feb2ebfc9c0552c51f0c050db1d1a004faac5 upstream. UBI: attaching mtd1 to ubi0 UBI: scanning is finished UBI error: init_volumes: not enough PEBs, required 706, available 686 UBI

[RFC PATCH v2 1/4] net: dsa: allow switch drivers to cleanup their resources

2015-10-28 Thread Neil Armstrong
Some switch drivers might request interrupts, remap register ranges, allow such drivers to implement a "remove" callback doing just that. Signed-off-by: Florian Fainelli Signed-off-by: Neil Armstrong --- include/net/dsa.h | 1 + net/dsa/dsa.c | 4 2 files changed, 5 insertions(+) diff

[RFC PATCH v2 2/4] net: dsa: bcm_sf2: cleanup resources in remove callback

2015-10-28 Thread Neil Armstrong
Implement a remove callback allowing the switch driver to cleanup resources it used: interrupts and remapped register ranges. Signed-off-by: Florian Fainelli Signed-off-by: Neil Armstrong --- drivers/net/dsa/bcm_sf2.c | 20 1 file changed, 20 insertions(+) diff --git a/dri

[RFC PATCH v2 0/4] net: dsa: cleanup dsa driver

2015-10-28 Thread Neil Armstrong
Introduce a new remove callback to allow DSA drivers to cleanup their ressources. Then add a remove implementation for bcm_sf2 and mv88e6xxx. This patch was not tested due of a lack of hardware. v2: add remove callback patch to the serie Neil Armstrong (4): net: dsa: allow switch drivers to cl

[RFC PATCH v2 3/4] net: dsa: mv88e6xxx: add common and ppu remove function

2015-10-28 Thread Neil Armstrong
With the previously introduced remove callback, add a mv88e6xxx common remove function to cleanup all resources. Signed-off-by: Neil Armstrong --- drivers/net/dsa/mv88e6xxx.c | 18 ++ drivers/net/dsa/mv88e6xxx.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/drivers/net

[RFC PATCH v2 4/4] net: dsa: make usage of mv88e6xxx common remove function

2015-10-28 Thread Neil Armstrong
Make usage of previously introduced mv88e6xxx common remove function in all mv88e6xxx drivers. Signed-off-by: Neil Armstrong --- drivers/net/dsa/mv88e6123_61_65.c | 1 + drivers/net/dsa/mv88e6131.c | 8 drivers/net/dsa/mv88e6171.c | 1 + drivers/net/dsa/mv88e6352.c | 1

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread David Woodhouse
On Wed, 2015-10-28 at 16:05 +0200, Michael S. Tsirkin wrote: > > Short answer - platforms need a way to discover, and express different > security requirements of different devices. Sure. PLATFORMS need that. Do not let it go anywhere near your device drivers. Including the virtio drivers. > If

Re: [PATCH] arm: perf: Add event descriptions

2015-10-28 Thread Christopher Covington
On 10/27/2015 12:04 PM, Mark Rutland wrote: > On Tue, Oct 27, 2015 at 11:46:12AM -0400, Christopher Covington wrote: >> On 10/07/2015 07:20 AM, Will Deacon wrote: >>> Hi again, Drew, >>> >>> On Thu, Sep 24, 2015 at 06:52:57PM +0100, Will Deacon wrote: On Mon, Aug 17, 2015 at 10:40:36PM +0100,

[PATCH 3.12 085/123] skbuff: Fix skb checksum flag on skb pull

2015-10-28 Thread Jiri Slaby
From: Pravin B Shelar 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 6ae459bdaaeebc632b16e54dcbabb490c6931d61 ] VXLAN device can receive skb with checksum partial. But the checksum offset could be in outer header which is pulled o

[PATCH 3.12 061/123] Initialize msg/shm IPC objects before doing ipc_addid()

2015-10-28 Thread Jiri Slaby
From: Linus Torvalds 3.12-stable review patch. If anyone has any objections, please let me know. === commit b9a532277938798b53178d5a66af6e2915cb27cf upstream. As reported by Dmitry Vyukov, we really shouldn't do ipc_addid() before having initialized the IPC object state. Yes, we

[PATCH 3.12 064/123] cifs: use server timestamp for ntlmv2 authentication

2015-10-28 Thread Jiri Slaby
From: Peter Seiderer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 98ce94c8df762d413b3ecb849e2b966b21606d04 upstream. Linux cifs mount with ntlmssp against an Mac OS X (Yosemite 10.10.5) share fails in case the clocks differ more than +/-2h

[PATCH 3.12 058/123] usb: xhci: Clear XHCI_STATE_DYING on start

2015-10-28 Thread Jiri Slaby
From: Roger Quadros 3.12-stable review patch. If anyone has any objections, please let me know. === commit e5bfeab0ad515b4f6df39fe716603e9dc6d3dfd0 upstream. For whatever reason if XHCI died in the previous instant then it will never recover on the next xhci_start unless we clear

[PATCH 3.12 060/123] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-10-28 Thread Jiri Slaby
From: Reyad Attiyat 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4758dcd19a7d9ba9610b38fecb93f65f56f86346 upstream. This commit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a multipl

[PATCH 3.12 072/123] UBI: Validate data_size

2015-10-28 Thread Jiri Slaby
From: Richard Weinberger 3.12-stable review patch. If anyone has any objections, please let me know. === commit 281fda27673f833a01d516658a64d22a32c8e072 upstream. Make sure that data_size is less than LEB size. Otherwise a handcrafted UBI image is able to trigger an out of bounds

[PATCH 3.12 097/123] i2c: s3c2410: enable RuntimePM before registering to the core

2015-10-28 Thread Jiri Slaby
From: Wolfram Sang 3.12-stable review patch. If anyone has any objections, please let me know. === commit eadd709f5d2e8aebb1b7bf49460e97a68d81a9b0 upstream. The core may register clients attached to this master which may use funtionality from the master. So, RuntimePM must be enab

[PATCH] agp/intel-gtt: Make it use DMA API dynamically.

2015-10-28 Thread Konrad Rzeszutek Wilk
It is 2015 and DMA API is pretty much a MUST in the x86 world. Make the fake AGP driver choose dynamically whether to use the DMA API based on the GTT version instead of having an dependency on Intel IOMMU being compiled in. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/char/agp/intel-gtt.c

Re: [RFC PATCH net-next 1/4] perf tools: Enable pre-event inherit setting by config terms

2015-10-28 Thread Jiri Olsa
On Wed, Oct 28, 2015 at 10:42:13AM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 28, 2015 at 02:21:26PM +0100, Jiri Olsa escreveu: > > On Wed, Oct 28, 2015 at 10:55:02AM +, Wang Nan wrote: > > > @@ -55,6 +56,7 @@ struct perf_evsel_config_term { > > > booltime; > > >

[PATCH 3.12 077/123] dm cache: fix NULL pointer when switching from cleaner policy

2015-10-28 Thread Jiri Slaby
From: Joe Thornber 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2bffa1503c5c06192eb1459180fac4416575a966 upstream. The cleaner policy doesn't make use of the per cache block hint space in the metadata (unlike the other policies). When swi

[PATCH 3.12 066/123] regmap: debugfs: Don't bother actually printing when calculating max length

2015-10-28 Thread Jiri Slaby
From: Mark Brown 3.12-stable review patch. If anyone has any objections, please let me know. === commit 176fc2d5770a0990eebff903ba680d2edd32e718 upstream. The in kernel snprintf() will conveniently return the actual length of the printed string even if not given an output beffer a

Re: [PATCH 1/2] dynamic_debug: fix boot parameters parse

2015-10-28 Thread Jason Baron
On 10/27/2015 03:40 AM, Peter Chen wrote: > The parse_args will delete space between boot parameters, so > if we add dyndbg="file drivers/usb/* +p" at bootargs, the parse_args > will split it as three parameters, and only "file" is for dyndbg, > then below error will occur at ddebug, it causes all

[PATCH 3.12 067/123] security: fix typo in security_task_prctl

2015-10-28 Thread Jiri Slaby
From: Jann Horn 3.12-stable review patch. If anyone has any objections, please let me know. === commit b7f76ea2ef6739ee484a165ffbac98deb855d3d3 upstream. Signed-off-by: Jann Horn Reviewed-by: Andy Lutomirski Signed-off-by: Linus Torvalds Signed-off-by: Jiri Slaby --- include/

[PATCH 3.12 065/123] regmap: debugfs: Ensure we don't underflow when printing access masks

2015-10-28 Thread Jiri Slaby
From: Mark Brown 3.12-stable review patch. If anyone has any objections, please let me know. === commit b763ec17ac762470eec5be8ebcc43e4f8b2c2b82 upstream. If a read is attempted which is smaller than the line length then we may underflow the subtraction we're doing with the unsign

[PATCH 3.12 074/123] arm64: readahead: fault retry breaks mmap file read random detection

2015-10-28 Thread Jiri Slaby
From: Mark Salyzyn 3.12-stable review patch. If anyone has any objections, please let me know. === commit 569ba74a7ba69f46ce2950bf085b37fea2408385 upstream. This is the arm64 portion of commit 45cac65b0fcd ("readahead: fault retry breaks mmap file read random detection"), which wa

[PATCH 3.12 070/123] USB: Add reset-resume quirk for two Plantronics usb headphones.

2015-10-28 Thread Jiri Slaby
From: Yao-Wen Mao 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8484bf2981b3d006426ac052a3642c9ce1d8d980 upstream. These two headphones need a reset-resume quirk to properly resume to original volume level. Signed-off-by: Yao-Wen Mao Sign

[PATCH 3.12 069/123] usb: Add device quirk for Logitech PTZ cameras

2015-10-28 Thread Jiri Slaby
From: Vincent Palatin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 72194739f54607bbf8cfded159627a2015381557 upstream. Add a device quirk for the Logitech PTZ Pro Camera and its sibling the ConferenceCam CC3000e Camera. This fixes the faile

[PATCH 3.12 071/123] MIPS: dma-default: Fix 32-bit fall back to GFP_DMA

2015-10-28 Thread Jiri Slaby
From: James Hogan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 53960059d56ecef67d4ddd546731623641a3d2d1 upstream. If there is a DMA zone (usually 24bit = 16MB I believe), but no DMA32 zone, as is the case for some 32-bit kernels, then mass

[PATCH 3.12 040/123] ALSA: synth: Fix conflicting OSS device registration on AWE32

2015-10-28 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 225db5762dc1a35b26850477ffa06e5cd0097243 upstream. When OSS emulation is loaded on ISA SB AWE32 chip, we get now kernel warnings like: WARNING: CPU: 0 PID: 2791 at fs/sysfs/

[PATCH 3.12 068/123] usb: Use the USB_SS_MULT() macro to get the burst multiplier.

2015-10-28 Thread Jiri Slaby
From: Mathias Nyman 3.12-stable review patch. If anyone has any objections, please let me know. === commit ff30cbc8da425754e8ab96904db1d295bd034f27 upstream. Bits 1:0 of the bmAttributes are used for the burst multiplier. The rest of the bits used to be reserved (zero), but USB3.1

[PATCH 3.12 053/123] disabling oplocks/leases via module parm enable_oplocks broken for SMB3

2015-10-28 Thread Jiri Slaby
From: Steve French 3.12-stable review patch. If anyone has any objections, please let me know. === commit e0ddde9d44e37fbc21ce893553094ecf1a633ab5 upstream. leases (oplocks) were always requested for SMB2/SMB3 even when oplocks disabled in the cifs.ko module. Signed-off-by: Steve

[PATCH 3.12 057/123] USB: whiteheat: fix potential null-deref at probe

2015-10-28 Thread Jiri Slaby
From: Johan Hovold 3.12-stable review patch. If anyone has any objections, please let me know. === commit cbb4be652d374f64661137756b8f357a1827d6a4 upstream. Fix potential null-pointer dereference at probe by making sure that the required endpoints are present. The whiteheat drive

[PATCH 3.12 049/123] USB: option: add ZTE PIDs

2015-10-28 Thread Jiri Slaby
From: "Liu.Zhao" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 19ab6bc5674a30fdb6a2436b068d19a3c17dc73e upstream. This is intended to add ZTE device PIDs on kernel. Signed-off-by: Liu.Zhao [johan: sort the new entries ] Signed-off-by: Joh

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 11:13:29PM +0900, David Woodhouse wrote: > On Wed, 2015-10-28 at 16:05 +0200, Michael S. Tsirkin wrote: > > > > Short answer - platforms need a way to discover, and express different > > security requirements of different devices. > > Sure. PLATFORMS need that. Do not let

[PATCH 3.12 039/123] mm: hugetlbfs: skip shared VMAs when unmapping private pages to satisfy a fault

2015-10-28 Thread Jiri Slaby
From: Mel Gorman 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2f84a8990ebbe235c59716896e017c6b2ca1200f upstream. SunDong reported the following on https://bugzilla.kernel.org/show_bug.cgi?id=103841 I think I find a linux bug, I

[PATCH 3.12 051/123] netfilter: nf_conntrack: Support expectations in different zones

2015-10-28 Thread Jiri Slaby
From: Joe Stringer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4b31814d20cbe5cd4ccf18089751e77a04afe4f2 upstream. When zones were originally introduced, the expectation functions were all extended to perform lookup using the zone. However

[PATCH 3.12 056/123] drm: Reject DRI1 hw lock ioctl functions for kms drivers

2015-10-28 Thread Jiri Slaby
From: Daniel Vetter 3.12-stable review patch. If anyone has any objections, please let me know. === commit da168d81b44898404d281d5dbe70154ab5f117c1 upstream. I've done some extensive history digging across libdrm, mesa and xf86-video-{intel,nouveau,ati}. The only potential user of

[PATCH 3.12 059/123] xhci: change xhci 1.0 only restrictions to support xhci 1.1

2015-10-28 Thread Jiri Slaby
From: Mathias Nyman 3.12-stable review patch. If anyone has any objections, please let me know. === commit dca7794539eff04b786fb6907186989e5eaaa9c2 upstream. Some changes between xhci 0.96 and xhci 1.0 specifications forced us to check the hci version in code, some of these checks

[PATCH 3.12 055/123] drm/qxl: recreate the primary surface when the bo is not primary

2015-10-28 Thread Jiri Slaby
From: Fabiano Fidêncio 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8d0d94015e96b8853c4f7f06eac3f269e1b3d866 upstream. When disabling/enabling a crtc the primary area must be updated independently of which crtc has been disabled/enabled.

[PATCH 3.12 038/123] spi: spi-pxa2xx: Check status register to determine if SSSR_TINT is disabled

2015-10-28 Thread Jiri Slaby
From: "Tan Jui Nee" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 02bc933ebb59208f42c2e6305b2c17fd306f695d upstream. On Intel Baytrail, there is case when interrupt handler get called, no SPI message is captured. The RX FIFO is indeed empty

Re: [PATCH v2 8/9] ARM: dts: Add leds support to STM32F429 Discovery board

2015-10-28 Thread Maxime Coquelin
2015-10-28 9:09 GMT+01:00 Daniel Thompson : > On 27/10/15 21:52, Andreas Färber wrote: >> >> Am 27.10.2015 um 22:46 schrieb Linus Walleij: >>> >>> Heartbeat is awesome. >> >> >> Yes, it's awesome for testing, but not for a .dts file that ends up in a >> distro (not the case here, of course) and kee

[PATCH 3.12 046/123] Btrfs: fix read corruption of compressed and shared extents

2015-10-28 Thread Jiri Slaby
From: Filipe Manana 3.12-stable review patch. If anyone has any objections, please let me know. === commit 005efedf2c7d0a270ffbe28d8997b03844f3e3e7 upstream. If a file has a range pointing to a compressed extent, followed by another range that points to the same compressed extent

[PATCH 3.12 047/123] Btrfs: update fix for read corruption of compressed and shared extents

2015-10-28 Thread Jiri Slaby
From: Filipe Manana 3.12-stable review patch. If anyone has any objections, please let me know. === commit 808f80b46790f27e145c72112189d6a3be2bc884 upstream. My previous fix in commit 005efedf2c7d ("Btrfs: fix read corruption of compressed and shared extents") was effective only i

[PATCH 3.12 050/123] dm raid: fix round up of default region size

2015-10-28 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 042745ee53a0a7c1f5aff191a4a24213c6dcfb52 upstream. Commit 3a0f9aaee028 ("dm raid: round region_size to power of two") intended to make sure that the default region size is

[PATCH 3.12 052/123] netfilter: ctnetlink: put back references to master ct and expect objects

2015-10-28 Thread Jiri Slaby
From: Pablo Neira Ayuso 3.12-stable review patch. If anyone has any objections, please let me know. === commit 95dd8653de658143770cb0e55a58d2aab97c79d2 upstream. We have to put back the references to the master conntrack and the expectation that we just created, otherwise we'll le

Re: [PATCH 3/3] ARM: BCM: Add SMP support for Broadcom NSP

2015-10-28 Thread Kapil Hali
On 10/16/2015 2:47 AM, Jon Mason wrote: > On Thu, Oct 15, 2015 at 11:12:09PM +0200, Hauke Mehrtens wrote: >> On 10/15/2015 06:10 PM, Kapil Hali wrote: >>> >>> >>> On 10/15/2015 3:56 AM, Hauke Mehrtens wrote: On 10/14/2015 07:47 PM, Kapil Hali wrote: > Add SMP support for Broadcom's North

Re: [RFD] Functional dependencies between devices

2015-10-28 Thread Tomeu Vizoso
On 28 October 2015 at 03:15, Rafael J. Wysocki wrote: > On Tuesday, October 27, 2015 04:20:51 PM Tomeu Vizoso wrote: >> On 27 October 2015 at 16:24, Rafael J. Wysocki wrote: >> > Hi All, >> > >> > As discussed in the recent "On-demand device probing" thread and in a >> > Kernel >> > Summit sessi

Re: [RFC PATCH v2 1/4] net: dsa: allow switch drivers to cleanup their resources

2015-10-28 Thread Andrew Lunn
On Wed, Oct 28, 2015 at 03:12:57PM +0100, Neil Armstrong wrote: > Some switch drivers might request interrupts, remap register ranges, > allow such drivers to implement a "remove" callback doing just that. > > Signed-off-by: Florian Fainelli > Signed-off-by: Neil Armstrong > --- > include/net/d

[PATCH 3.12 043/123] ASoC: fix broken pxa SoC support

2015-10-28 Thread Jiri Slaby
From: Robert Jarzmik 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3c8f7710c1c44fb650bc29b6ef78ed8b60cfaa28 upstream. The previous fix of pxa library support, which was introduced to fix the library dependency, broke the previous SoC behavi

[PATCH 3.12 048/123] dm btree: add ref counting ops for the leaves of top level btrees

2015-10-28 Thread Jiri Slaby
From: Joe Thornber 3.12-stable review patch. If anyone has any objections, please let me know. === commit b0dc3c8bc157c60b1d470163882be8c13e1950af upstream. When using nested btrees, the top leaves of the top levels contain block addresses for the root of the next tree down. If w

[PATCH 3.12 045/123] btrfs: skip waiting on ordered range for special files

2015-10-28 Thread Jiri Slaby
From: Jeff Mahoney 3.12-stable review patch. If anyone has any objections, please let me know. === commit a30e577c96f59b1e1678ea5462432b09bf7d5cbc upstream. In btrfs_evict_inode, we properly truncate the page cache for evicted inodes but then we call btrfs_wait_ordered_range for e

[PATCH 3.12 054/123] drm/qxl: only report first monitor as connected if we have no state

2015-10-28 Thread Jiri Slaby
From: Dave Airlie 3.12-stable review patch. If anyone has any objections, please let me know. === commit 69e5d3f893e19613486f300fd6e631810338aa4b upstream. If the server isn't new enough to give us state, report the first monitor as always connected, otherwise believe the server s

[PATCH 3.12 042/123] ASoC: pxa: pxa2xx-ac97: fix dma requestor lines

2015-10-28 Thread Jiri Slaby
From: Robert Jarzmik 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8811191fdf7ed02ee07cb8469428158572d355a2 upstream. PCM receive and transmit DMA requestor lines were reverted, breaking the PCM playback interface for PXA platforms using th

[PATCH 3.12 044/123] ASoC: dwc: correct irq clear method

2015-10-28 Thread Jiri Slaby
From: Yitian Bu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4873867e5f2bd90faad861dd94865099fc3140f3 upstream. from Designware I2S datasheet, tx/rx XRUN irq is cleared by reading register TOR/ROR, rather than by writing into them. Signed

[PATCH 3.12 028/123] dmaengine: dw: properly read DWC_PARAMS register

2015-10-28 Thread Jiri Slaby
From: Andy Shevchenko 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6bea0f6d1c47b07be88dfd93f013ae05fcb3d8bf upstream. In case we have less than maximum allowed channels (8) and autoconfiguration is enabled the DWC_PARAMS read is wrong beca

[PATCH 3.12 025/123] ARM: 8429/1: disable GCC SRA optimization

2015-10-28 Thread Jiri Slaby
From: Ard Biesheuvel 3.12-stable review patch. If anyone has any objections, please let me know. === commit a077224fd35b2f7fbc93f14cf67074fc792fbac2 upstream. While working on the 32-bit ARM port of UEFI, I noticed a strange corruption in the kernel log. The following snprintf() s

[PATCH 3.12 021/123] perf stat: Get correct cpu id for print_aggr

2015-10-28 Thread Jiri Slaby
From: Kan Liang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 601083cffb7cabdcc55b8195d732f0f7028570fa upstream. print_aggr() fails to print per-core/per-socket statistics after commit 582ec0829b3d ("perf stat: Fix per-socket output bug for

[PATCH 3.12 032/123] x86/xen: Support kexec/kdump in HVM guests by doing a soft reset

2015-10-28 Thread Jiri Slaby
From: Vitaly Kuznetsov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0b34a166f291d255755be46e43ed5497cdd194f2 upstream. Currently there is a number of issues preventing PVHVM Xen guests from doing successful kexec/kdump: - Bound event ch

[PATCH 3.12 030/123] x86/platform: Fix Geode LX timekeeping in the generic x86 build

2015-10-28 Thread Jiri Slaby
From: David Woodhouse 3.12-stable review patch. If anyone has any objections, please let me know. === commit 03da3ff1cfcd7774c8780d2547ba0d995f7dc03d upstream. In 2007, commit 07190a08eef36 ("Mark TSC on GeodeLX reliable") bypassed verification of the TSC on Geode LX. However, thi

[PATCH 3.12 036/123] sched/core: Fix TASK_DEAD race in finish_task_switch()

2015-10-28 Thread Jiri Slaby
From: Peter Zijlstra 3.12-stable review patch. If anyone has any objections, please let me know. === commit 95913d97914f44db2b81271c2e2ebd4d2ac2df83 upstream. So the problem this patch is trying to address is as follows: CPU0CPU1 conte

Re: [GIT] Networking

2015-10-28 Thread Rasmus Villemoes
On Wed, Oct 28 2015, Hannes Frederic Sowa wrote: > Hi Linus, > > On Wed, Oct 28, 2015, at 10:39, Linus Torvalds wrote: >> Get rid of it. And I don't *ever* want to see that shit again. > > I don't want to give up on that this easily: > > In future I would like to see an interface like this. It is

[PATCH 3.12 031/123] x86/mm: Set NX on gap between __ex_table and rodata

2015-10-28 Thread Jiri Slaby
From: Stephen Smalley 3.12-stable review patch. If anyone has any objections, please let me know. === commit ab76f7b4ab2397ffdd2f1eb07c55697d19991d10 upstream. Unused space between the end of __ex_table and the start of rodata can be left W+x in the kernel page tables. Extend the

[PATCH 3.12 019/123] iser-target: remove command with state ISTATE_REMOVE

2015-10-28 Thread Jiri Slaby
From: Jenny Derzhavetz 3.12-stable review patch. If anyone has any objections, please let me know. === commit a4c15cd957cbd728f685645de7a150df5912591a upstream. As documented in iscsit_sequence_cmd: /* * Existing callers for iscsit_sequence_cmd() will silently * ignore commands

[PATCH 3.12 018/123] scsi: fix scsi_error_handler vs. scsi_host_dev_release race

2015-10-28 Thread Jiri Slaby
From: Michal Hocko 3.12-stable review patch. If anyone has any objections, please let me know. === commit 537b604c8b3aa8b96fe35f87dd085816552e294c upstream. b9d5c6b7ef57 ("[SCSI] cleanup setting task state in scsi_error_handler()") has introduced a race between scsi_error_handler

[PATCH 3.12 034/123] arch: Move smp_mb__{before,after}_atomic_{inc,dec}.h into asm/atomic.h

2015-10-28 Thread Jiri Slaby
From: Peter Zijlstra 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1de7da377bd880ff23917f78924d0e908329d978 upstream. Move the barriers functions that depend on the atomic implementation into the atomic implementation. Reviewed-by: Paul E.

[PATCH 3.12 033/123] arch: Clean up asm/barrier.h implementations using asm-generic/barrier.h

2015-10-28 Thread Jiri Slaby
From: Peter Zijlstra 3.12-stable review patch. If anyone has any objections, please let me know. === commit 93ea02bb84354370e51de803a9405f171f3edf88 upstream. We're going to be adding a few new barrier primitives, and in order to avoid endless duplication make more agressive use o

[PATCH 3.12 020/123] perf hists: Update the column width for the "srcline" sort key

2015-10-28 Thread Jiri Slaby
From: Arnaldo Carvalho de Melo 3.12-stable review patch. If anyone has any objections, please let me know. === commit e8e6d37e73e6b950c891c780745460b87f4755b6 upstream. When we introduce a new sort key, we need to update the hists__calc_col_len() function accordingly, otherwise th

Re: [PATCH] arm: perf: Add event descriptions

2015-10-28 Thread Mark Rutland
On Wed, Oct 28, 2015 at 10:14:24AM -0400, Christopher Covington wrote: > On 10/27/2015 12:04 PM, Mark Rutland wrote: > > On Tue, Oct 27, 2015 at 11:46:12AM -0400, Christopher Covington wrote: > >> On 10/07/2015 07:20 AM, Will Deacon wrote: > >>> Hi again, Drew, > >>> > >>> On Thu, Sep 24, 2015 at 0

Re: [PATCH 1/1] kthread: introduce kthread_get_run() to fix __nbd_ioctl()

2015-10-28 Thread Oleg Nesterov
Markus, sorry for delay, I didn't have email access two days, On 10/26, Markus Pargmann wrote: > > On Sun, Oct 25, 2015 at 03:27:13PM +0100, Oleg Nesterov wrote: > > It is not safe to use the task_struct returned by kthread_run(threadfn) > > if threadfn() can exit before the "owner" does kthread_

Cloud Users List

2015-10-28 Thread Lillian Timothy
Hi, Would you be interested in acquiring an email list of " Cloud Users List" with opt-in verified email addresses. From the USA? We also have VMware vCloud Users, Cloudera Users, CallidusCloud Users, Cloud9 Users, Salesforce Users, Apache CloudStack Users, VMware users, SOASTA Cloud

[PATCH RFC 3/3] clocksource: add memory-mapped timer support in arm_arch_timer.c

2015-10-28 Thread fu . wei
From: Fu Wei The patch add memory-mapped timer register support for arm_arch_timer driver by using the information provided by the new GTDT driver of ACPI. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 136 +++ 1 file changed, 136 insertions(+

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread David Woodhouse
On Wed, 2015-10-28 at 16:22 +0200, Michael S. Tsirkin wrote: > On Wed, Oct 28, 2015 at 11:13:29PM +0900, David Woodhouse wrote: > > On Wed, 2015-10-28 at 16:05 +0200, Michael S. Tsirkin wrote: > > > > > > Short answer - platforms need a way to discover, and express > > > different > > > security r

[PATCH RFC 0/3] ACPI, clocksource: add GTDT and ARM memory-mapped timer support

2015-10-28 Thread fu . wei
From: Fu Wei This patchset: (1)Introduce ACPI GTDT parser: drivers/acpi/gtdt.c Parse all kinds of timer in GTDT table of ACPI:arch timer, memory-mapped timer and SBSA Generic Watchdog timer. This driver can help to simplify all the relevant timer drivers, and separate all the

[PATCH RFC 2/3] clocksource: simplify ACPI code in arm_arch_timer.c

2015-10-28 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo --- drivers/clocks

[PATCH 3.12 024/123] ARM: fix Thumb2 signal handling when ARMv6 is enabled

2015-10-28 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9b55613f42e8d40d5c9ccb8970bde6af4764b2ab upstream. When a kernel is built covering ARMv6 to ARMv7, we omit to clear the IT state when entering a signal handler. This can caus

[PATCH 3.12 022/123] perf header: Fixup reading of HEADER_NRCPUS feature

2015-10-28 Thread Jiri Slaby
From: Arnaldo Carvalho de Melo 3.12-stable review patch. If anyone has any objections, please let me know. === commit caa470475d9b59eeff093ae650800d34612c4379 upstream. The original patch introducing this header wrote the number of CPUs available and online in one order and then s

[PATCH RFC 1/3] ACPI: add GTDT table parse driver into ACPI driver

2015-10-28 Thread fu . wei
From: Fu Wei This driver adds support for parsing all kinds of timer in GTDT: (1)arch timer: provide a kernel API to parse all the PPIs and always-on info in GTDT and export them by arch_timer_data struct. (2)memory-mapped timer: provide several kernel APIs to parse GT Block Structure in GTDT, e

[PATCH 3.12 014/123] ARM: 7880/1: Clear the IT state independent of the Thumb-2 mode

2015-10-28 Thread Jiri Slaby
From: "T.J. Purtell" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6ecf830e5029598732e04067e325d946097519cb upstream. The ARM architecture reference specifies that the IT state bits in the PSR must be all zeros in ARM mode or behavior is un

Re: [RFC PATCH v2 3/4] net: dsa: mv88e6xxx: add common and ppu remove function

2015-10-28 Thread Andrew Lunn
On Wed, Oct 28, 2015 at 03:13:16PM +0100, Neil Armstrong wrote: > With the previously introduced remove callback, add a > mv88e6xxx common remove function to cleanup all resources. > > Signed-off-by: Neil Armstrong > --- > drivers/net/dsa/mv88e6xxx.c | 18 ++ > drivers/net/dsa/mv

[PATCH 3.12 002/123] x86/paravirt: Replace the paravirt nop with a bona fide empty function

2015-10-28 Thread Jiri Slaby
From: Andy Lutomirski 3.12-stable review patch. If anyone has any objections, please let me know. === commit fc57a7c68020dcf954428869eafd934c0ab1536f upstream. PARAVIRT_ADJUST_EXCEPTION_FRAME generates this code (using nmi as an example, trimmed for readability): ff 15 00 00

[PATCH 3.12 017/123] kvm: fix zero length mmio searching

2015-10-28 Thread Jiri Slaby
From: Jason Wang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8f4216c7d28976f7ec1b2bcbfa0a9f787133c45e upstream. Currently, if we had a zero length mmio eventfd assigned on KVM_MMIO_BUS. It will never be found by kvm_io_bus_cmp() since it

[PATCH 3.12 015/123] net: add length argument to skb_copy_and_csum_datagram_iovec

2015-10-28 Thread Jiri Slaby
From: Sabrina Dubroca 3.12-stable review patch. If anyone has any objections, please let me know. === Without this length argument, we can read past the end of the iovec in memcpy_toiovec because we have no way of knowing the total length of the iovec's buffers. This is needed for

[PATCH 3.12 013/123] Use WARN_ON_ONCE for missing X86_FEATURE_NRIPS

2015-10-28 Thread Jiri Slaby
From: Dirk Müller 3.12-stable review patch. If anyone has any objections, please let me know. === commit d2922422c48df93f3edff7d872ee4f3191fefb08 upstream. The cpu feature flags are not ever going to change, so warning everytime can cause a lot of kernel log spam (in our case more

[PATCH 3.12 006/123] xhci: Workaround for PME stuck issues in Intel xhci

2015-10-28 Thread Jiri Slaby
From: Mathias Nyman 3.12-stable review patch. If anyone has any objections, please let me know. === commit b8cb91e058cd0c0f02059c1207293c5b31d350fa upstream. The xhci in Intel Sunrisepoint and Cherryview platforms need a driver workaround for a Stuck PME that might either block PM

[PATCH 3.12 012/123] s390/3270: redraw screen on unsolicited device end

2015-10-28 Thread Jiri Slaby
From: Martin Schwidefsky 3.12-stable review patch. If anyone has any objections, please let me know. === commit 05bfd70bcdd3cd12c061cb77b73a11ba6f87379d upstream. If a 3270 terminal is disconnected and later reconnected again, it gets an unsolicited device end. This is currently i

Re: [PATCH v2 1/2] serial: 8250_early: do not save and restore IER in write callback

2015-10-28 Thread Peter Hurley
On 10/27/2015 11:27 PM, Masahiro Yamada wrote: > Hi Peter, > > 2015-10-27 22:54 GMT+09:00 Peter Hurley : >> Hi Masahiro, >> >> On 10/24/2015 12:17 AM, Masahiro Yamada wrote: >>> The IER has already been masked in early_serial8250_setup(), there is >>> no reason to save and restore it every time ea

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: > On Wed, Oct 28, 2015 at 2:34 PM, Lee Jones wrote: > > On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: > >> On Wed, Oct 28, 2015 at 1:14 PM, Lee Jones wrote: > >> > On Wed, 28 Oct 2015, Lee Jones wrote: > >> > > >> >> On Wed, 28 Oct 2015,

Re: [RFC PATCH v2 3/4] net: dsa: mv88e6xxx: add common and ppu remove function

2015-10-28 Thread Neil Armstrong
Hi Andrew, On 10/28/2015 03:35 PM, Andrew Lunn wrote: > On Wed, Oct 28, 2015 at 03:13:16PM +0100, Neil Armstrong wrote: >> diff --git a/drivers/net/dsa/mv88e6xxx.c b/drivers/net/dsa/mv88e6xxx.c >> index b1b14f5..6287096 100644 >> --- a/drivers/net/dsa/mv88e6xxx.c >> +++ b/drivers/net/dsa/mv88e6xxx

[PATCH 3.12 016/123] ALSA: hda - Control SPDIF out pin on MacBookPro 11,2

2015-10-28 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0c52db8cca7b033d03ebcda652158e2311d5ac64 upstream. The SPDIF output MBP11,2 requires the pin control to be set/cleared for turning on/off the optical SPDIF. The red light tur

[PATCH 3.12 010/123] client MUST ignore EncryptionKeyLength if CAP_EXTENDED_SECURITY is set

2015-10-28 Thread Jiri Slaby
From: Noel Power 3.12-stable review patch. If anyone has any objections, please let me know. === commit f291095f340db986271e951e3891bb95624a93ea upstream. [MS-SMB] 2.2.4.5.2.1 states: "ChallengeLength (1 byte): When the CAP_EXTENDED_SECURITY bit is set, the server MUST set this

[PATCH 3.12 005/123] sched: Fix cpu_active_mask/cpu_online_mask race

2015-10-28 Thread Jiri Slaby
From: Jan H. Schönherr 3.12-stable review patch. If anyone has any objections, please let me know. === commit dd9d3843755da95f63dd3a376f62b3e45c011210 upstream. There is a race condition in SMP bootup code, which may result in WARNING: CPU: 0 PID: 1 at kernel/workqueue.c:4418

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