Re: [PATCH 07/10] merge_config.sh: add tests

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:08AM +0900, Olof Johansson wrote: > For being a small script, merge_config.sh is fairly scary to change since > there's no > real way to know if you did something wrong. So it seems appropriate to add a > simple > test suite. > > I've started with testcases in the a

[PATCH v2] cputime: fix invalid gtime

2015-10-28 Thread Hiroshi Shimamoto
From: Hiroshi Shimamoto /proc/stats shows invalid gtime when the thread is running in guest. When vtime accounting is not enabled, we cannot get a valid delta. The delta is calculated now - tsk->vtime_snap, but tsk->vtime_snap is only updated when vtime accounting is enabled. This patch makes ta

Re: [PATCH 1/6] dmaengine: tegra-apb: Correct runtime-pm usage

2015-10-28 Thread Vinod Koul
On Fri, Oct 16, 2015 at 09:25:52AM +0100, Jon Hunter wrote: > @@ -1182,14 +1182,11 @@ static int tegra_dma_alloc_chan_resources(struct > dma_chan *dc) > { > struct tegra_dma_channel *tdc = to_tegra_dma_chan(dc); > struct tegra_dma *tdma = tdc->tdma; > - int ret; > > dma_co

Re: [PATCH V3 3/5] cpufreq: ondemand: queue work for policy->cpus together

2015-10-28 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 12:16:35 PM Viresh Kumar wrote: > On 28-10-15, 07:38, Rafael J. Wysocki wrote: > > On Tuesday, October 13, 2015 01:39:03 PM Viresh Kumar wrote: > > > Currently update_sampling_rate() runs over each online CPU and > > > cancels/queues work on it. Its very inefficient f

Re: perf: fuzzer triggered trouble on AMD, maybe ibs related

2015-10-28 Thread Stephane Eranian
On Thu, Oct 22, 2015 at 6:46 PM, Vince Weaver wrote: > Hello > > I've been busy but finally had a chance to run perf_fuzzer on current git. > I am running on an AMD A10 system (my traditional Haswell system is > otherwise occupied). > > I got the following WARNING which was followed by an NMI stor

Re: [PATCH] drm/vmwgfx: switch from ioremap_cache to memremap

2015-10-28 Thread Thomas Hellstrom
Dan, On 10/19/2015 11:34 PM, Williams, Dan J wrote: > On Tue, 2015-10-13 at 20:52 +0200, Thomas Hellstrom wrote: >>> Ok, I'll make local read_fifo() and write_fifo() macros to make this >>> explicit. Are these names ok with you? >> Sure. >> > So I ended up just leaving the __iomem annotation on m

Re: [PATCH 00/10] merge_config misc reworks and testcases

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 01:30:59AM -0400, Bruce Ashfield wrote: > On 10/28/2015 01:02 AM, Darren Hart wrote: > >On Wed, Oct 28, 2015 at 09:42:01AM +0900, Olof Johansson wrote: > >>- The script now prints the warnings on stderr, and returns non-0 when > >> something is encountered > > > >This one

Re: [PATCH 07/10] merge_config.sh: add tests

2015-10-28 Thread Olof Johansson
On Wed, Oct 28, 2015 at 4:00 PM, Darren Hart wrote: > On Wed, Oct 28, 2015 at 09:42:08AM +0900, Olof Johansson wrote: >> For being a small script, merge_config.sh is fairly scary to change since >> there's no >> real way to know if you did something wrong. So it seems appropriate to add >> a sim

Re: [PATCH v2 1/3] virtio_net: Stop doing DMA from the stack

2015-10-28 Thread Michael S. Tsirkin
On Tue, Oct 27, 2015 at 10:30:19PM -0700, Andy Lutomirski wrote: > From: Andy Lutomirski > > Once virtio starts using the DMA API, we won't be able to safely DMA > from the stack. virtio-net does a couple of config DMA requests > from small stack buffers -- switch to using dynamically-allocated

Re: [PATCH v3 1/3] virtio_net: Stop doing DMA from the stack

2015-10-28 Thread Michael S. Tsirkin
On Tue, Oct 27, 2015 at 11:38:58PM -0700, Andy Lutomirski wrote: > From: Andy Lutomirski > > Once virtio starts using the DMA API, we won't be able to safely DMA > from the stack. virtio-net does a couple of config DMA requests > from small stack buffers -- switch to using dynamically-allocated

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 11:53 PM, David Woodhouse wrote: > On Tue, 2015-10-27 at 23:38 -0700, Andy Lutomirski wrote: >> >> Changes from v2: >> - Fix really embarrassing bug. This version actually works. > > So embarrassing you didn't want to tell us what it was? ... Shhh, it's a secret! I some

Re: [PATCH 08/10] merge_config.sh: use trap for cleanup

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:09AM +0900, Olof Johansson wrote: > Use the trap to cleanup even on regular exit. > > Signed-off-by: Olof Johansson > --- > scripts/kconfig/merge_config.sh | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/scripts/kconfig/merge_config

[PATCH] Document that IRQ_NONE should be returned when IRQ not actually *handled*

2015-10-28 Thread David Woodhouse
Our IRQ storm detection works when an interrupt handler returns IRQ_NONE for thousands of consecutive interrupts in a second. It doesn't hurt to occasionally return IRQ_NONE when the interrupt is actually genuine. Drivers should only be returning IRQ_HANDLED if they have actually *done* something

[PATCH] usb : replace dma_pool_alloc and memset with dma_pool_zalloc

2015-10-28 Thread Saurabh Sengar
replace dma_pool_alloc and memset with a single call to dma_pool_zalloc Signed-off-by: Saurabh Sengar --- drivers/usb/chipidea/udc.c | 3 +-- drivers/usb/gadget/udc/gr_udc.c | 3 +-- drivers/usb/host/uhci-q.c | 3 +-- drivers/usb/host/whci/qset.c| 3 +-- drivers/usb/host/xhci-mem.

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-28 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 12:13:17 PM Viresh Kumar wrote: > On 28-10-15, 06:54, Rafael J. Wysocki wrote: > > On Wednesday, October 28, 2015 10:14:51 AM Viresh Kumar wrote: > > > In cases where a single policy controls multiple CPUs, a timer is > > > queued for every cpu present in policy->cpus

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Michael S. Tsirkin
On Tue, Oct 27, 2015 at 11:38:57PM -0700, Andy Lutomirski wrote: > This switches virtio to use the DMA API unconditionally. I'm sure > it breaks things, but it seems to work on x86 using virtio-pci, with > and without Xen, and using both the modern 1.0 variant and the > legacy variant. I'm very g

Re: [PATCH] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures

2015-10-28 Thread Minchan Kim
Hello Chen, n Fri, Dec 05, 2014 at 06:58:29AM +0800, Chen Gang wrote: > For uapi, need try to let all macros have same value, and MADV_FREE is > added into main branch recently, so need redefine MADV_FREE for it. > > At present, '8' can be shared with all architectures, so redefine it to > '8'.

[PATCH 0/2] MCB Changes for 4.4

2015-10-28 Thread Johannes Thumshirn
Hi Greg, These are the MCB Changes for 4.4. Alexey Khoroshilov (1): mcb: Do not return zero on error path in mcb_pci_probe() Johannes Thumshirn (1): mcb: Destroy IDA on module unload drivers/mcb/mcb-core.c | 1 + drivers/mcb/mcb-pci.c | 1 + 2 files changed, 2 insertions(+) -- 2.6.2 --

[PATCH 1/2] mcb: Do not return zero on error path in mcb_pci_probe()

2015-10-28 Thread Johannes Thumshirn
From: Alexey Khoroshilov There is an error path in mcb_pci_probe() where it returns zero instead of error code. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: Johannes Thumshirn --- drivers/mcb/mcb-pci.c | 1 + 1 file changed,

[PATCH 2/2] mcb: Destroy IDA on module unload

2015-10-28 Thread Johannes Thumshirn
Destroy mcb_ida on module_unload Signed-off-by: Johannes Thumshirn --- drivers/mcb/mcb-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mcb/mcb-core.c b/drivers/mcb/mcb-core.c index 9018ab8..a4be451 100644 --- a/drivers/mcb/mcb-core.c +++ b/drivers/mcb/mcb-core.c @@ -409,6 +409

Re: [PATCH 09/10] merge_config.sh: allow single configs to be passed in on cmdline

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:10AM +0900, Olof Johansson wrote: > Treat CONFIG_FOO=.. on the command line the same way as a single-entry file > would. > > Signed-off-by: Olof Johansson > --- > scripts/kconfig/merge_config.sh | 29 - > 1 file changed, 24 insertions(+

Re: character driver - poll() timeout

2015-10-28 Thread Clemens Ladisch
Muni Sekhar wrote: > On Tue, Oct 27, 2015 at 8:48 PM, Clemens Ladisch wrote: >> Muni Sekhar wrote: >>> I need to find out when exactly driver's poll callback returned timeout. >> >> Your poll callback _cannot_ return a timeout. >> >> Why do you think you need this information for? > > During stres

[PATCH v2] i2c: cadence: Move to sensible power management

2015-10-28 Thread Shubhrajyoti Datta
Currently the clocks are enabled at probe and disabled at remove. Which keeps the clocks enabled even if no transaction is going on. This patch enables the clocks at the start of transfer and disables after it. Also adapts to runtime pm. Remove xi2c->suspended and use pm runtime status instead. c

Re: [PATCH 08/10] merge_config.sh: use trap for cleanup

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:09AM +0900, Olof Johansson wrote: > Use the trap to cleanup even on regular exit. > > Signed-off-by: Olof Johansson Looks like this should trade spots in the series with 9 where CLEAN_FILES is defined. Otherwise: Reviewed-by: Darren Hart > --- > scripts/kconfig/

Re: [PATCHv2] i2c: cadence: Enable power management

2015-10-28 Thread Shubhrajyoti Datta
On Wed, Oct 28, 2015 at 11:34 AM, Shubhrajyoti Datta wrote: > Currently the clocks are enabled at probe and disabled at remove. > This patch enables the clocks at the start of transfer and disables > after it. > > Also adapts to runtime pm. > Remove xi2c->suspended and use pm runtime status instea

Re: [PATCH 10/10] merge_config.sh: add tests for cmdline configs

2015-10-28 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:11AM +0900, Olof Johansson wrote: > Again, these tests could be more complicated but at least it gets > the very basics covered. > > Signed-off-by: Olof Johansson Good thing you added =n as valid, this would be much harder otherwise :-) Signed-off-by: Darren Hart

Re: [PATCH 3.19.y-ckt 13/86] drm/vmwgfx: Fix up user_dmabuf refcounting

2015-10-28 Thread Thomas Hellstrom
Kamal, On 10/27/2015 10:29 PM, Kamal Mostafa wrote: > 3.19.8-ckt9 -stable review patch. If anyone has any objections, please let > me know. > > -- > > From: Thomas Hellstrom > > commit 54c12bc374408faddbff75dbf1a6167c19af39c4 upstream. > Unfortunately there was a regression int

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Christian Borntraeger
Am 28.10.2015 um 16:17 schrieb Michael S. Tsirkin: > On Tue, Oct 27, 2015 at 11:38:57PM -0700, Andy Lutomirski wrote: >> This switches virtio to use the DMA API unconditionally. I'm sure >> it breaks things, but it seems to work on x86 using virtio-pci, with >> and without Xen, and using both the

Re: [PATCH V2 4/5] cpufreq: create cpu/cpufreq/policyX directories

2015-10-28 Thread Rafael J. Wysocki
On Friday, October 16, 2015 11:21:18 AM Viresh Kumar wrote: > On 15-10-15, 12:25, Saravana Kannan wrote: > > Btw, does a Review-by have an implicit Acked-by? > > I have attended a session at Linaro Connect where this was discussed > and the answer was: > > Acked-by: is more of a general agreement

Donation

2015-10-28 Thread
I have a donation for you,contact for more information via my private Email: annejasonle...@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htm

Re: [PATCH v5 3/8] clk: rockchip: add clock controller for rk3036

2015-10-28 Thread Heiko Stuebner
Am Montag, 26. Oktober 2015, 12:25:34 schrieb Xing Zheng: > diff --git a/drivers/clk/rockchip/clk.h b/drivers/clk/rockchip/clk.h > index dc8ecb2..4b79f34 100644 > --- a/drivers/clk/rockchip/clk.h > +++ b/drivers/clk/rockchip/clk.h > @@ -2,6 +2,9 @@ > * Copyright (c) 2014 MundoReader S.L. > * Au

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-28 Thread Boris Brezillon
Hi Brian, On Tue, 27 Oct 2015 10:54:46 -0700 Brian Norris wrote: > Hi Boris, > > On Tue, Oct 27, 2015 at 08:42:00AM +0100, Boris Brezillon wrote: > > On Mon, 26 Oct 2015 19:31:06 -0700 > > Brian Norris wrote: > > > > > It seems more logical to use a device node directly associated with the >

Re: [PATCH 4/4] Mark files generated by confdata.c

2015-10-28 Thread Nicholas Mc Guire
On Tue, Oct 27, 2015 at 10:16:11PM +0100, Michal Marek wrote: > Dne 27.10.2015 v 16:30 Nicholas Mc Guire napsal(a): > > scripts/kconfig/confdata.c generates a number of files - indicate the > > location of the generator in the file heading to ease reading the sources. > > > > Signed-off-by: Nicho

[PATCH 01/12] usb: xhci: expose xhci extended capabilities via debugfs

2015-10-28 Thread Lu Baolu
The xHCI host exports xHCI-specific extended capabilities utilizing a method similar to PCI extended capabilities. In many cases, users want to know whether a specific extended capability is supported by a host. Unfortunately, currently there's no existing mechanisms in the kernel to do this. This

[PATCH 07/12] usb: xhci: dbc: handle dbc-configured exit

2015-10-28 Thread Lu Baolu
DbC might exit configured state in some cases (refer to 7.6.4.4 in xHCI spec 1.1). Software needs detect and clear this situation by clearing DCCTRL.DCR and wait until the DbC configured before read or write oprations. Signed-off-by: Lu Baolu --- drivers/usb/early/xhci-dbc.c | 28 +++

[PATCH 06/12] usb: xhci: dbc: add bulk out and bulk in interfaces

2015-10-28 Thread Lu Baolu
This patch adds interfaces for bulk out and bulk in ops. These interfaces could be used to implement early printk bootconsole or hook to various system debuggers. Signed-off-by: Lu Baolu --- drivers/usb/early/xhci-dbc.c | 373 +++ include/linux/usb/xhci-db

[PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-10-28 Thread Lu Baolu
This patch add dbc debug device support in usb_debug driver. Signed-off-by: Lu Baolu --- drivers/usb/serial/usb_debug.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/drivers/usb/serial/usb_debug.c b/drivers/usb/serial/usb_debug.c index ca2fa5b

[PATCH 04/12] usb: xhci: dbc: add support for Intel xHCI dbc quirk

2015-10-28 Thread Lu Baolu
On Intel platform, if the debug target is connected with debug host, enabling DCE bit in command register leads to a hung bus state. In the hung state, the host system will not see a port connected status bit set. Hence debug target fails to be probed. The state could be resolved by performing a p

[PATCH 08/12] usb: xhci: dbc: handle endpoint stall

2015-10-28 Thread Lu Baolu
In case of endpoint stall, software is able to detect the situation by reading DCCTRL.HIT or DCCTRL.HOT bits. DbC follows the normal USB framework to handle endpoint stall. When software detects endpoint stall situation, it should wait until endpoint is recovered before read or write oprations. Si

[PATCH 12/12] usb: doc: add document for xHCI DbC driver

2015-10-28 Thread Lu Baolu
Add Documentation/usb/xhci-dbc.txt. This document includes development status and usage guide for USB3 debug port. Signed-off-by: Lu Baolu --- Documentation/usb/xhci-dbc.txt | 325 + MAINTAINERS| 1 + drivers/usb/early/xhci-dbc.c |

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-28 Thread Boris Brezillon
Hi Brian, On Tue, 27 Oct 2015 18:01:02 -0700 Brian Norris wrote: > On Tue, Oct 27, 2015 at 10:54:46AM -0700, Brian Norris wrote: > > On Tue, Oct 27, 2015 at 08:42:00AM +0100, Boris Brezillon wrote: > > > On Mon, 26 Oct 2015 19:31:06 -0700 > > > I like the idea, but how about pushing the solution

[PATCH 10/12] usb: xhci: dbc: add handshake between debug target and host

2015-10-28 Thread Lu Baolu
After DbC setup, debug target needs to wait until tty driver and application (e.g. mincom) on debug taget start. Otherwise, out messages might be ignored. This patch adds a ping/pong mechanism between debug target and host. Debug target will be waiting there until user presses 'Y' or 'y' in the t

[PATCH 09/12] x86: early_printk: add USB3 debug port earlyprintk support

2015-10-28 Thread Lu Baolu
Add support for early printk by writing debug messages to the USB3 debug port. Users can use this type of early printk by specifying kernel parameter of "earlyprintk=xdbc". This gives users a chance of providing debug output. Signed-off-by: Lu Baolu --- Documentation/kernel-parameters.txt | 1 +

Re: [PATCH 4/4] Mark files generated by confdata.c

2015-10-28 Thread Michal Marek
Dne 28.10.2015 v 09:00 Nicholas Mc Guire napsal(a): > On Tue, Oct 27, 2015 at 10:16:11PM +0100, Michal Marek wrote: >> You cannot run the C source to regenerate the file, so how about >> "generated by kconfig"? >> > Yup that makes more sense - and it would still point the reader into the > right di

[PATCH 03/12] usb: xhci: dbc: probe and setup xhci debug capability

2015-10-28 Thread Lu Baolu
xHCI debug capability (DbC) is an optional functionality provided by an xHCI host controller. Software learns this capability by walking through the extended capability list in mmio of the host. This patch introduces the code to probe and initialize the debug capability hardware during early boot.

[PATCH 05/12] usb: xhci: dbc: add debug buffer

2015-10-28 Thread Lu Baolu
"printk" is not suitable for dbc debugging especially when console is in usage. This patch adds a debug buffer in dbc driver and puts the debug messages in this local buffer. The debug buffer could be dumped whenever the console is not in use. This part of code will not be visible unless DBC_DEBUG

[PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-28 Thread Li Bin
By now, the recordmcount only records the function that in following sections: .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ .kprobes.text/.text.unlikely For the function that not in these sections, the call mcount will be in place and not be replaced when kernel boot up. And it will

[PATCH 00/12] usb: early: add support for early printk through USB3 debug port

2015-10-28 Thread Lu Baolu
This patch series adds support for early printk through USB3 debug port. USB3 debug port is described in xHCI specification as an optional extended capability. The first patch adds a file in debugfs, through which users can check whether the debug capability is supported by a specific host control

[PATCH 02/12] x86: fixmap: add permanent fixmap for xhci debug port

2015-10-28 Thread Lu Baolu
xHCI compatible USB3 host controller may provide debug capability which enables low-level system debug over USB. In order to probing this debug capability, Linux kernel needs to map and access the mmio of the host controller during early boot. This patch adds permenent fixmap pages in fixed_addres

Re: [PATCH v2 8/9] ARM: dts: Add leds support to STM32F429 Discovery board

2015-10-28 Thread Daniel Thompson
On 27/10/15 21:52, Andreas Färber wrote: Am 27.10.2015 um 22:46 schrieb Linus Walleij: Heartbeat is awesome. Yes, it's awesome for testing, but not for a .dts file that ends up in a distro (not the case here, of course) and keeps blinking on the desk. If someone wants LEDs to blink, they can

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread David Woodhouse
On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > Am 28.10.2015 um 16:17 schrieb Michael S. Tsirkin: > > On Tue, Oct 27, 2015 at 11:38:57PM -0700, Andy Lutomirski wrote: > > > This switches virtio to use the DMA API unconditionally. I'm sure > > > it breaks things, but it seems to

Re: [PATCH] KVM: x86: fix eflags state following processor init/reset

2015-10-28 Thread Nadav Amit
Here are my 5 cents. Note that vmx_vcpu_reset calls: vmcs_writel(GUEST_RFLAGS, 0x02); (And the RFLAGS value is not cached by KVM, so no consistency problem should occur.) You may want to change the value into constant or call a wrapper function for setting RFLAGS, but I don’t see somethi

Re: [PATCH] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-28 Thread Steven Rostedt
On Wed, 28 Oct 2015 16:04:05 +0800 Li Bin wrote: > By now, the recordmcount only records the function that in > following sections: > .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ > .kprobes.text/.text.unlikely > > For the function that not in these sections, the call mcount > will

Re: [PATCH 01/16] PM / OPP: Add 'supply-names' binding

2015-10-28 Thread Mark Brown
On Tue, Oct 27, 2015 at 01:49:17PM +0530, Viresh Kumar wrote: > On 23-10-15, 01:39, Mark Brown wrote: > > I'm not sure that's > > a place we want to end up just yet, I think it's safer to just have a > > little bit of code in the kernel that glues things together in the cases > > where this is nee

Re: [PATCH 0/7] devcg: device cgroup extension for rdma resource

2015-10-28 Thread Parav Pandit
Hi, I finally got some chance and progress on redesigning rdma cgroup controller for the most use cases that we discussed in this email chain. I am posting RFC and soon code in new email. Parav On Sun, Sep 20, 2015 at 4:05 PM, Haggai Eran wrote: > On 15/09/2015 06:45, Jason Gunthorpe wrote: >>

[PATCH v8 01/17] drm: exynos: dp: convert to drm bridge mode

2015-10-28 Thread Yakir Yang
In order to move exynos dp code to bridge directory, we need to convert driver drm bridge mode first. As dp driver already have a ptn3460 bridge, so we need to move ptn bridge to the next bridge of dp bridge. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None C

Re: [PATCH 0/8] mm: memcontrol: account socket memory in unified hierarchy

2015-10-28 Thread Vladimir Davydov
On Tue, Oct 27, 2015 at 09:01:08AM -0700, Johannes Weiner wrote: ... > > > But regardless of tcp window control, we need to account socket memory > > > in the main memory accounting pool where pressure is shared (to the > > > best of our abilities) between all accounted memory consumers. > > > > >

[PATCH] recordmcount: x86: assign a meaningful value to rel_type_nop

2015-10-28 Thread Li Bin
Although, the default value of rel_type_nop is zero, and the value of R_386_NONE/R_X86_64_NONE is zero too, but it should be assigned a meaningful value explicitly, otherwise it looks confused. Assign R_386_NONE to rel_type_nop for 386, assign R_X86_64_NONE to rel_type_nop for x86_64. Signed-off-

[PATCH v8 03/17] drm: bridge: analogix/dp: fix some obvious code style

2015-10-28 Thread Yakir Yang
Fix some obvious alignment problems, like alignment and line over 80 characters problems, make this easy to be maintained later. Reviewed-by: Krzysztof Kozlowski Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes

Re: [PATCH V3 4/5] cpufreq: governor: Quit work-handlers early if governor is stopped

2015-10-28 Thread Viresh Kumar
On 28-10-15, 08:10, Rafael J. Wysocki wrote: > I have a hard time figuring out what the patch is supposed to achieve from > the above. We had a problem earlier, where even after stopping the governor for a policy, the work was still queued for some of its CPUs. We failed to understand the real pr

[PATCH 2/2] x86: Stop Intel PT before kdump starts

2015-10-28 Thread Takao Indoh
This patch stops Intel PT logging and saves its registers in the memory before kdump is started. This feature is needed to prevent Intel PT from overwrite its log buffer after panic, and saved registers are needed to find the last position where Intel PT wrote data. After crash dump is captured by

[PATCH 0/2] Stop Intel Processor Trace logging on panic

2015-10-28 Thread Takao Indoh
Hi all, These patch series provide a feature to stop Intel Processor Trace (Intel PT) logging and save its registers in the memory on panic. Intel PT is a new feature of Intel CPU "Broadwell", it captures information about program execution flow. Here is a article about Intel PT. https://software

[PATCH v8 05/17] drm: bridge: analogix/dp: dynamic parse sync_pol & interlace & dynamic_range

2015-10-28 Thread Yakir Yang
Both hsync/vsync polarity and interlace mode can be parsed from drm display mode, and dynamic_range and ycbcr_coeff can be judge by the video code. But presumably Exynos still relies on the DT properties, so take good use of mode_fixup() in to achieve the compatibility hacks. Reviewed-by: Krzyszt

[PATCH v8 07/17] ARM: dts: exynos/dp: remove some properties that deprecated by analogix_dp driver

2015-10-28 Thread Yakir Yang
After exynos_dp have been split the common IP code into analogix_dp driver, the analogix_dp driver have deprecated some Samsung platform properties which could be dynamically parsed from EDID/MODE/DPCD message, so this is an update for Exynos DTS file for dp-controller. Beside the backward compati

[PATCH v8 06/17] dt-bindings: add document for analogix display port driver

2015-10-28 Thread Yakir Yang
Analogix dp driver is split from exynos dp driver, so we just make an copy of exynos_dp.txt, and then simplify exynos_dp.txt Beside update some exynos dtsi file with the latest change according to the devicetree binding documents. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --

[PATCH v8 08/17] drm: rockchip: dp: add rockchip platform dp driver

2015-10-28 Thread Yakir Yang
Rockchip have three clocks for dp controller, we leave pclk_edp to analogix_dp driver control, and keep the sclk_edp_24m and sclk_edp in platform driver. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: -

[PATCH v8 04/17] drm: bridge: analogix/dp: remove duplicate configuration of link rate and link count

2015-10-28 Thread Yakir Yang
link_rate and lane_count already configured in analogix_dp_set_link_train(), so we don't need to config those repeatly after training finished, just remove them out. Beside Display Port 1.2 already support 5.4Gbps link rate, the maximum sets would change from {1.62Gbps, 2.7Gbps} to {1.62Gbps, 2.7G

RFC rdma cgroup

2015-10-28 Thread Parav Pandit
Hi All, Based on the review comments, feedback, discussion from/with Tejun, Haggai, Doug, Jason, Liran, Sean, ORNL team, I have updated the design as below. This is fairly strong and simple design, addresses most of the points raised to cover current RDMA use cases. Feel free to skip design guide

Re: [PATCH V2 4/5] cpufreq: create cpu/cpufreq/policyX directories

2015-10-28 Thread Viresh Kumar
On 28-10-15, 09:16, Rafael J. Wysocki wrote: > That's a bit too much IMO. It means "I have carried out a detailed review > of this patch and haven't found problems in it." How much responsibility > that implies is not so clear (evidently, there are differing opinions > regarding that). Right. I

[PATCH v8 09/17] dt-bindings: add document for rockchip variant of analogix_dp

2015-10-28 Thread Yakir Yang
Rockchip DP driver is a helper driver of analogix_dp coder driver, so most of the DT property should be descriped in analogix_dp document. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v8: - Modify the commit subject name. (Heiko) Changes in v7: None Changes in v6: None C

[PATCH v8 0/17] Add Analogix Core Display Port Driver

2015-10-28 Thread Yakir Yang
Hi all, The Samsung Exynos eDP controller and Rockchip RK3288 eDP controller share the same IP, so a lot of parts can be re-used. I split the common code into bridge directory, then rk3288 and exynos only need to keep some platform code. Cause I can't find the exact IP name of exynos dp control

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Lee Jones
On Tue, 2015-10-27 at 18:15 +, Lee Jones wrote: > On Tue, 27 Oct 2015, Sebastian Reichel wrote: > > On Tue, Oct 27, 2015 at 03:42:37PM +, Lee Jones wrote: > > > Since eafbaac ("MAINTAINERS: Add "R:" designated-reviewers tag") we > > > have been able to tag specific people as Reviewers. The

[PATCH v8 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Yakir Yang
Add phy driver for the Rockchip DisplayPort PHY module. This is required to get DisplayPort working in Rockchip SoCs. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v8: - Fix the mixed spacers on macro definitions. (Heiko) - Remove the unnecessary empty line after clk_prepa

[GIT PULL] Please pull powerpc/linux.git powerpc-4.3-6 tag

2015-10-28 Thread Michael Ellerman
Hi Linus, Please pull one more powerpc fix for 4.3: The following changes since commit 8832317f662c06f5c06e638f57bfe89a71c9b266: powerpc/rtas: Validate rtas.entry before calling enter_rtas() (2015-10-22 11:03:25 +1100) are available in the git repository at: git://git.kernel.org/pub/scm/l

[PATCH v8 11/17] dt-bindings: add document for rockchip dp phy

2015-10-28 Thread Yakir Yang
Add dt binding documentation for rockchip display port PHY. Reviewed-by: Heiko Stuebner Signed-off-by: Yakir Yang --- Changes in v8: - Remove the specific address in the example node name. (Heiko) Changes in v7: - Simplify the commit message. (Kishon) Changes in v6: None Changes in v5: - Split

Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"

2015-10-28 Thread Josh Cartwright
On Tue, Oct 27, 2015 at 04:15:59PM -0700, Paul E. McKenney wrote: > On Tue, Oct 27, 2015 at 08:27:53AM -0700, Eric Dumazet wrote: > > On Tue, 2015-10-27 at 12:02 -0300, Arnaldo Carvalho de Melo wrote: [..] > > > The first suggestion, with it disabled by default seems to be the most > > > flexible t

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-28 Thread Ingo Molnar
* Tejun Heo wrote: > Subject: writeback: don't use list_entry_rcu() for pointer offsetting in > bdi_split_work_to_wbs() > > bdi_split_work_to_wbs() uses list_for_each_entry_rcu_continue() to > walk @bdi->wb_list. To set up the initial iteration condition, it > uses list_entry_rcu() to calcula

Re: [PATCH] ASoC: dpcm: Make BE prepare possible in suspend state

2015-10-28 Thread Liam Girdwood
On Wed, 2015-10-28 at 10:15 +0800, Koro Chen wrote: > During suspend/resume, there is a flow that if a driver does not support > SNDRV_PCM_INFO_RESUME, it will fail at snd_pcm_resume(), and user space > can then issue SNDRV_PCM_IOCTL_PREPARE to let audio continue to play. > > However, in dpcm_be_d

Re: [PATCH V3 3/5] cpufreq: ondemand: queue work for policy->cpus together

2015-10-28 Thread Viresh Kumar
On 28-10-15, 08:33, Rafael J. Wysocki wrote: > It looks like we shouldn't be using delayed works for this, really. > > We should be using timer functions and normal work items. Schedule the > timer function on all CPUs sharing the policy and then queue up the > work item from the first one that e

Re: [PATCH 00/11] parport cleanup

2015-10-28 Thread Sudip Mukherjee
On Tue, Oct 27, 2015 at 08:12:26PM +0530, Sudip Mukherjee wrote: > Hi Greg, > A small series of checkpatch cleanup on parport. This is the first set. > Its only cleanup and no other change is done. All the patches are also > sent along with this pull request for your convenience. An extra From: li

[PATCHv2] i2c: cadence: Enable power management

2015-10-28 Thread Shubhrajyoti Datta
Currently the clocks are enabled at probe and disabled at remove. This patch enables the clocks at the start of transfer and disables after it. Also adapts to runtime pm. Remove xi2c->suspended and use pm runtime status instead. converts dev pm to const to silence a checkpatch warning. Signed-of

RE: [PATCH] power: qcom_smbb: Add otg regulator for control of vbus

2015-10-28 Thread Bird, Tim
On Monday, October 26, 2015 4:17 AM, Mark Rutland wrote: > > On Thu, Oct 22, 2015 at 02:12:17PM -0700, Tim Bird wrote: > > Add a regulator to control the OTG chargepath switch. The OTG > > switch gets its power from pm8941_5vs1, and that should be expressed

[PATCH 1/2] perf/x86/intel/pt: Add interface to stop Intel PT logging

2015-10-28 Thread Takao Indoh
This patch add a function for external component to stop Intel PT. Basically this function is used when kernel panic occurs. When it is called, intel_pt driver disables Intel PT and saves its registers using pt_event_stop, which is also used by pmu.stop handler. This function stops Intel PT on the

Re: [PATCH V2 4/4] PM / OPP: Create separate structure for regulator/supplies

2015-10-28 Thread Viresh Kumar
On 15-10-15, 21:42, Viresh Kumar wrote: > Support for multiple regulators will be added later, until then move > all power-supply related information in a separate structure. > > To make allocating/freeing memory for these supply structures easy, > allocate memory for them along with opp. > > Sig

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Benjamin Herrenschmidt
On Wed, 2015-10-28 at 16:40 +0900, Christian Borntraeger wrote: > We have discussed that at kernel summit. I will try to implement a dummy > dma_ops for > s390 that does 1:1 mapping and Ben will look into doing some quirk to handle > "old" > code in addition to also make it possible to mark devic

Re: [PATCH v2 2/3] virtio_ring: Support DMA APIs

2015-10-28 Thread Christian Borntraeger
Am 28.10.2015 um 15:04 schrieb David Woodhouse: > On Wed, 2015-10-28 at 14:52 +0900, Christian Borntraeger wrote: >>0059b25a: e3201024 lg %r2,32(%r1) >> #0059b260: e310b0a4 lg %r1,160(%r11) >> >0059b266: 4810100c

Re: [PATCH] arch: uapi: asm: mman.h: Let MADV_FREE have same value for all architectures

2015-10-28 Thread Chen Gang
On 2015年10月28日 15:18, Minchan Kim wrote: > Hello Chen, > > n Fri, Dec 05, 2014 at 06:58:29AM +0800, Chen Gang wrote: >> For uapi, need try to let all macros have same value, and MADV_FREE is >> added into main branch recently, so need redefine MADV_FREE for it. >> >> At present, '8' can be shared w

Re: [PATCH v3 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: > On 26.10.2015 23:34, Lee Jones wrote: > > On Mon, 26 Oct 2015, Alim Akhtar wrote: > > > >> From: Thomas Abraham > >> > >> Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15 > >> PMIC supports 27 LDO regulators, 10 buck reg

[PATCH V4 1/3] bindings for hisilicon hi6220 iommu driver

2015-10-28 Thread Chen Feng
docs: iommu: Documentation for iommu in hi6220 SoC. Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- .../bindings/iommu/hisi,hi6220-iommu.txt | 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindings/iommu/hisi,hi6220-io

[PATCH V4 2/3] Add iommu driver for hi6220 SoC platform

2015-10-28 Thread Chen Feng
iommu/hisilicon: Add hi6220-SoC smmu driver The smmu on hi6220 SoC is for media system.And the media IP use the same page-table. It supports only one-to-one mapping from iova to phys address. Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- drivers/iommu/Kconfig| 11 + drivers/i

[PATCH V4 3/3] Add iommu node for hi6220 SoC platform

2015-10-28 Thread Chen Feng
arm64: dts: Add dts node for hi6220 smmu driver Signed-off-by: Chen Feng Signed-off-by: Yu Dongbin --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.

Re: [PATCH v4 3/3] USB: serial: cp210x: Workaround cp2108 GET_LINE_CTL bug

2015-10-28 Thread Johan Hovold
On Tue, Oct 27, 2015 at 04:53:34PM -0500, Konstantin Shkolnyy wrote: > cp2108 GET_LINE_CTL returns the 16-bit value with the 2 bytes swapped. > However, SET_LINE_CTL functions properly. When the driver tries to modify > the register, it reads it, modifies some bits and writes back. Because the > re

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-28 Thread Lee Jones
On Wed, 28 Oct 2015, Wolfram Sang wrote: > > Some top level directories contain other subsystems. > > > > A maintainer of something like arch/arm doesn't generally > > want to be the maintainer of arch/arm/mach- > > > > You _want_ a wider number of reviewers for patches to any > > of those unmai

Re: [PATCH v3 00/24] arm64: Consolidate CPU feature handling

2015-10-28 Thread Siddhesh Poyarekar
On Tuesday 27 October 2015 11:39 PM, Suzuki K. Poulose wrote: > I am afraid that would impose a new ABI with complications on how we > handle information about the CPUs in different states (online, offline, > etc). I am open to suggestions here. No I agree it would be non-trivial to maintain this

[PATCH] md/raid5: fix locking in handle_stripe_clean_event()

2015-10-28 Thread Roman Gushchin
After commit 566c09c53455 ("raid5: relieve lock contention in get_active_stripe()") __find_stripe() is called under conf->hash_locks + hash. But handle_stripe_clean_event() calls remove_hash() under conf->device_lock. Under some cirscumstances the hash chain can be circuited, and we get an infini

[PATCH v8 12/17] drm: rockchip: vop: add bpc and color mode setting

2015-10-28 Thread Yakir Yang
From: Mark Yao Add bpc and color mode setting in rockchip_drm_vop driver, so connector could try to use the edid drm_display_info to config vop output mode. Signed-off-by: Mark Yao Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: - Fix co

[PATCH v8 13/17] drm: bridge: analogix/dp: add some rk3288 special registers setting

2015-10-28 Thread Yakir Yang
RK3288 need some special registers setting, we can separate them out by the dev_type of plat_data. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-28 Thread Viresh Kumar
On 28-10-15, 08:46, Rafael J. Wysocki wrote: > On Wednesday, October 28, 2015 12:13:17 PM Viresh Kumar wrote: > > Actually yeah, but then the fourth patch of this series uses the > > timer_mutex to fix a long standing problem (which was fixed by hacking > > the code earlier). And so we need to take

[PATCH v8 14/17] drm: bridge: analogix/dp: add max link rate and lane count limit for RK3288

2015-10-28 Thread Yakir Yang
There are some IP limit on rk3288 that only support 4 physical lanes of 2.7/1.6 Gbps/lane, so seprate them out by device_type flag. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: - S

Re: [PATCH] MAINTAINERS: Start using the 'reviewer' (R) tag

2015-10-28 Thread Chanwoo Choi
Hi Lee, On 2015년 10월 28일 00:42, Lee Jones wrote: > Since eafbaac ("MAINTAINERS: Add "R:" designated-reviewers tag") we > have been able to tag specific people as Reviewers. These are key > individuals who are tasked with or volunteer to review code submitted > to a subsystem or specific file. Ho

  1   2   3   4   5   6   7   8   9   10   >