[PATCH] tools lib traceevent: Fix prev/next_prio for deadline tasks

2017-01-03 Thread Daniel Bristot de Oliveira
From: Daniel Bristot de Oliveiva Currently, the sched:sched_switch tracepoint reports deadline tasks with priority -1. But when reading the trace via perf script I've got the following output: # ./d & # (d is a deadline task, see [1]) # perf record -e sched:sched_switch -a sleep 1 # perf s

Re: [PATCH] mtd: davinci-nand: disable subpage write for davinci-nand

2017-01-03 Thread Sekhar Nori
Hi Boris, On Tuesday 03 January 2017 02:29 PM, Boris Brezillon wrote: > Hi Sushaanth, Sushaanth is not with TI anymore. You might have received a bounce. > > Sorry for the late reply, I'm dequeing old NAND related patches and > found this one. > > Is this patch still needed? I dont think so.

Re: [LKP] [lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression

2017-01-03 Thread Vincent Guittot
Hi Dietmar and Ying, Le Tuesday 03 Jan 2017 à 11:38:39 (+0100), Dietmar Eggemann a écrit : > Hi Vincent and Ying, > > On 01/02/2017 04:42 PM, Vincent Guittot wrote: > >Hi Ying, > > > >On 28 December 2016 at 09:17, Huang, Ying wrote: > >>Vincent Guittot writes: > >> > >>>Le Tuesday 13 Dec 2016 .

Re: [PATCH v3] soc: zte: Add header for PM domains specifiers

2017-01-03 Thread Shawn Guo
On Tue, Jan 03, 2017 at 05:15:11PM +0800, Baoyou Xie wrote: > This patch adds header with values used for zx96718 > SoC's power domain driver. > > Signed-off-by: Baoyou Xie There is a hard dependency between this patch and the following one: [PATCH v4 2/3] soc: zte: pm_domains: Add support for

Re: [PATCH v4 1/3] soc: zte: pm_domains: Prepare for supporting ARMv8 zx2967 family

2017-01-03 Thread Shawn Guo
On Tue, Jan 03, 2017 at 02:56:15PM +0800, Baoyou Xie wrote: > The ARMv8 zx2967 family (296718, 296716 etc) uses different value > for controlling the power domain on/off registers, Choose the > value depending on the compatible. > > Multiple domains are prepared for the family, this patch prepares

Re: [PATCH 1/2] arm64: setup: introduce kaslr_offset()

2017-01-03 Thread Will Deacon
On Tue, Jan 03, 2017 at 11:18:15AM +, Jon Hunter wrote: > On 22/12/16 12:51, Alexander Popov wrote: > > On 22.12.2016 09:18, Yury Norov wrote: > >> On Sun, Dec 11, 2016 at 03:50:55AM +0300, Alexander Popov wrote: > >>> Introduce kaslr_offset() similarly to x86_64 for fixing kcov. > > > > [...]

[PATCH] swiotlb: ensure that page-sized mappings are page-aligned

2017-01-03 Thread Nikita Yushchenko
Some drivers (e.g. nvme) do depend on page mappings to be page aligned. Swiotlb already enforces such alignment for mappings greater than page, extend that to page-sized mappings as well. Signed-off-by: Nikita Yushchenko --- lib/swiotlb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions

Re: [RFC PATCH] input: Add disable sysfs entry for every input device

2017-01-03 Thread Bastien Nocera
On Mon, 2017-01-02 at 18:09 +0100, Pali Rohár wrote: > On Monday 02 January 2017 16:27:05 Bastien Nocera wrote: > > On Sun, 2016-12-25 at 11:04 +0100, Pali Rohár wrote: > > > This patch allows user to disable events from any input device so > > > events > > > would not be delivered to userspace. >

[v1] gpu: drm: mgag200: mgag200_main:- Handle error from pci_iomap

2017-01-03 Thread Arvind Yadav
Here, pci_iomap can fail, handle this case and return -ENOMEM. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/mgag200/mgag200_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mgag200/mgag200_main.c b/drivers/gpu/drm/mgag200/mgag200_main.c index e79cbc2..fb03e30 1006

Re: [PATCH v4 0/3] perf: add support for analyzing events for containers

2017-01-03 Thread Hari Bathini
Hi Krister, Thanks for reviewing.. On Thursday 29 December 2016 07:11 AM, Krister Johansen wrote: On Fri, Dec 16, 2016 at 12:06:55AM +0530, Hari Bathini wrote: This patch-set overcomes this limitation by using cgroup identifier as container unique identifier. A new PERF_RECORD_NAMESPACES even

Re: [PATCH v6 05/14] ACPI: platform-msi: retrieve dev id from IORT

2017-01-03 Thread Tomasz Nowicki
On 03.01.2017 10:37, Tomasz Nowicki wrote: On 03.01.2017 09:43, Tomasz Nowicki wrote: On 02.01.2017 14:31, Hanjun Guo wrote: For devices connecting to ITS, it needs dev id to identify itself, and this dev id is represented in the IORT table in named componant node [1] for platform devices, so i

[PATCH] ARM: OMAP1: DMA: Correct the number of logical channels

2017-01-03 Thread Peter Ujfalusi
OMAP1510, OMAP5910 and OMAP310 have only 9 logical channels. OMAP1610, OMAP5912, OMAP1710, OMAP730, and OMAP850 have 16 logical channels available. The wired 17 for the lch_count must have been used to cover the 16 + 1 dedicated LCD channel, in reality we can only use 9 or 16 channels. The d->cha

Re: [PATCH 1/2] arm64: setup: introduce kaslr_offset()

2017-01-03 Thread Jon Hunter
Hi Will, Catalin, On 22/12/16 12:51, Alexander Popov wrote: > On 22.12.2016 09:18, Yury Norov wrote: >> On Sun, Dec 11, 2016 at 03:50:55AM +0300, Alexander Popov wrote: >>> Introduce kaslr_offset() similarly to x86_64 for fixing kcov. > > [...] > >> Hi Alexander, >> >> I found today's linux-next

Re: [PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl

2017-01-03 Thread Mark Brown
On Tue, Jan 03, 2017 at 05:02:47PM +0800, Peter Chen wrote: > At some systems, the pinctrl setting will be lost or needs to > set as "sleep" state to save power consumption. So, we need to > configure pinctrl as "sleep" state when system enters suspend, > and as "default" state after system resumes

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Richard Cochran
On Tue, Jan 03, 2017 at 10:47:56AM +, Rafal Ozieblo wrote: > We could use only descriptor approach but there are many Atmel's cores on the > market which support only event registers. As I said in my other reply in this thread, the Atmel cores cannot possibly be made to work correctly. Sad,

Re: [PATCH V2] cpufreq: powernv: Add boost files to export ultra-turbo frequencies

2017-01-03 Thread Viresh Kumar
On 03-01-17, 16:36, Shilpasri G Bhat wrote: > In P8+, Workload Optimized Frequency(WOF) provides the capability to > boost the cpu frequency based on the utilization of the other cpus > running in the chip. The On-Chip-Controller(OCC) firmware will control > the achievability of these frequencies d

Re: [PATCH V2 0/2] PM / Domains / OPP: Introduce domain-performance-state binding

2017-01-03 Thread Viresh Kumar
On 22-12-16, 12:14, Rob Herring wrote: > On Mon, Dec 12, 2016 at 04:26:17PM +0530, Viresh Kumar wrote: > > Hello, > > > > Some platforms have the capability to configure the performance state of > > their Power Domains. The performance levels are represented by positive > > integer values, a lower

Re: [PATCH v4 2/3] soc: zte: pm_domains: Add support for zx296718 board

2017-01-03 Thread Shawn Guo
On Tue, Jan 03, 2017 at 02:56:16PM +0800, Baoyou Xie wrote: > This patch introduces the power domain driver of zx296718 > which belongs to zte's zx2967 family. > > Signed-off-by: Baoyou Xie It seems that none of the review comments I put on v3 [1] gets addressed in this version. You missed them

[PATCH 4/6] PM / domain: Register for PM QOS performance notifier

2017-01-03 Thread Viresh Kumar
Some platforms have the capability to configure the performance state of their Power Domains. The performance levels are represented by positive integer values, a lower value represents lower performance state. This patch registers the power domain framework for PM QOS performance notifier in orde

[PATCH 2/6] PM / QOS: Pass request type to dev_pm_qos_{add|remove}_notifier()

2017-01-03 Thread Viresh Kumar
In order to use the same set of routines to register notifiers for different request types, update the existing dev_pm_qos_{add|remove}_notifier() routines with an additional parameter: request-type. For now, it only supports resume-latency request type. Signed-off-by: Viresh Kumar --- Document

[PATCH 0/6] PM / Domains: Implement domain performance states

2017-01-03 Thread Viresh Kumar
Hi, An earlier series[1] tried to implement bindings for PM domain performance states. Rob Herring suggested that we can actually write the supporting code first instead of bindings, as that will make things easier to understand for all. The bindings [1] aren't discarded yet and this series is ba

[PATCH 3/6] PM / QOS: Add 'performance' request

2017-01-03 Thread Viresh Kumar
Add a new QOS request type: DEV_PM_QOS_PERFORMANCE. This is required to support runtime performance constraints for the devices. Also allow notifiers to be registered against it, which can be used by frameworks like genpd. Signed-off-by: Viresh Kumar --- Documentation/power/pm_qos_interface.txt

[PATCH 6/6] PM / OPP: Add support to parse domain-performance-state

2017-01-03 Thread Viresh Kumar
PLEASE DO NOT APPLY THIS This patch is added to this series to show how kernel will get inputs using the OPP framework. This patch is still based of the V1 bindings I sent earlier. This also is based on some OPP core fixes which are already reviewed on the lists, but that doesn't really much in th

[PATCH 1/6] PM / QOS: Add default case to the switch

2017-01-03 Thread Viresh Kumar
The switch block handles all the QOS request types present today, but starts giving compilation warnings as soon as a new type is added and not handled in this. To prevent against that, add the default case as well and do a WARN from it. Signed-off-by: Viresh Kumar --- drivers/base/power/qos.c

[PATCH 5/6] PM / domain: Save/restore performance state at runtime suspend/resume

2017-01-03 Thread Viresh Kumar
With runtime PM, the devices get suspended while the system is up and running in order to save power. At such times, it is important to re-evaluate the required performance state of the domain, in order to choose a lower state if possible. This patch updates the genpd suspend/resume callbacks to d

[PATCH V2] cpufreq: powernv: Add boost files to export ultra-turbo frequencies

2017-01-03 Thread Shilpasri G Bhat
In P8+, Workload Optimized Frequency(WOF) provides the capability to boost the cpu frequency based on the utilization of the other cpus running in the chip. The On-Chip-Controller(OCC) firmware will control the achievability of these frequencies depending on the power headroom available in the chip

[ANNOUNCE] resctrltool: command line tool to manage CAT reservations from userspace

2017-01-03 Thread Marcelo Tosatti
Hello, Reviews, comments and questions are appreciated on this python script, called resctrltool.py, a utility to manage CAT reservations from the command line. Why: There are two main reasons for writing this tool, they are: 1) The kernel resctrlfs filesystem format is not functional for being

Re: [PATCH] Staging: comedi: comedidev.h: Drop old style zero-length array

2017-01-03 Thread Ian Abbott
On 21/12/16 19:13, Cheah Kok Cheong wrote: According to Documentation/Changes, the minimum gcc version required to compile the kernel is 3.2 (this is probably outdated too). Signed-off-by: Cheah Kok Cheong --- drivers/staging/comedi/comedidev.h | 8 +--- 1 file changed, 1 insertion(+), 7 d

Re: [PATCH 1/2] drm_fourcc: Add new P010 video format

2017-01-03 Thread Daniel Stone
Hi Randy, On 2 January 2017 at 09:50, Randy Li wrote: > P010 is a planar 4:2:0 YUV with interleaved UV plane, 10 bits > per channel video format. Rockchip's vop support this > video format(little endian only) as the input video format. > > Signed-off-by: Randy Li > --- > include/uapi/drm/drm_fo

Re: [PATCH tip/master v3] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2017-01-03 Thread Peter Zijlstra
On Tue, Dec 27, 2016 at 03:14:10PM +0900, Masami Hiramatsu wrote: > diff --git a/kernel/extable.c b/kernel/extable.c > index e820cce..81c9633 100644 > --- a/kernel/extable.c > +++ b/kernel/extable.c > @@ -123,7 +126,11 @@ int kernel_text_address(unsigned long addr) > return 1; >

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-03 Thread Andy Shevchenko
On Mon, 2017-01-02 at 19:14 +0100, Noralf Trønnes wrote: > Den 02.01.2017 12:35, skrev Andy Shevchenko: > > Usually it's not consumer's business to override resources passed > > from > > provider, in particularly DMA coherent mask. > > --- a/drivers/staging/fbtft/fbtft-core.c > > +++ b/drivers/sta

Re: [PATCH 3/5] arm64: dts: sun50i: add MMC nodes

2017-01-03 Thread André Przywara
On 03/01/17 02:52, Chen-Yu Tsai wrote: Hi, > On Tue, Jan 3, 2017 at 7:03 AM, Andre Przywara wrote: > > A commit message explaining the mmc controllers would be nice. OK. >> Signed-off-by: Andre Przywara >> --- >> arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 67 >> +++

Re: [PATCH 2/2] [media] v4l: Add 10-bits per channel YUV pixel formats

2017-01-03 Thread Daniel Stone
Hi all, On 2 January 2017 at 13:03, ayaka wrote: > On 01/02/2017 07:07 PM, Sakari Ailus wrote: >> On Mon, Jan 02, 2017 at 06:53:16PM +0800, ayaka wrote: >>> On 01/02/2017 05:10 PM, Sakari Ailus wrote: If the format resembles the existing formats but on a different bit depth, it sho

Re: [PATCH 0/3] ata: add m68k/Atari Falcon PATA support

2017-01-03 Thread Geert Uytterhoeven
Hi Bartlomiej, On Fri, Dec 30, 2016 at 3:01 PM, Bartlomiej Zolnierkiewicz wrote: > This patchset adds m68k/Atari Falcon PATA support to libata. Thanks for your series! That leaves us with 4 to go ;-) CONFIG_BLK_DEV_GAYLE CONFIG_BLK_DEV_BUDDHA CONFIG_BLK_DEV_MAC_IDE CONFIG_BLK_D

