Re: [PATCH] DT: i2c: Update vendor prefix for 24c00

2016-01-06 Thread Wolfram Sang
On Mon, Jan 04, 2016 at 08:22:33PM +0200, Andy Shevchenko wrote: > On Sat, Jan 2, 2016 at 11:21 PM, Wolfram Sang wrote: > > On Sun, Dec 27, 2015 at 04:57:48PM +0200, Andy Shevchenko wrote: > >> On Wed, Dec 23, 2015 at 9:18 PM, Akshay Bhat > >> wrote:

[tip:x86/asm] x86/vsdo: Fix build on PARAVIRT_CLOCK=y, KVM_GUEST= n

2016-01-06 Thread tip-bot for Andy Lutomirski
Commit-ID: 8705d603edd49f1cff165cd3b7998f4c7f098d27 Gitweb: http://git.kernel.org/tip/8705d603edd49f1cff165cd3b7998f4c7f098d27 Author: Andy Lutomirski AuthorDate: Tue, 29 Dec 2015 20:12:18 -0800 Committer: Thomas Gleixner CommitDate: Wed, 6 Jan 2016

[patch] mtip32xx: calling kfree() on an error pointer

2016-01-06 Thread Dan Carpenter
If memdup_user() fails then we end up passing an ERR_PTR to kfree() which is a bug. Fixes: 85b4d87c9962 ('mtip32xx: don't open-code memdup_user()') Signed-off-by: Dan Carpenter diff --git a/drivers/block/mtip32xx/mtip32xx.c b/drivers/block/mtip32xx/mtip32xx.c index

[PATCH v3 07/12] mmc: sdhci-of-esdhc: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci-of-esdhc driver to this allocation. Signed-off-by: Jisheng Zhang

[PATCH v3 12/12] mmc: sdhci-pltfm: remove priv variable from sdhci_pltfm_host

2016-01-06 Thread Jisheng Zhang
Now all clients migration to use sdhci_pltfm_init for private allocation is done and there's no users of the priv variable, so we can remove it from the sdhci_pltfm_host structure. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann ---

[PATCH v3 10/12] mmc: sdhci-tegra: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-tegra to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd

[PATCH v3 00/12] mmc: use sdhci_pltfm_init for private allocation and clean up

2016-01-06 Thread Jisheng Zhang
These patches are to complete the TODOs in Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register"), I.E: - todo: migrate clients to using allocation this way - todo: remove priv variable once migration is complete Since v2: - based on mmc next tree and remove all priv usage

[PATCH v3 11/12] mmc: sdhci-pxav2: remove unnecessary assignment of pltfm_host->priv

2016-01-06 Thread Jisheng Zhang
The sdhci_pltfm_init() function has initialized the priv member as NULL, so there's no need to do it again. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/mmc/host/sdhci-pxav2.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 3.16.y-ckt 116/126] x86/signal: Fix restart_syscall number for x32 tasks

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: "Dmitry V. Levin" commit 22eab1108781eff09961ae7001704f7bd8fb1dce upstream. When restarting a syscall with regs->ax == -ERESTART_RESTARTBLOCK, regs->ax is

[PATCH 3.16.y-ckt 110/126] Fix a memory leak in scsi_host_dev_release()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit b49493f99690c8eaacfbc635bafaad629ea2c036 upstream. Avoid that kmemleak reports the following memory leak if a SCSI LLD calls

Re: [PATCH 1/6] 8250/Kconfig: add config option CONFIG_SERIAL_8250_AMD

2016-01-06 Thread Borislav Petkov
On Wed, Jan 06, 2016 at 02:08:18AM +, Wang, Annie wrote: > How about I add select ARM_AMBA and SERIAL_8250 in arch/x86/Kconfig? Yeah, select sounds good in that case, except in that particular case ... > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index db3622f..0fe6657 100644 >

[PATCH 3.16.y-ckt 109/126] block: Always check queue limits for cloned requests

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit bf4e6b4e757488dee1b6a581f49c7ac34cd217f8 upstream. When a cloned request is retried on other queues it always needs to be checked against the

[PATCH 3.16.y-ckt 113/126] locking: Add WARN_ON_ONCE lock assertion

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Peter Hurley commit 9a37110d20c95d1ebf6c04881177fe8f62831db2 upstream. An interface may need to assert a lock invariant and not flood the system logs; add

[PATCH 3.16.y-ckt 114/126] drm: Fix an unwanted master inheritance v2

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit a0af2e538c80f3e47f1d6ddf120a153ad909e8ad upstream. A client calling drmSetMaster() using a file descriptor that was opened when

[PATCH 3.16.y-ckt 078/126] nfs: if we have no valid attrs, then don't declare the attribute cache valid

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit c812012f9ca7cf89c9e1a1cd512e6c3b5be04b85 upstream. If we pass in an empty nfs_fattr struct to nfs_update_inode, it will (correctly) not

[PATCH 3.16.y-ckt 075/126] drm/radeon: make rv770_set_sw_state failures non-fatal

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 4e7697ed79d0c0d5f869c87a6b3ce3d5cd1a07d6 upstream. On some cards it takes a relatively long time for the change to take place. Make a

[PATCH 3.16.y-ckt 076/126] ALSA: hda - Fix noise on Gigabyte Z170X mobo

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0c25ad80408e95e0a4fbaf0056950206e95f726f upstream. Gigabyte Z710X mobo with ALC1150 codec gets significant noises from the analog loopback routes

[PATCH 3.16.y-ckt 077/126] drm/radeon: make some dpm errors debug only

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 9c565e3386fdc804a61f8c116efc2c5999ba46e1 upstream. "Could not force DPM to low", etc. is usually harmless and just confuses users.

[PATCH 3.16.y-ckt 074/126] arm64: KVM: Fix AArch32 to AArch64 register mapping

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit c0f0963464c24e034b858441205455bf2a5d93ad upstream. When running a 32bit guest under a 64bit hypervisor, the ARMv8 architecture defines a

Re: [PATCH 08/10] [media] tvp5150: Add OF match table

2016-01-06 Thread Laurent Pinchart
Hi Javier, Thank you for the patch. On Monday 04 January 2016 09:25:30 Javier Martinez Canillas wrote: > From: Eduard Gavin > > The Documentation/devicetree/bindings/media/i2c/tvp5150.txt DT binding doc > lists "ti,tvp5150" as the device compatible string but the driver does

[PATCH 3.16.y-ckt 028/126] tools/net: Use include/uapi with __EXPORTED_HEADERS__

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Kamal Mostafa commit d7475de58575c904818efa369c82e88c6648ce2e upstream. Use the local uapi headers to keep in sync with "recently" added #define's (e.g.

[PATCH 3.16.y-ckt 025/126] ocfs2: fix umask ignored issue

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Junxiao Bi commit 8f1eb48758aacf6c1ffce18179295adbf3bd7640 upstream. New created file's mode is not masked with umask, and this makes umask not work for ocfs2

[PATCH 3.16.y-ckt 035/126] FS-Cache: Add missing initialization of ret in cachefiles_write_page()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven commit cf89752645e47d86ba8a4157f4b121fcb33434c5 upstream. fs/cachefiles/rdwr.c: In function ‘cachefiles_write_page’:

[PATCH 3.16.y-ckt 034/126] usb: musb: core: fix order of arguments to ulpi write callback

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= commit 705e63d2b29c8bbf091119084544d353bda70393 upstream. There is a bit of a mess in the order of arguments to

[PATCH 3.16.y-ckt 038/126] unix: avoid use-after-free in ep_remove_wait_queue

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Rainer Weikusat commit 7d267278a9ece963d77eefec61630223fce08c6c upstream. Rainer Weikusat writes: An AF_UNIX

[PATCH 3.16.y-ckt 036/126] macvlan: fix leak in macvlan_handle_frame

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit e639b8d8a7a728f0b05ef2df6cb6b45dc3d4e556 upstream. Reset pskb in macvlan_handle_frame in case skb_share_check returned a clone. Fixes:

[PATCH 3.16.y-ckt 002/126] iio:ad5064: Make sure ad5064_i2c_write() returns 0 on success

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Hennerich commit 03fe472ef33b7f31fbd11d300dbb3fdab9c00fd4 upstream. i2c_master_send() returns the number of bytes transferred on success while

Re: [PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power

2016-01-06 Thread Daniel Thompson
On 06/01/16 10:07, Javi Merino wrote: On Wed, Jan 06, 2016 at 04:53:44PM +0800, Leo Yan wrote: k_po/k_pu are two proportional term constants and essentially they have fixed ratio compared with sustainable power. In current implementation, k_po and k_pu are absolute value after calculation and

[PATCH v3 02/12] mmc: sdhci-esdhc-imx: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci esdhc-imx driver to this allocation. Signed-off-by: Jisheng Zhang

[PATCH v3 05/12] mmc: sdhci-of-arasan: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci-of-arasan driver to this allocation. Signed-off-by: Jisheng Zhang

[PATCH v3 01/12] mmc: sdhci-bcm2835: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-bcm2835 to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd

[PATCH v3 06/12] mmc: sdhci-of-at91: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates the sdhci-of-at91 driver to this allocation. Signed-off-by: Jisheng Zhang

[PATCH v3 04/12] mmc: sdhci-msm: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Commit 0e748234293f ("mmc: sdhci: Add size for caller in init+register") allows users of sdhci_pltfm to allocate private space in calls to sdhci_pltfm_init+sdhci_pltfm_register. This patch migrates sdhci-msm to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd

[PATCH v2 1/4] thermal: power_allocator: rework proportional parameter

2016-01-06 Thread Leo Yan
k_po/k_pu are two proportional term constants and essentially they have fixed ratio compared with sustainable power. In current implementation, k_po and k_pu are absolute value after calculation and cannot represent the ratio relationship with sustainable power; as a result, when change

[PATCH v2 3/4] thermal: add sys node for k_pu_ratio/k_po_ratio

2016-01-06 Thread Leo Yan
Add two sys nodes for k_pu_ratio and k_po_ratio, so user can set ratio value from them. Also change k_pu/k_po as read only nodes, it will only be used to show proportional term constants which are calculated by ratio. Signed-off-by: Leo Yan --- drivers/thermal/thermal_core.c

[PATCH v2 4/4] thermal: power_allocator: document k_pu_ratio/k_po_ratio

2016-01-06 Thread Leo Yan
Document k_pu_ratio and k_po_ratio's purpose, and refine formula to demonstrate to use ratio to calculate k_pu/k_po. Signed-off-by: Leo Yan --- Documentation/thermal/power_allocator.txt | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git

Re: [PATCH v2 3/4] PCI: rcar: Add runtime PM support to pcie-rcar

2016-01-06 Thread Wolfram Sang
On Wed, Jan 06, 2016 at 09:45:46AM +0100, Geert Uytterhoeven wrote: > Hi Wolfram, > > On Wed, Jan 6, 2016 at 9:35 AM, Wolfram Sang wrote: > >> +err_pm_put: > >> + pm_runtime_put(pcie->dev); > >> + > >> +err_pm_disable: > >> + pm_runtime_disable(pcie->dev); > > > >

Re: [PATCH] ALSA: emux: constify nrpn_conv_table structures

2016-01-06 Thread Takashi Iwai
On Mon, 04 Jan 2016 17:50:47 +0100, Julia Lawall wrote: > > The nrpn_conv_table structures are never modified, so declare them as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Thanks, applied. Takashi > > --- >

Re: [PATCH 1/2] ext4: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-06 Thread José Bollo
I prefer the use of sizeof that can't be faked even by error but why not Le dimanche 03 janvier 2016 à 20:56 +0100, Toralf Förster a écrit : > use the definition in include/uapi/linux/xattr.h > > Signed-off-by: Toralf Förster > --- > fs/ext4/xattr_security.c | 2 +- > 1

Re: [PATCH v2 06/12] mmc: sdhci-of-at91: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Jisheng Zhang
Dear Ludovic, On Wed, 6 Jan 2016 10:02:15 +0100 Ludovic Desroches wrote: > Hi Jisheng, > > Thanks for your patch but it needs to be updated since it breaks this > driver. > > - struct sdhci_at91_priv *priv = pltfm_host->priv; > + struct sdhci_at91_priv *priv =

Re: [PATCH] dmaengine: xgene-dma: Fix double IRQ issue by setting IRQ_DISABLE_UNLAZY flag

2016-01-06 Thread Vinod Koul
On Wed, Jan 06, 2016 at 02:51:07PM +0530, Rameshwar Sahu wrote: > Hi Vinod, > > On Wed, Jan 6, 2016 at 2:43 PM, Vinod Koul wrote: > > On Wed, Dec 23, 2015 at 06:28:15PM +0530, Rameshswar Prasad Sahu wrote: > >> From: Rameshwar Prasad Sahu > >> > >> For

[PATCH v2 1/2] kexec: Introduce a protection mechanism for the crashkernel reserved memory

2016-01-06 Thread Xunlei Pang
For the cases that some kernel (module) path stamps the crash reserved memory(already mapped by the kernel) where has been loaded the second kernel data, the kdump kernel will probably fail to boot when panic happens (or even not happens) leaving the culprit at large, this is unacceptable. The

Re: [PATCH v6.3 4/6] drm: rockchip: Support Synopsys DW MIPI DSI

2016-01-06 Thread Chris Zhong
Hi Mark On 01/06/2016 09:48 AM, Mark yao wrote: On 2015年12月23日 11:43, Chris Zhong wrote: +static int dw_mipi_dsi_register(struct drm_device *drm, + struct dw_mipi_dsi *dsi) +{ +struct drm_encoder *encoder = >encoder; +struct drm_connector *connector = >connector;

Re: [PATCH v2 06/12] mmc: sdhci-of-at91: use sdhci_pltfm_init for private allocation

2016-01-06 Thread Ludovic Desroches
On Wed, Jan 06, 2016 at 05:22:48PM +0800, Jisheng Zhang wrote: > Dear Ludovic, > > On Wed, 6 Jan 2016 10:02:15 +0100 Ludovic Desroches wrote: > > > Hi Jisheng, > > > > Thanks for your patch but it needs to be updated since it breaks this > > driver. > > > > - struct sdhci_at91_priv

[PATCH 3.16.y-ckt 012/126] drm/radeon: unconditionally set sysfs_initialized

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 24dd2f64c5a877392925202321c7c2c46c2b0ddf upstream. Avoids spew on resume for systems where sysfs may fail even on init. bug:

[PATCH 3.16.y-ckt 024/126] kernel/signal.c: unexport sigsuspend()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 9d8a765211335cfdad464b90fb19f546af5706ae upstream. sigsuspend() is nowhere used except in signal.c itself, so we can mark it static do not

[PATCH 3.16.y-ckt 033/126] net/mlx4_core: Avoid returning success in case of an error flow

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Noa Osherovich commit d49c2197fd70c37d57982804465268440a33183a upstream. The err variable wasn't set with the correct error value in some cases. Fixes:

[PATCH 3.16.y-ckt 008/126] USB: qcserial: Add support for Quectel EC20 Mini PCIe module

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Petr=20=C5=A0tetiar?= commit 9d5b5ed796d7afd7e8d2ac4b4fb77c6a49463f4b upstream. It seems like this device has same vendor and product IDs as G2K devices,

[PATCH 3.16.y-ckt 021/126] USB: option: add XS Stick W100-2 from 4G Systems

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= commit 638148e20c7f8f6e95017fdc13bce8549a6925e0 upstream. Thomas reports " 4gsystems sells two total different LTE-surfsticks under the

[PATCH 3.16.y-ckt 017/126] xhci: Workaround to get Intel xHCI reset working more reliably

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Rajmohan Mani commit a5964396190d0c40dd549c23848c282fffa5d1f2 upstream. Existing Intel xHCI controllers require a delay of 1 mS, after setting the CMD_RESET

[PATCH 3.16.y-ckt 102/126] crypto: nx - Fix timing leak in GCM and CCM decryption

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: David Gstir commit cb8affb55c7e64816f3effcd9b2fc3268c016fac upstream. Using non-constant time memcmp() makes the verification of the authentication tag in the

[PATCH 3.16.y-ckt 104/126] ASoC: wm8962: correct addresses for HPF_C_0/1

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Sachin Pandhare commit e9f96bc53c1b959859599cb30ce6fd4fbb4448c2 upstream. >From datasheet: R17408 (4400h) HPF_C_1 R17409 (4401h) HPF_C_0 17048 -> 17408

[PATCH 3.16.y-ckt 105/126] mac80211: mesh: fix call_rcu() usage

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit c2e703a55245bfff3db53b1f7cbe59f1ee8a4339 upstream. When using call_rcu(), the called function may be delayed quite significantly, and

[PATCH 3.16.y-ckt 101/126] drm/i915: Disable PSMI sleep messages on all rings around context switches

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 2c550183476dfa25641309ae9a28d30feed14379 upstream. There exists a current workaround to prevent a hang on context switch should the

[PATCHv9 0/3] perf stat: Add scripting support

2016-01-06 Thread Jiri Olsa
hi, sending another version of stat scripting. v9 changes: - rebased on top of accepted patches - desribed CPI metric in changelog [Arnaldo] - fixed cpu conversion [Arnaldo] v8 changes: - check for stat callbacks properly [Namhyung] - used '#!/usr/bin/env python' for stat-cpi.py

[PATCH 3.16.y-ckt 100/126] ip6mr: call del_timer_sync() in ip6mr_free_table()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong commit 7ba0c47c34a1ea5bc7a24ca67309996cce0569b5 upstream. We need to wait for the flying timers, since we are going to free the mrtable right

Re: [PATCH v2 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM

2016-01-06 Thread Marcel Ziswiler
Hi Petr On Wed, 2016-01-06 at 09:03 +0100, Petr Štetiar wrote: > Marcel Ziswiler [2016-01-05 17:39:01]: > > Hi Marcel, > > thanks for taking care of this, I'm quite busy with other tasks :( You're welcome. I know that feeling. > > - integrated review feedback

Re: [PATCH 3.12 25/91] x86/setup: Extend low identity map to cover whole kernel range

2016-01-06 Thread Matt Fleming
On Wed, 06 Jan, at 11:47:20AM, Paolo Bonzini wrote: > > Without testing the problematic scenario explicitly (32-bit UEFI > kernel), I think this patch and 26/91 should not be backported to > kernels that do not have 23a0d4e8fa6d. I tend to agree. -- To unsubscribe from this list: send the line

Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe

2016-01-06 Thread Laurent Pinchart
Hi Javier, Thankk you for the patch. On Monday 04 January 2016 09:25:31 Javier Martinez Canillas wrote: > After power-up, the tvp5150 decoder is in a unknown state until the > RESETB pin is driven LOW which reset all the registers and restarts > the chip's internal state machine. > > The init

[PATCH 3.16.y-ckt 052/126] net/neighbour: fix crash at dumping device-agnostic proxy entries

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khlebnikov commit 6adc5fd6a142c6e2c80574c1db0c7c17dedaa42e upstream. Proxy entries could have null pointer to net-device. Signed-off-by: Konstantin

[PATCH 3.16.y-ckt 051/126] ipv6: add complete rcu protection around np->opt

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 45f6fad84cc305103b28d73482b344d7f5b76f39 upstream. This patch addresses multiple problems : UDP/RAW sendmsg() need to get a stable struct

[PATCH 3.16.y-ckt 055/126] ALSA: usb-audio: add packet size quirk for the Medeli DD305

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit 98d362becb6621bebdda7ed0eac7ad7ec6c37898 upstream. Signed-off-by: Clemens Ladisch Signed-off-by: Takashi Iwai

[PATCH 3.16.y-ckt 054/126] xfs: allow inode allocations in post-growfs disk space

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Sandeen commit 9de67c3ba9ea961ba420573d56479d09d33a7587 upstream. Today, if we perform an xfs_growfs which adds allocation groups, mp->m_maxagi is not

[PATCH 3.16.y-ckt 053/126] ipv6: sctp: implement sctp_v6_destroy_sock()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 602dd62dfbda3e63a2d6a3cbde953ebe82bf5087 upstream. Dmitry Vyukov reported a memory leak using IPV6 SCTP sockets. We need to call

Re: [PATCH v2 31/32] sh: support a 2-byte smp_store_mb

2016-01-06 Thread Michael S. Tsirkin
On Tue, Jan 05, 2016 at 06:27:35PM -0500, Rich Felker wrote: > On Thu, Dec 31, 2015 at 09:09:47PM +0200, Michael S. Tsirkin wrote: > > At the moment, xchg on sh only supports 4 and 1 byte values, so using it > > from smp_store_mb means attempts to store a 2 byte value using this > > macro fail. >

Re: arm64 qemu tests failing in linux-next since 'arm64: kernel: enforce pmuserenr_el0 initialization and restore'

2016-01-06 Thread Lorenzo Pieralisi
Hi Guenter, On Wed, Dec 23, 2015 at 04:52:51PM -0800, Guenter Roeck wrote: > Hi all, > > since commit 60792ad349f3 ("arm64: kernel: enforce pmuserenr_el0 > initialization > and restore"), my arm64 qemu tests of linux-next are failing. After this > commit, > qemu does not display any output. >

[PATCH 3.16.y-ckt 004/126] iio:ad7793: Fix ad7785 product ID

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 785171fd6cd7dcd7ada5a733b6a2d44ec566c3a0 upstream. While the datasheet for the AD7785 lists 0xXB as the product ID the actual product ID

[PATCH 3.16.y-ckt 009/126] USB: serial: option: add support for Novatel MiFi USB620L

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Aleksander Morgado commit e07af133c3e2716db25e3e1e1d9f10c2088e9c1a upstream. Also known as Verizon U620L. The device is modeswitched from 1410:9020 to

[PATCH 3.16.y-ckt 003/126] iio: ad5064: Fix ad5629/ad5669 shift

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 5dcbe97bedd6ba4b0f574a96cc2e293d26f3d857 upstream. The ad5629/ad5669 are the I2C variant of the ad5628/ad5668, which has a SPI interface.

[PATCH 3.16.y-ckt 006/126] iio: adc: xilinx: Fix VREFN scale

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Betker commit a57f8dac46fbac5ab0e31aef1a98b3f6eb30c079 upstream. The scaling factor for VREFN is 3.0/4096 (not 1.0/4096), just as for VREFP.

Re: [PATCH v3 1/5] perf tools: Add all matching dynamic sort keys for field name

2016-01-06 Thread Jiri Olsa
On Wed, Jan 06, 2016 at 09:54:57AM +0900, Namhyung Kim wrote: > When a perf.data file has multiple events, it's likely to be similar > (tracepoint) events. In that case, they might have same field name so > add all of them to sort keys instead of bailing out. > > In addition, it contains a

[3.16.y-ckt stable] Linux 3.16.7-ckt22 stable review

2016-01-06 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.16.7-ckt22 stable kernel. This version contains 126 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch:

[PATCH 3.16.y-ckt 001/126] iio: lpc32xx_adc: fix warnings caused by enabling unprepared clock

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy commit 01bb70ae0b98d266fa3e860482c7ce22fa482a6e upstream. If common clock framework is configured, the driver generates a warning, which is fixed

Re: [PATCH v2 31/32] sh: support a 2-byte smp_store_mb

2016-01-06 Thread Peter Zijlstra
On Wed, Jan 06, 2016 at 01:19:44PM +0200, Michael S. Tsirkin wrote: > On Tue, Jan 05, 2016 at 06:27:35PM -0500, Rich Felker wrote: > > On Thu, Dec 31, 2015 at 09:09:47PM +0200, Michael S. Tsirkin wrote: > > > At the moment, xchg on sh only supports 4 and 1 byte values, so using it > > > from

Re: [PATCH 09/10] [media] tvp5150: Initialize the chip on probe

2016-01-06 Thread Javier Martinez Canillas
Hello Laurent, On 01/06/2016 07:59 AM, Laurent Pinchart wrote: > Hi Javier, > > Thankk you for the patch. > Thanks a lot for your feedback. > On Monday 04 January 2016 09:25:31 Javier Martinez Canillas wrote: >> After power-up, the tvp5150 decoder is in a unknown state until the >> RESETB pin

Re: [kbuild-all] arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3900' requires '-mfp32'

2016-01-06 Thread Fengguang Wu
On Wed, Jan 06, 2016 at 07:59:13PM +0800, Fengguang Wu wrote: > Hi Guenter, > > > However I find that the latest mainline no longer has the error. > > So let's we ignore this error. > > Oops, sorry that's not true -- I was testing rather old mainline HEAD. > > Here is the new build log. > >

[RFC 4/4] samples/rpmsg: add the imx pingpong rpmsg sample

2016-01-06 Thread Richard Zhu
From: Richard Zhu Add one pingpong rpmsg sample, that demostrate the how to communicate with an AMP-configured remote processor over rpmsg bus. In this sample, A# core of imx AMP SOC would send out one unsigned int data "rpmsg_pingpong", the initialized value is "0",

Re: [PATCH v3 1/4] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-01-06 Thread Yao Yuan
On Tue, Jan 05, 2015 at 04:58AM, Han Xu wrote: > On Thu, Dec 24, 2015 at 07:00:18PM +0800, Yuan Yao wrote: > > Add R/W functions for big- or little-endian registers: > > The qSPI controller's endian is independent of the CPU core's endian. > > So far, the qSPI have two versions for big-endian and

[PATCH v2 0/4] thermal: re-calculate k_po/k_pu when update sustainable power

2016-01-06 Thread Leo Yan
k_po/k_pu are two proportional term constants and essentially they have fixed ratio compared with sustainable power. In current implementation, k_po and k_pu are absolute value after calculation and cannot represent the ratio relationship with sustainable power; as a result, when change

[PATCH v3 3/4] thermal: add sys node for k_pu_ratio/k_po_ratio

2016-01-06 Thread Leo Yan
Add two sys nodes for k_pu_ratio and k_po_ratio, so user can set ratio value from them. Also change k_pu/k_po as read only nodes, it will only be used to show proportional term constants which are calculated by ratio. Signed-off-by: Leo Yan --- drivers/thermal/thermal_core.c

[PATCH v3 4/4] thermal: power_allocator: document k_pu_ratio/k_po_ratio

2016-01-06 Thread Leo Yan
Document k_pu_ratio and k_po_ratio's purpose, and refine formula to demonstrate to use ratio to calculate k_pu/k_po. Signed-off-by: Leo Yan --- Documentation/thermal/power_allocator.txt | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git

[PATCH v3 0/4] thermal: re-calculate k_po/k_pu when update sustainable power

2016-01-06 Thread Leo Yan
k_po/k_pu are two proportional term constants and essentially they have fixed ratio compared with sustainable power. In current implementation, k_po and k_pu are absolute value after calculation and cannot represent the ratio relationship with sustainable power; as a result, when change

[PATCH v3 1/4] thermal: power_allocator: rework proportional parameter

2016-01-06 Thread Leo Yan
k_po/k_pu are two proportional term constants and essentially they have fixed ratio compared with sustainable power. In current implementation, k_po and k_pu are absolute value after calculation and cannot represent the ratio relationship with sustainable power; as a result, when change

[PATCH v3 2/4] thermal: power_allocator: change k_pu_ratio/k_po_ratio as percentage

2016-01-06 Thread Leo Yan
Change k_pu_ratio/k_po_ratio as percentage value, so can set these values from sys file nodes with high resolution. Signed-off-by: Leo Yan --- drivers/thermal/power_allocator.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] soc: mediatek: PMIC wrap: Enable STAUPD_PRD before WDT_SRC_EN enabled.

2016-01-06 Thread Henry Chen
On Wed, 2016-01-06 at 10:37 +0800, Daniel Kurtz wrote: > On Mon, Jan 4, 2016 at 11:05 AM, Henry Chen wrote: > > On Thu, 2015-12-31 at 22:19 +0800, Daniel Kurtz wrote: > >> On Wed, Dec 30, 2015 at 8:36 PM, Henry Chen > >> wrote: > >> > > >> >

Re: [PATCH] dmaengine: dw: clear LLP_[SD]_EN bits in last descriptor of a chain

2016-01-06 Thread Vinod Koul
On Tue, Dec 22, 2015 at 10:24:49PM +0530, Shevchenko, Andriy wrote: > On Mon, 2015-12-21 at 21:34 +0200, Andy Shevchenko wrote: > > On Mon, 2015-12-21 at 19:10 +, Mans Rullgard wrote: > > > The datasheet requires that the LLP_[SD]_EN bits be cleared > > > whenever > > > LLP.LOC is zero, i.e.

Re: [PATCH 3/4] mfd: arizona: Switch to using clock driver for 32k clock

2016-01-06 Thread Charles Keepax
On Wed, Jan 06, 2016 at 12:19:56AM +0800, kbuild test robot wrote: > Hi Charles, > > [auto build test WARNING on clk/clk-next] > [also build test WARNING on v4.4-rc8 next-20160105] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url:

Re: [PATCH 2/2] proc read mm's {arg,env}_{start,end} with mmap semaphore taken.

2016-01-06 Thread Anshuman Khandual
On Wed, Jan 6, 2016 at 10:32 AM, Mateusz Guzik wrote: > Only functions doing more than one read are modified. Consumeres > happened to deal with possibly changing data, but it does not seem > like a good thing to rely on. There are no other functions which might be reading

[PATCH 3.16.y-ckt 097/126] pptp: verify sockaddr_len in pptp_bind() and pptp_connect()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: WANG Cong commit 09ccfd238e5a0e670d8178cf50180ea81ae09ae1 upstream. Reported-by: Dmitry Vyukov Signed-off-by: Cong Wang

[PATCH 3.16.y-ckt 085/126] netfilter: nf_tables: fix bogus warning in nft_data_uninit()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Mirek Kratochvil commit 960bd2c26421d321e890f1936938196ead41976f upstream. The values 0x-0xfeff are reserved for userspace datatype. When, deleting

[PATCH 3.16.y-ckt 082/126] target: fix COMPARE_AND_WRITE non zero SGL offset data corruption

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Engelhardt commit d94e5a61357a04938ce14d6033b4d33a3c5fd780 upstream. target_core_sbc's compare_and_write functionality suffers from taking data at the wrong

[PATCH 3.16.y-ckt 084/126] netfilter: ipt_rpfilter: remove the nh_scope test in rpfilter_lookup_reverse

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: lucien commit cc4998febd567d1c671684abce5595344bd4e8b2 upstream. --accept-local option works for res.type == RTN_LOCAL, which should be from the local table,

[PATCH 3.16.y-ckt 079/126] xen/gntdev: Grant maps should not be subject to NUMA balancing

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit 9c17d96500f78d7ecdb71ca6942830158bc75a2b upstream. Doing so will cause the grant to be unmapped and then, during fault handling,

Re: [PATCH 07/10] [media] tvp5150: Add device tree binding document

2016-01-06 Thread Laurent Pinchart
On Wednesday 06 January 2016 07:46:35 Javier Martinez Canillas wrote: > On 01/06/2016 07:39 AM, Laurent Pinchart wrote: > > Hi Javier, > > > > Thank you for the patch. > > Thanks a lot for your feedback. > > [snip] > > >> + > >> +Optional Properties: > >> +- powerdown-gpios: phandle for the

[PATCH 3.16.y-ckt 068/126] ARC: dw2 unwind: Remove falllback linear search thru FDE entries

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit 2e22502c080f27afeab5e6f11e618fb7bc7aea53 upstream. Fixes STAR 9000953410: "perf callgraph profiling causing RCU stalls" | perf record -g -c

[PATCH 1/2] phy: ti-pipe3: get tx and rx MEM resource

2016-01-06 Thread Kishon Vijay Abraham I
get tx and rx MEM resource since this has to be used to configure for DRA72x to work in X2 mode. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Sekhar Nori --- drivers/phy/phy-ti-pipe3.c | 27 +++ 1 file changed, 27 insertions(+)

[PATCH 3.16.y-ckt 063/126] ALSA: hda - Add fixup for Acer Aspire One Cloudbook 14

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b9c2fa52135d49a931c56ed2bfc17d61f771b412 upstream. For making the speakers on Acer Aspire One Cloudbook 14 to work, we need the as same quirk as

Re: [PATCH 3.12 25/91] x86/setup: Extend low identity map to cover whole kernel range

2016-01-06 Thread Luis Henriques
On Wed, Jan 06, 2016 at 11:00:31AM +, Matt Fleming wrote: > On Wed, 06 Jan, at 11:47:20AM, Paolo Bonzini wrote: > > > > Without testing the problematic scenario explicitly (32-bit UEFI > > kernel), I think this patch and 26/91 should not be backported to > > kernels that do not have

Re: [PATCH v2 3/4] PCI: rcar: Add runtime PM support to pcie-rcar

2016-01-06 Thread Wolfram Sang
> +err_pm_put: > + pm_runtime_put(pcie->dev); > + > +err_pm_disable: > + pm_runtime_disable(pcie->dev); What about put/disable in the remove part? signature.asc Description: Digital signature

Re: [PATCH v2 2/4] PCI: rcar: Support runtime PM link state L1 handling in pcie-rcar

2016-01-06 Thread Wolfram Sang
On Tue, Jan 05, 2016 at 01:00:29PM +, Phil Edworthy wrote: > The R-Car PCIe host controller does not handle L1 ASPM. Instead, the > hardware needs assistance to transition to L1. When the controller > has received a PM_ENTER_L1 DLLP, we can't access a card's config regs > until we have got it

  1   2   3   4   5   6   7   8   9   10   >