[PATCH 3.16.y-ckt 123/126] sched/core: Remove false-positive warning from wake_up_process()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 119d6f6a3be8b424b200dcee56e74484d5445f7e upstream. Because wakeups can (fundamentally) be late, a task might not be in the expected state. Therefore testing agains

[PATCH 3.16.y-ckt 106/126] mac80211: ensure we don't update tx power on a non-running sdata

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 5ad11b50fda1306b5317124f97f0a7a4c022b022 upstream. We can't update the Tx power on the device unless it is running. This fixes https://bugzilla.kernel.org/s

[PATCH 3.16.y-ckt 125/126] KEYS: Fix race between read and revoke

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit b4a1b4f5047e4f54e194681125c74c0aa64d637d upstream. This fixes CVE-2015-7550. There's a race between keyctl_read() and keyctl_revoke(). If the revoke happens be

[PATCH 3.16.y-ckt 046/126] net, scm: fix PaX detected msg_controllen overflow in scm_detach_fds

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit 6900317f5eff0a7070c5936e5383f589e0de7a09 upstream. David and HacKurx reported a following/similar size overflow triggered in a grsecurity kernel, thanks to PaX

[PATCH 3.16.y-ckt 070/126] vfs: Make sendfile(2) killable even better

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit c725bfce7968009756ed2836a8cd7ba4dc163011 upstream. Commit 296291cdd162 (mm: make sendfile(2) killable) fixed an issue where sendfile(2) was doing a lot of tiny writes

[PATCH 3.16.y-ckt 073/126] ALSA: hda - Fix headphone noise after Dell XPS 13 resume back from S3

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 8c69729b4439bbda88c3073df7243f755cc418ed upstream. We have a machine Dell XPS 13 with the codec alc256, after resume back from S3, the headphone has noise when play s

[PATCH 3.16.y-ckt 083/126] ARM: dts: Kirkwood: Fix QNAP TS219 power-off

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Helmut Klein commit 5442f0eadf2885453d5b2ed8c8592f32a3744f8e upstream. The "reg" entry in the "poweroff" section of "kirkwood-ts219.dtsi" addressed the wrong uart (0 = console). This

