[PATCH v2] drm: msm: Add ASoC generic hdmi audio codec support.

2016-06-10 Thread Srinivas Kandagatla
This patch adds support to generic audio codec via ASoC hdmi-codec infrastucture which is merged recently. Signed-off-by: Srinivas Kandagatla --- Changes since v1: -Fixed typo for 44.1Kz case spotted by Jyri Sarha drivers/gpu/drm/msm/Kconfig | 1 + drivers/gpu/drm/msm/hdmi/hdmi.c

[tip:x86/urgent] x86/ioapic: Fix wrong pointers in ioapic_setup_resources()

2016-06-10 Thread tip-bot for Rui Wang
Commit-ID: 0e1c672041819474181a41ce07e4734750789170 Gitweb: http://git.kernel.org/tip/0e1c672041819474181a41ce07e4734750789170 Author: Rui Wang AuthorDate: Wed, 8 Jun 2016 14:59:52 +0800 Committer: Thomas Gleixner CommitDate: Fri, 10 Jun 2016 11:41:47 +0200 x86/ioapic: Fix wrong pointe

[PATCH 4/4] Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw()

2016-06-10 Thread Vitaly Kuznetsov
With wrap around mappings in place we can always provide drivers with direct links to packets on the ring buffer, even when they wrap around. Do the required updates to get_next_pkt_raw()/put_pkt_raw() Signed-off-by: Vitaly Kuznetsov --- include/linux/hyperv.h | 32 +++---

[PATCH 3/4] Drivers: hv: ring_buffer: use wrap around mappings in hv_copy{from,to}_ringbuffer()

2016-06-10 Thread Vitaly Kuznetsov
With wrap around mappings for ring buffers we can always use a single memcpy() to do the job. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/ring_buffer.c | 24 +++- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/drivers/hv/ring_buffer.c b/drivers/hv/ring_buff

[PATCH 0/4] Drivers: hv: ring_buffer: make in-place consumption always possible

2016-06-10 Thread Vitaly Kuznetsov
K. Y., I'd like to accompany your netvsc performance improvement work by making in-place consumption of VMBus packets always possible. Currently we forbid it when a packet 'wraps around' the ring so we can't provide a single pointer to it. The idea if this series is dead simple: let's make a sing

[PATCH 2/4] Drivers: hv: ring_buffer: wrap around mappings for ring buffers

2016-06-10 Thread Vitaly Kuznetsov
Make it possible to always use a single memcpy() or to provide a direct link to a packet on the ring buffer by creating virtual mapping for two copies of the ring buffer with vmap(). Utilize currently empty hv_ringbuffer_cleanup() to do the unmap. While on it, replace sizeof(struct hv_ring_buffer)

[PATCH 1/4] Drivers: hv: cleanup vmbus_open() for wrap around mappings

