Re: [PATCH 3/5] gpio: ath79: Make the driver removable

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 8:44 PM, Alban Bedel wrote: > As we now allow the driver to be built as a module it should be > removable. > > Signed-off-by: Alban Bedel Patch applied. Yours, Linus Walleij

Re: [PATCH V3 03/10] irqchip,GICv3,ACPI: Add redistributor support via GICC structures.

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > Following ACPI spec: > On systems supporting GICv3 and above, GICR Base Address in MADT GICC > structure holds the 64-bit physical address of the associated Redistributor. > If all of the GIC Redistributors are in the always-on power domain, > GICR

[PATCH v1 00/14] ASoC: qcom: Add capture support.

2016-02-10 Thread Srinivas Kandagatla
LPASS IP on QCOM SOC supports both Playback and capture via I2S, but this feature is missing in existing code. This patchset aims at adding capture support to lpass IP. First few patches in this series does cleanup the driver to make easy to add capture support. Most of these patches are acked

[PATCH v1 02/14] ASoC: qcom: add wrdma register details to lpass_variant

2016-02-10 Thread Srinivas Kandagatla
This patch adds wrdma related register offsets, wrdma channel start and shifts into lpass variant structure. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass.h | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/qcom/lpass.h

[PATCH v1 01/14] ASoC: qcom: use snd_dma_alloc/free* apis

2016-02-10 Thread Srinivas Kandagatla
There is no point in having local allocation functions when the driver can use snd_dma_alloc/free() apis. This patch replaces the local versions of the dma allocation apis with the snd_dma_alloc/free() apis. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-platform.c | 42

[PATCH v1 04/14] ASoC: qcom: pass direction to dma allocation

2016-02-10 Thread Srinivas Kandagatla
This patch updates the internal dma allocation callbacks to take the stream direction so that it can allocate channels suitable for that stream direction. Before the capture support this was not necessary. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield ---

[PATCH v1 06/14] ASoC: qcom: rename rdma_ch_bit_map to dma_ch_bit_map

2016-02-10 Thread Srinivas Kandagatla
rdma_ch_bit_map can be reused for wrdma channel allocations as wrdma channel numbering start after rdma channel numbers. With capture support referring rdma_ch_bit_map for wrdma channel allocation is confusing, so renaming rdma_ch_bit_map to dma_ch_bit_map makes sense. Signed-off-by: Srinivas

[PATCH v1 05/14] ASoC: qcom: ipq806x: add error in dma allocation.

2016-02-10 Thread Srinivas Kandagatla
ipq806x is only ever tested for playback so return error in dma allocation if the stream direction is capture. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-ipq806x.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/lpass-ipq806x.c

[PATCH v1 03/14] ASoC: qcom: rename rdmactl_audif_start to dmactrl_audif_start

2016-02-10 Thread Srinivas Kandagatla
This patch renames rdmactl_audif_start to dmactrl_audif_start as this is common for both rdma and wrdma. Without this patch the name would be bit misleading to the readers. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-apq8016.c | 2 +- sound/soc/qcom/lpass-platform.c | 2 +-

[PATCH v1 09/14] ASoC: qcom: add mic related i2s control register defines

2016-02-10 Thread Srinivas Kandagatla
This patch adds mic related bitmasks and offsets in the i2c control register. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-lpaif-reg.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/sound/soc/qcom/lpass-lpaif-reg.h b/sound/soc/qcom/lpass-lpaif-reg.h

[PATCH v1 11/14] ASoC: qcom: add generic bit masks for RDMA and WRDMA

2016-02-10 Thread Srinivas Kandagatla
This patch adds generic masks for accessing bits in rdma/wrdma registers. Doing this would simplify the driver and adding capture support would be much simpler. Also there is no point in having same bit masks for bits in both rdma and wrdma registers. This patch also deletes the RDMA specific bit

[PATCH v1 12/14] ASoC: qcom: apq8016: set the correct max register for regmap

2016-02-10 Thread Srinivas Kandagatla
Now that we are ready to access wrdma registers, set the max register and other regmap related configs to use correct values. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-cpu.c | 33 +++-- 1 file changed, 31 insertions(+),

[PATCH v1 13/14] ASoC: qcom: add mic support

2016-02-10 Thread Srinivas Kandagatla
This patch adds mic support to the lpass driver, most of the driver is reused as it is, only the register level access is changed depending on te direction of the stream. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-cpu.c | 113

Re: [PATCH] adv7511: Added mode_fixup function.

2016-02-10 Thread Carlos Palminha
Hi guys, I agree that this should be fixed in the helper library. There are already a lot of drivers that copy/paste code and several helper functions that do not avoid it. I will start sending some patches to fix this type of issue in several places of DRM helper functions. Regards,

[PATCH v1 07/14] ASoC: qcom: ipq806x: add wrdma related register offsets

