[PATCH 25/31] media: au0828 fix to not call media_device_unregister_entity_notify()

2016-01-06 Thread Shuah Khan
entity_notify handlers are removed from media_device_unregister(). There is no need to call media_device_unregister_entity_notify() to do that right before calling media_device_unregister(). Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c | 2 -- 1

Re: [PATCH v3 0/4] scsi: cleanup ioctl headers and provide UAPI versions

2016-01-06 Thread Martin K. Petersen
> "Paolo" == Paolo Bonzini writes: >> This is v3 of the series to provide an "official" sg.h header (and >> scsi_ioctl.h too, though it's basically obsolete) together with the >> other userspace API definitions. The change from v2 to v3 is that >> defaults for sg.c are

[PATCH 3/6] wireless:libertas: add an cfg80211 interface for powersaving

2016-01-06 Thread Andreas Kemnade
This patch adds an interface for handling commands like iwconfig wlanX power on/off. Such an interface formerly existed when the driver used wext. While performance with sdio in polling mode without using powersave mode is quite bad, powersaving mode is unusable, so do not enable it under such

[PATCH 6/6] wireless:libertas: fix suspend problems

2016-01-06 Thread Andreas Kemnade
When the device goes to suspend mode with powersaving enabled, lbs_remove_card tries to exit powersaving state even when already woken up. That command is not processed properly in that situation, so the system hangs at suspend, so disable it. Signed-off-by: Andreas Kemnade

[PATCH 5/6] wireless:libertas: go back to ps mode without commands pending

2016-01-06 Thread Andreas Kemnade
Removes the old todo block and checks only whether ieee powersave mode is requested. We still have to check for being connected as this powersave mode includes logic for regularly waking up and checking for packets which only makes sense when connected. For not being connected, another mode is

Re: [PATCH V4 0/4] scsi: storvsc: Properly support FC hosts

2016-01-06 Thread Martin K. Petersen
> "KYS" == K Y Srinivasan writes: The template discussion appears to have lost momentum and since the concerns were minor I have applied your latest series to 4.5/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the

Re: [PATCH net] Driver: Vmxnet3: Fix regression caused by 5738a09

2016-01-06 Thread David Miller
From: Shrikrishna Khare Date: Wed, 6 Jan 2016 10:44:27 -0800 > Reported-by: Bingkuo Liu > Signed-off-by: Shrikrishna Khare Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

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

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

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

[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

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

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,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

[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

[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

[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

[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

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

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

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

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;

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

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"). > >> > >>

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

[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

[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

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

[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

[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

[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

[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

[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

[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

[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

[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

[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

[PATCH 3.16.y-ckt 126/126] KVM: x86: Reload pit counters for all channels when restoring state

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Andrew Honig commit 0185604c2d82c560dab2f2933a18f797e74ab5a8 upstream. Currently if userspace restores the pit counters with a count of 0 on channels 1 or 2 and the guest attempts

[PATCH 3.16.y-ckt 111/126] wan/x25: Fix use-after-free in x25_asy_open_tty()

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 ee9159ddce14bc1dec9435ae4e3bd3153e783706 upstream. The N_X25 line discipline may access the previous line discipline's closed and already-freed private data on

[PATCH 3.16.y-ckt 103/126] crypto: talitos - Fix timing leak in ESP ICV verification

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 79960943fdc114fd4583c9ab164b5c89da7aa601 upstream. Using non-constant time memcmp() makes the verification of the authentication tag in the decrypt path

[PATCH 3.16.y-ckt 086/126] netfilter: ip6t_SYNPROXY: fix NULL pointer dereference

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Phil Sutter commit 96fffb4f23f124f297d51dedc9cf51d19eb88ee1 upstream. This happens when networking namespaces are enabled. Suggested-by: Patrick McHardy Signed-off-by: Phil Sutter

[PATCH 3.16.y-ckt 118/126] remoteproc: avoid stack overflow in debugfs file

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 92792e48e2ae6051af30468a87994b5432da2f06 upstream. Recent gcc versions warn about reading from a negative offset of an on-stack array:

[PATCH 3.16.y-ckt 124/126] btrfs: fix signed overflows in btrfs_sync_file

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 9dcbeed4d7e11e1dcf5e55475de3754f0855d1c2 upstream. The calculation of range length in btrfs_sync_file leads to signed overflow. This was caught by PaX gcc

[PATCH 3.16.y-ckt 089/126] atl1c: Improve driver not to do order 4 GFP_ATOMIC allocation

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Pavel Machek commit f2a3771ae8aca879c32336c76ad05a017629bae2 upstream. atl1c driver is doing order-4 allocation with GFP_ATOMIC priority. That often breaks networking after resume.

[PATCH 3.16.y-ckt 099/126] af_unix: Revert 'lock_interruptible' in stream receive code

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 3822b5c2fc62e3de8a0f33806ff279fb7df92432 upstream. With b3ca9b02b00704053a38bfe4c31dbbb9c13595d0, the AF_UNIX SOCK_STREAM receive code was changed from using

[PATCH 3.16.y-ckt 122/126] ipv4: igmp: Allow removing groups from a removed interface

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Andrew Lunn commit 4eba7bb1d72d9bde67d810d09bf62dc207b63c5c upstream. When a multicast group is joined on a socket, a struct ip_mc_socklist is appended to the sockets mc_list

[PATCH 3.16.y-ckt 112/126] mac80211: do not actively scan DFS channels

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Antonio Quartulli commit 4e39ccac0d678eacb5dd6ffc5057531af33c12d6 upstream. DFS channels should not be actively scanned as we can't be sure if we are allowed or not. If the current

[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

[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 Signed-off-by: David S. Miller Signed-off-by: Luis

[PATCH 3.16.y-ckt 115/126] sched/core: Clear the root_domain cpumasks in init_rootdomain()

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Xunlei Pang commit 8295c69925ad53ec32ca54ac9fc194ff21bc40e2 upstream. root_domain::rto_mask allocated through alloc_cpumask_var() contains garbage data, this may cause problems. For

[PATCH 3.16.y-ckt 119/126] net: mvneta: add configuration for MBUS windows access protection

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit db6ba9a5371f173489df126739d0a1c2a50f347b upstream. This commit adds missing configuration of MBUS windows access protection in mvneta_conf_mbus_windows function

[PATCH 3.16.y-ckt 117/126] isdn: Partially revert debug format string usage clean up

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Biedl commit 19cebbcb04c8277bb8a7905957c8af11967c4e28 upstream. Commit 35a4a57 ("isdn: clean up debug format string usage") introduced a safeguard to avoid accidential

[RFC 3/4] ARM: imx: add the platform related rpmsg implementation

2016-01-06 Thread Richard Zhu
From: Richard Zhu - add mu driver support, the irq and 4bytes msg of the mu module are as the interaction channel between A# core and the M4 core on imx amp platforms. - register one notify in isr of the mu's irq used by rpmsg. - instance the virtual processor, and fill up the virtio_config_ops

[PATCH 3.16.y-ckt 120/126] net: mvneta: fix bit assignment in MVNETA_RXQ_CONFIG_REG

2016-01-06 Thread Luis Henriques
3.16.7-ckt22 -stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit e5bdf689d32fcf3aaf548c71e715b303ba20b5d1 upstream. MVNETA_RXQ_HW_BUF_ALLOC bit which controls enabling hardware buffer allocation was mistakenly set as BIT(1).

<    5   6   7   8   9   10   11   12   13   14   >