[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(+)

[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

[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

[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

[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 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 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

[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

[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

[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

[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

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

[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

[PATCH 3.12 099/123] workqueue: make sure delayed work run in local cpu

2015-10-28 Thread Jiri Slaby
From: Shaohua Li 3.12-stable review patch. If anyone has any objections, please let me know. === commit 874bbfe600a660cba9c776b3957b1ce393151b76 upstream. My system keeps crashing with below message. vmstat_update() schedules a delayed work in current cpu and expects the work

Re: [Linaro-acpi] [PATCH V1 07/11] XEN / PCI: Remove the dependence on arch x86 when PCI_MMCONFIG=y

2015-10-28 Thread Boris Ostrovsky
On 10/28/2015 09:45 AM, Hanjun Guo wrote: On 10/28/2015 06:56 PM, Tomasz Nowicki wrote: On 28.10.2015 11:49, Stefano Stabellini wrote: On Tue, 27 Oct 2015, Boris Ostrovsky wrote: On 10/27/2015 12:47 PM, Tomasz Nowicki wrote: + Stefano On 27.10.2015 17:38, Tomasz Nowicki wrote: From: Hanjun

[PATCH 3.12 096/123] i2c: rcar: 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 4f7effddf4549d57114289f273710f077c4c330a upstream. The core may register clients attached to this master which may use funtionality from the master. So, RuntimePM must be

[PATCH 3.12 095/123] arm64: errata: use KBUILD_CFLAGS_MODULE for erratum #843419

2015-10-28 Thread Jiri Slaby
From: Will Deacon 3.12-stable review patch. If anyone has any objections, please let me know. === commit b6dd8e0719c0d2d01429639a11b7bc2677de240c upstream. Commit df057cc7b4fa ("arm64: errata: add module build workaround for erratum #843419") sets CFLAGS_MODULE to ensure that the

[PATCH 3.12 094/123] btrfs: fix use after free iterating extrefs

2015-10-28 Thread Jiri Slaby
From: Chris Mason 3.12-stable review patch. If anyone has any objections, please let me know. === commit dc6c5fb3b514221f2e9d21ee626a9d95d3418dff upstream. The code for btrfs inode-resolve has never worked properly for files with enough hard links to trigger extrefs. It was

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

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 10:35:27PM +0900, David Woodhouse wrote: > On Wed, 2015-10-28 at 13:35 +0200, Michael S. Tsirkin wrote: > > E.g. on intel x86, there's an option iommu=pt which does the 1:1 > > thing for devices when used by kernel, but enables > > the iommu if used by userspace/VMs. > >

[PATCH 3.12 090/123] asix: Don't reset PHY on if_up for ASIX 88772

2015-10-28 Thread Jiri Slaby
From: Michel Stam 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 3cc81d85ee01e5a0b7ea2f4190e2ed1165f53c31 ] I've noticed every time the interface is set to 'up,', the kernel reports that the link speed is set to 100 Mbps/Full

[PATCH 3.12 091/123] asix: Do full reset during ax88772_bind

2015-10-28 Thread Jiri Slaby
From: Charles Keepax 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 436c2a5036b6ffe813310df2cf327d3b69be0734 ] commit 3cc81d85ee01 ("asix: Don't reset PHY on if_up for ASIX 88772") causes the ethernet on Arndale to no longer

[PATCH 3.12 089/123] ethtool: Use kcalloc instead of kmalloc for ethtool_get_strings

2015-10-28 Thread Jiri Slaby
From: Joe Perches 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 077cb37fcf6f00a45f375161200b5ee0cd4e937b ] It seems that kernel memory can leak into userspace by a kmalloc, ethtool_get_strings, then copy_to_user sequence. Avoid

[PATCH 3.12 079/123] mm/slab: fix unexpected index mapping result of kmalloc_size(INDEX_NODE+1)

2015-10-28 Thread Jiri Slaby
From: Joonsoo Kim 3.12-stable review patch. If anyone has any objections, please let me know. === commit 03a2d2a3eafe4015412cf4e9675ca0e2d9204074 upstream. Commit description is copied from the original post of this bug: http://comments.gmane.org/gmane.linux.kernel.mm/135349

[PATCH 3.12 098/123] i2c: designware: Do not use parameters from ACPI on Dell Inspiron 7348

2015-10-28 Thread Jiri Slaby
From: Mika Westerberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56d4b8a24cef5d66f0d10ac778a520d3c2c68a48 upstream. ACPI SSCN/FMCN methods were originally added because then the platform can provide the most accurate HCNT/LCNT values to

[PATCH 3.12 101/123] dm thin: fix missing pool reference count decrement in pool_ctr error path

2015-10-28 Thread Jiri Slaby
From: Mike Snitzer 3.12-stable review patch. If anyone has any objections, please let me know. === commit ba30670f4d5292c4e7f7980bbd5071f7c4794cdd upstream. Fixes: ac8c3f3df ("dm thin: generate event when metadata threshold passed") Signed-off-by: Mike Snitzer Signed-off-by:

[PATCH 3.12 100/123] drm/nouveau/fbcon: take runpm reference when userspace has an open fd

2015-10-28 Thread Jiri Slaby
From: Ben Skeggs 3.12-stable review patch. If anyone has any objections, please let me know. === commit f231976c2e8964ceaa9250e57d27c35ff03825c2 upstream. We need to do this in order to prevent accesses to the device while it's powered down. Userspace may have an mmap of the fb,

[PATCH 3.12 103/123] usb: chipidea: debug: add runtime pm for register access

2015-10-28 Thread Jiri Slaby
From: Li Jun 3.12-stable review patch. If anyone has any objections, please let me know. === commit bc24937943d9f71a1e32b5dc4e2f0ef8fcc07b64 upstream. Add runtime pm operations for registers access to avoid system hang. Signed-off-by: Li Jun Cc: Oliver Neukum Signed-off-by:

[PATCH 3.12 105/123] usb: musb: cppi41: improve rx channel abort routine

2015-10-28 Thread Jiri Slaby
From: Bin Liu 3.12-stable review patch. If anyone has any objections, please let me know. === commit cb83df77f3ec151d68a1b6be957207e6fc7b7f50 upstream. 1. set AUTOREQ to NONE at the beginning of teardown; 2. add delay for dma pipeline to drain; 3. Do not set USB_TDOWN bit for

[PATCH 3.12 107/123] HID: apple: Add support for the 2015 Macbook Pro

2015-10-28 Thread Jiri Slaby
From: Henrik Rydberg 3.12-stable review patch. If anyone has any objections, please let me know. === commit a4a2c54560f2c57b88ba0283f141b44f594c2337 upstream. This patch adds keyboard support for MacbookPro12,1 as WELLSPRING9 (0x0272, 0x0273, 0x0274). The touchpad is handled in a

[PATCH 3.12 108/123] HID: quirks: add QUIRK_NOGET for an other TPV touchscreen

2015-10-28 Thread Jiri Slaby
From: Benjamin Tissoires 3.12-stable review patch. If anyone has any objections, please let me know. === commit c9b57724b38d4c1555ee49418be3d76801e3327c upstream. Looks like 0x8882 needs the same quirk than 0x8883. Given that both devices claim they are "TPV OpticalTouchScreen"

[PATCH 3.12 106/123] usb: musb: fix cppi channel teardown for isoch transfer

2015-10-28 Thread Jiri Slaby
From: Bin Liu 3.12-stable review patch. If anyone has any objections, please let me know. === commit b431ba8803666e56c1d178a421b3cbc36e8d3d33 upstream. After a few iterations of start/stop UVC camera streaming, the streaming stops. This patch adds 250us delay in the cppi channel

[PATCH 3.12 109/123] Input: psmouse - add small delay for IBM trackpoint pass-through mode

2015-10-28 Thread Jiri Slaby
From: Stefan Assmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 66bc2f51ef7deabc8b8f3baa98ae64b65e5e973a upstream. There are trackpoint devices that fail to respond to the PS2 command PSMOUSE_CMD_GETID if immediately queried after the

Re: [PATCH 2/6] net: dsa: allow switch drivers to cleanup their resources

2015-10-28 Thread Neil Armstrong
On 10/27/2015 05:59 PM, Vivien Didelot wrote: > On Oct. Tuesday 27 (44) 04:43 PM, Neil Armstrong wrote: >> >> Yes, I didn't know how to handle this since it was part of a larger patch. >> >> I forgot to add this into the cover-letter but I wanted to send an RFC serie >> with >> your bcm remove

Re: [PATCH] ARM64: Enable multi-core scheduler support by default

2015-10-28 Thread Punit Agrawal
Hi Catalin, Will, Dietmar Eggemann writes: > Make sure that the task scheduler domain hierarchy is set-up correctly > on systems with single or multi-cluster topology. > > Signed-off-by: Dietmar Eggemann FWIW, Acked-by: Punit Agrawal I am not sure how we update the defconfig. Can

[PATCH 3.12 078/123] staging: speakup: fix speakup-r regression

2015-10-28 Thread Jiri Slaby
From: "cov...@ccs.covici.com" 3.12-stable review patch. If anyone has any objections, please let me know. === commit b1d562acc78f0af46de0dfe447410bc40bdb7ece upstream. Here is a patch to make speakup-r work again. It broke in 3.6 due to commit

Re: [PATCH V4 0/8] PCI: ACPI: Setting up DMA coherency for PCI device from _CCA attribute

2015-10-28 Thread Hanjun Guo
Hi Rafael, On 10/27/2015 11:27 PM, Rafael J. Wysocki wrote: On Tuesday, October 27, 2015 09:52:50 AM Bjorn Helgaas wrote: Hi Suravee, On Wed, Oct 21, 2015 at 08:52:03AM -0700, Suravee Suthikulpanit wrote: This patch series adds support to setup DMA coherency for PCI device using the ACPI

[PATCH 3.12 080/123] 3w-9xxx: don't unmap bounce buffered commands

2015-10-28 Thread Jiri Slaby
From: Christoph Hellwig 3.12-stable review patch. If anyone has any objections, please let me know. === commit 15e3d5a285ab9283136dba34bbf72886d9146706 upstream. 3w controller don't dma map small single SGL entry commands but instead bounce buffer them. Add a helper to identify

[PATCH 3.12 104/123] USB: symbolserial: Correct transferred data size

2015-10-28 Thread Jiri Slaby
From: Philipp Hachtmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8ae25a355b5969e12f3185e8cb8eb08b871c9084 upstream. The scanner (here DS3508) always returns 64 bytes per urb buffer. The first byte indicates the data length used in the

[PATCH 3.12 110/123] Input: serio - fix blocking of parport

2015-10-28 Thread Jiri Slaby
From: Sudip Mukherjee 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1a5e251996e1b602f2ddc9261ee9de0ca1875bfa upstream. If parkbd_allocate_serio() fails to allocate memory we are releasing the parport but we missed unregistering the device.

[PATCH 3.12 111/123] Input: omap4-keypad - fix memory leak

2015-10-28 Thread Jiri Slaby
From: Sudip Mukherjee 3.12-stable review patch. If anyone has any objections, please let me know. === commit d79bdc7f004404204a6ac07785f8d6717070ecdb upstream. If omap4_keypad_parse_dt() fails we returned the error code but we missed releasing keypad_data. Signed-off-by: Sudip

[PATCH 3.12 063/123] ipvs: fix crash with sync protocol v0 and FTP

2015-10-28 Thread Jiri Slaby
From: Julian Anastasov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56184858d1fc95c46723436b455cb7261cd8be6f upstream. Fix crash in 3.5+ if FTP is used after switching sync_version to 0. Fixes: 749c42b620a9 ("ipvs: reduce sync rate with

[PATCH 3.12 092/123] crypto: sparc - initialize blkcipher.ivsize

2015-10-28 Thread Jiri Slaby
From: Dave Kleikamp 3.12-stable review patch. If anyone has any objections, please let me know. === commit a66d7f724a96d6fd279bfbd2ee488def6b081bea upstream. Some of the crypto algorithms write to the initialization vector, but no space has been allocated for it. This clobbers

[PATCH 3.12 093/123] crypto: ahash - ensure statesize is non-zero

2015-10-28 Thread Jiri Slaby
From: Russell King 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8996eafdcbad149ac0f772fb1649fbb75c482a6a upstream. Unlike shash algorithms, ahash drivers must implement export and import as their descriptors may contain hardware state and

[PATCH 3.12 112/123] Input: zhenhua - ensure we have BITREVERSE

2015-10-28 Thread Jiri Slaby
From: Andrew Morton 3.12-stable review patch. If anyone has any objections, please let me know. === commit d3b367bc26ea2e07a83fe73f0ccbddd729cb1f9a upstream. It uses bitrev8(), so it must ensure that lib/bitrev.o gets included in vmlinux. Signed-off-by: Andrew Morton

Re: [PATCH 0/5 v3] Fix NVMe driver support on Power with 32-bit DMA

2015-10-28 Thread Busch, Keith
On Tue, Oct 27, 2015 at 05:54:43PM -0700, David Miller wrote: > From: "Busch, Keith" > Date: Tue, 27 Oct 2015 22:36:43 + > > > If you're suggesting to compile-time break architectures that currently > > work just fine with NVMe, let me stop you right there. > > Silently "working" without

[PATCH 3.12 115/123] [media] v4l: vsp1: Fix VI6_DPR_ROUTE_FP_MASK macro

2015-10-28 Thread Jiri Slaby
From: Nobuhiro Iwamatsu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1aa7890324b497f96f07c20673fae58f26fabfe7 upstream. FP bit of VI6_DPR_mod_ROUTE register is 6bit. But VI6_DPR_ROUTE_FP_MASK is set to 0xFF, this will mask until the

Re: [PATCH 6/6] net: phy: Stop 'phy-state-machine' and 'phy_change' work on remove

2015-10-28 Thread Neil Armstrong
> > void phy_disconnect(struct phy_device *phydev) > > { > > if (phydev->irq > 0) > > phy_stop_interrupts(phydev); > > > > phy_stop_machine(phydev); > > > > phydev->adjust_link = NULL; > > > >

[PATCH 3.12 116/123] [media] v4l: vsp1: Fix VI6_WPF_SZCLIP_SIZE_MASK macro

2015-10-28 Thread Jiri Slaby
From: Nobuhiro Iwamatsu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 03b36e4dcf422a10da8b67bce2ed00b34ec58aac upstream. Clipping size bit of VI6_WPFn _HSZCLIP and VI6_WPFn _VSZCLIP register are from 0 bit to 11 bit. But

[PATCH 3.12 117/123] [media] gscpa_m5602: use msecs_to_jiffies for conversions

2015-10-28 Thread Jiri Slaby
From: Nicholas Mc Guire 3.12-stable review patch. If anyone has any objections, please let me know. === commit 63f2f417526fc54191f2b813f72dc1d5322bede8 upstream. API compliance scanning with coccinelle flagged: ./drivers/media/usb/gspca/m5602/m5602_s5k83a.c:180:9-25:

[PATCH 3.12 113/123] [media] usbvision: fix locking error

2015-10-28 Thread Jiri Slaby
From: Hans Verkuil 3.12-stable review patch. If anyone has any objections, please let me know. === commit e2c84ccb0fbe5e524d15bb09c042a6ca634adaed upstream. If remove_pending is non-zero, then the v4l2_lock is never unlocked. Signed-off-by: Hans Verkuil Signed-off-by: Mauro

[PATCH 3.12 114/123] [media] v4l: vsp1: Fix VI6_DPR_ROUTE_FXA_MASK macro

2015-10-28 Thread Jiri Slaby
From: Nobuhiro Iwamatsu 3.12-stable review patch. If anyone has any objections, please let me know. === commit 45008ee9295b3ae96d7413ab91871907a671ca82 upstream. FXA bit of VI6_DPR_mod_ROUTE register starts from 16bit. But VI6_DPR_ROUTE_FXA_MASK is set to become start from 8bit.

[PATCH 3.12 120/123] USB: Add OTG PET device to TPL

2015-10-28 Thread Jiri Slaby
From: Macpaul Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit e5dff0e80463cc3fa236e898ef1491b40be70b19 upstream. OTG device shall support this device for allowing compliance automated testing. The modification is derived from Pavankumar

[PATCH 3.12 119/123] Revert "USB: quirks: add touchscreen that is dazzeled by remote wakeup"

2015-10-28 Thread Jiri Slaby
From: Oliver Neukum 3.12-stable review patch. If anyone has any objections, please let me know. === commit e0e6a356a0b41375b729c511caa99d3ec019640e upstream. This reverts commit 614ced91fc6fbb5a1cdd12f0f1b6c9197d9f1350. The units on this was seen were prototypes and the issue is

[PATCH 3.12 121/123] Revert "USB: Add device quirk for ASUS T100 Base Station keyboard"

2015-10-28 Thread Jiri Slaby
3.12-stable review patch. If anyone has any objections, please let me know. === This reverts commit e25ecd21ffdbf1f8287103ccf97205fc30088344 in 3.12, upstream commit ddbe1fca0bcb87ca8c199ea873a456ca8a948567 (USB: Add device quirk for ASUS T100 Base Station keyboard). It was applied

[PATCH 3.12 123/123] ARM: ux500: cpuidle: fix section mismatch

2015-10-28 Thread Jiri Slaby
From: Daniel Lezcano 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2c2b24d9c3e96d5cf974be4559a936e7f3b50225 upstream. The dbx500_cpuidle_probe is tagged as an __init section but the variable dbx500_cpuidle_plat_driver is not. The

[PATCH 3.12 118/123] usb: core: implement AMD remote wakeup quirk

2015-10-28 Thread Jiri Slaby
From: Huang Rui 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7868943db1668fba898cf71bed1506c19d6958aa upstream. The following patch is required to resolve remote wake issues with certain devices. Issue description: If the remote wake is

[PATCH 3.12 122/123] ath9k: declare required extra tx headroom

2015-10-28 Thread Jiri Slaby
From: Felix Fietkau 3.12-stable review patch. If anyone has any objections, please let me know. === commit 029cd0370241641eb70235d205aa0b90c84dce44 upstream. ath9k inserts padding between the 802.11 header and the data area (to align it). Since it didn't declare this extra

RE: [PATCH v7 4/7] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2015-10-28 Thread beanhuo
> By default NAND driver will choose the highest ecc strength that oob could > contain, in this case, for some 8K+744 NAND flash, the ecc strength will be up > to 52bit, which beyonds the i.MX6QDL BCH capability (40bit). For normal working environment, if hardware BCH ECC cannot meet NAND ecc

[PATCH 3.12 037/123] spi: Fix documentation of spi_alloc_master()

2015-10-28 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit a394d635193b641f2c86ead5ada5b115d57c51f8 upstream. Actually, spi_master_put() after spi_alloc_master() must _not_ be followed by kfree(). The memory is already freed with

Recall: [PATCH v7 4/7] mtd: nand: gpmi: may use minimum required ecc

2015-10-28 Thread beanhuo
Bean Huo 霍斌斌 (beanhuo) would like to recall the message, "[PATCH v7 4/7] mtd: nand: gpmi: may use minimum required ecc".-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 3.12 062/123] ipvs: do not use random local source address for tunnels

2015-10-28 Thread Jiri Slaby
From: Julian Anastasov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4754957f04f5f368792a0eb7dab0ae89fb93dcfd upstream. Michael Vallaly reports about wrong source address used in rare cases for tunneled traffic. Looks like

[PATCH 3.12 041/123] ALSA: hda - Apply SPDIF pin ctl to MacBookPro 12,1

2015-10-28 Thread Jiri Slaby
From: John Flatness 3.12-stable review patch. If anyone has any objections, please let me know. === commit e8ff581f7ac2bc3b8886094b7ca635dcc4d1b0e9 upstream. The MacBookPro 12,1 has the same setup as the 11 for controlling the status of the optical audio light. Simply apply the

[PATCH 3.12 081/123] l2tp: protect tunnel->del_work by ref_count

2015-10-28 Thread Jiri Slaby
From: Alexander Couzens 3.12-stable review patch. If anyone has any objections, please let me know. === [ Upstream commit 06a15f51cf3618e32a73871ee6a547ef7fd902b5 ] There is a small chance that tunnel_free() is called before tunnel->del_work scheduled resulting in a zero pointer

[PATCH 3.12 035/123] arc,hexagon: Delete asm/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 2ab08ee9f0a4eba27c7c4ce0b6d5118e8a18554b upstream. Both already use asm-generic/barrier.h as per their include/asm/Kbuild. Remove the stale files. Signed-off-by: Peter

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-28 Thread Krzysztof Kozlowski
W dniu 28.10.2015 o 20:21, Alim Akhtar pisze: > Hello, > > On 10/28/2015 02:16 PM, Lee Jones wrote: >> On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: >> >>> On 26.10.2015 23:34, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: > From: Thomas Abraham > > Add support

[PATCH 3.12 027/123] ARM: dts: omap5-uevm.dts: fix i2c5 pinctrl offsets

2015-10-28 Thread Jiri Slaby
From: Grazvydas Ignotas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1dbdad75074d16c3e3005180f81a01cdc04a7872 upstream. The i2c5 pinctrl offsets are wrong. If the bootloader doesn't set the pins up, communication with tca6424a doesn't

[PATCH 3.12 029/123] x86/apic: Serialize LVTT and TSC_DEADLINE writes

2015-10-28 Thread Jiri Slaby
From: Shaohua Li 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5d7c631d926b59aa16f3c56eaeb83f1036c81dc7 upstream. The APIC LVTT register is MMIO mapped but the TSC_DEADLINE register is an MSR. The write to the TSC_DEADLINE MSR is not

[PATCH 3.12 001/123] x86/nmi/64: Fix a paravirt stack-clobbering bug in the NMI code

2015-10-28 Thread Jiri Slaby
From: Andy Lutomirski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 83c133cf11fb0e68a51681447e372489f052d40e upstream. The NMI entry code that switches to the normal kernel stack needs to be very careful not to clobber any extra stack

Re: [PATCH V1 11/11] arm64, pci, acpi: Support for ACPI based PCI hostbridge init

2015-10-28 Thread Liviu . Dudau
On Wed, Oct 28, 2015 at 02:42:30PM +0100, Tomasz Nowicki wrote: > On 28.10.2015 12:49, liviu.du...@arm.com wrote: > >On Tue, Oct 27, 2015 at 05:38:42PM +0100, Tomasz Nowicki wrote: > >>Because of two patch series: > >>1. Jiang Liu's common interface to support PCI host bridge init > >>2.

[PATCH 3.12 026/123] windfarm: decrement client count when unregistering

2015-10-28 Thread Jiri Slaby
From: Paul Bolle 3.12-stable review patch. If anyone has any objections, please let me know. === commit fe2b592173ff0274e70dc44d1d28c19bb995aa7c upstream. wf_unregister_client() increments the client count when a client unregisters. That is obviously incorrect. Decrement that

Re: [PATCH v4] serial: support 16-bit register interface for console

2015-10-28 Thread Peter Hurley
On 10/27/2015 11:46 PM, Masahiro Yamada wrote: > Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are > supported for the 8250 console, but the 16-bit (MMIO16) is not. > The 8250 UART device on my board is connected to a 16-bit bus and > my main motivation is to use earlycon with

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-28 Thread Krzysztof Kozlowski
W dniu 28.10.2015 o 17:46, Lee Jones pisze: > On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > >> On 26.10.2015 23:34, Lee Jones wrote: >>> On Mon, 26 Oct 2015, Alim Akhtar wrote: >>> From: Thomas Abraham Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15

[PATCH 3.12 000/123] 3.12.50-stable review

2015-10-28 Thread Jiri Slaby
This is the start of the stable review cycle for the 3.12.50 release. There are 123 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 Fri Oct 30 09:39:16 CET 2015. Anything

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > W dniu 28.10.2015 o 17:46, Lee Jones pisze: > > On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > > > >> On 26.10.2015 23:34, Lee Jones wrote: > >>> On Mon, 26 Oct 2015, Alim Akhtar wrote: > >>> > From: Thomas Abraham > > Add

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread David Miller
From: Dan Streetman Date: Wed, 28 Oct 2015 09:32:47 -0400 > Well I'm not sure why my test kernel booted, while the test robot > found the bug of GFP_KERNEL percpu counter alloc during atomic > context. Thanks test robot! It's because of the kernel config options you (don't) have enabled. -- To

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

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > W dniu 28.10.2015 o 19:14, Lee Jones pisze: > > On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > >> On 28.10.2015 17:24, Lee Jones wrote: > >>> On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > 2015-10-28 3:44 GMT+09:00 Joe Perches : > >

Re: [PATCH] tty: serial: sa1100.c: use UPIO_MEM rather than SERIAL_IO_MEM

2015-10-28 Thread Peter Hurley
Hi Saurabh, On 10/27/2015 03:46 AM, Saurabh Sengar wrote: > use UPIO_MEM rather then SERIAL_IO_MEM. > both have the same value > > Signed-off-by: Saurabh Sengar > --- > drivers/tty/serial/sa1100.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [Linaro-acpi] [PATCH V1 07/11] XEN / PCI: Remove the dependence on arch x86 when PCI_MMCONFIG=y

2015-10-28 Thread Hanjun Guo
On 10/28/2015 06:56 PM, Tomasz Nowicki wrote: On 28.10.2015 11:49, Stefano Stabellini wrote: On Tue, 27 Oct 2015, Boris Ostrovsky wrote: On 10/27/2015 12:47 PM, Tomasz Nowicki wrote: + Stefano On 27.10.2015 17:38, Tomasz Nowicki wrote: From: Hanjun Guo In drivers/xen/pci.c, there are arch

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

2015-10-28 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 28, 2015 at 10:42:13AM -0300, Arnaldo Carvalho de Melo escreveu: > 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; > > >

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread Hannes Frederic Sowa
Hello, On Wed, Oct 28, 2015, at 14:32, Dan Streetman wrote: > On Tue, Oct 27, 2015 at 12:15 PM, wrote: > > From: Dan Streetman > > > > The ipv4 and ipv6 xfrms each create a template dst_ops object, and > > perform dst_entries_init() on the template objects. Then each net > > namespace has its

Re: [rtc-linux] Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-28 Thread Alexandre Belloni
On 28/10/2015 at 22:31:48 +0900, Krzysztof Kozlowski wrote : > > So you don't care about DT backward compatibility because when a > > workaround will be needed for one of the IPs, then you will have to > > update the old dtb to use it. > > Nope, DTB does not contain the name for RTC driver

Re: [PATCH V1 11/11] arm64, pci, acpi: Support for ACPI based PCI hostbridge init

2015-10-28 Thread Tomasz Nowicki
On 28.10.2015 12:49, liviu.du...@arm.com wrote: On Tue, Oct 27, 2015 at 05:38:42PM +0100, Tomasz Nowicki wrote: Because of two patch series: 1. Jiang Liu's common interface to support PCI host bridge init 2. Refactoring of MMCONFIG, part of this patch set now we can think about PCI buses

RE: [PATCH v7 4/7] mtd: nand: gpmi: may use minimum required ecc

2015-10-28 Thread beanhuo
> By default NAND driver will choose the highest ecc strength that oob could > contain, in this case, for some 8K+744 NAND flash, the ecc strength will be up > to 52bit, which beyonds the i.MX6QDL BCH capability (40bit). For normal working environment, if hardware BCH ECC cannot meet NAND ecc

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

2015-10-28 Thread David Woodhouse
On Wed, 2015-10-28 at 13:35 +0200, Michael S. Tsirkin wrote: > E.g. on intel x86, there's an option iommu=pt which does the 1:1 > thing for devices when used by kernel, but enables > the iommu if used by userspace/VMs. That's none of your business. You call the DMA API when you do DMA. That's

Re: [RESEND PATCH 07/10] net: wireless: iwlegacy: Remove unneeded variable ret

2015-10-28 Thread Sergei Shtylyov
Hello. On 10/27/2015 10:02 PM, Punit Vara wrote: This patch is to the 3945-mac.c file that fixes up following warning by coccicheck: drivers/net/wireless/iwlegacy/3945-mac.c:247:5-8: Unneeded variable: "ret". Return "- EOPNOTSUPP" on line 249 Return -EOPNOTSUPP directly instead of return

Re: [rtc-linux] Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-28 Thread Krzysztof Kozlowski
W dniu 28.10.2015 o 19:30, Alim Akhtar pisze: > Hi Alexandre, > > On 10/28/2015 03:18 PM, Alexandre Belloni wrote: >> On 28/10/2015 at 12:31:43 +0900, Krzysztof Kozlowski wrote : >>> The s2mps13 clock driver added new name and compatible... which was >>> probably totally unneeded (I missed that

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

2015-10-28 Thread Arnaldo Carvalho de Melo
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; > > char*callgraph; > > u64 stack_user; > > + u64

[PATCH V3] usb: remove unnecessary CONFIG_PM dependency from USB_OTG

2015-10-28 Thread Nathan Sullivan
The USB OTG support currently depends on power management (CONFIG_PM) being enabled, but does not actually need it enabled. Remove this dependency. Remove the unneeded "default n" from USB_OTG as well, the default is already n. Tested on Bay Trail hardware with dwc3 USB. Signed-off-by: Nathan

Re: [PATCH 6/6] dmaengine: tegra-apb: Disable interrupts on removal

2015-10-28 Thread Jon Hunter
On 28/10/15 06:53, Vinod Koul wrote: > On Fri, Oct 16, 2015 at 11:57:02AM +0100, Jon Hunter wrote: > How about just calling free_irq()? That's how you'd typically handle this. Yes, however, the interrupt is requested by devm_request_irq(). I guess I could call devm_free_irq()

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

2015-10-28 Thread David Woodhouse
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 discussed that at kernel summit. I will try to implement > > > a dummy dma_ops

Re: [RESEND PATCH 07/10] net: wireless: iwlegacy: Remove unneeded variable ret

2015-10-28 Thread Sergei Shtylyov
On 10/28/2015 4:35 PM, Sergei Shtylyov wrote: This patch is to the 3945-mac.c file that fixes up following warning by coccicheck: drivers/net/wireless/iwlegacy/3945-mac.c:247:5-8: Unneeded variable: "ret". Return "- EOPNOTSUPP" on line 249 Return -EOPNOTSUPP directly instead of return using

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 1:14 PM, Lee Jones wrote: > > On Wed, 28 Oct 2015, Lee Jones wrote: > > > >> On Wed, 28 Oct 2015, Javier Martinez Canillas wrote: > >> > >> > Hello Joe, > >> > > >> > On Wed, Oct 28, 2015 at 12:06 PM, Joe Perches

Re: [PATCH] xfrm: dst_entries_init() per-net dst_ops

2015-10-28 Thread Dan Streetman
On Tue, Oct 27, 2015 at 12:15 PM, wrote: > From: Dan Streetman > > The ipv4 and ipv6 xfrms each create a template dst_ops object, and > perform dst_entries_init() on the template objects. Then each net > namespace has its net.xfrm.xfrm[46]_dst_ops field set to the template > values. The

Re: [PATCH 1/6] dmaengine: tegra-apb: Correct runtime-pm usage

2015-10-28 Thread Jon Hunter
On 28/10/15 07:03, Vinod Koul wrote: > On Fri, Oct 16, 2015 at 09:25:52AM +0100, Jon Hunter wrote: >> @@ -1182,14 +1182,11 @@ static int tegra_dma_alloc_chan_resources(struct >> dma_chan *dc) >> { >> struct tegra_dma_channel *tdc = to_tegra_dma_chan(dc); >> struct tegra_dma *tdma =

Re: [rtc-linux] Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-28 Thread Krzysztof Kozlowski
W dniu 28.10.2015 o 18:48, Alexandre Belloni pisze: > On 28/10/2015 at 12:31:43 +0900, Krzysztof Kozlowski wrote : >> The s2mps13 clock driver added new name and compatible... which was >> probably totally unneeded (I missed that during review). We don't have >> to make this as a rule... >> >>

Re: [RFT, PATCH v1 1/1] hexdump: truncate output in case of overflow

2015-10-28 Thread Aaro Koskinen
Hi, On Wed, Oct 28, 2015 at 12:48:19PM +0200, Andy Shevchenko wrote: > There is a classical off-by-one error in case when we try to place, for > example, 1+1 bytes as hex in the buffer of size 6. The expected result is to > get an output truncated, but in the reality we get 6 bytes filed followed

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

2015-10-28 Thread Krzysztof Kozlowski
W dniu 28.10.2015 o 19:14, Lee Jones pisze: > On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: >> On 28.10.2015 17:24, Lee Jones wrote: >>> On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: 2015-10-28 3:44 GMT+09:00 Joe Perches : > On Tue, 2015-10-27 at 18:15 +, Lee Jones wrote: >>

[PATCH 3/3] Revert "drm: Hack around CONFIG_AGP=m build failures"

2015-10-28 Thread Michal Marek
From: Michal Marek Kbuild now supports -m variables. This reverts commit 8fa884dc355ffd0caa964a284a530bf747df5c77. Cc: dri-de...@lists.freedesktop.org Signed-off-by: Michal Marek --- drivers/gpu/drm/Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/Makefile

[PATCH 2/3] kbuild: Allow to specify composite modules with modname-m

2015-10-28 Thread Michal Marek
From: Michal Marek This allows to write drm-$(CONFIG_AGP) += drm_agpsupport.o without having to handle CONFIG_AGP=y vs. CONFIG_AGP=m. Only support this syntax for modules, since built-in code depending on something modular cannot work and init/Makefile actually relies on the current

[PATCH 1/3] staging/ad7606: Actually build the interface modules

2015-10-28 Thread Michal Marek
From: Michal Marek The ad7606_par and ad7606_spi drivers are not built if CONFIG_AD7606=m, because kbuild does not currently support -m syntax. Even if we add kbuild support, ad7606 fails to link, because of duplicate module_init definitions. Make the two drivers separate modules, as the Kconfig

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