2016-02-10 Thread Srinivas Kandagatla
This patch adds wrdma related register offsets to the lpass variant data of ipq806x. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-ipq806x.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/qcom/lpass-ipq806x.c

[PATCH v1 14/14] ASoC: qcom: apq8016-sbc: add mic support

2016-02-10 Thread Srinivas Kandagatla
This patch add mic support on apq8016-sbc board aka db410c. Tested it with headset mic. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/apq8016_sbc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/sound/soc/qcom/apq8016_sbc.c

Re: [PATCH v4 2/4] modules: set mod->state to MODULE_STATE_GOING before going notifiers are called

2016-02-10 Thread Miroslav Benes
On Mon, 8 Feb 2016, Jessica Yu wrote: > In load_module(), the going notifiers are called during error handling when > an error occurs after the coming notifiers have already been called. > However, a module's state is still MODULE_STATE_COMING when the going > notifiers are called in the error

[PATCH v1 10/14] ASoC: qcom: add wrdma register definitions

2016-02-10 Thread Srinivas Kandagatla
This patch adds wrdma registers into the lpaif-reg.h. Signed-off-by: Srinivas Kandagatla Acked-by: Kenneth Westfield --- sound/soc/qcom/lpass-lpaif-reg.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/sound/soc/qcom/lpass-lpaif-reg.h b/sound/soc/qcom/lpass-lpaif-reg.h index

powerpc/86xx: Use config fragments approach

2016-02-10 Thread Alessio Igor Bogani
Signed-off-by: Alessio Igor Bogani --- arch/powerpc/Makefile| 10 + arch/powerpc/configs/86xx-32bit.config | 4 + arch/powerpc/configs/86xx-hw.config | 106 + arch/powerpc/configs/86xx-smp.config | 2 +

Re: [PATCH v1 00/14] ASoC: qcom: Add capture support.

2016-02-10 Thread Mark Brown
On Wed, Feb 10, 2016 at 10:16:58AM +, Srinivas Kandagatla wrote: > LPASS IP on QCOM SOC supports both Playback and capture > via I2S, but this feature is missing in existing code. > This patchset aims at adding capture support to lpass IP. > First few patches in this series does cleanup the

[PATCH v1 08/14] ASoC: qcom: apq8016: add wrdma support

2016-02-10 Thread Srinivas Kandagatla
This patch adds wrdma support in lpass-apq8016 by providing the register offsets and adding support in dma channel allocation callback. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/lpass-apq8016.c | 22 +++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 3/3] usb: type-c: UCSI ACPI driver

2016-02-10 Thread Heikki Krogerus
On Tue, Feb 09, 2016 at 10:22:46AM -0800, Greg KH wrote: > On Tue, Feb 09, 2016 at 07:01:23PM +0200, Heikki Krogerus wrote: > > Driver for ACPI enumerated UCSI devices. > > What does this mean? > > What does the driver do? Why would we care? > > > > > Signed-off-by: Heikki Krogerus > > --- >

Re: [PATCH V3 00/10] Introduce ACPI world to GICv3 & ITS irqchip

2016-02-10 Thread Marc Zyngier
Thomasz, On 10/02/16 08:55, Tomasz Nowicki wrote: > On 19.01.2016 14:11, Tomasz Nowicki wrote: >> Patches base on Suravee's ACPI GICv2m support: >> https://lkml.org/lkml/2015/12/10/475 >> >> The following git branch contains submitted patches along with >> the useful patches from the test point

Re: [PATCH v3 3/8] dma-mapping: add dma_{map,unmap}_resource

2016-02-10 Thread Robin Murphy
Hi Niklas, Thanks for doing this, it looks good. Just a couple of minor comments on this and the next patch... On 10/02/16 00:57, Niklas Söderlund wrote: Map/Unmap a device resource from a physical address. If no dma_map_ops method is available the operation is a no-op. Signed-off-by:

Re: [PATCH V3 04/10] irqchip / GICv3: remove gic root node in ITS

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > From: Hanjun Guo > > The gic_root_node defined in ITS driver is not actually > used, and the ITS driver seems will not use it in the > future, so just remove it. > > Signed-off-by: Hanjun Guo Acked-by: Marc Zyngier M. -- Jazz is not dead.

Re: [PATCH v2] scripts/sign-file.c: Add support for signing with a raw signature

2016-02-10 Thread David Woodhouse
On Wed, 2016-02-10 at 10:12 +, David Howells wrote: > Juerg Haefliger wrote: > > > This patch adds support for signing a kernel module with a raw > > detached PKCS#7 signature/message. > > > > The signature is not converted and is simply appended to the module so > > it needs to be in the

Re: [PATCH v4 4/4] livepatch/module: remove livepatch module notifier

2016-02-10 Thread Jiri Kosina
On Wed, 10 Feb 2016, Rusty Russell wrote: > > Remove the livepatch module notifier in favor of directly enabling and > > disabling patches to modules in the module loader. Hard-coding the > > function calls ensures that ftrace_module_enable() is run before > > klp_module_coming() during module