Re: [PATCH] Staging: comedi: comedi_compat32: fixed a syntax error

2017-01-03 Thread Ian Abbott
On 26/12/16 06:26, Jonathan Villatoro wrote: Fixed a syntax error in the function definition's parameter. It's not really a syntax error, just a coding style issue. Signed-off-by: Jonathan Horacio Villatoro Córdoba --- drivers/staging/comedi/comedi_compat32.h | 2 +- 1 file changed, 1 inse

Re: AMD Bulldozer topology regression since 4.6

2017-01-03 Thread Brice Goglin
Le 29/11/2016 22:02, Brice Goglin a écrit : > Le 29/11/2016 20:39, Borislav Petkov a écrit : >> Does that fix it? >> >> Patch is against latest tip/master because we have some more changes in >> that area. > I tested the second patch on top of 4.8.11, it brings core_id back to > where it was befo

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Harini Katakam
Hi Richard, On Tue, Jan 3, 2017 at 3:59 PM, Richard Cochran wrote: > On Tue, Jan 03, 2017 at 10:36:11AM +0530, Harini Katakam wrote: >> I understand that it is not accurate - it is an initial version. > > Why do you say, "it is an initial version?" > > The Atmel device has this IP core burned in.

RE: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Rafal Ozieblo
>From: Harini Katakam [mailto:harinikatakamli...@gmail.com] >Sent: 3 stycznia 2017 06:06 >Subject: Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM. > >Hi Richard, > >On Mon, Jan 2, 2017 at 9:43 PM, Richard Cochran >wrote: >> On Mon, Jan 02, 2017 at 03:47:07PM +0100, Nicolas