2016-06-10 Thread Vitaly Kuznetsov
In preparation for doing wrap around mappings for ring buffers cleanup vmbus_open() function: - check that ring sizes are PAGE_SIZE aligned (they are for all in-kernel drivers now); - kfree(open_info) on error only after we kzalloc() it (not an issue as it is valid to call kfree(NULL); - rename

Re: [PATCH] arm64: Handle el1 synchronous instruction aborts cleanly

2016-06-10 Thread Mark Rutland
On Thu, Jun 09, 2016 at 06:42:08PM -0700, Laura Abbott wrote: > Executing from a non-executable area gives an ugly message: > > lkdtm: Performing direct entry EXEC_RODATA > lkdtm: attempting ok execution at 084c0e08 > lkdtm: attempting bad execution at 08880700 > Bad mode in Synchr

[tip:x86/apic] x86/apic: Fix misspelled APIC

2016-06-10 Thread tip-bot for Claudio Fontana
Commit-ID: 5da5b3a6fb7ebc50c2dbdfe01b140e395c792698 Gitweb: http://git.kernel.org/tip/5da5b3a6fb7ebc50c2dbdfe01b140e395c792698 Author: Claudio Fontana AuthorDate: Thu, 9 Jun 2016 12:31:58 +0200 Committer: Thomas Gleixner CommitDate: Fri, 10 Jun 2016 11:43:53 +0200 x86/apic: Fix misspel

[tip:x86/apic] x86/ioapic: Simplify ioapic_setup_resources()

2016-06-10 Thread tip-bot for Rui Wang
Commit-ID: 0286d538082b854b4e1f05b29c23556fa344e145 Gitweb: http://git.kernel.org/tip/0286d538082b854b4e1f05b29c23556fa344e145 Author: Rui Wang AuthorDate: Wed, 8 Jun 2016 14:59:53 +0800 Committer: Thomas Gleixner CommitDate: Fri, 10 Jun 2016 11:43:52 +0200 x86/ioapic: Simplify ioapic_

Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()

2016-06-10 Thread Sergey Senozhatsky
Hello, forked from http://marc.info/?l=linux-mm&m=146553910928716&w=2 new_slab()->BUG->die()->exit_signals() can be called from atomic context: local IRQs disabled in slab_alloc(). [ 429.232059] BUG: sleeping function called from invalid context at include/linux/sched.h:2960 [ 429.232719] in_

Re: [RFC PATCH 01/15] clock: exynos: fixup endian in pll clk

2016-06-10 Thread Sylwester Nawrocki
On 06/08/2016 08:30 PM, Matthew Leach wrote: > Fix the clk endian access code to deal with kernels built for big endian > operation. > > Signed-off-by: Matthew Leach We should have gotten rid of those __raw_{readl, writel} calls earlier for other reasons too. Thanks for the fix, patch applied!

Re: [RFC PATCH 03/15] clk: samsung: exynos4: fixup reg access on be

2016-06-10 Thread Sylwester Nawrocki
On 06/08/2016 08:30 PM, Matthew Leach wrote: > Use the byte-order aware big endian accessors, allowing for kernels > running under big-endian. > > Signed-off-by: Matthew Leach Patch applied, thanks.

Re: [PATCH v2 4/4] dynamic_debug: add jump label support

2016-06-10 Thread Arnd Bergmann
On Friday, May 20, 2016 5:16:36 PM CEST Jason Baron wrote: > Although dynamic debug is often only used for debug builds, sometimes its > enabled for production builds as well. Minimize its impact by using jump > labels. This reduces the text section by 7000+ bytes in the kernel image > below. It do

Re: [PATCH] usb: dwc3: fix runtime PM in error path

2016-06-10 Thread Roger Quadros
On 10/06/16 12:16, Felipe Balbi wrote: > > Hi, > > Roger Quadros writes: >> If there is a failure after pm_runtime_enable/get_sync() >> we need to call pm_runtime_disable/put_sync(). >> >> Otherwise it will lead to an unbalanced pm_runtime_enable() on the >> subsequent probe if the earlier probe

Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()

2016-06-10 Thread mhocko
On 2016-06-10 11:50, Sergey Senozhatsky wrote: Hello, forked from http://marc.info/?l=linux-mm&m=146553910928716&w=2 new_slab()->BUG->die()->exit_signals() can be called from atomic context: local IRQs disabled in slab_alloc(). I have sent a patch to drop the BUG() from that path today. It is

Re: [PATCH v2 4/9] arm64: Add platform selection for BCM2835.

2016-06-10 Thread Catalin Marinas
On Thu, Jun 09, 2016 at 05:21:35PM -0700, Eric Anholt wrote: > Catalin Marinas writes: > > On Sat, Jun 04, 2016 at 12:55:15PM -0700, Eric Anholt wrote: > >> Catalin Marinas writes: > >> > On Fri, Jun 03, 2016 at 08:18:23AM +0200, Gerd Hoffmann wrote: > >> >> + This SoC is used in the Rasp

Re: [linux-sunxi] PATH[1/3] ARM: axp20x_usb_power.c add device tree configuration options for REG 30H: VBUS-IPSOUT

2016-06-10 Thread Hans de Goede
Hi, On 17-05-16 19:41, Ene Alexandru wrote: The AXP20X chips have a configuration register "REG 30H: VBUS-IPSOUT Power Path Management" that provide USB power supply protection. The current axp20x_usb_power.c provides support only for reading those values. From the datasheet: In order not to a

[PATCH v10 5/5] usb: dwc3: core: cleanup IRQ resources

2016-06-10 Thread Roger Quadros
Implementations might use different IRQs for host, gadget so use named interrupt resources to allow device tree to specify the interrupts. Following are the interrupt names Peripheral Interrupt - peripheral HOST Interrupt - host Maintain backward compatibility for a single named interrupt ("dwc3

Re: [mmots-2016-06-09-16-49] sleeping function called from slab_alloc()

2016-06-10 Thread Sergey Senozhatsky
On (06/10/16 11:55), mhocko wrote: > On 2016-06-10 11:50, Sergey Senozhatsky wrote: > > Hello, > > > > forked from http://marc.info/?l=linux-mm&m=146553910928716&w=2 > > > > new_slab()->BUG->die()->exit_signals() can be called from atomic > > context: local IRQs disabled in slab_alloc(). > > I h

RE: [RESEND PATCH v2 1/2] device property: Add function to search for named child of device

2016-06-10 Thread Opensource [Adam Thomson]
On 10 June 2016 00:11, Rafael J. Wysocki wrote: > For some reason that didn't make it into the linux-acpi list, or at > least I can't see it there. That's strange. I'm not a subscriber to that mailing list, but I assume that shouldn't matter here? Strangely though the only mailing list these seem

Re: [PATCHv5 0/8] 2c: Relax mandatory I2C ID table passing

2016-06-10 Thread Kieran Bingham
Hi Wolfram, On 09/06/16 21:04, Wolfram Sang wrote: > On Thu, Jun 09, 2016 at 03:45:52PM -0400, Javier Martinez Canillas wrote: >> Hello Wolfram, >> >> On 06/09/2016 03:15 PM, Wolfram Sang wrote: >>> Hi Kieran, >>> * Device Tree I tested that the device would still register by adding a

Re: [PATCH] x86/microcode/intel: Quieten down microcode updates on large systems

2016-06-10 Thread Borislav Petkov
On Thu, Jun 09, 2016 at 06:41:41AM -0700, Andi Kleen wrote: > From: Andi Kleen > > On large systems the microcode driver is very noisy, because it prints > a line for each CPU. The lines are redundant because because usually > all CPUs are updated to the same microcode revision. > > All other su

Re: [PATCH] usb: dwc3: fix runtime PM in error path

2016-06-10 Thread Felipe Balbi
Roger Quadros writes: > [ Unknown signature status ] > On 10/06/16 12:16, Felipe Balbi wrote: >> >> Hi, >> >> Roger Quadros writes: >>> If there is a failure after pm_runtime_enable/get_sync() >>> we need to call pm_runtime_disable/put_sync(). >>> >>> Otherwise it will lead to an unbalanced pm

Re: [PATCH] Revert "ARM: cns3xxx: pci: avoid potential stack overflow"

2016-06-10 Thread Krzysztof Hałasa
Arnd Bergmann writes: > Before that, we were always setting both mrrs and mps. As we don't know > who uses PCIE_BUS_PEER2PEER, maybe another option would be to add yet > another pcie_bus_config value for this particular quirk? It would be a safe approach. Or, maybe another non-pcie_bus_config th

Re: [PATCH] mm, slaub: Add __GFP_ATOMIC to the GFP reclaim mask

2016-06-10 Thread Vlastimil Babka
On 06/10/2016 11:38 AM, Mel Gorman wrote: > Commit d0164adc89f6 ("mm, page_alloc: distinguish between being unable to > sleep, unwilling to sleep and avoiding waking kswapd") modified __GFP_WAIT > to explicitly identify the difference between atomic callers and those that > were unwilling to sleep.

[PATCH v4 08/44] c6x: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski [for c6x] Acked-by: Mark Salter --- arch/c6x/include/asm/dma-mapping.h | 4 ++-- arch/c6x/kernel/dma.c | 9 - arch/c6x/mm/dma-coherent.c

[PATCH v4 06/44] avr32: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski [for avr32] Acked-by: Hans-Christian Noren Egtvedt --- arch/avr32/mm/dma-coherent.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arc

[PATCH v4 10/44] frv: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/frv/mb93090-mb00/pci-dma-nommu.c | 8 arch/frv/mb93090-mb00/pci-dma.c | 9 - 2 files changed, 8 insertions(+), 9 deletions(-) diff

[PATCH v4 44/44] dma-mapping: Document the DMA attributes next to the declaration

2016-06-10 Thread Krzysztof Kozlowski
Copy documentation abstract about each DMA attribute from Documentation/DMA-attributes.txt to the place with declaration. Suggested-by: Christoph Hellwig Signed-off-by: Krzysztof Kozlowski --- include/linux/dma-mapping.h | 33 + 1 file changed, 33 insertions(+)

[PATCH v4 32/44] mn10300: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/mn10300/mm/dma-alloc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/mn10300/mm/dma-alloc.c b/arch/mn10300/mm/dma-alloc.

[PATCH v4 40/44] tile: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/tile/kernel/pci-dma.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/tile/kernel/pci-dma.c b/arch/

Re: [RFC PATCH 05/15] tty: serial: samsung: fixup accessors for endian

2016-06-10 Thread Ben Dooks
On 08/06/16 19:31, Matthew Leach wrote: > Fix the serial access code to deal with kernels built for big endian > operation. > > Signed-off-by: Matthew Leach > --- > CC: Greg Kroah-Hartman > CC: Jiri Slaby > CC: linux-ser...@vger.kernel.org > CC: linux-kernel@vger.kernel.org > --- > drivers/tty

[PATCH v4 37/44] s390: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/s390/include/asm/dma-mapping.h | 1 - arch/s390/pci/pci_dma.c | 23 --- 2 files changed, 12 insertions(+), 12 deletions(-)

[PATCH v4 15/44] drm/rockship: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 17 +++-- drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 2 +- 2 files changed, 8 insertions(+), 11 de

[PATCH v4 25/44] h8300: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/h8300/kernel/dma.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/h8300/kernel/dma.c b/arch/h8300/kernel/dma.c index eeb1

[PATCH v4 21/44] powerpc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/powerpc/include/asm/dma-mapping.h| 7 +++ arch/powerpc/include/asm/iommu.h | 10 +- arch/powerpc/kernel/dma-iommu.c | 1

[PATCH v4 42/44] xtensa: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/xtensa/kernel/pci-dma.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/xtensa/kernel/pci-dma.c b/arch/xtensa/kernel/

[PATCH v4 26/44] hexagon: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/hexagon/include/asm/dma-mapping.h | 1 - arch/hexagon/kernel/dma.c | 8 2 files changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH v4 24/44] iommu: intel: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/iommu/intel-iommu.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/iommu/intel-iommu.c b/drivers/iommu/intel-i

[PATCH v4 29/44] metag: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/metag/kernel/dma.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/metag/kernel/dma.c b/arch/metag/kernel/dma.c ind

[PATCH v4 13/44] drm/msm: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/msm/msm_drv.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/

[PATCH v4 39/44] sparc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/sparc/kernel/iommu.c | 12 ++-- arch/sparc/kernel/ioport.c| 24 arch/sparc/kernel/pci_sun4v.c | 12 ++-- 3

[PATCH v4 38/44] sh: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/sh/include/asm/dma-mapping.h | 4 ++-- arch/sh/kernel/dma-nommu.c| 4 ++-- arch/sh/mm/consistent.c | 4 ++-- 3 files changed, 6 insertion

[PATCH v4 35/44] parisc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/parisc/kernel/pci-dma.c | 16 drivers/parisc/ccio-dma.c| 16 drivers/parisc/sba_iommu.c | 16 3 fi

[PATCH v4 41/44] unicore32: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/unicore32/mm/dma-swiotlb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/unicore32/mm/dma-swiotlb.c b/arch/unicore32/mm/dma-

[PATCH 0/3] ASoC: da7219: Add ACPI initialisation support to driver

2016-06-10 Thread Adam Thomson
This patch set updates the driver to use generic device property & fwnode related functions to read in either DT and ACPI data for driver initialisation. Changes are based on v4.6-rc6 Linux Kernel. Adam Thomson (3): ASoC: da7219: Convert driver to use generic device/fwnode functions ASoC: da7

[PATCH v4 34/44] openrisc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/openrisc/kernel/dma.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/openrisc/kernel/dma.c b/arch/openrisc/kern

[PATCH 3/3] ASoC: da7219: Add initial ACPI id for device

2016-06-10 Thread Adam Thomson
This adds "DLGS7219" ACPI id for the codec. Signed-off-by: Adam Thomson Tested-by: Sathyanarayana Nujella --- sound/soc/codecs/da7219.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/codecs/da7219.c b/sound/soc/codecs/da7219.c index bc32322..da268b8 100644 --- a/sound/soc/

[PATCH 2/3] ASoC: da7219: Add ACPI parsing support

2016-06-10 Thread Adam Thomson
This update allows for parsing of ACPI, in addition to existing DT support. Signed-off-by: Adam Thomson Tested-by: Sathyanarayana Nujella --- sound/soc/codecs/da7219-aad.c | 32 sound/soc/codecs/da7219.c | 7 --- 2 files changed, 32 insertions(+), 7 del

[PATCH 1/3] ASoC: da7219: Convert driver to use generic device/fwnode functions

2016-06-10 Thread Adam Thomson
This change converts the driver from using the of_* functions to using the device_* and fwnode_* functions for accssing DT related data. This is in preparation for updates to support ACPI based initialisation. Signed-off-by: Adam Thomson Tested-by: Sathyanarayana Nujella --- sound/soc/codecs/da

[PATCH v4 36/44] misc: mic: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/misc/mic/host/mic_boot.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/misc/mic/host/mic_boot.c b/d

[PATCH v4 33/44] nios2: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/nios2/mm/dma-mapping.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/nios2/mm/dma-mapping.c b/arch/nios2/mm/dma-map

[PATCH v4 31/44] mips: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/mips/cavium-octeon/dma-octeon.c | 8 arch/mips/loongson64/common/dma-swiotlb.c | 10 +- arch/mips/mm/dma-default.c|

[PATCH v4 30/44] microblaze: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/microblaze/include/asm/dma-mapping.h | 1 - arch/microblaze/kernel/dma.c | 12 ++-- 2 files changed, 6 insertions(+), 7 deletions(-)

[PATCH v4 28/44] m68k: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski [for m68k] Acked-by: Geert Uytterhoeven --- arch/m68k/kernel/dma.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/m68k/kerne

Re: x86: bad pte in pageattr_test

2016-06-10 Thread Dmitry Vyukov
On Thu, Jun 9, 2016 at 11:34 PM, Thomas Gleixner wrote: > On Tue, 7 Jun 2016, Dmitry Vyukov wrote: >> >> I've got the following WARNING while running syzkaller fuzzer: >> >> >> >> CPA 880054118000: bad pte after revert 800054118363 >> >> > CPA 88005999: bad pte 800059990060 > >

RE: [PATCH 0/3] ASoC: da7219: Add ACPI initialisation support to driver

2016-06-10 Thread Opensource [Adam Thomson]
On 10 June 2016 11:16, Adam Thomson wrote: > This patch set updates the driver to use generic device property & fwnode > related functions to read in either DT and ACPI data for driver > initialisation. > > Changes are based on v4.6-rc6 Linux Kernel. > > Adam Thomson (3): > ASoC: da7219: Conv

Re: [PATCH v10 08/14] usb: otg: add OTG/dual-role core

2016-06-10 Thread Roger Quadros
Hi, On 09/06/16 15:34, Sergei Shtylyov wrote: > On 6/9/2016 10:53 AM, Roger Quadros wrote: > >> It provides APIs for the following tasks >> >> - Registering an OTG/dual-role capable controller >> - Registering Host and Gadget controllers to OTG core >> - Providing inputs to and kicking the OTG st

[PATCH v4 27/44] ia64: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/ia64/hp/common/sba_iommu.c | 22 +++--- arch/ia64/include/asm/machvec.h | 1 - arch/ia64/kernel/pci-swiotlb.c | 4 ++-- arch/ia64/sn/pci

Re: [PATCH 7/7] ARM: dts: n900: enable lirc-rx51 driver

2016-06-10 Thread Tony Lindgren
* Ivaylo Dimitrov [160507 08:24]: > Add the needed DT data to enable IR TX driver Applying this patch into omap-for-v4.8/dt thanks. Regards, Tony

[PATCH v4 23/44] x86: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/x86/include/asm/dma-mapping.h | 5 ++--- arch/x86/include/asm/swiotlb.h | 4 ++-- arch/x86/include/asm/xen/page-coherent.h | 9 -

[PATCH v4 19/44] xen: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski [for xen] Acked-by: David Vrabel --- drivers/xen/swiotlb-xen.c | 14 +++--- include/xen/swiotlb-xen.h | 12 ++-- 2 files changed, 13 insertions(+),

[PATCH v4 22/44] video: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 12 ++-- drivers/video/fbdev/omap2/omapfb/omapfb.h | 3 +-- 2 files changed, 7 insertions(+), 8 d

[PATCH v4 17/44] iommu: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/iommu/amd_iommu.c | 12 ++-- drivers/iommu/dma-iommu.c | 6 +++--- include/linux/dma-iommu.h | 6 +++--- 3 files changed, 12 insertions(+), 12

[PATCH v4 16/44] infiniband: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/infiniband/core/umem.c | 7 +++ include/rdma/ib_verbs.h| 8 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers/

[PATCH v4 18/44] [media] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/media/platform/sti/bdisp/bdisp-hw.c| 26 +++--- drivers/media/v4l2-core/videobuf2-dma-contig.c | 30 +++--- driv

Re: [PATCH 5/7] ARM: OMAP: dmtimer: Do not call PM runtime functions when not needed.

2016-06-10 Thread Tony Lindgren
* Ivaylo Dimitrov [160509 13:52]: > Hi, > > On 9.05.2016 22:36, Tony Lindgren wrote: > > * Ivaylo Dimitrov [160507 08:24]: > > > once omap_dm_timer_start() is called, which calls omap_dm_timer_enable() > > > and thus pm_runtime_get_sync(), it doesn't make sense to call PM runtime > > > function

[PATCH v4 14/44] drm/nouveau: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/gk20a.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nv

Re: [PATCH 1/2] max8903: adds support for initiation via device tree.

2016-06-10 Thread Krzysztof Kozlowski
On 06/10/2016 08:13 AM, Krzysztof Kozlowski wrote: > On 06/10/2016 07:35 AM, Chris Lapa wrote: >> Hi Krzysztof, >> >> Thanks for the review. I'm working on those changes now. >> >> However just so I know for the future. Why no error checking on >> devm_kzalloc() result? Looking through the source f

[PATCH v4 20/44] swiotlb: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- include/linux/swiotlb.h | 10 +- lib/swiotlb.c | 13 +++-- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/include/li

[PATCH v4 09/44] cris: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski [for cris] Acked-by: Jesper Nilsson --- arch/cris/arch-v32/drivers/pci/dma.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/cris

[PATCH v4 12/44] drm/mediatek: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/mediatek/mtk_drm_gem.c | 13 ++--- drivers/gpu/drm/mediatek/mtk_drm_gem.h | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) dif