[PATCH 3.16.y-ckt 045/126] tcp: initialize tp->copied_seq in case of cross SYN connection

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 142a2e7ece8d8ac0e818eb2c91f99ca894730e2a upstream. Dmitry provided a syzkaller (http://github.com/google/syzkaller) generated program that triggers the WARNING at

[PATCH 3.16.y-ckt 061/126] MIPS: KVM: Fix CACHE immediate offset sign extension

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: James Hogan commit c5c2a3b998f1ff5a586f9d37e154070b8d550d17 upstream. The immediate field of the CACHE instruction is signed, so ensure that it gets sign extended by casting it to an

[PATCH 3.16.y-ckt 059/126] dm: fix ioctl retry termination with signal

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Junichi Nomura commit 5bbbfdf685657771fda05b926b28ca0f79163a28 upstream. dm-mpath retries ioctl, when no path is readily available and the device is configured to queue I/O in such a

[PATCH 3.16.y-ckt 050/126] ipv6: distinguish frag queues by device for multicast and link-local packets

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?Michal=20Kube=C4=8Dek?= commit 264640fc2c5f4f913db5c73fa3eb1ead2c45e9d7 upstream. If a fragmented multicast packet is received on an ethernet device which has an active mac

[PATCH 3.16.y-ckt 057/126] ALSA: usb-audio: work around CH345 input SysEx corruption

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 a91e627e3f0ed820b11d86cdc04df38f65f33a70 upstream. One of the many faults of the QinHeng CH345 USB MIDI interface chip is that it does not handle received SysE

[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, but it has differe

[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 same name. .. Th

[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 bit in command register,

[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: https://bugzilla.kernel.org/show_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 pollute the globa

[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: 47605df95398 ('mlx4: Modify p

[PATCH 3.16.y-ckt 040/126] packet: infer protocol from ethernet header if unset

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Daniel Borkmann commit c72219b75fde768efccf7666342282fab7f9e4e7 upstream. In case no struct sockaddr_ll has been passed to packet socket's sendmsg() when doing a TX_RING flush run, t

[PATCH v3 08/12] mmc: sdhci-pxav3: 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-pxav3 to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/

[PATCH v3 09/12] mmc: sdhci-st: 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-st to this allocation. Signed-off-by: Jisheng Zhang Acked-by: Arnd Bergmann --- drivers/mmc

[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 a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/hos

[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 Acked-by: Arnd Bergmann

[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 --- drivers/mmc/host/sdhci-pltfm.h | 1 - 1 file changed, 1 d

[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 Bergmann --- drivers/

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

Re: [PATCH] net/rfkill: Create "airplane mode" LED trigger

2016-01-06 Thread Johannes Berg
On Tue, 2016-01-05 at 22:55 -0800, Marcel Holtmann wrote: >  > so I am not convinced the kernel should have the concept of airplane > mode at all. [snip long story] This is true, but that doesn't mean the patch is bad, just the naming could be different. I think the patch could name this "rfkill

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2016-01-06 Thread Jan Kara
On Wed 06-01-16 17:36:53, Sergey Senozhatsky wrote: > On (01/06/16 12:38), Sergey Senozhatsky wrote: > > On (01/05/16 15:48), Jan Kara wrote: > > > > [..] > > > > > cond_resched() does its job there, of course. well, a user process > > > > > still can > > > > > do a lot of call_console_drivers() c

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

2016-01-06 Thread Thomas Gleixner
On Wed, 6 Jan 2016, Suman Tripathi wrote: > On Wed, Jan 6, 2016 at 3:35 PM, Thomas Gleixner wrote: > > Why would I? Those helpers are core internal and not usable in random > > drivers. > > > > i think the problem is the name of the function. It should be something > > irq_check_settings_disable

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

2016-01-06 Thread Suman Tripathi
On Wed, Jan 6, 2016 at 3:40 PM, Suman Tripathi wrote: > > > On Wed, Jan 6, 2016 at 3:35 PM, Thomas Gleixner wrote: >> >> On Wed, 6 Jan 2016, Vinod Koul wrote: >> > On Wed, Jan 06, 2016 at 02:51:07PM +0530, Rameshwar Sahu wrote: >> > > >> @@ -1610,6 +1611,7 @@ static int xgene_dma_request_irqs(str

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 *priv

Re: [PATCH] dma: Revert "dmaengine: mic_x100: add missing spin_unlock"

2016-01-06 Thread Vinod Koul
On Mon, Jan 04, 2016 at 05:40:39PM -0500, Ashutosh Dixit wrote: > On Sun, Jan 03 2016 at 10:35:26 PM, "Koul, Vinod" > wrote: > > On Tue, Dec 22, 2015 at 07:35:23PM -0800, Ashutosh Dixit wrote: > >> This reverts commit e958e079e254 ("dmaengine: mic_x100: add missing > >> spin_unlock"). > >> > >> T

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

2016-01-06 Thread Javi Merino
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 cannot represent > the ratio relation

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

2016-01-06 Thread Thomas Gleixner
On Wed, 6 Jan 2016, Vinod Koul wrote: > On Wed, Jan 06, 2016 at 02:51:07PM +0530, Rameshwar Sahu wrote: > > >> @@ -1610,6 +1611,7 @@ static int xgene_dma_request_irqs(struct xgene_dma > > >> *pdma) > > >> /* Register DMA channel rx irq */ > > >> for (i = 0; i < XGENE_DMA_MAX_CHANNEL; i

[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 618c24f..15bec40 100644 --- a

Re: [PATCH 1/2] prctl: take mmap sem for writing to protect against others

2016-01-06 Thread Mateusz Guzik
On Wed, Jan 06, 2016 at 03:05:09PM +0530, Anshuman Khandual wrote: > On Wed, Jan 6, 2016 at 10:32 AM, Mateusz Guzik wrote: > > The code was taking the semaphore for reading, which does not protect > > against readers nor concurrent modifications. > > (down/up)_read does not protect against concur

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 = &dsi->encoder; +struct drm_connector *connector = &dsi->co

Re: [RFC PATCH v2 3/3] vfio-pci: Allow to mmap MSI-X table if EEH is supported

2016-01-06 Thread Yongji Xie
On 2016/1/5 5:42, Benjamin Herrenschmidt wrote: On Mon, 2016-01-04 at 14:07 -0700, Alex Williamson wrote: On Thu, 2015-12-31 at 16:50 +0800, Yongji Xie wrote: Current vfio-pci implementation disallows to mmap MSI-X table in case that user get to touch this directly. However, EEH mechanism can

[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 10:49:53 +0100 x86/vsdo: Fix build o

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

[PATCH v2 2/2] kexec: Provide arch_kexec_protect(unprotect)_crashkres()

2016-01-06 Thread Xunlei Pang
Implement the protection method for the crash kernel memory reservation for the 64-bit x86 kdump. Signed-off-by: Xunlei Pang --- arch/x86/kernel/machine_kexec_64.c | 41 ++ 1 file changed, 41 insertions(+) diff --git a/arch/x86/kernel/machine_kexec_64.c b/ar

[PATCH V7 3/4] tools/perf: Map the ID values with register names

2016-01-06 Thread Anju T
Map ID values with corresponding register names. These names are then displayed when user issues perf record with the -I option followed by perf report/script with -D option. To test this patchset, Eg: $ perf record -I ls # record machine state at interrupt $ perf script -D # read the perf

[PATCH V7 0/4] perf/powerpc: Add ability to sample intr machine state in powerpc

2016-01-06 Thread Anju T
This short patch series adds the ability to sample the interrupted machine state for each hardware sample. To test this patchset, Eg: $ perf record -I? # list supported registers output: available registers: gpr0 gpr1 gpr2 gpr3 gpr4 gpr5 gpr6 gpr7 gpr8 gpr9 gpr10 gpr11 gpr12 gpr13 gpr14

[PATCH V1 4/4] tool/perf: Add sample_reg_mask to include all perf_regs regs

2016-01-06 Thread Anju T
From: Madhavan Srinivasan Add sample_reg_mask array with pt_regs registers. This is needed for printing supported regs ( -I? option). Signed-off-by: Madhavan Srinivasan --- tools/perf/arch/powerpc/util/Build | 1 + tools/perf/arch/powerpc/util/perf_regs.c | 48 ++

[PATCH V7 2/4] perf/powerpc: add support for sampling intr machine state

2016-01-06 Thread Anju T
The perf infrastructure uses a bit mask to find out valid registers to display. Define a register mask for supported registers defined in asm/perf_regs.h. The bit positions also correspond to register IDs which is used by perf infrastructure to fetch the register values. CONFIG_HAVE_PERF_REGS enabl

[PATCH V7 1/4] perf/powerpc: assign an id to each powerpc register

2016-01-06 Thread Anju T
The enum definition assigns an 'id' to each register in "struct pt_regs" of arch/powerpc. The order of these values in the enum definition are based on the corresponding macros in arch/powerpc/include/uapi/asm/ptrace.h. Signed-off-by: Anju T Reviewed-by : Madhavan Srinivasan --- arch/powerpc/i

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 mm-> members without ha

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

2016-01-06 Thread Jisheng Zhang
Dear Ulf, On Wed, 6 Jan 2016 17:22:48 +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 *

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 6/8] perf script: Display stat events by default

2016-01-06 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 07:49:27PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > [acme@zoo linux]$ > [acme@zoo linux]$ perf script > CPU THREAD VAL ENA RUNTIME > EVENT > 65535 4883 356474 356474 356474 >

Re: [PATCH 1/2] prctl: take mmap sem for writing to protect against others

2016-01-06 Thread Anshuman Khandual
On Wed, Jan 6, 2016 at 10:32 AM, Mateusz Guzik wrote: > The code was taking the semaphore for reading, which does not protect > against readers nor concurrent modifications. (down/up)_read does not protect against concurrent readers ? > > The problem could cause a sanity checks to fail in procfs

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

2016-01-06 Thread Rameshwar Sahu
On Wed, Jan 6, 2016 at 3:01 PM, Vinod Koul wrote: > 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

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 interrupt controller that doesn't support i

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 = sdhci_pltfm_priv(plt

Full freeze (maybe intel hd graphics kernel failure) tested 4.2 - 4.4rc8

2016-01-06 Thread Florian Voit
My new Acer ES1-411 won't work under latest Ubuntu (and latest mainline). It has a Intel N3540 CPU and a integrated Intel HD Graphics GPU. It has a UEFI and I ran dualboot Windows 10 and Ubuntu 15.10. UEFI firmware is latest. While just working and surfing it runs, but when I look at videos (mp

LOAN OFFER....

2016-01-06 Thread Fritz Micheal.
Do you need a loan at 2% interest rate for any reason ? Every interested applicant should contact us via the below contact details. E-mails: fritzmicloanf...@financier.com firtzmicloanf...@gmail.com Yours Sincerely Fritz Micheal. -- To unsubscribe from this list: send the line "unsubscribe lin

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

2016-01-06 Thread Rameshwar Sahu
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 interrupt controller that doesn't support irq_disable and hardware >> with level interrupt, an extra interrupt can be pen

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 file changed, 1 insertio

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 > > --- > sound/synth/emux/emux_nrpn.c |9 +

Re: [PATCH 03/10] dmaengine: ppc4xx: use to_platform_device()

2016-01-06 Thread Vinod Koul
On Sun, Dec 27, 2015 at 09:15:41PM +0800, Geliang Tang wrote: > Use to_platform_device() instead of open-coding it. > Are these patches thru subystems trees or something else. Also either no cover-letter or not enough ppl cc'ed on that! > Signed-off-by: Geliang Tang > --- > drivers/dma/ppc4xx/

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. in

Re: [PATCH 1/2] mm, oom: introduce oom reaper

2016-01-06 Thread Michal Hocko
On Mon 21-12-15 15:38:21, Paul Gortmaker wrote: [...] > ...use one of the non-modular initcalls here? I'm trying to clean up most of > the non-modular uses of modular macros etc. since: > > (1) it is easy to accidentally code up an unused module_exit function > (2) it can be misleading when re

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

2016-01-06 Thread Vinod Koul
On Wed, Dec 23, 2015 at 06:28:15PM +0530, Rameshswar Prasad Sahu wrote: > From: Rameshwar Prasad Sahu > > For interrupt controller that doesn't support irq_disable and hardware > with level interrupt, an extra interrupt can be pending. This patch fixes > the issue by setting IRQ_DISABLE_UNLAZY fl

Re: [PATCHv8 0/8] perf stat: Add scripting support

2016-01-06 Thread Jiri Olsa
On Tue, Jan 05, 2016 at 07:39:20PM -0300, Arnaldo Carvalho de Melo wrote: > Em Tue, Jan 05, 2016 at 10:09:04PM +0100, Jiri Olsa escreveu: > > hi, > > sending another version of stat scripting. > > > > v8 changes: > > - check for stat callbacks properly [Namhyung] > > - used '#!/usr/bin/env pyt

Re: [PATCH 00/19] irqchip: atmel-aic: make unified AIC driver

2016-01-06 Thread Boris Brezillon
Hi Milo, On Wed, 6 Jan 2016 16:48:23 +0900 Milo Kim wrote: > Hi Boris, > > Thanks a lot for your comments. > > On 01/04/2016 06:02 PM, Boris Brezillon wrote: > > Hi Milo, > > > > On Mon, 4 Jan 2016 13:28:24 +0900 > > Milo Kim wrote: > > > >> This patch-set provides unified Atmel AIC (Advanced

Re: [PATCH] staging/ion: Add support to get ion handle from dma buf

2016-01-06 Thread Dan Carpenter
It's not really necessary to CC linux-kernel. No one reads it. I only send patches there when there isn't another public mailing list available. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

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

2016-01-06 Thread Ludovic Desroches
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 = sdhci_pltfm_priv(pltfm_host); is missing in sdhci_at91_runtime_suspend and sdhci_at91_runtime_resume causing

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: > >> > "at" is not a valid vendor prefix, cor

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

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

[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 a/drivers/thermal/power_allocator.c b/driver

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

[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 a/Documentation/thermal/pow

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: > >> > > >> > The STAUPD_TRIG will be enable when WDT_INT enable on

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); > > > > What about put/disable i

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

2016-01-06 Thread Leo Yan
Hi all, On Wed, Jan 06, 2016 at 04:30:19PM +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 cannot represent > the ratio

Re: [PATCH] thinkpad_acpi: Add support for keyboard backlight

2016-01-06 Thread Pali Rohár
On Wednesday 30 December 2015 23:28:48 Pali Rohár wrote: > On Monday 28 December 2015 15:48:14 Pali Rohár wrote: > > > Also, is it working properly across suspend+resume? > > > > When doing resume from suspend or hibernate BIOS turning keyboard > > backlight automatically off. > > Fixed in v2. >

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

2016-01-06 Thread Geert Uytterhoeven
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); > > What about put/disable in the remove part? Which remove part? (been there, done that ;-) Gr{oetje,eeting}s,

Re: [PATCH v7 0/5] Add mipi dsi support for rk3288

2016-01-06 Thread Mark yao
On 2016年01月06日 12:03, Chris Zhong wrote: The rk3288 MIPI DSI is a Synopsys DesignWare MIPI DSI host controller IP. This series adds support for a Synopsys DesignWare MIPI DSI host controller DRM driver. The MIPI DSI feature is tested on rk3288 evb board, backport them to chrome os kernel chrome_

Re: [PATCH v2 4/4] PCI: rcar: Add Gen2 PHY setup to pcie-rcar

2016-01-06 Thread Wolfram Sang
On Tue, Jan 05, 2016 at 01:00:31PM +, Phil Edworthy wrote: > For PCIe compliance, the PHY registers need setting as per the > manual. > > Signed-off-by: Phil Edworthy Reviewed-by: Wolfram Sang 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 o

Re: [PATCH 1/7] printk: Hand over printing to console if printing too long

2016-01-06 Thread Sergey Senozhatsky
On (01/06/16 12:38), Sergey Senozhatsky wrote: > On (01/05/16 15:48), Jan Kara wrote: > > > [..] > > > > cond_resched() does its job there, of course. well, a user process > > > > still can > > > > do a lot of call_console_drivers() calls. may be we can check who is > > > > calling > > > > consol

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

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

[PATCH v2 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 a/drivers/thermal/power_allocator.c b/driver

[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 a/Documentation/thermal/pow

Re: [PATCH 06/19] irqchip: atmel-aic: introduce register data structure

2016-01-06 Thread Milo Kim
On 01/04/2016 05:53 PM, Boris Brezillon wrote: On Mon, 4 Jan 2016 13:28:30 +0900 Milo Kim wrote: Structure, 'aic_reg_offset' describes for device specific register offset. Each offset is used for IRQ chip operation. AIC and AIC5 have different register values, but the structure can be shared.

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

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

[PATCH] perf symbols: Fix wrong symbol offset according to p_addr

2016-01-06 Thread He Kuang
Perf missed the 'VirtAddr' value in elf program_headers when adjusting symbol address for dynamic libraries. This patch considers the p_addr value and gets the right symbol offset. Before this patch, some symbols can not be right parsed on android phone: init 369 [002] 339.970607: raw_sysca

[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", to the remote M# core when t

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 l

[RFC 0/4]Enable rpmsg support on imx amp platforms

2016-01-06 Thread Richard Zhu
Implement the rpmsg on imx amp platforms, such as imx6sx and imx7d. Create one imx pingpong sample that demonstrate the data transactions on imx amp platforms over the rpmsg bus. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

[RFC 1/4] ARM: imx: enable rpmsg support on imx amp platforms

2016-01-06 Thread Richard Zhu
From: Richard Zhu enable the rpmsg support on imx amp platforms. such as imx6sx, and imx7d. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/Makefile | 6 ++-- arch/arm/boot/dts/imx6sx-sdb-m4.dts | 56 + arch/arm/boot/dts/imx6sx.dtsi | 12 +++

Re: [PATCH 1/3] ARM: dts: omap5-board-common: enable rtc and charging of backup battery

2016-01-06 Thread Laxman Dewangan
On Wednesday 06 January 2016 01:12 PM, H. Nikolaus Schaller wrote: Hi, Am 06.01.2016 um 00:40 schrieb Nishanth Menon : On 01/05/2016 06:01 AM, H. Nikolaus Schaller wrote: + rtc { + compatible = "ti,palmas-rtc"; + interrupt-parent = <&

Re: [RFC PATCH] alispinlock: acceleration from lock integration on multi-core platform

2016-01-06 Thread Peter Zijlstra
On Wed, Jan 06, 2016 at 09:16:43AM +0100, Peter Zijlstra wrote: > On Tue, Jan 05, 2016 at 09:42:27PM +, One Thousand Gnomes wrote: > > > It suffers the typical problems all those constructs do; namely it > > > wrecks accountability. > > > > That's "government thinking" ;-) - for most real user

Re: linux-next: manual merge of the pm tree with the i2c tree

2016-01-06 Thread Wolfram Sang
> > I fixed it up (see below) and can carry the fix as necessary (no action > > is required). > > Looks good to me and thanks for taking care of this! Ditto. Thanks! signature.asc Description: Digital signature

Re: [RFC PATCH] alispinlock: acceleration from lock integration on multi-core platform

2016-01-06 Thread Peter Zijlstra
On Tue, Jan 05, 2016 at 09:42:27PM +, One Thousand Gnomes wrote: > > It suffers the typical problems all those constructs do; namely it > > wrecks accountability. > > That's "government thinking" ;-) - for most real users throughput is > more important than accountability. With the right API i

Re: [PATCH 3.12 00/91] 3.12.52-stable review

2016-01-06 Thread Greg KH
On Wed, Jan 06, 2016 at 09:37:07AM +0200, Nikolay Borisov wrote: > Hello Jiry, > > On 01/05/2016 07:46 PM, Jiri Slaby wrote: > > This is the start of the stable review cycle for the 3.12.52 release. > > There are 91 patches in this series, all will be posted as a response > > to this one. If anyo

[PATCH v7.2 3/5] drm: rockchip: Support Synopsys DW MIPI DSI

2016-01-06 Thread Chris Zhong
Add support for Synopsys DesignWare MIPI DSI controller which is embedded in the rk3288 SoCs. Signed-off-by: Chris Zhong Acked-by: Mark Yao --- Changes in v7.2: - make sure disable clk when drm_panel_prepare err (Mark Yao) Changes in v7: - modify the config to tristate for modules build (Mark

<    4   5   6   7   8   9   10   >