[PATCH v3 2/2] ARM: dts: imx6q: Add mccmon6 board support

2017-01-03 Thread Lukasz Majewski
From: Lukasz Majewski This patch provides support for Liebherr's Monitor 6 board (abverrated as mccmon6) to Linux kernel. Signed-off-by: Lukasz Majewski --- Changes for v3: - Reorganize the dts file according to Shawn Guo's comments Changes for v2: - Reorganize the dts file according to Valdim

[PATCH v3 1/2] Doc: devicetree: bindings: Add vendor prefix entry - lwn

2017-01-03 Thread Lukasz Majewski
This patch adds entry for LWN - the Liebherr-Werk Nenzing GmbH company to vendor-prefixes.txt file. Signed-off-by: Lukasz Majewski --- Changes for v3: - Update to v4.10-rc2 Changes for v2: - New patch --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+

Re: [PATCH 0/5] Staging: comedi: Proc FS related cleanup

2017-01-03 Thread Ian Abbott
On 30/12/16 11:24, Cheah Kok Cheong wrote: This series does trivial cleanup for COMEDI proc fs related stuff. Cheah Kok Cheong (5): Staging: comedi: comedi_fops: Avoid orphaned proc entry Staging: comedi: proc: Change file permission to read only Staging: comedi: proc: Add __init prefix

