Re: [PATCH 0/2] [media] exynos-gsc: Fix support for NV21 and NV61 formats

2017-02-13 Thread Javier Martinez Canillas
Hello, On Wed, Feb 1, 2017 at 5:05 PM, Javier Martinez Canillas wrote: > Hello, > > Commit 652bb68018a5 ("[media] exynos-gsc: do proper bytesperline and > sizeimage calculation") fixed corrupted frames for most exynos-gsc > formats, but even after that patch two issues were still remaining: > > 1

Re: [PATCH v2] arm64: use is_vmalloc_addr

2017-02-13 Thread Miles Chen
On Mon, 2017-02-13 at 06:20 +0100, Andreas Färber wrote: > Hi, > > Am 09.02.2017 um 12:45 schrieb Miles Chen: > > To is_vmalloc_addr() to check if an address is a vmalloc address > > "Use ..."? Yes, it should be "Use". I'll send another patch to fix this. > > Regards, > Andreas > > > instead

[PATCH] x86/vm86: fix unused variable warning if THP is disabled.

2017-02-13 Thread Kirill A. Shutemov
GCC complaines on unused variable 'vma' in mark_screen_rdonly() if THP is disalbed: arch/x86/kernel/vm86_32.c: In function ‘mark_screen_rdonly’: arch/x86/kernel/vm86_32.c:180:26: warning: unused variable ‘vma’ [-Wunused-variable] struct vm_area_struct *vma = find_vma(mm, 0xA);

PATCH] cpufreq: Do not clear real_cpus mask on policy init

2017-02-13 Thread Rafael J. Wysocki
From: Rafael J. Wysocki If new_policy is set in cpufreq_online(), the policy object has just been created and its real_cpus mask has been zeroed on allocation, and the driver's ->init() callback should not touch it. It doesn't need to be cleared again, so don't do that. Signed-off-by: Rafael J.

[PATCH v2] drm: mali-dp: Add CTM support

2017-02-13 Thread Mihail Atanassov
All DPs have a COLORADJ matrix which is applied prior to output gamma. Attach that to the CTM property. Also, ensure the input CTM's coefficients can fit in the DP registers' Q3.12 format. Signed-off-by: Mihail Atanassov --- Link to v1: https://lkml.org/lkml/2017/2/1/254 Changes since v1: - Re

Re: [PATCH 3/3] cros_ec: Don't signal wake event for non-wake host events

2017-02-13 Thread Thierry Escande
Hi Lee, On 07/02/2017 17:12, Lee Jones wrote: On Wed, 25 Jan 2017, Thierry Escande wrote: From: Shawn Nematbakhsh The subset of wake-enabled host events is defined by the EC, but the EC may still send non-wake host events if we're in the process of suspending. Get the mask of wake-enabled ho

Re: [PATCH/RESEND] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-13 Thread Will Deacon
On Mon, Feb 13, 2017 at 12:04:18PM +0100, Geert Uytterhoeven wrote: > Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, > 2 MiB, and 1 GiB. > > With the default setting of CONFIG_CMA_ALIGNMENT = 8, allocations larger > than 1 MiB are aligned to a 1 MiB boundary only. Hence a

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Vinod Koul
On Mon, Feb 13, 2017 at 01:15:27PM +0100, Marek Szyprowski wrote: > >Although, I don't know of other examples, besides the runtime PM use > >case, where non-atomic channel prepare/unprepare would make sense. Do > >you? > > Changing GFP_ATOMIC to GFP_KERNEL in some calls in the DMA engine drivers

Re: [PATCH v13 00/12] power: add power sequence library

2017-02-13 Thread Rafael J. Wysocki
On Saturday, February 11, 2017 09:27:11 AM Peter Chen wrote: > Hi all, > > This is a follow-up for my last power sequence framework patch set [1]. > According to Rob Herring and Ulf Hansson's comments[2]. The kinds of > power sequence instances will be added at postcore_initcall, the match > crite

Re: [lkp-robot] [platform/x86] b925ff7dcd: BUG:unable_to_handle_kernel