Re: [PATCH v4 3/4] ftrace/module: remove ftrace module notifier

2016-02-10 Thread Miroslav Benes
On Mon, 8 Feb 2016, Jessica Yu wrote: > Remove the ftrace module notifier in favor of directly calling > ftrace_module_enable() and ftrace_release_mod() in the module loader. > Hard-coding the function calls directly in the module loader removes > dependence on the module notifier call chain and

Re: Another proposal for DAX fault locking

2016-02-10 Thread Jan Kara
On Wed 10-02-16 08:19:22, Mel Gorman wrote: > On Tue, Feb 09, 2016 at 07:46:05PM +0100, Cedric Blancher wrote: > > On 9 February 2016 at 18:24, Jan Kara wrote: > > > Hello, > > > > > > I was thinking about current issues with DAX fault locking [1] (data > > > corruption due to racing faults

Re: [PATCH] arm64: use raw_smp_processor_id in stack backtrace dump

2016-02-10 Thread Will Deacon
On Tue, Feb 09, 2016 at 01:26:22PM -0800, Yang Shi wrote: > dump_backtrace may be called in kthread context, which is not bound to a > single > cpu, i.e. khungtaskd, then calling smp_processor_id may trigger the below bug > report: If we're preemptible here, it means that our irq_stack_ptr is

Re: [PATCH V3 05/10] irqchip, gicv3, its: Mark its_init() and its children as __init

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > gicv3_init_bases() is the only caller for its_init(), > also it is a __init function, so mark its_init() as __init too, > then recursively mark the functions called as __init. > > This will help to introduce ITS initialization using ACPI tables as > we

Re: Another proposal for DAX fault locking

2016-02-10 Thread Jan Kara
On Tue 09-02-16 10:18:53, Dan Williams wrote: > On Tue, Feb 9, 2016 at 9:24 AM, Jan Kara wrote: > > Hello, > > > > I was thinking about current issues with DAX fault locking [1] (data > > corruption due to racing faults allocating blocks) and also races which > > currently don't allow us to clear

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Heikki Krogerus
On Tue, Feb 09, 2016 at 10:21:55AM -0800, Greg KH wrote: > On Tue, Feb 09, 2016 at 07:01:22PM +0200, Heikki Krogerus wrote: > > USB Type-C Connector System Software Interface (UCSI) is a > > specification that defines registers and data structures > > used to interface with the USB Type-C

Re: [PATCH v4 4/4] livepatch/module: remove livepatch module notifier

2016-02-10 Thread Miroslav Benes
On Mon, 8 Feb 2016, Jessica Yu wrote: > Remove the livepatch module notifier in favor of directly enabling and > disabling patches to modules in the module loader. Hard-coding the > function calls ensures that ftrace_module_enable() is run before > klp_module_coming() during module load, and that

[PATCH] MAINTAINERS: add msm mailing list to sound/soc/qcom

2016-02-10 Thread Srinivas Kandagatla
This patch adds msm mailing list to sound/soc/qcom so that get_maintainers would return correct list to CC to. Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7f1fa4f..213be2a 100644 --- a/MAINTAINERS +++

Re: [PATCHv4 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC

2016-02-10 Thread Catalin Marinas
On Fri, Feb 05, 2016 at 04:24:47PM -0800, Laura Abbott wrote: > --- a/arch/arm64/mm/mmu.c > +++ b/arch/arm64/mm/mmu.c > @@ -149,6 +149,19 @@ static void split_pud(pud_t *old_pud, pmd_t *pmd) > } while (pmd++, i++, i < PTRS_PER_PMD); > } > > +bool block_mappings_allowed(phys_addr_t

Re: [PATCH 4/5] gpio: ath79: Add support for the interrupt controller

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 8:44 PM, Alban Bedel wrote: > Add support for the interrupt controller using GPIOLIB_IRQCHIP. > Both edges isn't supported by the chip and has to be emulated > by switching the polarity on each interrupt. > > Signed-off-by: Alban Bedel Patch applied (you know this

Re: [PATCH 5/5] gpio: ath79: Update the copyright notice

2016-02-10 Thread Linus Walleij
On Thu, Jan 28, 2016 at 8:44 PM, Alban Bedel wrote: > Add myself to the copyright list and remove the reference to Atheros' > BSP as nothing is left of this code. > > Signed-off-by: Alban Bedel Patch applied. Yours, Linus Walleij

Re: [PATCH 1/3] usb: USB Type-C Connector Class

2016-02-10 Thread Heikki Krogerus
On Tue, Feb 09, 2016 at 10:20:45AM -0800, Greg KH wrote: > On Tue, Feb 09, 2016 at 07:01:21PM +0200, Heikki Krogerus wrote: > > The purpose of this class is to provide unified interface > > for user space to get the status and basic information about > > USB Type-C Connectors in the system,

Re: [PATCH v1 00/14] ASoC: qcom: Add capture support.

2016-02-10 Thread Srinivas Kandagatla
On 10/02/16 10:22, Mark Brown wrote: On Wed, Feb 10, 2016 at 10:16:58AM +, Srinivas Kandagatla wrote: LPASS IP on QCOM SOC supports both Playback and capture via I2S, but this feature is missing in existing code. This patchset aims at adding capture support to lpass IP. First few patches

Re: [PATCHv4 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC

2016-02-10 Thread Ard Biesheuvel
On 10 February 2016 at 11:38, Catalin Marinas wrote: > On Fri, Feb 05, 2016 at 04:24:47PM -0800, Laura Abbott wrote: >> --- a/arch/arm64/mm/mmu.c >> +++ b/arch/arm64/mm/mmu.c >> @@ -149,6 +149,19 @@ static void split_pud(pud_t *old_pud, pmd_t *pmd) >> } while (pmd++, i++, i < PTRS_PER_PMD);

Re: [PATCH] w1: w1_process() is not freezable kthread

2016-02-10 Thread Jiri Kosina
On Sun, 7 Feb 2016, GregKH wrote: > I can't find this patch anywhere in my queue, can you please resend it > to me with the ack so I can apply it? Greg, please find it below. Thanks. From: Jiri Kosina Subject: [PATCH] w1: w1_process() is not freezable kthread From: Jiri Kosina

Re: [PATCH V3 06/10] irqchip, GICv3, ITS: Refator ITS dt init code to prepare for ACPI.

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > Similarly to GICv3 core, we need to extract common code before adding > ACPI support. No functional changes. > > Signed-off-by: Hanjun Guo > Signed-off-by: Tomasz Nowicki > --- > drivers/irqchip/irq-gic-v3-its.c | 82 >

[PATCH v5 RESEND 3/5] driver core: handle -EPROBE_DEFER from bus_type.match()

2016-02-10 Thread Marek Szyprowski
From: Tomeu Vizoso Allow implementations of the match() callback in struct bus_type to return errors and if it's -EPROBE_DEFER then queue the device for deferred probing. This is useful to buses such as AMBA in which devices are registered before their matching information can be retrieved from

[PATCH v5 RESEND 0/5] AMBA: add complete support for power domains

2016-02-10 Thread Marek Szyprowski
(Old thread name: Exynos4210: fix power domain for MDMA1 device) This patchset fixes mysterious boot hang on Exynos 4210 SoCs, when IOMMU is enabled. There is no direct dependency between IOMMU devices and MDMA1. However enabling IOMMU changes the device probe order, what results in LCD0 power

[PATCH v5 RESEND 1/5] drivers: nvdimm: ensure no negative value gets returned on positive match

2016-02-10 Thread Marek Szyprowski
From: Dan Williams This patch ensures that existing bus match callbacks don't return negative values (which might be interpreted as potential errors in the future) in case of positive match. Signed-off-by: Dan Williams Signed-off-by: Marek Szyprowski --- drivers/nvdimm/bus.c | 2 +- 1 file

[PATCH v5 RESEND 5/5] ARM: amba: Properly handle devices with power domains

2016-02-10 Thread Marek Szyprowski
To read pid/cid registers, the probed device need to be properly turned on. When it is inside a power domain, the bus code should ensure that the given power domain is enabled before trying to access device's registers. Signed-off-by: Marek Szyprowski Reviewed-by: Ulf Hansson ---

[PATCH v5 RESEND 4/5] ARM: amba: Move reading of periphid to amba_match()

2016-02-10 Thread Marek Szyprowski
From: Tomeu Vizoso Reading the periphid when the Primecell device is registered means that the apb pclk must be available by then or the device won't be registered at all. By reading the periphid in amba_match() we can return -EPROBE_DEFER if the apb pclk isn't there yet and the device will be

Re: [PATCH v3 6/8] dmaengine: rcar-dmac: add iommu support for slave transfers

2016-02-10 Thread Robin Murphy
On 10/02/16 00:57, Niklas Söderlund wrote: Enable slave transfers to devices behind IPMMU:s by mapping the slave addresses using the dma-mapping API. Signed-off-by: Niklas Söderlund --- drivers/dma/sh/rcar-dmac.c | 57 ++ 1 file changed, 52

[PATCH v5 RESEND 2/5] ARM: sa1111: ensure no negative value gets returned on positive match

2016-02-10 Thread Marek Szyprowski
This patch ensures that existing bus match callbacks don't return negative values (which might be interpreted as potential errors in the future) in case of positive match. Signed-off-by: Marek Szyprowski --- arch/arm/common/sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH] mm,thp: khugepaged: call pte flush at the time of collapse

2016-02-10 Thread Kirill A. Shutemov
On Wed, Feb 10, 2016 at 10:26:15AM +0530, Vineet Gupta wrote: > This showed up on ARC when running LMBench bw_mem tests as > Overlapping TLB Machine Check Exception triggered due to STLB entry > (2M pages) overlapping some NTLB entry (regular 8K page). > > bw_mem 2m touches a large chunk of vaddr

[PATCH] blackfin: define dummy pgprot_writecombine for !MMU

2016-02-10 Thread Sudip Mukherjee
blackfin allmodconfig build fails with the error: ../sound/core/pcm_native.c: In function 'snd_pcm_lib_default_mmap': ../sound/core/pcm_native.c:3386:24: error: implicit declaration of function 'pgprot_writecombine' [-Werror=implicit-function-declaration] area->vm_page_prot =

Re: [PATCH 1/3] usb: USB Type-C Connector Class

2016-02-10 Thread Oliver Neukum
On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > The purpose of this class is to provide unified interface > for user space to get the status and basic information about > USB Type-C Connectors in the system, control data role > swapping, and when USB PD is available, also power role >

Re: [PATCHv4 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC

2016-02-10 Thread Mark Rutland
On Wed, Feb 10, 2016 at 10:38:14AM +, Catalin Marinas wrote: > On Fri, Feb 05, 2016 at 04:24:47PM -0800, Laura Abbott wrote: > > --- a/arch/arm64/mm/mmu.c > > +++ b/arch/arm64/mm/mmu.c > > @@ -149,6 +149,19 @@ static void split_pud(pud_t *old_pud, pmd_t *pmd) > > } while (pmd++, i++, i <

Re: [PATCH v10 3/4] x86, mce: Add __mcsafe_copy()

2016-02-10 Thread Borislav Petkov
On Tue, Feb 09, 2016 at 03:15:57PM -0800, Luck, Tony wrote: > > You can save yourself this MOV here in what is, I'm assuming, the > > general likely case where @src is aligned and do: > > > > /* check for bad alignment of source */ > > testl $7, %esi > > /* already

Re: [PATCH] net: hamradio: baycom_ser_fdx: Replace timeval with timespec64

2016-02-10 Thread Thomas Sailer
Reviewed-by: Thomas Sailer Thanks!

Re: [PATCHv4 2/3] arm64: Add support for ARCH_SUPPORTS_DEBUG_PAGEALLOC

2016-02-10 Thread Catalin Marinas
On Wed, Feb 10, 2016 at 10:38:14AM +, Catalin Marinas wrote: > On Fri, Feb 05, 2016 at 04:24:47PM -0800, Laura Abbott wrote: > > --- a/arch/arm64/mm/mmu.c > > +++ b/arch/arm64/mm/mmu.c > > @@ -149,6 +149,19 @@ static void split_pud(pud_t *old_pud, pmd_t *pmd) > > } while (pmd++, i++, i <

Re: [PATCH 1/3] usb: USB Type-C Connector Class

2016-02-10 Thread Andy Shevchenko
On Wed, Feb 10, 2016 at 12:49 PM, Oliver Neukum wrote: > On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: >> The purpose of this class is to provide unified interface >> for user space to get the status and basic information about >> USB Type-C Connectors in the system, control data role

Re: [PATCH v10 4/4] x86: Create a new synthetic cpu capability for machine check recovery

2016-02-10 Thread Borislav Petkov
On Tue, Feb 09, 2016 at 03:38:57PM -0800, Luck, Tony wrote: > We use the same model number for E5 and E7 series. E.g. 63 for Haswell. > The model_id string seems to be the only way to tell ahead of time > whether you will get a recoverable machine check or die when you > touch uncorrected memory.

Re: [PATCH 1/3] usb: USB Type-C Connector Class

2016-02-10 Thread Heikki Krogerus
On Wed, Feb 10, 2016 at 01:05:27PM +0200, Andy Shevchenko wrote: > On Wed, Feb 10, 2016 at 12:49 PM, Oliver Neukum wrote: > > On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: > >> The purpose of this class is to provide unified interface > >> for user space to get the status and basic

Re: [RFC PATCH v3 3/3] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-02-10 Thread Mark Rutland
On Wed, Feb 10, 2016 at 09:52:36AM +, Gabriele Paoloni wrote: > Hi Mark > > > On Tue, Feb 09, 2016 at 05:34:20PM +, Gabriele Paoloni wrote: > > > From: gabriele paoloni > > > +/* > > > + * Retrieve rc_dbi base and size from _DSD > > > + * Name (_DSD, Package () { > > > + *

Re: [PATCH 1/3] usb: USB Type-C Connector Class

2016-02-10 Thread Andy Shevchenko
On Wed, Feb 10, 2016 at 1:11 PM, Heikki Krogerus wrote: > On Wed, Feb 10, 2016 at 01:05:27PM +0200, Andy Shevchenko wrote: >> On Wed, Feb 10, 2016 at 12:49 PM, Oliver Neukum wrote: >> > On Tue, 2016-02-09 at 19:01 +0200, Heikki Krogerus wrote: >> >> The purpose of this class is to provide

Re: [PATCH net] hv_netvsc: Restore needed_headroom request

2016-02-10 Thread David Miller
From: Vitaly Kuznetsov Date: Wed, 10 Feb 2016 11:05:50 +0100 > I'm sorry for the ping but this is kind of a regression and it would be > nice to have it fixed in 4.5. In case you can't figure it out, I'm several days backlogged and busy conferencing, travelling, etc. so there will be up to

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Oliver Neukum
> +static int ucsi_run_cmd(struct ucsi *ucsi, void *data, size_t size) > +{ > + int status; > + int ret; > + > + dev_vdbg(ucsi->dev, "%s control 0x%llx\n", __func__, > + ucsi->ppm->data->control); > + > + ret = ucsi->ppm->cmd(ucsi->ppm); > + if (ret) > +

Re: [PATCH 1/2] vhost: helpers to enable/disable vring endianness

2016-02-10 Thread Michael S. Tsirkin
On Wed, Jan 13, 2016 at 06:09:41PM +0100, Greg Kurz wrote: > The default use case for vhost is when the host and the vring have the > same endianness (default native endianness). But there are cases where > they differ and vhost should byteswap when accessing the vring: > - the host is big endian

Re: [PATCH 1/3] usb: USB Type-C Connector Class

2016-02-10 Thread Heikki Krogerus
Hi Oliver, > > +static ssize_t alternate_mode_store(struct device *dev, > > + struct device_attribute *attr, > > + const char *buf, size_t size) > > +{ > > + struct typec_port *port = to_typec_port(dev); > > + struct typec_alt_mode

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-10 Thread Juri Lelli
Hi, I've updated this patch since, with a bit more testing and talking with Luca in private, I realized that the previous version didn't manage switching back and forth from SCHED_DEADLINE correctly. Thanks a lot Luca for your feedback (even if not visible on the list). I updated the testing

[PATCH v2 0/8] arm64: dts: apq8016 dt patches (Set2).

2016-02-10 Thread Srinivas Kandagatla
Hi Andy, Here are few more dt patches (set2) which enables usb and lpass, with some fixes. I have tested these patches with few changes to defconfig on DB410C + a usb phy fix. Thanks, srini Changes since v1: - moved usb usb2513 and usb_id nodes out of soc as suggested by Stephen Boyd. -

[PATCH v2 3/8] arm64: dts: qcom: add audio pinctrls

2016-02-10 Thread Srinivas Kandagatla
This patch adds pinctrls required for digital and analog audio via lpass. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916-pins.dtsi | 216 + 1 file changed, 216 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-pins.dtsi

[PATCH v2 4/8] arm64: dts: qcom: add lpass node

2016-02-10 Thread Srinivas Kandagatla
This patch adds lpass node to the SOC. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index

[PATCH v2 2/8] arm64: dts: qcom: apq8016-sbc: add usb support

2016-02-10 Thread Srinivas Kandagatla
Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi | 15 ++ arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 35 ++ 2 files changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc-soc-pins.dtsi

[PATCH v2 1/8] arm64: dts: qcom: add manual pullup setting to otg.

2016-02-10 Thread Srinivas Kandagatla
This patch adds manual pull up setting for usb otg indicating that the vbus is vbus is not routed to USB controller/phy therefore enables pull-up explicitly before starting controller. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 1 + 1 file changed, 1

[PATCH v2 8/8] arm64: dts: qcom: Fix MPP's function used for LED control

2016-02-10 Thread Srinivas Kandagatla
From: "Ivan T. Ivanov" The qcom-spmi-mpp driver is now using string "digital" to denote old "normal" functionality. Update DTS file. Also update the powersource. Signed-off-by: Ivan T. Ivanov --- arch/arm64/boot/dts/qcom/apq8016-sbc-pmic-pins.dtsi | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v2 5/8] arm64: dts: qcom: apq8016-sbc: enable lpass on DB410c

2016-02-10 Thread Srinivas Kandagatla
This patch enables the lpass on DB410C. LPASS is used as cpu dai for both analog and digital audio. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

[PATCH v2 7/8] arm64: dts: qcom: apq8016-sbc: enable bam dma node.

2016-02-10 Thread Srinivas Kandagatla
This patch enables bam dma node, dma is used for both tx and rx on spi and on high speed serial. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

[PATCH v2 6/8] arm64: dts: qcom: fix usb digital voltage levels

2016-02-10 Thread Srinivas Kandagatla
This patch updates the digital voltage levels from corner values to microvolts as we are going to use s1 regulator directly for vddcx instead of s1_corner. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

RE: [PATCH v3 net-next] net: Implement fast csum_partial for x86_64

2016-02-10 Thread David Laight
From: George Spelvin > Sent: 10 February 2016 00:54 > To: David Laight; linux-kernel@vger.kernel.org; li...@horizon.com; > net...@vger.kernel.org; > David Laight wrote: > > Since adcx and adox must execute in parallel I clearly need to re-remember > > how dependencies against the flags register

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-10 Thread luca abeni
Hi all, On Wed, 10 Feb 2016 11:32:58 + Juri Lelli wrote: [...] > @@ -2445,14 +2445,18 @@ static int dl_overflow(struct task_struct *p, > int policy, if (dl_policy(policy) && !task_has_dl_policy(p) && > !__dl_overflow(dl_b, cpus, 0, new_bw)) { > __dl_add(dl_b, new_bw);

Re: [PATCH V3 08/10] irqchip, gicv3, its: Probe ITS in the ACPI way.

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > Since we prepared ITS for being initialized different that via DT, > it is now possible to parse MADT and pass mandatory info to > firmware-agnostic ITS init call. > > Note that we are using here IORT lib to keep track of allocated > domain handler which

Re: [PATCH 2/2] vhost: disentangle vring endianness stuff from the core code

2016-02-10 Thread Michael S. Tsirkin
On Wed, Jan 13, 2016 at 06:09:47PM +0100, Greg Kurz wrote: > The way vring endianness is being handled currently obfuscates > the code in vhost_init_used(). > > This patch tries to fix that by doing the following: > - move the the code that adjusts endianness to a dedicated helper > - export this

Re: [PATCH 13/23] perf hists: Support filtering in hierarchy mode

2016-02-10 Thread Jiri Olsa
On Fri, Feb 05, 2016 at 10:01:45PM +0900, Namhyung Kim wrote: SNIP > + parent = parent->parent_he; > + } > + } > + > if (h->filtered) > return; > > @@ -1592,28 +1613,122 @@ static void hists__filter_by_type(struct hists > *hists, int

Re: [PATCH v1 00/14] ASoC: qcom: Add capture support.

2016-02-10 Thread Mark Brown
On Wed, Feb 10, 2016 at 10:39:41AM +, Srinivas Kandagatla wrote: > I can repost the series with change to version if that's Ok with you. No! That's completely pointless. But if you're going to include versions please pay attention to them, people putting in obviously wrong ones is usually

Re: [PATCH] arm64: use raw_smp_processor_id in stack backtrace dump

2016-02-10 Thread James Morse
On 10/02/16 10:29, Will Deacon wrote: > On Tue, Feb 09, 2016 at 01:26:22PM -0800, Yang Shi wrote: >> dump_backtrace may be called in kthread context, which is not bound to a >> single >> cpu, i.e. khungtaskd, then calling smp_processor_id may trigger the below bug >> report: > > If we're

Re: [RFC PATCH] mmc: sdhci-of-at91: don't put device in suspend after probe

2016-02-10 Thread Adrian Hunter
On 10/02/16 11:58, Ludovic Desroches wrote: > By putting the device in suspend at the end of the probe, it is > impossible to wake up on non software event such as card > insertion/removal. > > Signed-off-by: Ludovic Desroches > --- > > Hi, > > Since I had no feedback on this topic: >

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Andy Shevchenko
On Tue, Feb 9, 2016 at 7:01 PM, Heikki Krogerus wrote: > USB Type-C Connector System Software Interface (UCSI) is a > specification that defines registers and data structures > used to interface with the USB Type-C connectors on a system. > > The specification is public and available at: >

Re: [PATCH 1/2] sched/deadline: add per rq tracking of admitted bandwidth

2016-02-10 Thread Juri Lelli
On 10/02/16 12:43, Luca Abeni wrote: > Hi all, > Hi Luca, > On Wed, 10 Feb 2016 11:32:58 + > Juri Lelli wrote: > [...] > > @@ -2445,14 +2445,18 @@ static int dl_overflow(struct task_struct *p, > > int policy, if (dl_policy(policy) && !task_has_dl_policy(p) && > >

[PATCH] ASoC: arizona: fref must be limited in pseudo-fractional mode

2016-02-10 Thread Richard Fitzgerald
When the FLL is in pseudo-fractional mode there is an additional limit on fref based on the fratio, to prevent aliasing around the Nyquist frequency. If fref exceeds this limit the refclk divider must be increased and the calculation tried again until a suitable combination of fref and fratio is

Your urgent letter is needed immediately

2016-02-10 Thread Marym Birgoren sukru
-- My Dearest, I want you to read this letter very carefully and i must apologize for bringing this massage to your box without any formal introduction due to the urgency confidential of this issue. I am happy to know you. But Almighty Lord knows you better and know why he directed me to you at

Re: [PATCH V3 10/10] acpi, gicv3, its: Use MADT ITS subtable to do PCI/MSI domain initialization.

2016-02-10 Thread Marc Zyngier
On 19/01/16 13:11, Tomasz Nowicki wrote: > After refactoring DT code, we let ACPI to build ITS PCI MSI domain > and do requester ID to device ID translation using IORT table. > > We have now full PCI MSI domain stack, thus we can enable ITS initialization > from GICv3 core driver for ACPI

Re: [PATCH 2/3] usb: type-c: USB Type-C Connector System Software Interface

2016-02-10 Thread Heikki Krogerus
On Wed, Feb 10, 2016 at 12:19:53PM +0100, Oliver Neukum wrote: > > > +static int ucsi_run_cmd(struct ucsi *ucsi, void *data, size_t size) > > +{ > > + int status; > > + int ret; > > + > > + dev_vdbg(ucsi->dev, "%s control 0x%llx\n", __func__, > > +ucsi->ppm->data->control); > >

[PATCH 1/1] af_packet: Raw socket destruction warning fix

2016-02-10 Thread Maninder Singh
This Patch fixes below warning:- WARNING: at net/packet/af_packet.c:xxx packet_sock_destruct There is following race between packet_rcv and packet_close which keeps unfree packet in receive queue. CPU 1 CPU2 packet_rcv

Re: [tip:x86/mm] x86/mm: Add INVPCID helpers

2016-02-10 Thread Borislav Petkov
On Tue, Feb 09, 2016 at 08:07:31AM -0800, tip-bot for Andy Lutomirski wrote: > Commit-ID: 060a402a1ddb551455ee410de2eadd3349f2801b > Gitweb: http://git.kernel.org/tip/060a402a1ddb551455ee410de2eadd3349f2801b > Author: Andy Lutomirski > AuthorDate: Fri, 29 Jan 2016 11:42:57 -0800 >

Re: [PATCH] arm64: use raw_smp_processor_id in stack backtrace dump

2016-02-10 Thread Will Deacon
On Wed, Feb 10, 2016 at 11:52:31AM +, James Morse wrote: > On 10/02/16 10:29, Will Deacon wrote: > > On Tue, Feb 09, 2016 at 01:26:22PM -0800, Yang Shi wrote: > >> dump_backtrace may be called in kthread context, which is not bound to a > >> single > >> cpu, i.e. khungtaskd, then calling

Re: [PATCH 13/23] perf hists: Support filtering in hierarchy mode

2016-02-10 Thread Jiri Olsa
On Fri, Feb 05, 2016 at 10:01:45PM +0900, Namhyung Kim wrote: SNIP > + /* force to go to sibling in the hierarchy */ > + saved_unfolded = h->unfolded; > + h->unfolded = false; > + > + nd =

Re: [PATCH v3 2/8] dma-mapping: add {map,unmap}_resource to dma_map_ops

2016-02-10 Thread Sergei Shtylyov
Hello. On 2/10/2016 3:57 AM, Niklas Söderlund wrote: Add methods to handle mapping of device resources from a physical address. This is needed for example to map be able to map MMIO FIFO ^^^ not needed registers to a IOMMU. Signed-off-by: Niklas

Re: [PATCH 1/2] vhost: helpers to enable/disable vring endianness

2016-02-10 Thread Greg Kurz
On Wed, 10 Feb 2016 13:21:22 +0200 "Michael S. Tsirkin" wrote: > On Wed, Jan 13, 2016 at 06:09:41PM +0100, Greg Kurz wrote: > > The default use case for vhost is when the host and the vring have the > > same endianness (default native endianness). But there are cases where > > they differ and

Re: [PATCH 14/23] perf ui/stdio: Implement hierarchy output mode

2016-02-10 Thread Jiri Olsa
On Fri, Feb 05, 2016 at 10:01:46PM +0900, Namhyung Kim wrote: SNIP > + printed += fprintf(fp, "%s\n", buf); > + > + if (symbol_conf.use_callchain && he->leaf) { > + u64 total = hists__total_period(hists); > + > + printed += hist_entry_callchain__fprintf(he, total,

Re: [PATCH v4 1/4] modules: split part of complete_formation() into prepare_coming_module()

2016-02-10 Thread Petr Mladek
On Mon 2016-02-08 23:50:21, Jessica Yu wrote: > Put all actions that are performed after module->state is set to > MODULE_STATE_COMING in complete_formation() into a separate function > prepare_coming_module(). This prepares for the removal of ftrace and > livepatch module coming notifiers and

Re: [PATCH] adv7511: Added mode_fixup function.

2016-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2016 at 10:19:21AM +, Carlos Palminha wrote: > Hi guys, > > I agree that this should be fixed in the helper library. > There are already a lot of drivers that copy/paste code and several helper > functions that do not avoid it. > > I will start sending some patches to fix

RE: [PATCH v4] iio: adc: Add TI ADS1015 ADC driver support

2016-02-10 Thread Sricharan
Hi, > -Original Message- > From: linux-arm-msm-ow...@vger.kernel.org [mailto:linux-arm-msm- > ow...@vger.kernel.org] On Behalf Of Michael Welling > Sent: Tuesday, February 09, 2016 12:47 AM > To: Sricharan > Cc: 'Wolfram Sang'; 'Daniel Baluta'; 'Jonathan Cameron'; 'Hartmut Knaack'; >

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