Re: [PATCH] KVM: ioapic: fix NULL deref ioapic->lock

2017-01-03 Thread Wanpeng Li
2017-01-03 17:27 GMT+08:00 Dmitry Vyukov : > On Mon, Jan 2, 2017 at 7:01 PM, Paolo Bonzini wrote: >> >> >> On 02/01/2017 11:17, Dmitry Vyukov wrote: >>> On Mon, Jan 2, 2017 at 11:09 AM, Paolo Bonzini wrote: On 01/01/2017 04:44, Wanpeng Li wrote: > From: Wanpeng Li > >

Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options

2017-01-03 Thread Jiri Olsa
On Tue, Jan 03, 2017 at 05:51:46PM +0800, Wangnan (F) wrote: > > > On 2017/1/3 16:19, Jiri Olsa wrote: > > hi, > > adding a way to configure switch data output > > for size and time, like: > > > >$ sudo perf record -e 'sched:*' --switch-output=10M -avg > >callchain: type FP > >switch

Re: [LKP] [lkp-developer] [sched/fair] 4e5160766f: +149% ftq.noise.50% regression

2017-01-03 Thread Dietmar Eggemann
Hi Vincent and Ying, On 01/02/2017 04:42 PM, Vincent Guittot wrote: Hi Ying, On 28 December 2016 at 09:17, Huang, Ying wrote: Vincent Guittot writes: Le Tuesday 13 Dec 2016 . 09:47:30 (+0800), Huang, Ying a .crit : Hi, Vincent, Vincent Guittot writes: [...] --- kernel/sched/fair.c

Re: [patch] mm, thp: always direct reclaim for MADV_HUGEPAGE even when deferred

2017-01-03 Thread Mel Gorman
On Fri, Dec 30, 2016 at 02:30:32PM -0800, David Rientjes wrote: > On Fri, 30 Dec 2016, Mel Gorman wrote: > > > Michal is correct in that my intent for defer was to have "never stall" > > as the default behaviour. This was because of the number of severe stalls > > users experienced that lead to r

Re: [tip:timers/urgent] ktime: Get rid of the union

2017-01-03 Thread Peter Zijlstra
On Sun, Dec 25, 2016 at 05:26:33AM -0800, tip-bot for Thomas Gleixner wrote: > Commit-ID: 64dac5c9e0f5a933e4520f0cb689b7b143925207 > Gitweb: http://git.kernel.org/tip/64dac5c9e0f5a933e4520f0cb689b7b143925207 > Author: Thomas Gleixner > AuthorDate: Sun, 25 Dec 2016 11:38:40 +0100 > Committ

Re: [PATCH] mm: introduce kv[mz]alloc helpers

2017-01-03 Thread Michal Hocko
On Tue 03-01-17 11:23:04, Vlastimil Babka wrote: > On 01/02/2017 02:37 PM, Michal Hocko wrote: > > From: Michal Hocko > > > > Using kmalloc with the vmalloc fallback for larger allocations is a > > common pattern in the kernel code. Yet we do not have any common helper > > for that and so users h

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Richard Cochran
On Tue, Jan 03, 2017 at 10:36:11AM +0530, Harini Katakam wrote: > I understand that it is not accurate - it is an initial version. Why do you say, "it is an initial version?" The Atmel device has this IP core burned in. The core is hopelessly broken, and it cannot be fixed in SW either, so what

[PATCH v2] ARM: dts: imx/vf: Correct license text

2017-01-03 Thread Alexandre Belloni
The license text has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Reviewed-by: Heiko Schocher Acked-by: Marcel Ziswiler Acked-by: Uwe Kleine-König Acked-by: Afzal Mohammed Acked-by: Micha

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Andi Shyti
> >> > Currently tm2e dts includes tm2 but there are some differences > >> > between the two boards and tm2 has some properties that tm2e > >> > doesn't have. > >> > > >> > That's why it's important to keep the two dts files independent > >> > and put all the commonalities in a tm2-common.dtsi file

Re: Potential issues (security and otherwise) with the current cgroup-bpf API