2017-02-13 Thread Jonathan Woithe
On Mon, Feb 13, 2017 at 09:14:40AM +0100, Micha?? K??pie?? wrote: > > On Mon, Feb 13, 2017 at 10:40:15AM +0800, kernel test robot wrote: > > > FYI, we noticed the following commit: > > > > > > commit: b925ff7dcd1fc45b86baaebd3442f8b484123716 ("platform/x86: > > > fujitsu-laptop: only register bac

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Vinod Koul
On Mon, Feb 13, 2017 at 12:11:54PM +0100, Ulf Hansson wrote: > >> > >> If we could set up the device link already at device initialization, > >> it should also be possible to avoid getting -EPROBE_DEFER for dma > >> client drivers when requesting their dma channels. > > > > Well if we defer then dr

Re: [PATCH] mm: free reserved area's memmap if possiable

2017-02-13 Thread Russell King - ARM Linux
On Mon, Feb 13, 2017 at 12:17:00PM +, Will Deacon wrote: > Adding linux-arm-kernel and devicetree (look for "raw-pfn"), since this > impacts directly on those. > > On Mon, Feb 13, 2017 at 08:02:29PM +0800, zhouxianr...@huawei.com wrote: > > From: zhouxianrong > > > > just like freeing no-map

Re: [PATCH v5 3/8] PCI: Don't block runtime PM for Thunderbolt host hotplug ports

2017-02-13 Thread Rafael J. Wysocki
On Sunday, February 12, 2017 06:13:01 PM Lukas Wunner wrote: > On Fri, Feb 10, 2017 at 12:39:12PM -0600, Bjorn Helgaas wrote: > > On Sun, Jan 15, 2017 at 09:03:45PM +0100, Lukas Wunner wrote: > > > Hotplug ports generally block their parents from suspending to D3hot as > > > otherwise their interru

Re: [PATCH v8 2/2] Add support for OV5647 sensor.

2017-02-13 Thread Vladimir Zapolskiy
Hello Ramiro, On 02/13/2017 01:25 PM, Ramiro Oliveira wrote: > Modes supported: > - 640x480 RAW 8 > It is a pretty short commit message, please consider to write a couple of words about the sensor. > Signed-off-by: Ramiro Oliveira > --- [snip] > + > +struct cfg_array { > + struct regval

Re: [PATCH] ARM: dts: exynos: Use thermal fuse value for thermal zone 0 on Exynos5420

2017-02-13 Thread Anand Moon
Hi Krzysztof, On 13 February 2017 at 17:29, Krzysztof Kozlowski wrote: > On Mon, Feb 13, 2017 at 1:38 PM, Anand Moon wrote: >> Hi Krzysztof, >> >> >> >> On 12 February 2017 at 01:44, Krzysztof Kozlowski wrote: >>> In Odroid XU3 Lite board, the temperature levels reported for thermal >>> zone 0

Re: [PATCH RFC v2 tip/core/rcu] Maintain special bits at bottom of ->dynticks counter

2017-02-13 Thread Peter Zijlstra
On Thu, Feb 09, 2017 at 03:51:03PM -0800, Paul E. McKenney wrote: > Currently, IPIs are used to force other CPUs to invalidate their TLBs > in response to a kernel virtual-memory mapping change. This works, but > degrades both battery lifetime (for idle CPUs) and real-time response >

Re: [PATCH] mm: free reserved area's memmap if possiable

2017-02-13 Thread Will Deacon
Adding linux-arm-kernel and devicetree (look for "raw-pfn"), since this impacts directly on those. On Mon, Feb 13, 2017 at 08:02:29PM +0800, zhouxianr...@huawei.com wrote: > From: zhouxianrong > > just like freeing no-map area's memmap we could free reserved > area's memmap as well only when use

Re: [GIT PULL] PCI fixes for v4.10

2017-02-13 Thread Rafael J. Wysocki
On Sunday, February 12, 2017 08:05:02 PM Lukas Wunner wrote: > On Fri, Feb 10, 2017 at 06:39:16PM -0800, Yinghai Lu wrote: > > On Thu, Feb 9, 2017 at 12:11 PM, Bjorn Helgaas wrote: > > > On Thu, Feb 09, 2017 at 09:09:50AM -0600, Bjorn Helgaas wrote: > > > > On Thu, Feb 09, 2017 at 05:06:48AM +0100

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Marek Szyprowski
Hi Ulf, On 2017-02-13 12:11, Ulf Hansson wrote: If we could set up the device link already at device initialization, it should also be possible to avoid getting -EPROBE_DEFER for dma client drivers when requesting their dma channels. Well if we defer then driver will regiser with dmaengine afte

Re: [PATCH] backlight: add DDC/CI brightness driver

2017-02-13 Thread Daniel Thompson
On 21/01/17 18:31, Miłosz Rachwał wrote: This patch contains driver for exposing VESA DDC/CI MCCS brightness settings via kernel backlight API. This allows to control monitor brightness using standard software which uses /sys/class/backlight/ interface, same as for laptop backlight drivers. Becau

Re: [PATCH v7 0/5] Update LZ4 compressor module

2017-02-13 Thread Sven Schmidt
On Mon, Feb 13, 2017 at 09:03:24AM +0900, Minchan Kim wrote: > Hi Sven, > > On Sun, Feb 12, 2017 at 12:16:17PM +0100, Sven Schmidt wrote: > > > > > > > > On 02/10/2017 01:13 AM, Minchan Kim wrote: > > > Hello Sven, > > > > > > On Thu, Feb 09, 2017 at 11:56:17AM +0100, Sven Schmidt wrote: > > >>

[PATCH] mm: free reserved area's memmap if possiable

2017-02-13 Thread zhouxianrong
From: zhouxianrong just like freeing no-map area's memmap we could free reserved area's memmap as well only when user of reserved area indicate that we can do this in dts or drivers. that is, user of reserved area know how to use the reserved area who could not memblock_free or free_reserved_xxx

Re: [PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Peter Zijlstra
On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote: > The commit a6e4491c682a ("sched/isolcpus: Output warning when the > 'isolcpus=' kernel parameter is invalid") adds an error message > when specified cpu bigger than nr_cpu_ids, but nr_cpumask_bits in > cpulist_parse() could be nr_cpu_id

Re: [PATCH 1/2] driver core: emit uevents when device is bound to a driver

2017-02-13 Thread Greg Kroah-Hartman
On Sun, Feb 12, 2017 at 04:36:18PM -0800, Dmitry Torokhov wrote: > Majority of standard for a subsystem device attributes are created at the > same time devices are created, before KOBJECT_ADD uevent is emitted by the > driver core. This means that attributes are there when userspace is > notified

Re: [PATCH] bcm2835-audio: Fix checkpatch errors

2017-02-13 Thread Greg Kroah-Hartman
On Mon, Feb 13, 2017 at 08:49:06AM +0800, Man Choy wrote: > A quick question, I just updated my linux-next tree last night, > checkout tag "next-20170210" and working on the cleanup. How do I > double check my current working file already been updated by someone > else to avoid the duplicate work?

Re: [PATCH] s390: crypto make ap_bus explicitly non-modular

2017-02-13 Thread Harald Freudenberger
On 02/09/2017 03:48 PM, Paul Gortmaker wrote: > The Makefile in drivers/s390 has: > > obj-y += cio/ block/ char/ crypto/ net/ scsi/ virtio/ > > ..and the Makefile in crypto/ has: > > ap-objs := ap_bus.o ap_card.o ap_queue.o > > ...meaning that it currently is not being built as a module

[PATCH v2] platform/x86: intel_pmc_ipc: read s0ix residency API

2017-02-13 Thread Shanth Murthy
This patch adds a new API to indicate S0ix residency in usec. It utilizes the PMC Global Control Registers (GCR) to read deep and shallow S0ix residency. PMC MMIO resources: o Lower 4kB: IPC1 (PMC inter-processor communication) interface o Upper 4kB: GCR (Global Control Registers)

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Marek Szyprowski
Hi Vinod, On 2017-02-13 03:03, Vinod Koul wrote: On Fri, Feb 10, 2017 at 02:57:09PM +0100, Ulf Hansson wrote: On 10 February 2017 at 12:51, Marek Szyprowski wrote: On 2017-02-10 05:50, Vinod Koul wrote: On Thu, Feb 09, 2017 at 03:22:51PM +0100, Marek Szyprowski wrote: +static int pl330_set_

Re: [PATCH] ARM: dts: exynos: Use thermal fuse value for thermal zone 0 on Exynos5420

2017-02-13 Thread Krzysztof Kozlowski
On Mon, Feb 13, 2017 at 1:38 PM, Anand Moon wrote: > Hi Krzysztof, > > > > On 12 February 2017 at 01:44, Krzysztof Kozlowski wrote: >> In Odroid XU3 Lite board, the temperature levels reported for thermal >> zone 0 were weird. In warm room: >> /sys/class/thermal/thermal_zone0/temp:32000 >

Re: [PATCH v2] arm64: dts: Enable ir-spi in the tm2 and tm2e boards

2017-02-13 Thread Javier Martinez Canillas
Hello Andi, On 02/11/2017 01:44 AM, Andi Shyti wrote: > Hi Javier, > > On Fri, Feb 10, 2017 at 11:04:50AM -0300, Javier Martinez Canillas wrote: >> On 02/09/2017 11:22 PM, Andi Shyti wrote: > ... >>> + irda_regulator: irda-regulator { >>> + compatible = "regulator-fixed"; >>> +

Re: [patch net-next] net: qcom/emac: fix a sizeof() typo

2017-02-13 Thread walter harms
Am 13.02.2017 12:00, schrieb Dan Carpenter: > We had intended to say "sizeof(u32)" but the "u" is missing. > Fortunately, sizeof(32) is also 4, so the original code still works. > > Fixes: c4e7beea2192 ("net: qcom/emac: add ethtool support for reading > hardware registers") > Signed-off-by: Dan

Re: [PATCH] lz4: fix performance regressions

2017-02-13 Thread Sven Schmidt
On Sun, Feb 12, 2017 at 10:41:17PM +0100, Willy Tarreau wrote: > On Sun, Feb 12, 2017 at 04:20:00PM +0100, Sven Schmidt wrote: > > On Sun, Feb 12, 2017 at 02:05:08PM +0100, Willy Tarreau wrote: > > > Hi Sven, > > > > > > On Sun, Feb 12, 2017 at 12:16:18PM +0100, Sven Schmidt wrote: > > > > Fix per

Re: 4.10-rc1: thinkpad x60: who ate my cpu?

2017-02-13 Thread Pavel Machek
On Mon 2017-02-13 04:18:51, l...@pengaru.com wrote: > On Mon, Feb 13, 2017 at 10:42:36AM +0100, Pavel Machek wrote: > > Hi! > > > > On Mon 2017-02-13 09:48:41, Thomas Gleixner wrote: > > > On Mon, 13 Feb 2017, Pavel Machek wrote: > > > > cd /sys/devices/system/cpu/cpu1 > > > > while true; do echo

Re: [PATCH 3/20] staging: rtl8192u: Prefer using the BIT macro

2017-02-13 Thread Greg KH
On Mon, Feb 13, 2017 at 02:45:04PM +0530, SIMRAN SINGHAL wrote: > Ok, I will send this patch again with the proper label. What are you referring to? Please always properly quote your emails so we know what you are talking about. Remember, some of us get over a thousand emails a day... h

Re: [PATCH v8 1/3] dmaengine: Add new device_{set,release}_slave callbacks

2017-02-13 Thread Marek Szyprowski
Hi Vinod, On 2017-02-13 02:42, Vinod Koul wrote: On Fri, Feb 10, 2017 at 01:07:41PM +0100, Marek Szyprowski wrote: Hi Vinod, On 2017-02-10 05:34, Vinod Koul wrote: On Thu, Feb 09, 2017 at 03:22:49PM +0100, Marek Szyprowski wrote: Add two new callbacks to DMA engine device. They will used to

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Marek Szyprowski
Hi Ulf, On 2017-02-10 14:57, Ulf Hansson wrote: On 10 February 2017 at 12:51, Marek Szyprowski wrote: On 2017-02-10 05:50, Vinod Koul wrote: On Thu, Feb 09, 2017 at 03:22:51PM +0100, Marek Szyprowski wrote: +static int pl330_set_slave(struct dma_chan *chan, struct device *slave) +{ + s

Re: 4.10-rc1: thinkpad x60: who ate my cpu?

2017-02-13 Thread lkml
On Mon, Feb 13, 2017 at 12:25:28PM +0100, Thomas Gleixner wrote: > On Mon, 13 Feb 2017, l...@pengaru.com wrote: > > > On Mon, Feb 13, 2017 at 10:42:36AM +0100, Pavel Machek wrote: > > > Hi! > > > > > > On Mon 2017-02-13 09:48:41, Thomas Gleixner wrote: > > > > On Mon, 13 Feb 2017, Pavel Machek wr

Re: [PATCH] ARM: dts: exynos: Use thermal fuse value for thermal zone 0 on Exynos5420

2017-02-13 Thread Anand Moon
Hi Krzysztof, On 12 February 2017 at 01:44, Krzysztof Kozlowski wrote: > In Odroid XU3 Lite board, the temperature levels reported for thermal > zone 0 were weird. In warm room: > /sys/class/thermal/thermal_zone0/temp:32000 > /sys/class/thermal/thermal_zone1/temp:51000 >

Re: 4.10-rc1: thinkpad x60: who ate my cpu?

2017-02-13 Thread lkml
On Mon, Feb 13, 2017 at 12:25:28PM +0100, Thomas Gleixner wrote: > On Mon, 13 Feb 2017, l...@pengaru.com wrote: > > > On Mon, Feb 13, 2017 at 10:42:36AM +0100, Pavel Machek wrote: > > > Hi! > > > > > > On Mon 2017-02-13 09:48:41, Thomas Gleixner wrote: > > > > On Mon, 13 Feb 2017, Pavel Machek wr

[PATCH v8 1/2] Add OV5647 device tree documentation

2017-02-13 Thread Ramiro Oliveira
Create device tree bindings documentation. Signed-off-by: Ramiro Oliveira Acked-by: Rob Herring --- .../devicetree/bindings/media/i2c/ov5647.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/i2c/ov5647.txt diff -

[PATCH v8 0/2] Add support Add support for Omnivision OV56477

2017-02-13 Thread Ramiro Oliveira
Hello, This patchset adds support for the Omnivision OV5647 sensor. At the moment it only supports 640x480 in RAW 8. This is the eighth version of the OV5647 camera driver patchset. v8: - Remove a part of the initialization procedure which wasn't doing anything - Check for i2c read/writes r

[PATCH v8 2/2] Add support for OV5647 sensor.

2017-02-13 Thread Ramiro Oliveira
Modes supported: - 640x480 RAW 8 Signed-off-by: Ramiro Oliveira --- MAINTAINERS| 7 + drivers/media/i2c/Kconfig | 12 + drivers/media/i2c/Makefile | 1 + drivers/media/i2c/ov5647.c | 736 + 4 files changed, 756 insertions(+) cre

Re: [PATCH v2 0/6] Move dell-led to drivers/platform/x86

2017-02-13 Thread Michał Kępień
Hi everyone, It has been almost a month since I posted v2, so I hope sending a reminder is okay. Jaroslav, Takashi, could you please ack this patch series from the sound subsystem perspective? Patches 2-4 touch it. Anthony, have you and your team perhaps had a chance to test this patch series o

Re: [PATCH] Staging: media: bcm2048: Fixed coding style issue.

2017-02-13 Thread Hans Verkuil
On 02/12/2017 10:45 PM, Ran Algawi wrote: > Fixed a coding style issue, where an octal value was needed insted of decimal. > > Signed-off-by: Ran Algawi > --- > drivers/staging/media/bcm2048/radio-bcm2048.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging

Re: 4.10-rc1: thinkpad x60: who ate my cpu?

2017-02-13 Thread Thomas Gleixner
On Mon, 13 Feb 2017, l...@pengaru.com wrote: > On Mon, Feb 13, 2017 at 10:42:36AM +0100, Pavel Machek wrote: > > Hi! > > > > On Mon 2017-02-13 09:48:41, Thomas Gleixner wrote: > > > On Mon, 13 Feb 2017, Pavel Machek wrote: > > > > cd /sys/devices/system/cpu/cpu1 > > > > while true; do echo 0 > on

Re: [PATCHv4 1/5] x86/mm: split arch_mmap_rnd() on compat/native versions

2017-02-13 Thread Thomas Gleixner
On Mon, 13 Feb 2017, Dmitry Safonov wrote: > On 02/11/2017 11:23 AM, Thomas Gleixner wrote: > > On Sat, 11 Feb 2017, Dmitry Safonov wrote: > > > > > 2017-02-10 23:10 GMT+03:00 Thomas Gleixner : > > > > On Thu, 9 Feb 2017, Borislav Petkov wrote: > > > > > I can't say that I'm thrilled about the ifd

Re: [PATCH v2 1/2] drm/cma-helper: Add multi buffer support for cma fbdev

2017-02-13 Thread Daniel Stone
Hi Maxime, On 13 February 2017 at 10:54, Maxime Ripard wrote: > On Sun, Feb 12, 2017 at 02:28:11PM +0200, Laurent Pinchart wrote: >> On Thursday 02 Feb 2017 11:31:56 Maxime Ripard wrote: >> > This patch add a config to support to create multi buffer for cma fbdev. >> > Such as double buffer and t

Re: [PATCH RT] Align rt_mutex inlining with upstream behavior

2017-02-13 Thread Peter Zijlstra
On Fri, Feb 10, 2017 at 06:50:50PM +0100, Sebastian Andrzej Siewior wrote: > Alex Goins reported that mutex_destroy() on RT will force a GPL only symbol > which won't link and therefore fail on a non-GPL kernel module. > This does not happen on !RT and is a regression on RT which we would like to >

Re: [RFC PATCH 00/33] irqchip: Core support for GICv4

2017-02-13 Thread Thomas Gleixner
Marc, On Tue, 17 Jan 2017, Marc Zyngier wrote: > This series implements the core support for GICv4. And despite its > size, it does exactly *nothing*. What it adds is an infrastructure > that a hypervisor (KVM) can use to route VLPIs to a guest. That's a very well done patch set and it was a ple

Re: [RFC PATCH 33/33] irqchip/gic-v4: Enable low-level GICv4 operations

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > Get the show on the road... > > Signed-off-by: Marc Zyngier Reviewed-by: Thomas Gleixner

Re: [RFC PATCH 32/33] irqchip/gic-v4: Add some basic documentation

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > Do a braindump of the way things are supposed to work. > > Signed-off-by: Marc Zyngier Nice ! Reviewed-by: Thomas Gleixner

Re: [RFC PATCH 31/33] irqchip/gic-v4: Add VLPI configuration interface

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > Add the required interfaces to map, unmap and update a VLPI. > > Signed-off-by: Marc Zyngier Reviewed-by: Thomas Gleixner

Re: [RFC PATCH 30/33] irqchip/gic-v4: Add VPE command interface

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > Add the required interfaces to schedule a VPE and perform a > VINVALL command. > > Signed-off-by: Marc Zyngier Reviewed-by: Thomas Gleixner

Re: [PATCHv4 1/5] x86/mm: split arch_mmap_rnd() on compat/native versions

2017-02-13 Thread Dmitry Safonov
On 02/11/2017 11:23 AM, Thomas Gleixner wrote: On Sat, 11 Feb 2017, Dmitry Safonov wrote: 2017-02-10 23:10 GMT+03:00 Thomas Gleixner : On Thu, 9 Feb 2017, Borislav Petkov wrote: I can't say that I'm thrilled about the ifdeffery this is adding. But I can't think of a cleaner approach at a qui

Re: [RFC PATCH 29/33] irqchip/gic-v4: Add per-VM VPE domain creation

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > When creating a VM, it is very convenient to have an irq domain > containing all the doorbell interrupts associated with that VM > (each interrupt representing a VPE). > > Signed-off-by: Marc Zyngier Reviewed-by: Thomas Gleixner

Re: [RFC PATCH 28/33] irqchip/gic-v3-its: Support VPE doorbell invalidation even when !DirectLPI

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > When we don't have the DirectLPI feature, we must work around the > architecture shortcomings to be able to perform the required > invalidation. > > For this, we create a fake device whose sole purpose is to > provide a way to issue a map/inv/unmap sequen

[PATCH] add a const to ioread* routines to fix compile testing

2017-02-13 Thread Cédric Le Goater
On some architectures, the ioread routines are still using a non-const argument for the address parameter. Let's change that to be consistent with the others and fix compile testing (ARM drivers on Intel for instance). Signed-off-by: Cédric Le Goater --- I am not sure how we should handle these

[PATCH v2 2/3] gpio: wm831x: Add basic device tree support

2017-02-13 Thread Charles Keepax
Now the wm831x-core has basic DT support we can update this driver to allow use of the GPIOs within a device tree system. Signed-off-by: Charles Keepax --- No changes since v1. drivers/gpio/gpio-wm831x.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-

[PATCH v2 1/3] mfd: wm831x: Add basic device tree binding

2017-02-13 Thread Charles Keepax
Add the basic ability to register the device through device tree, more work is needed to get each individual sub-driver functioning correctly but this is enough to get the device to probe from device tree. Signed-off-by: Charles Keepax --- Changes since v1: - Moved MAINTAINERS update to the bin

[PATCH v2 3/3] mfd: wm831x: Add device tree binding document

2017-02-13 Thread Charles Keepax
This is just a very simple initial binding, supporting only registering the chip and the GPIOs. More features will be added as support for device tree in the driver is expanded. Signed-off-by: Charles Keepax --- Changes since v1: - Added MAINTAINERS update Documentation/devicetree/bindings/mf

Re: [PATCH v2] Staging: comedi: drivers: comedi_test: Add auto-configuration capability

2017-02-13 Thread Ian Abbott
On 11/02/17 10:37, Cheah Kok Cheong wrote: Currently this module needs to be manually configured by COMEDI userspace tool before the test waveform can be read by a COMEDI compatible application. This patch adds auto-configuration capability and makes it the default loading option. This is achiev

Re: IB/hfi1: Use memdup_user() rather than duplicating its implementation in hfi1_user_sdma_process_request()

2017-02-13 Thread SF Markus Elfring
>> Thanks for the patch, but this one is already taken care of along >> with other similar uses of kmalloc/copy: >> >> http://marc.info/?l=linux-rdma&m=148656088729538&w=2 >> > > Michael's patch doesn't change user_sdma_free_request() so it introduces > a kfreeing an error pointer bug. Did you no

Re: [PATCH 2/2] sched/deadline: Throttle a constrained deadline task activated after the deadline

2017-02-13 Thread Peter Zijlstra
On Sat, Feb 11, 2017 at 08:15:26AM +0100, luca abeni wrote: > Hi Daniel, > > On Fri, 10 Feb 2017 20:48:11 +0100 > Daniel Bristot de Oliveira wrote: > > > During the activation, CBS checks if it can reuse the current task's > > runtime and period. If the deadline of the task is in the past, CBS >

Re: [PATCH 2/2] sched/deadline: Throttle a constrained deadline task activated after the deadline

2017-02-13 Thread Peter Zijlstra
On Fri, Feb 10, 2017 at 08:48:11PM +0100, Daniel Bristot de Oliveira wrote: > +/* During the activation, CBS checks if it can reuse the current task's > + * runtime and period. If the deadline of the task is in the past, CBS Broken comment style, fixed that for you.

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Ulf Hansson
>> >> If we could set up the device link already at device initialization, >> it should also be possible to avoid getting -EPROBE_DEFER for dma >> client drivers when requesting their dma channels. > > Well if we defer then driver will regiser with dmaengine after it is > probed, so a client will e

[PATCH 7/7] ARM: rockchip: reanme RK1108 to RV1108

2017-02-13 Thread Andy Yan
Rockchip finally named the SOC as RV1108, so change it for compatible. Signed-off-by: Andy Yan --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 ++-- arch/arm/boot/dts/Makefile | 2 +- arch/arm/boot/dts/{rk1108-evb.dts => rv1108-evb.dts} | 7 --- 3 file

Re: [PATCH 1/2] sched/deadline: Replenishment timer should fire in the next period

2017-02-13 Thread Peter Zijlstra
On Sat, Feb 11, 2017 at 08:12:37AM +0100, luca abeni wrote: > Hi Daniel, > > On Fri, 10 Feb 2017 20:48:10 +0100 > Daniel Bristot de Oliveira wrote: > > [...] > > diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c > > index 70ef2b1..3c94d85 100644 > > --- a/kernel/sched/deadline.c > >

[PATCH 6/7] ARM: dts: rename RK1108 to RV1108

2017-02-13 Thread Andy Yan
Rockchip finally named the SOC as RV1108, so change it for compatible. Signed-off-by: Andy Yan --- arch/arm/boot/dts/{rk1108.dtsi => rv1108.dtsi} | 24 1 file changed, 12 insertions(+), 12 deletions(-) rename arch/arm/boot/dts/{rk1108.dtsi => rv1108.dtsi} (94%) diff -

[PATCH 5/7] pinctrl: rockchip: rename RK1108 to RV1108

2017-02-13 Thread Andy Yan
Rockchip finally named the SOC as RV1108, so change it. Signed-off-by: Andy Yan --- drivers/pinctrl/pinctrl-rockchip.c | 76 +++--- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockc

Re: S2ram + btrfs with recent kernel => soft lockup warning and hard hang

2017-02-13 Thread Bastien ROUCARIES
On Sun, Feb 12, 2017 at 4:45 PM, Bastien ROUCARIES wrote: > Hi, > > Since 3.8 s2ram on btrfs system lead to hang. Sorry for the typo means >4.8 > > Bastien

[PATCH 4/7] dt-bindings: rockchip,pinctrl: rename RK1108 to RV1108

2017-02-13 Thread Andy Yan
Rockchip finally named the SOC as RV1108, so change it. Also move the compatible list to one compatible per line. Signed-off-by: Andy Yan --- .../devicetree/bindings/pinctrl/rockchip,pinctrl.txt | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/Documentat

Re: [PATCH v2 00/10] try to reduce fragmenting fallbacks

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:33PM +0100, Vlastimil Babka wrote: > Hi, > > this is a v2 of [1] from last year, which was a response to Johanes' worries > about mobility grouping regressions. There are some new patches and the order > goes from cleanups to "obvious wins" towards "just RFC" (last tw

Re: S2ram + btrfs with recent kernel => soft lockup warning and hard hang

2017-02-13 Thread Bastien ROUCARIES
Hi, On Mon, Feb 13, 2017 at 11:43 AM, Filipe Manana wrote: > > 3.8 is very old, and so is 3.19 (which is what you're running as shown > in the github issue). Many fixes landed after 3.19. Just try a recent > kernel. > Sorry I made a typo I mean 4.8. I have just tried 4.9

[PATCH 3/7] clk: rockchip: rename RK1108 to RV1108

2017-02-13 Thread Andy Yan
Rockchip finally named the SOC as RV1108, so change it. Signed-off-by: Andy Yan --- drivers/clk/rockchip/Makefile | 2 +- .../clk/rockchip/{clk-rk1108.c => clk-rv1108.c}| 414 ++--- drivers/clk/rockchip/clk.h | 28 +- .../clock

[PATCH 2/7] dt-bindings: rk1108-cru: rename RK1108 to RV1108

2017-02-13 Thread Andy Yan
Rockchip finally named the SOC as RV1108, so change it. Signed-off-by: Andy Yan --- .../{rockchip,rk1108-cru.txt => rockchip,rv1108-cru.txt} | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) rename Documentation/devicetree/bindings/clock/{rockchip,rk1108-cru.txt => rockch

[PATCH/RESEND] arm64: defconfig: Enlarge CMA alignment to 2 MiB

2017-02-13 Thread Geert Uytterhoeven
Some IOMMUs (e.g. Renesas IPMMU/VMSA) support only page sizes of 4 KiB, 2 MiB, and 1 GiB. With the default setting of CONFIG_CMA_ALIGNMENT = 8, allocations larger than 1 MiB are aligned to a 1 MiB boundary only. Hence a 2 MiB allocation may not be aligned, leading to a mapping of 512 4 KiB pages.

[PATCH 1/7] dt-bindings: rockchip-dw-mshc: rename RK1108 to RV1108

2017-02-13 Thread Andy Yan
Rockchip finally named the SOC as RV1108, so change it. Signed-off-by: Andy Yan --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt b/Documentation/devicet

[patch net-next] net: qcom/emac: fix a sizeof() typo

2017-02-13 Thread Dan Carpenter
We had intended to say "sizeof(u32)" but the "u" is missing. Fortunately, sizeof(32) is also 4, so the original code still works. Fixes: c4e7beea2192 ("net: qcom/emac: add ethtool support for reading hardware registers") Signed-off-by: Dan Carpenter diff --git a/drivers/net/ethernet/qualcomm/em

Re: [PATCH v3 03/14] mm: use pmd lock instead of racy checks in zap_pmd_range()

2017-02-13 Thread Kirill A. Shutemov
On Sun, Feb 12, 2017 at 06:25:09PM -0600, Zi Yan wrote: > Hi Kirill, > > The crash scenario I guess is like: > 1. A huge page pmd entry is in the middle of being changed into either a > pmd_protnone or a pmd_migration_entry. It is cleared to pmd_none. > > 2. At the same ti

Re: [RFC PATCH 27/33] irqchip/gic-v3-its: Add VPE interrupt masking

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > When masking/unmasking a doorbell interrupt, it is necessary > to issue an invalidation to the corresponding redistributor. > We use the DirectLPI feature by writting directly to the corresponding > redistributor. > > Signed-off-by: Marc Zyngier Review

Re: [PATCH v2 08/10] mm, compaction: finish whole pageblock to reduce fragmentation

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:41PM +0100, Vlastimil Babka wrote: > The main goal of direct compaction is to form a high-order page for > allocation, > but it should also help against long-term fragmentation when possible. Most > lower-than-pageblock-order compactions are for non-movable allocation

Re: [PATCH v2 07/10] mm, compaction: restrict async compaction to pageblocks of same migratetype

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:40PM +0100, Vlastimil Babka wrote: > The migrate scanner in async compaction is currently limited to > MIGRATE_MOVABLE > pageblocks. This is a heuristic intended to reduce latency, based on the > assumption that non-MOVABLE pageblocks are unlikely to contain movable p

Re: [RFC PATCH 26/33] irqchip/gic-v3-its: Add VPE affinity changes

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > When we're about to run a vcpu, it is crucial that the redistributor > associated with the physical CPU is being told about the new residency. > > This is abstracted by hijacking the irq_set_affinity method for the > doorbell interrupt associated with th

Re: [PATCH v2 03/10] mm, page_alloc: split smallest stolen page in fallback

2017-02-13 Thread Vlastimil Babka
On 02/13/2017 11:51 AM, Mel Gorman wrote: > On Fri, Feb 10, 2017 at 06:23:36PM +0100, Vlastimil Babka wrote: >> The __rmqueue_fallback() function is called when there's no free page of >> requested migratetype, and we need to steal from a different one. There are >> various heuristics to make this

Re: [PATCH v2 1/2] drm/cma-helper: Add multi buffer support for cma fbdev

2017-02-13 Thread Maxime Ripard
Hi Laurent, On Sun, Feb 12, 2017 at 02:28:11PM +0200, Laurent Pinchart wrote: > Hi Maxime, > > Thank you for the patch. > > On Thursday 02 Feb 2017 11:31:56 Maxime Ripard wrote: > > From: Xinliang Liu > > > > This patch add a config to support to create multi buffer for cma fbdev. > > Such as

Re: [PATCH v2 06/10] mm, compaction: add migratetype to compact_control

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:39PM +0100, Vlastimil Babka wrote: > Preparation patch. We are going to need migratetype at lower layers than > compact_zone() and compact_finished(). > > Signed-off-by: Vlastimil Babka Acked-by: Mel Gorman -- Mel Gorman SUSE Labs

Re: [PATCH 4/5] IB/hfi1: Use memdup_user() rather than duplicating its implementation in hfi1_user_sdma_process_request()

2017-02-13 Thread Dan Carpenter
On Sat, Feb 11, 2017 at 10:32:59AM -0500, Dennis Dalessandro wrote: > On 02/10/2017 04:04 PM, SF Markus Elfring wrote: > >From: Markus Elfring > >Date: Fri, 10 Feb 2017 21:01:55 +0100 > > > >Reuse existing functionality from memdup_user() instead of keeping > >duplicate source code. > > > >Signed-

Re: [PATCH v2] x86/paravirt: Don't make vcpu_is_preempted() a callee-save function

2017-02-13 Thread Peter Zijlstra
On Mon, Feb 13, 2017 at 11:47:16AM +0100, Peter Zijlstra wrote: > That way we'd end up with something like: > > asm(" > push %rdi; > movslq %edi, %rdi; > movq __per_cpu_offset(,%rdi,8), %rax; > cmpb $0, %[offset](%rax); > setne %al; > pop %rdi; > " : : [offset] "i" (((unsigned long)&steal_time) +

Re: [PATCH v2 05/10] mm, compaction: change migrate_async_suitable() to suitable_migration_source()

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:38PM +0100, Vlastimil Babka wrote: > Preparation for making the decisions more complex and depending on > compact_control flags. No functional change. > > Signed-off-by: Vlastimil Babka Acked-by: Mel Gorman -- Mel Gorman SUSE Labs

Re: [PATCH v2 04/10] mm, page_alloc: count movable pages when stealing from pageblock

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:37PM +0100, Vlastimil Babka wrote: > When stealing pages from pageblock of a different migratetype, we count how > many free pages were stolen, and change the pageblock's migratetype if more > than half of the pageblock was free. This might be too conservative, as ther

Re: [PATCH] MIPS: Allow compressed images to be loaded at the usual address

2017-02-13 Thread Jonas Gorski
Hi, On 13 February 2017 at 09:37, Alban wrote: > On Thu, 9 Feb 2017 13:22:37 +0100 > Jonas Gorski wrote: > >> Hi, >> >> On 5 February 2017 at 21:21, Alban wrote: >> > From: Alban Bedel >> > >> > Normally compressed images have to be loaded at a different address to >> > allow the decompressor

Re: [PATCH v2 03/10] mm, page_alloc: split smallest stolen page in fallback

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:36PM +0100, Vlastimil Babka wrote: > The __rmqueue_fallback() function is called when there's no free page of > requested migratetype, and we need to steal from a different one. There are > various heuristics to make this event infrequent and reduce permanent > fragmen

Re: [PATCH v2 01/10] mm, compaction: reorder fields in struct compact_control

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:34PM +0100, Vlastimil Babka wrote: > While currently there are (mostly by accident) no holes in struct > compact_control (on x86_64), but we are going to add more bool flags, so place > them all together to the end of the structure. While at it, just order all > fields

Re: [PATCH v2 02/10] mm, compaction: remove redundant watermark check in compact_finished()

2017-02-13 Thread Mel Gorman
On Fri, Feb 10, 2017 at 06:23:35PM +0100, Vlastimil Babka wrote: > When detecting whether compaction has succeeded in forming a high-order page, > __compact_finished() employs a watermark check, followed by an own search for > a suitable page in the freelists. This is not ideal for two reasons: >

Re: [RFC PATCH 25/33] irqchip/gic-v3-its: Add VPE invalidation hook

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > When a guest issues a INVALL command targetting a collection, it must > be translated into a VINVALL for the VPE that has this collection. > > This patch implements a hook that offers this functionallity to the > hypervisor. > > Signed-off-by: Marc Zyng

Re: IB/hfi1: Adjust another size determination in hfi1_user_sdma_alloc_queues()

2017-02-13 Thread Johannes Thumshirn
On 02/13/2017 11:37 AM, SF Markus Elfring wrote: >> and you introduce a stylistic glitch (the new line break in a function call). > > There are different opinions about this implementation detail, aren't there? As I said, I'm just a casual reader of the RDMA list and I expressed my opinion that t

Re: [PATCH v2] x86/paravirt: Don't make vcpu_is_preempted() a callee-save function

2017-02-13 Thread Peter Zijlstra
On Fri, Feb 10, 2017 at 12:00:43PM -0500, Waiman Long wrote: > >> +asm( > >> +".pushsection .text;" > >> +".global __raw_callee_save___kvm_vcpu_is_preempted;" > >> +".type __raw_callee_save___kvm_vcpu_is_preempted, @function;" > >> +"__raw_callee_save___kvm_vcpu_is_preempted:" > >> +FRAME_BEGIN >

Re: [RFC PATCH 24/33] irqchip/gic-v3-its: Add VPE scheduling

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > +static int its_vpe_set_vcpu_affinity(struct irq_data *d, void *vcpu_info) > +{ > + struct its_vpe *vpe = irq_data_get_irq_chip_data(d); > + struct its_cmd_info *info = vcpu_info; > + u64 val; > + > + switch (info->cmd_type) { > + case

Re: [PATCH 1/2] fs: configfs: make qw_sign attribute symmetric

2017-02-13 Thread Felipe Balbi
Hi, Stefan Agner writes: >>> On Thu, Feb 09, 2017 at 10:04:43AM -0800, Stefan Agner wrote: On 2017-02-01 08:59, Stefan Agner wrote: > On 2017-02-01 00:06, Greg KH wrote: >> On Tue, Jan 31, 2017 at 06:19:16PM -0800, Stefan Agner wrote: >>> Currently qw_sign requires UTF-8 char

Re: [RFC PATCH 22/33] irqchip/gic-v3-its: Add VPE irq domain [de]activation

2017-02-13 Thread Thomas Gleixner
On Tue, 17 Jan 2017, Marc Zyngier wrote: > On activation, a VPE is mapped using the VMAPP command, followed > by a VINVALL for a good measure. On deactivation, the VPE is > simply unmapped. > > Signed-off-by: Marc Zyngier Reviewed-by: Thomas Gleixner

<    3   4   5   6   7   8   9   10   >