[PATCH v4 11/44] drm/exynos: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 2 +- drivers/gpu/drm/exynos/exynos_drm_g2d.c | 12 +--- drivers/gpu/drm/exynos/exynos_drm_gem.c | 20 +

[PATCH v4 04/44] ARM: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/arm/common/dmabounce.c | 4 +- arch/arm/include/asm/dma-mapping.h | 13 +++-- arch/arm/include/asm/xen/page-coherent.h | 16 +++--- arc

[PATCH 1/2] clk: max77620: Add DT binding doc for MAX77620 clock

2016-06-10 Thread Laxman Dewangan
MAXIM MAX77620 is the power management IC with multiple DCDC/LDO regulators, RTC, GPIOs, Watchdog, 32KHz clock source etc. Add DT binding doc for the details of the properties for MAX76620 clocks. Signed-off-by: Laxman Dewangan --- .../devicetree/bindings/clock/clk-max77620.txt | 31 +++

[PATCH v4 07/44] blackfin: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/blackfin/kernel/dma-mapping.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackf

[PATCH 2/2] clk: max77620: Add clock driver for MAX77620/MAX20024

2016-06-10 Thread Laxman Dewangan
MAXIM MAX77620 is the power management IC with multiple DCDC/LDO regulators, RTC, GPIOs, Watchdog, 32KHz clock source etc. Add support for controlling the 32KHz clock source via clock framework. Signed-off-by: Laxman Dewangan --- drivers/clk/Kconfig| 9 +++ drivers/clk/Makefile