2017-01-03 Thread Michal Hocko
On Tue 20-12-16 10:11:50, Peter Zijlstra wrote: > On Mon, Dec 19, 2016 at 05:56:24PM -0800, Andy Lutomirski wrote: > > >> Huh? My example in the original email attaches a program in a > > >> sub-hierarchy. Are you saying that 4.11 could make that example stop > > >> working? > > > > > > Are you s

Re: [PATCH 2/2] mm: add PageWaiters indicating tasks are waiting for a page bit

2017-01-03 Thread Mel Gorman
On Thu, Dec 29, 2016 at 03:26:15PM +1000, Nicholas Piggin wrote: > > And I fixed that too. > > > > Of course, I didn't test the changes (apart from building it). But > > I've been running the previous version since yesterday, so far no > > issues. > > It looks good to me. > FWIW, I blindly queu

Re: [PATCH] mm: introduce kv[mz]alloc helpers

2017-01-03 Thread Vlastimil Babka
On 01/02/2017 02:37 PM, Michal Hocko wrote: From: Michal Hocko Using kmalloc with the vmalloc fallback for larger allocations is a common pattern in the kernel code. Yet we do not have any common helper for that and so users have invented their own helpers. Some of them are really creative when

Re: [PATCH 1/2] printk: drop call_console_drivers() unused param

2017-01-03 Thread Petr Mladek
On Sat 2016-12-24 23:09:01, Sergey Senozhatsky wrote: > We do suppress_message_printing() check before we call > call_console_drivers() now, so `level' param is not needed > anymore. > > Signed-off-by: Sergey Senozhatsky > --- > kernel/printk/printk.c | 12 > 1 file changed, 4 inser

Re: [RFC PATCH net-next v4 1/2] macb: Add 1588 support in Cadence GEM.

2017-01-03 Thread Richard Cochran
On Tue, Jan 03, 2017 at 10:36:11AM +0530, Harini Katakam wrote: > I understand that it is not accurate - it is an initial version. No, it is not inaccurate at all, it is WRONG. This means that time stamps will be randomly associated with PTP network packets. To the application, the protocol will

Re: [PATCH v3] IB/umem: Release pid in error and ODP flow

2017-01-03 Thread Leon Romanovsky
On Tue, Jan 03, 2017 at 10:32:50AM +0800, Kenneth Lee wrote: > On Sun, Jan 01, 2017 at 08:47:12AM +0200, Leon Romanovsky wrote: > > Date: Sun, 1 Jan 2017 08:47:12 +0200 > > From: Leon Romanovsky > > To: Kenneth Lee > > CC: dledf...@redhat.com, sean.he...@intel.com, hal.rosenst...@gmail.com, > >

Re: [RFC PATCH] sched: Remove set_task_state()

2017-01-03 Thread Mark Rutland
On Fri, Dec 30, 2016 at 10:17:53AM -0800, Davidlohr Bueso wrote: > Secondly for a higher overview, an unlink microbenchmark was used, > which pounds on a single file with open, close,unlink combos with > increasing thread counts (up to 4x ncpus). While the workload is > quite unrealistic, it does c

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Krzysztof Kozlowski
On Tue, Jan 3, 2017 at 11:58 AM, Andi Shyti wrote: > Hi Krzysztof, > >> > Currently tm2e dts includes tm2 but there are some differences >> > between the two boards and tm2 has some properties that tm2e >> > doesn't have. >> > >> > That's why it's important to keep the two dts files independent >>

Re: [PATCH 3/4] arm64: dts: exynos: make tm2 and tm2e independent from each other

2017-01-03 Thread Andi Shyti
Hi Krzysztof, > > Currently tm2e dts includes tm2 but there are some differences > > between the two boards and tm2 has some properties that tm2e > > doesn't have. > > > > That's why it's important to keep the two dts files independent > > and put all the commonalities in a tm2-common.dtsi file. >

Re: [PATCH 0/5] kernel-doc tweaks and cleanup of rST vs. non-rST backends

2017-01-03 Thread Jani Nikula
On Mon, 02 Jan 2017, Paolo Bonzini wrote: > Hi, > > these patches are the result of my experiments with using kernel-doc > for QEMU's documentation. Patches 1 and 2 should be relatively > straightforward, as they are simple bugfixes. Patches 3 to 5, instead, > are making the docbook backend (and

Re: [PATCH 1/1] extcon: usb-gpio: add pinctrl operation during system PM

2017-01-03 Thread Roger Quadros
Hi Peter, On 03/01/17 10:17, Peter Chen wrote: > At some systems, the pinctrl setting will be lost or needs to > set as "sleep" state to save power consumption. So, we need to > configure pinctrl as "sleep" state when system enters suspend, > and as "default" state after system resumes. In this wa

Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options

2017-01-03 Thread Wangnan (F)
On 2017/1/3 16:19, Jiri Olsa wrote: hi, adding a way to configure switch data output for size and time, like: $ sudo perf record -e 'sched:*' --switch-output=10M -avg callchain: type FP switch-output with 10M size threshold mmap size 528384B [ perf record: dump data: Woken up 37

Re: [PATCH 7/7] misc: intel-ish-client: add intel ishtp clients driver

2017-01-03 Thread Jiri Kosina
On Fri, 23 Dec 2016, Even Xu wrote: [ ... snip ... ] > +static ssize_t ishtp_cl_write(struct file *file, const char __user *ubuf, > + size_t length, loff_t *offset) > +{ > + struct ishtp_cl_miscdev *ishtp_cl_misc = file->private_data; > + struct ishtp_cl *cl; > + void *write_buf; >

Re: Build regressions/improvements in v4.10-rc2

2017-01-03 Thread Geert Uytterhoeven
On Tue, Jan 3, 2017 at 10:50 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.10-rc2[1] to v4.10-rc1[3], the summaries are: > - build errors: +2/-7242 + /home/kisskb/slave/src/arch/sh/mm/cache-sh4.c: error: 'cached_to_uncached' undeclared (first use in this function): => 99:17 + /ho

Build regressions/improvements in v4.10-rc2

2017-01-03 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.10-rc2[1] compared to v4.9[2]. Summarized: - build errors: +3/-8 - build warnings: +1131/-542 JFYI, when comparing v4.10-rc2[1] to v4.10-rc1[3], the summaries are: - build errors: +2/-7242 - build warnings: +169/-242

Re: [PATCH v2] fscrypt: Factor out bio specific functions

2017-01-03 Thread Richard Weinberger
Ted, Am 01.01.2017 um 22:47 schrieb Theodore Ts'o: > On Mon, Dec 19, 2016 at 12:25:32PM +0100, Richard Weinberger wrote: >> That way we can get rid of the direct dependency on CONFIG_BLOCK. >> >> Reported-by: Arnd Bergmann >> Reported-by: Randy Dunlap >> Suggested-by: Christoph Hellwig >> Fixes

Re: [RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Anshuman Khandual
On 01/03/2017 02:47 PM, Michal Hocko wrote: > On Tue 03-01-17 14:37:09, Anshuman Khandual wrote: >> On 01/03/2017 02:14 PM, Michal Hocko wrote: >>> On Tue 03-01-17 13:57:53, Anshuman Khandual wrote: node_isset can give incorrect result if the node number is beyond the bitmask size (MAX_NU

Re: [PATCH v2 1/4] pinctrl: samsung: Fix the width of PINCFG_TYPE_DRV bitfields for Exynos5433

2017-01-03 Thread Andi Shyti
Hi Linus and Krzysztof, > > > From: Chanwoo Choi > > > > > > This patch fixes the wrong width of PINCFG_TYPE_DRV bitfields for > > > Exynos5433 > > > because PINCFG_TYPE_DRV of Exynos5433 has 4bit fields in the *_DRV > > > registers. Usually, other Exynos have 2bit field for PINCFG_TYPE_DRV. > >

Re: [PATCH 2/4] perf/x86: Fix period for non sampling events

2017-01-03 Thread Peter Zijlstra
On Wed, Dec 28, 2016 at 02:31:04PM +0100, Jiri Olsa wrote: > When in counting mode we setup the counter with the > longest possible period and read the value with read > syscall. > > We also still setup the PMI to be triggered when such > counter overflow to reconfigure it. > > We also get PEBS i

Re: [PATCH v6 05/14] ACPI: platform-msi: retrieve dev id from IORT

2017-01-03 Thread Tomasz Nowicki
On 03.01.2017 09:43, Tomasz Nowicki wrote: On 02.01.2017 14:31, Hanjun Guo wrote: For devices connecting to ITS, it needs dev id to identify itself, and this dev id is represented in the IORT table in named componant node [1] for platform devices, so in this patch we will scan the IORT to retrie

Re: [PATCH 15/20] ARM/hw_breakpoint: Convert to hotplug state machine

2017-01-03 Thread Mark Rutland
Hi, On Mon, Jan 02, 2017 at 09:15:29PM +0100, Linus Walleij wrote: > On Mon, Jan 2, 2017 at 4:00 PM, Russell King - ARM Linux > wrote: > > On Mon, Jan 02, 2017 at 03:34:32PM +0100, Linus Walleij wrote: > >> in the first line of arch_hw_breakpoint_init() in > >> arch/arm/kernel/hw_breakpoint.c > >

Re: kvm: GPF in irq_bypass_unregister_consumer

2017-01-03 Thread Dmitry Vyukov
On Sat, Nov 12, 2016 at 2:21 AM, Dmitry Vyukov wrote: > Hello, > > The following programs triggers GPF in irq_bypass_unregister_consumer > if run in a parallel loop: > https://gist.githubusercontent.com/dvyukov/0d18d7b11659187ec3eab22285b4a67e/raw/c1c622ca26ebce0c7b77e3200970ca0f7792cb32/gistfile1

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2017-01-03 Thread Paolo Bonzini
On 02/01/2017 20:39, Stephen Hemminger wrote: >>> >>> I would like to minimize what we include in the uapi header; especially >>> when MSFT has made no guarantees >>> with regards how they may be evolved. I will also work on getting some >>> clarity on both stability and >>> under what license

Re: linux-next: build failure after merge of the drm-intel-fixes tree

2017-01-03 Thread Zhenyu Wang
On 2017.01.02 21:48:57 -0700, Alex Williamson wrote: > > Alex, I liked to have kvmgt related mdev interface change be merged through > > vfio tree, but wasn't awared one of Jike's fix had conflict. Could you apply > > below fix in your tree? I think in general for possible interface change in > > f

Re: [PATCH] KVM: ioapic: fix NULL deref ioapic->lock

2017-01-03 Thread Dmitry Vyukov
On Mon, Jan 2, 2017 at 7:01 PM, Paolo Bonzini wrote: > > > On 02/01/2017 11:17, Dmitry Vyukov wrote: >> On Mon, Jan 2, 2017 at 11:09 AM, Paolo Bonzini wrote: >>> >>> >>> >>> On 01/01/2017 04:44, Wanpeng Li wrote: From: Wanpeng Li This was reported by syzkaller: BUG: unab

Re: [RFC PATCH] sched: Remove set_task_state()

2017-01-03 Thread Peter Zijlstra
On Fri, Dec 30, 2016 at 10:17:53AM -0800, Davidlohr Bueso wrote: > - set_task_state(current, TASK_RUNNING); > + set_current_state(TASK_RUNNING); Obviously good. > - set_task_state(tsk, TASK_UNINTERRUPTIBLE); > + set_current_state(TA

Re: [PATCH] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2017-01-03 Thread Pali Rohár
On Tuesday 03 January 2017 10:06:41 Benjamin Tissoires wrote: > On Dec 29 2016 or thereabouts, Pali Rohár wrote: > > On Thursday 29 December 2016 22:09:32 Michał Kępień wrote: > > > Also, just to make sure we do not overthink this, I understand that > > > not every unit of the models from the white

Re: [PATCH v6 6/8] IIO: add STM32 timer trigger driver

2017-01-03 Thread Benjamin Gaignard
2017-01-02 19:22 GMT+01:00 Jonathan Cameron : > On 02/01/17 08:46, Benjamin Gaignard wrote: >> 2016-12-30 22:12 GMT+01:00 Jonathan Cameron : >>> On 09/12/16 14:15, Benjamin Gaignard wrote: Timers IPs can be used to generate triggers for other IPs like DAC, ADC or other timers. Each t

Re: [PATCH] ARM: davinci_all_defconfig: enable dumb vga-dac drm bridge

2017-01-03 Thread Sekhar Nori
On Friday 25 November 2016 02:43 PM, Bartosz Golaszewski wrote: > This enables the dumb-vga-dac driver by default for davinci boards. > > The driver is needed for tilcdc support on da850-lcdk board. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/configs/davinci_all_defconfig | 2 ++ >

[PATCH] drm/meson: Fix plane atomic check when no crtc for the plane

2017-01-03 Thread Neil Armstrong
When no CRTC is associated with the plane, the meson_plane_atomic_check() call breaks the kernel with an Oops. Fixes: bbbe775ec5b5 ("drm: Add support for Amlogic Meson Graphic Controller") Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_plane.c | 3 +++ 1 file changed, 3 insertions

RE: [PATCH v2 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-01-03 Thread Alison Wang
Ok, I see. Thanks. Best Regards, Alison Wang > -Original Message- > From: Boris Brezillon [mailto:boris.brezil...@free-electrons.com] > Sent: Tuesday, January 03, 2017 5:05 PM > To: Alison Wang > Cc: marek.va...@gmail.com; cyrille.pitc...@atmel.com; linux- > ker...@vger.kernel.org; linu

Re: [PATCH 1/4] mmc: mediatek: Fix CMD6 timeout issue

2017-01-03 Thread Yong Mao
On Thu, 2016-12-01 at 10:51 +0100, Ulf Hansson wrote: > On 8 November 2016 at 07:08, Yong Mao wrote: > > From: yong mao > > > > When initializing EMMC, after switch to HS400, > > it will issue CMD6 to change ext_csd, if first CMD6 got CRC > > error, the repeat CMD6 may get timeout, that's > > bec

Re: [RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Michal Hocko
On Tue 03-01-17 14:37:09, Anshuman Khandual wrote: > On 01/03/2017 02:14 PM, Michal Hocko wrote: > > On Tue 03-01-17 13:57:53, Anshuman Khandual wrote: > >> node_isset can give incorrect result if the node number is beyond the > >> bitmask size (MAX_NUMNODES in this case) which is not checked insid

Re: linux-next: manual merge of the drm-intel-fixes tree with the vfio-fixes tree

2017-01-03 Thread Jani Nikula
On Tue, 03 Jan 2017, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the drm-intel-fixes tree got a conflict in: > > drivers/gpu/drm/i915/gvt/kvmgt.c > > between commit: > > 99e3123e3d72 ("vfio-mdev: Make mdev_device private and abstract interfaces") > > from the vfio-fixes t

[PATCH v3] soc: zte: Add header for PM domains specifiers

2017-01-03 Thread Baoyou Xie
This patch adds header with values used for zx96718 SoC's power domain driver. Signed-off-by: Baoyou Xie --- include/dt-bindings/soc/zte,pm_domains.h | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 include/dt-bindings/soc/zte,pm_domains.h diff --git a/include/

Re: [PATCH v2 0/2] ALSA: Fix usb-audio races

2017-01-03 Thread Takashi Iwai
On Tue, 03 Jan 2017 09:47:06 +0100, Ioan-Adrian Ratiu wrote: > > On Tue, 03 Jan 2017, Ioan-Adrian Ratiu wrote: > > On Mon, 02 Jan 2017, Ioan-Adrian Ratiu wrote: > >> Many thanks to Takashi Iwai & Sakamoto for their awesome feedback. > >> > >> Changes since v1: > >> * Rebased my fix on top of

Re: [RFC PATCH] ACPI/PCI: Fix bus range comparation in pci_mcfg_lookup

2017-01-03 Thread Zhou Wang
On 2017/1/3 14:39, Tomasz Nowicki wrote: > On 22.12.2016 10:07, Zhou Wang wrote: >> Multiple PCIe host bridges may exists in one PCIe segment. So bus range for >> each >> host bridge should be in the coverage of bus range of related PCIe segment. >> >> This patch will support this kind of scenario

Re: [RFC] nodemask: Consider MAX_NUMNODES inside node_isset

2017-01-03 Thread Anshuman Khandual
On 01/03/2017 02:14 PM, Michal Hocko wrote: > On Tue 03-01-17 13:57:53, Anshuman Khandual wrote: >> node_isset can give incorrect result if the node number is beyond the >> bitmask size (MAX_NUMNODES in this case) which is not checked inside >> test_bit. Hence check for the bit limits (MAX_NUMNODES

Re: [PATCH] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2017-01-03 Thread Benjamin Tissoires
On Dec 29 2016 or thereabouts, Pali Rohár wrote: > On Thursday 29 December 2016 22:09:32 Michał Kępień wrote: > > > On Thursday 29 December 2016 14:47:19 Michał Kępień wrote: > > > > > On Thursday 29 December 2016 09:29:36 Michał Kępień wrote: > > > > > > > Dell platform team told us that some (DMI

Re: [PATCH v2 1/2] mtd: ifc: Update dependency of IFC for LS1021A

2017-01-03 Thread Boris Brezillon
Hi Alison, The subject prefix should be "memory: " and not "mtd: ifc: ". Looks good otherwise. No need to resend, I can fix that when applying. Regards, Boris On Tue, 3 Jan 2017 10:41:05 +0800 Alison Wang wrote: > As Freescale/NXP IFC controller is available on LS1021A, the dependency > for

[PATCH 2/4] perf, tools: Add disassembler for x86 using the XED library

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add a generic disassembler function for x86 using the XED library, and a fallback function for architectures that don't implement one. Other architectures can implement their own disassembler functions. The previous version of this patch used udis86, but was rejected because udi

[PATCH 3/4] perf, tools, script: Add support for printing assembler

2017-01-03 Thread Andi Kleen
From: Andi Kleen When dumping PT traces with perf script it is very useful to see the assembler for each sample, so that it is easily possible to follow the control flow. As using objdump is difficult and inefficient from perf script this patch uses the Intel xed library to implement assembler o

Re: [PATCH] ARM: davinci_all_defconfig: enable dumb vga-dac drm bridge

2017-01-03 Thread Bartosz Golaszewski
2016-11-25 10:13 GMT+01:00 Bartosz Golaszewski : > This enables the dumb-vga-dac driver by default for davinci boards. > > The driver is needed for tilcdc support on da850-lcdk board. > > Signed-off-by: Bartosz Golaszewski > --- > arch/arm/configs/davinci_all_defconfig | 2 ++ > 1 file changed, 2

[PATCH v2] soc: zte: Add header for PM domains specifiers

2017-01-03 Thread Baoyou Xie
This patch adds header with values used for ZTE 2967 SoC's power domain driver. Signed-off-by: Baoyou Xie --- include/dt-bindings/zte,pm_domains.h | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 include/dt-bindings/zte,pm_domains.h diff --git a/include/dt-bind

[PATCH 1/1] regulator: fixed: add suspend pm routines for pinctrl

2017-01-03 Thread Peter Chen
At some systems, the pinctrl setting will be lost or needs to set as "sleep" state to save power consumption. So, we need to configure pinctrl as "sleep" state when system enters suspend, and as "default" state after system resumes. In this way, the pinctrl value can be recovered as "default" state

[PATCH 4/4] perf, tools, script: Add brstackasm output for branch stacks

2017-01-03 Thread Andi Kleen
From: Andi Kleen Implement printing full disassembled sequences for branch stacks in perf script. This allows to directly print hot paths for individual samples, together with branch misprediction and cycle count / IPC information if available (on Skylake systems) % perf record -b ... % perf scr

Re: [lkp-developer] [sched/core] 6b94780e45: unixbench.score -4.5% regression

2017-01-03 Thread Vincent Guittot
Hi Xiaolong, Thanks for testing, I'm going to look for another root cause It was also mentioned a -2.9% regression with a 8 threads Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz with 6G memory. Have you checked this platform too ? Regards, Vincent On 3 January 2017 at 08:13, Ye Xiaolong wrote: > On 0

New attempt at adding an disassembler to perf

2017-01-03 Thread Andi Kleen
A native disassembler in perf is very useful, in particular with perf script to trace instruction streams, but also for other analysis. Previously I attempted to do this using the udis86 library, but that was rejected because: - udis86 was not maintained anymore and lacking recent instructions -

Re: [v2, 1/4] ARM: davinci: da8xx-dt: Add ti-aemif lookup for clock matching

2017-01-03 Thread Sekhar Nori
On Monday 02 January 2017 01:34 PM, Sekhar Nori wrote: > On Saturday 31 December 2016 06:22 AM, David Lechner wrote: >> On 08/10/2016 06:00 AM, Karl Beldan wrote: >>> Many davinci boards (da830 and da850 families) don't have their clocks >>> in DT yet and won't be successful in getting an unnamed a

[PATCH 1/4] perf, tools: Add probing for xed

2017-01-03 Thread Andi Kleen
From: Andi Kleen Add autoprobing for the xed disassembler library. Can be downloaded from https://github.com/intelxed/xed Signed-off-by: Andi Kleen --- tools/build/Makefile.feature | 6 -- tools/build/feature/Makefile | 8 ++-- tools/build/feature/test-all.c | 5 + tools/build

<    4   5   6   7   8   9   10   >