[PATCH v4 02/44] alpha: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/alpha/include/asm/dma-mapping.h | 2 -- arch/alpha/kernel/pci-noop.c | 2 +- arch/alpha/kernel/pci_iommu.c| 12 ++-- 3 files chan

[PATCH v4 03/44] arc: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/arc/mm/dma.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arc/mm/dma.c b/arch/arc/mm/dma.c index 73d7e4c75b7d..3d1f467d

[PATCH v4 05/44] arm64: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/mm/dma-mapping.c | 57 +++-- 1 file changed, 29 insertions(+), 28 deletions(-) diff --git a/arch/arm64/mm/dm

[PATCH v4 00/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
Hi, This is fourth approach for replacing struct dma_attrs with unsigned long. The main patch (1/44) doing the change is split into many subpatches for easier review (2-42). They should be squashed together when applying. *Important:* Patchset is tested on my ARM platforms and *only* build te

[PATCH v4 01/44] dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Krzysztof Kozlowski
The dma-mapping core and the implementations do not change the DMA attributes passed by pointer. Thus the pointer can point to const data. However the attributes do not have to be a bitfield. Instead unsigned long will do fine: 1. This is just simpler. Both in terms of reading the code and sett

Re: [PATCH 0/3] clk: samsung: exynos5433: Add CLK_IGNORE_UNUSED flag and

2016-06-10 Thread Sylwester Nawrocki
On 06/10/2016 06:56 AM, Chanwoo Choi wrote: > This patch-set add the CLK_IGNORE_UNUSED flag to the specific clocks because > the specific clocks should remain the enable state. This patch-set support the > PCIE (PCI Express), serial3(AUD Uart) device and fix the hang issue for > suspend-to-ram. >

[PATCH] coresight: Fix erroneous memset in tmc_read_unprepare_etr

2016-06-10 Thread Suzuki K Poulose
At the end of a trace collection, we try to clear the entire buffer and enable the ETR back if it was already enabled. But, we would have adjusted the drvdata->buf to point to the beginning of the trace data in the trace buffer @drvdata->vaddr. So, the following code which clears the buffer is dang

Re: [PATCH v8 5/9] ARM: dts: am437x/am33xx/da850: Add new ECAP and EPWM bindings

2016-06-10 Thread Tony Lindgren
* Franklin S Cooper Jr [160503 08:58]: > Switch to a new ECAP and EPWM bindings that doesn't depend on hwmod to > provide the various required clocks. > > For AM437 and AM335x, add the required clocks explicitly to DT. The > hwmod entries for ECAP and EPWM will be removed and this will prevent >

Re: [PATCH v7 00/15] ACPI NUMA support for ARM64

2016-06-10 Thread Robert Richter
On 04.06.16 00:07:04, Rafael J. Wysocki wrote: > On Tuesday, May 24, 2016 03:35:30 PM David Daney wrote: > > From: David Daney > > > > Rebased to Linus' master branch at commit 1d6da87a3241 ("Merge branch > > 'drm-next' of git://people.freedesktop.org/~airlied/linux") > > > > ACPI 5.1 already in

Re: [PATCHv2] backlight: pwm_bl: disable PWM when 'duty_cycle' is zero

2016-06-10 Thread Lothar Waßmann
Hi, On Fri, 10 Jun 2016 08:44:49 +0100 Lee Jones wrote: > On Fri, 10 Jun 2016, Lothar Waßmann wrote: > > > Hi, > > > > On Thu, 9 Jun 2016 14:51:25 +0100 Lee Jones wrote: > > > On Tue, 07 Jun 2016, Lothar Waßmann wrote: > > > > > > > 'brightness' is usually an index into a table of duty_cycle va

Re: [PATCH 1/1] Staging: comedi: dmm32at: fix BIT macro issue.

2016-06-10 Thread Ian Abbott
On 09/06/16 13:04, Ravishankar Karkala Mallikarjunayya wrote: This Replace all occurences of (1< --- drivers/staging/comedi/drivers/dmm32at.c | 98 1 file changed, 50 insertions(+), 48 deletions(-) diff --git a/drivers/staging/comedi/drivers/dmm32at.c b/drive

Re: [PATCH v10 5/5] usb: dwc3: core: cleanup IRQ resources

2016-06-10 Thread Sergei Shtylyov
Hello. On 6/10/2016 12:56 PM, Roger Quadros wrote: Implementations might use different IRQs for host, gadget so use named interrupt resources to allow device tree to specify the interrupts. Following are the interrupt names Peripheral Interrupt - peripheral HOST Interrupt - host Maintain bac

Re: [PATCH v2 0/2] staging: comedi: serial2002: Fix two styling issues

2016-06-10 Thread Ian Abbott
On 09/06/16 20:39, Chris Cesare wrote: checkpatch.pl warns about a bare unsigned and an unnecessary cast. Patchset splits fixes for these into two separate patches. Chris Cesare (2): staging: comedi: serial2002: Fix bare unsigned styling issue staging: comedi: serial2002: Fix unnecessary c

Re: [PATCH v7 00/15] ACPI NUMA support for ARM64

2016-06-10 Thread Robert Richter
On 10.06.16 12:20:05, Robert Richter wrote: > On 04.06.16 00:07:04, Rafael J. Wysocki wrote: > > On Tuesday, May 24, 2016 03:35:30 PM David Daney wrote: > > > From: David Daney > > > > > > Rebased to Linus' master branch at commit 1d6da87a3241 ("Merge branch > > > 'drm-next' of git://people.freed

Re: [v2,02/10] i2c-i801: Move hostcfg set/reset to i801_access()

2016-06-10 Thread Corey Minyard
On 06/09/2016 04:39 AM, Benjamin Tissoires wrote: On May 29 2016 or thereabouts, Corey Minyard wrote: From: Corey Minyard The HSTCFG register save/restore was done in i2c_block_transaction, but all the checks were already done in i801_access, so move it into those checks. This results in a sm

Re: [PATCH v10 08/14] usb: otg: add OTG/dual-role core

2016-06-10 Thread Sergei Shtylyov
On 6/10/2016 1:19 PM, Roger Quadros wrote: It provides APIs for the following tasks - Registering an OTG/dual-role capable controller - Registering Host and Gadget controllers to OTG core - Providing inputs to and kicking the OTG state machine Provide a dual-role device (DRD) state machine. DR

Re: [PATCH v2 6/6] ARM: dts: n900: enable lirc-rx51 driver

2016-06-10 Thread Tony Lindgren
* Ivaylo Dimitrov [160516 12:36]: > Add the needed DT data to enable IR TX driver Applying this patch into omap-for-v4.8/dt instead of the earlier version. Regards, Tony

Re: [PATCH] nfsd: Close a race between access checking/setting in nfs4_get_vfs_file

2016-06-10 Thread Jeff Layton
On Fri, 2016-06-10 at 00:18 -0400, Oleg Drokin wrote: > On Jun 9, 2016, at 5:01 PM, Oleg Drokin wrote: > > > Currently there's an unprotected access mode check in > > nfs4_upgrade_open > > that then calls nfs4_get_vfs_file which in turn assumes whatever > > access mode was present in the state is

Re: [PATCH v4 05/44] arm64: dma-mapping: Use unsigned long for dma_attrs

2016-06-10 Thread Robin Murphy
Hi Krzysztof, On 10/06/16 11:11, Krzysztof Kozlowski wrote: Split out subsystem specific changes for easier reviews. This will be squashed with main commit. Signed-off-by: Krzysztof Kozlowski --- arch/arm64/mm/dma-mapping.c | 57 +++-- 1 file changed,

Re: [v2,04/10] i2c-i801: Consolidate calls to i801_check_pre()

2016-06-10 Thread Corey Minyard
On 06/09/2016 04:44 AM, Benjamin Tissoires wrote: On May 29 2016 or thereabouts, Corey Minyard wrote: From: Corey Minyard It was always done before starting the transaction, so do it in common code before the transaction start. Signed-off-by: Corey Minyard --- drivers/i2c/busses/i2c-i801.c

Re: [PATCH 11/14] s390/ptrace: run seccomp after ptrace

2016-06-10 Thread Martin Schwidefsky
On Thu, 9 Jun 2016 14:02:01 -0700 Kees Cook wrote: > Close the hole where ptrace can change a syscall out from under seccomp. > > Signed-off-by: Kees Cook > Cc: Heiko Carstens > Cc: Martin Schwidefsky > Cc: linux-s...@vger.kernel.org > --- > arch/s390/kernel/ptrace.c | 21 +-

Re: [PATCH 0/5] ARM: dts: omap3-gta04: Various updates

2016-06-10 Thread Tony Lindgren
* Tony Lindgren [160531 11:22]: > * Belisko Marek [160530 23:50]: > > Ping? Any objections? Thanks. > > Looks OK to me, with v4.7-rc1 out I'll start applying patches > again once the pending fixes are out of the way. So it will be > few more days, probably around -rc2 time. Applying all into om

<    1   2   3   4   5   6   7   8   9   >