Re: linux-next: build warning after merge of the drm-panel tree

2015-03-31 Thread Thierry Reding
On Tue, Mar 31, 2015 at 11:03:55PM +1100, Stephen Rothwell wrote: > Hi all, > > On Wed, 25 Mar 2015 17:20:56 +1100 Stephen Rothwell > wrote: > > > > After merging the drm-panel tree, today's linux-next build (powerpc > > ppc64_defconfig) produced this warning: > > > >

RE: [PATCH] x86/quark: Run IMR self-test on IMR capble hw only

2015-03-31 Thread Ong, Boon Leong
Looks good to me. Thanks >-Original Message- >From: Bryan O'Donoghue [mailto:pure.lo...@nexus-software.ie] >Sent: Tuesday, March 31, 2015 7:16 PM >To: pure.lo...@nexus-software.ie; mi...@redhat.com; t...@linutronix.de; >h...@zytor.com; x...@kernel.org; Huang, Ying;

Re: [PATCH 4/4] Documentation: extcon: usb-gpio: update usb-gpio binding description

2015-03-31 Thread Robert Baldyga
Hi, On 03/31/2015 12:20 PM, Roger Quadros wrote: > On 31/03/15 10:46, Robert Baldyga wrote: >> Add information about VBUS pin detection support, 'debounce' property >> and some other details. >> >> Signed-off-by: Robert Baldyga >> --- >> .../devicetree/bindings/extcon/extcon-usb-gpio.txt | 23

Re: linux-next: build warning after merge of the drm-panel tree

2015-03-31 Thread Stephen Rothwell
Hi all, On Wed, 25 Mar 2015 17:20:56 +1100 Stephen Rothwell wrote: > > After merging the drm-panel tree, today's linux-next build (powerpc > ppc64_defconfig) produced this warning: > > drivers/video/fbdev/Kconfig:5:error: recursive dependency detected! > drivers/video/fbdev/Kconfig:5:

[PATCH v1 3/3] mfd: Add support for Intel Sunrisepoint LPSS devices

2015-03-31 Thread Andy Shevchenko
The new coming Intel platforms such as Skylake will contain Sunrisepoint PCH. The main difference to the previous platforms is that the LPSS devices are compound devices where usually main (SPI, HSUART, or I2C) and DMA IPs are present. This patch brings the driver for such devices found on

[PATCH v1 1/3] PM / QoS: Make it possible to expose device latency tolerance to userspace

2015-03-31 Thread Andy Shevchenko
From: Mika Westerberg Typically when a device is created the bus core it belongs to (for example PCI) does not know if the device supports things like latency tolerance. This is left to the driver that binds to the device in question. However, at that time the device has already been created and

[PATCH v1 2/3] ACPI / PM: Attach ACPI power domain only once

2015-03-31 Thread Andy Shevchenko
From: Mika Westerberg Some devices, like MFD subdevices, share a single ACPI companion device so that they are able to access their resources and children. However, currently all these subdevices are attached to the ACPI power domain and this might cause that the power methods for the companion

[PATCH v1 0/3] mfd: introduce a driver for LPSS devices on SPT

2015-03-31 Thread Andy Shevchenko
The new coming Intel platforms such as Skylake will contain Sunrisepoint PCH. This patch brings the driver for such devices found on Sunrisepoint PCH. The patch depends on published earlier [1] "clkdev: prevent potential memory leak when used in modules". [1]

[PATCH] virtio: drop a useless config read

2015-03-31 Thread Michael S. Tsirkin
commit d71de9ec6ba806104439d3a669befda84757b5af "virtio: core support for config generation" fixed reading up 64 bit values, adding generation checks for such reads. By mistake, it left an explicit get call in place as well. the result is that the value is read twice, the first result is

[PATCH] fs: direct-io: increase bio refcount as batch

2015-03-31 Thread Ming Lei
Each bio is always submitted to block device one by one, so it isn't necessary to increase the bio refcount by one each time with holding dio->bio_lock. Signed-off-by: Ming Lei --- fs/direct-io.c | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git

Re: [PATCH v5 2/3] I2C: mediatek: Add driver for MediaTek I2C controller

2015-03-31 Thread Eddie Huang
Hi Sascha, On Tue, 2015-03-31 at 15:08 +0800, Eddie Huang wrote: > Hi Sascha, > > On Mon, 2015-03-30 at 19:23 +0200, Sascha Hauer wrote: > > On Mon, Mar 30, 2015 at 04:14:12PM +0800, Eddie Huang wrote: > > > Hi Sascha, > > > > > > > > > > > [...] > > > > > > > > > + if (i2c->speed_hz >

Re: [PATCH 0/3] sysctl: detect overflows when setting integers

2015-03-31 Thread Alexey Dobriyan
On Mon, Mar 30, 2015 at 8:37 PM, Heinrich Schuchardt wrote: > Hello Alexey, > > thank you for reviewing. > > On 30.03.2015 14:34, Alexey Dobriyan wrote: >>> Unfortunately functions simple_strtoul and simple_strtoull cannot >>> be replaced by kstrtoul and kstrtoull in some places, because they >>>

[PATCH V7 02/25] perf evlist: Add initial support for mmapping an AUX area buffer

2015-03-31 Thread Adrian Hunter
This patch anticipates the addition to the kernel of an "aux" buffer that can be mmapped separately from the perf-events buffer. The expectation is that this buffer can be configured to contain hardware-produced trace information. The first implementation will support Intel BTS and Intel PT. One

[PATCH v1 1/1] mfd: lpc_ich: sort IDs (part 2)

2015-03-31 Thread Andy Shevchenko
The patch sorts IDs in the table for easier maintenance. There is no functional change. Signed-off-by: Andy Shevchenko --- drivers/mfd/lpc_ich.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index

[PATCH V7 03/25] perf tools: Add user events for AUX area tracing

2015-03-31 Thread Adrian Hunter
Add two user events for AUX area tracing. PERF_RECORD_AUXTRACE_INFO contains metadata, consisting primarily the type of the AUX area tracing data plus some amount of architecture-specific information. There should be only one PERF_RECORD_AUXTRACE_INFO event. PERF_RECORD_AUXTRACE identifies AUX

[PATCH V7 08/25] perf session: Add hooks to allow transparent decoding of AUX area tracing data

2015-03-31 Thread Adrian Hunter
Hook into session processing so that AUX area decoding can synthesize events transparently to the tools. The advantages of transparent decoding are that tools can be used directly with perf.data files containing AUX area tracing data, which is easier for the user and more efficient than having a

[PATCH V7 12/25] perf auxtrace: Add a heap for sorting AUX area tracing queues

2015-03-31 Thread Adrian Hunter
In order to process AUX area tracing data in time order, the queue with data with the lowest timestamp must be processed first. Provide a heap to keep track of which queue that is. As with the queues, a decoder does not have to use the heap, but Intel BTS and Intel PT will use it.

[PATCH V7 11/25] perf auxtrace: Add helpers for queuing AUX area tracing data

2015-03-31 Thread Adrian Hunter
Provide functions to queue AUX area tracing data buffers for processing. A AUX area decoder need not use the queues, however Intel BTS and Intel PT will use them. There is one queue for each of the mmap buffers that were used for recording. Because those mmaps were associated with per-cpu or

[PATCH V7 16/25] perf script: Add Instruction Tracing support

2015-03-31 Thread Adrian Hunter
Add support for decoding an AUX area assuming it contains instruction tracing data. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-script.txt | 28 tools/perf/builtin-script.c | 11 +++ 2 files changed, 39 insertions(+) diff

[PATCH V7 07/25] perf tools: Add a user event for AUX area tracing errors

2015-03-31 Thread Adrian Hunter
Errors encountered when decoding an AUX area trace need to be reported to the user. However the "user" might be a script or another tool, so provide a new user event to capture those errors. Signed-off-by: Adrian Hunter --- tools/perf/util/event.c | 1 + tools/perf/util/event.h | 16

[PATCH V7 13/25] perf auxtrace: Add processing for AUX area tracing events

2015-03-31 Thread Adrian Hunter
Provide hooks so that an AUX area decoder can process AUX area tracing events. Signed-off-by: Adrian Hunter --- tools/perf/util/auxtrace.c | 52 +- tools/perf/util/auxtrace.h | 13 2 files changed, 64 insertions(+), 1 deletion(-) diff

[PATCH V7 15/25] perf tools: Add member to struct dso for an instruction cache

2015-03-31 Thread Adrian Hunter
Add a member to struct dso that can be used by Instruction Trace implementations to hold a cache for decoded instructions. Signed-off-by: Adrian Hunter --- tools/perf/util/dso.c | 2 ++ tools/perf/util/dso.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tools/perf/util/dso.c

[PATCH V7 06/25] perf record: Extend -m option for AUX area tracing mmap pages

2015-03-31 Thread Adrian Hunter
Extend the -m option so that the number of mmap pages for AUX area tracing can be specified by adding a comma followed by the number of pages. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-record.txt | 2 ++ tools/perf/builtin-record.c | 49

[PATCH V7 05/25] perf record: Add basic AUX area tracing support

2015-03-31 Thread Adrian Hunter
Amend the perf record tool to read the AUX area tracing mmap and synthesize AUX area tracing events. Signed-off-by: Adrian Hunter --- tools/perf/builtin-record.c | 81 ++--- 1 file changed, 77 insertions(+), 4 deletions(-) diff --git

[PATCH V7 04/25] perf tools: Add support for AUX area recording

2015-03-31 Thread Adrian Hunter
Add support for reading from the AUX area tracing mmap and synthesizing AUX area tracing events. This patch introduces an abstraction for recording AUX area data. Recording is initialized by auxtrace_record__init() which is a weak function to be implemented by the architecture to provide

[PATCH V7 09/25] perf session: Add instruction tracing options

2015-03-31 Thread Adrian Hunter
It is assumed that AUX area decoding will synthesize events for consumption by other tools. At this time, the main use of AUX area tracing will be to capture instruction trace (aka processor trace) data. The nature of instruction tracing suggests the initial inclusion of options for "instructions"

[PATCH V7 19/25] perf inject: Re-pipe AUX area tracing events

2015-03-31 Thread Adrian Hunter
New AUX area tracing events must be re-piped by default. Signed-off-by: Adrian Hunter --- tools/perf/builtin-inject.c | 63 + 1 file changed, 58 insertions(+), 5 deletions(-) diff --git a/tools/perf/builtin-inject.c b/tools/perf/builtin-inject.c

[PATCH V7 17/25] perf script: Always allow fields 'addr' and 'cpu' for auxtrace

2015-03-31 Thread Adrian Hunter
If a file contains AUX area tracing data then always allow fields 'addr' and 'cpu' to be selected as options for perf script. This is necessary because AUX area decoding may synthesize events with that information. Signed-off-by: Adrian Hunter --- tools/perf/builtin-script.c | 29

Re: [RFT PATCHv2] drm/exynos: Enable DP clock to fix display on Exynos5250 and other

2015-03-31 Thread Andreas Färber
Am 27.03.2015 um 20:21 schrieb Javier Martinez Canillas: > Hello Krzysztof, > > On 03/27/2015 05:08 PM, Krzysztof Kozlowski wrote: >> After adding display power domain for Exynos5250 in commit >> 2d2c9a8d0a4f ("ARM: dts: add display power domain for exynos5250") the >> display on Chromebook Snow

[PATCH V7 20/25] perf inject: Add Instruction Tracing support

2015-03-31 Thread Adrian Hunter
Add support for decoding an AUX area assuming it contains instruction tracing data. The AUX area tracing events are stripped and replaced by synthesized events. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-inject.txt | 27 tools/perf/builtin-inject.c

[PATCH V7 23/25] perf tools: Add build option NO_AUXTRACE to exclude AUX area tracing

2015-03-31 Thread Adrian Hunter
Add build option NO_AUXTRACE to exclude compiling support for AUX area tracing. Support for both recording and processing is excluded and by implication any future additions such as Intel PT and Intel BTS will also not be compiled in with this option. Signed-off-by: Adrian Hunter ---

[PATCH V7 24/25] perf auxtrace: Add option to synthesize events for transactions

2015-03-31 Thread Adrian Hunter
Add AUX area tracing option 'x' to synthesize events for transactions. This will be used by Intel PT to synthesize an event record for each TSX start, commit or abort. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-report.txt | 9 +

[PATCH V7 10/25] perf auxtrace: Add helpers for AUX area tracing errors

2015-03-31 Thread Adrian Hunter
Add functions to synthesize, count and print AUX area tracing error events. Signed-off-by: Adrian Hunter --- tools/perf/util/auxtrace.c | 81 ++ tools/perf/util/auxtrace.h | 14 tools/perf/util/event.h| 6 tools/perf/util/session.c

[PATCH V7 21/25] perf tools: Add AUX area tracing index

2015-03-31 Thread Adrian Hunter
Add an index of AUX area tracing events within a perf.data file. perf record uses a special user event PERF_RECORD_FINISHED_ROUND to enable sorting of events in chunks instead of having to sort all events altogether. AUX area tracing events contain data that can span back to the very beginning

[PATCH V7 18/25] perf report: Add Instruction Tracing support

2015-03-31 Thread Adrian Hunter
Add support for decoding an AUX area assuming it contains instruction tracing data. Signed-off-by: Adrian Hunter --- tools/perf/Documentation/perf-report.txt | 28 tools/perf/builtin-report.c | 11 +++ 2 files changed, 39 insertions(+) diff

[PATCH V7 22/25] perf tools: Hit all build ids when AUX area tracing

2015-03-31 Thread Adrian Hunter
We need to include all buildids when a perf.data file contains AUX area tracing data because we do not decode the trace for that purpose because it would take too long. Signed-off-by: Adrian Hunter --- tools/perf/builtin-buildid-list.c | 9 + tools/perf/builtin-inject.c | 8

[PATCH V7 25/25] perf script: Add field option 'flags' to print sample flags

2015-03-31 Thread Adrian Hunter
Instruction tracing will typically have access to information about the instruction being executed for a particular ip sample. Some of that information will be available in the 'flags' member of struct perf_sample. With the addition of transactions events synthesis to Instruction Tracing options,

[PATCH V7 14/25] perf auxtrace: Add a hashtable for caching

2015-03-31 Thread Adrian Hunter
Decoding AUX area data may involve walking object code. Rather than repetitively decoding the same instructions, a cache can be used to cache the results. This patch implements a fairly generic hashtable with a 32-bit key that could be used for other purposes as well. Signed-off-by: Adrian

[PATCH V7 01/25] perf header: Add AUX area tracing feature

2015-03-31 Thread Adrian Hunter
Add a feature to indicate that a perf.data file contains AUX area data. Signed-off-by: Adrian Hunter --- tools/perf/util/header.c | 14 ++ tools/perf/util/header.h | 1 + 2 files changed, 15 insertions(+) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index

[PATCH V7 00/25] perf tools: Introduce an abstraction for AUX Area and Instruction Tracing

2015-03-31 Thread Adrian Hunter
Hi Here is V7 of some more preparatory patches for Intel PT that introduce an abstraction for using the AUX area and Instruction tracing. The master branch of the tree: git://git.infradead.org/users/ahunter/linux-perf.git contains these patches and working Intel PT and Intel BTS. Intel

Re: [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-31 Thread Michael Wang
Hi, Tom Thanks for the comments :-) On 03/31/2015 01:19 PM, Tom Talpey wrote: > [snip] > >> >> Actually I'm thinking about Doug's idea to use rdma_transport_is_XX() >> instead of the current basic helper, thus may be use >> rdma_transport_is_iwarp() >> in here could be better, since it's

Re: [PATCH 2/2] phy: driver for Conexant Digicolor internal USB PHY

2015-03-31 Thread Baruch Siach
Hi Marek, On Sat, Mar 28, 2015 at 04:33:02PM +0100, Marek Vasut wrote: > On Friday, March 27, 2015 at 05:36:29 AM, Baruch Siach wrote: > > Add a driver for the USB PHY on the Conexant CX92755 SoC, from the > > Digicolor series of SoCs. The PHY is connected to the on-chip chipidea > > usb2 host. >

Re: [patch v2 4/4] mm, mempool: poison elements backed by page allocator

2015-03-31 Thread Andrey Ryabinin
On 03/27/2015 01:50 AM, David Rientjes wrote: > We don't have a need to set PAGE_EXT_DEBUG_POISON on these pages sitting > in the reserved pool, nor do we have a need to do kmap_atomic() since it's > already mapped and must be mapped to be on the reserved pool, which is > handled by

Re: [PATCH 1/3] timer: Allocate per-cpu tvec_base's statically

2015-03-31 Thread Viresh Kumar
On 31 March 2015 at 13:15, Ingo Molnar wrote: > > * Viresh Kumar wrote: > >> From: Peter Zijlstra >> + if (!boot_done) { >> + boot_done = 1; /* skip the boot cpu */ > > So it would be a lot more descriptive to name this flag > 'boot_cpu_skipped'? Yes. > Also,

Re: [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-31 Thread Tom Talpey
On 3/31/2015 3:39 AM, Michael Wang wrote: On 03/31/2015 12:35 AM, Jason Gunthorpe wrote: On Mon, Mar 30, 2015 at 05:10:12PM +0200, Michael Wang wrote: I found that actually we don't have to touch this one which only used by HW driver currently. I'm having a hard time understanding this, the

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-03-31 Thread Michal Simek
On 03/31/2015 01:16 PM, Mark Brown wrote: > On Tue, Mar 31, 2015 at 10:16:57AM +0200, Michal Simek wrote: >> On 03/31/2015 07:47 AM, Mark Brown wrote: > >>> num-cs *is* a software setting. > >> ok - what to do with that? Remove it because it shouldn't be passed via DT? > > Well, there's a lot

Re: [RFC PATCH 5 1/7] kmod - add workqueue service thread store

2015-03-31 Thread Jeff Layton
On Tue, 31 Mar 2015 11:14:42 +0800 Ian Kent wrote: > From: Ian Kent > > Persistent use of process information is needed for contained > execution in a namespace other than the root init namespace. > > Use a simple random token as a key to create and store thread > information in a hashed list

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-31 Thread Michael Mueller
On Mon, 30 Mar 2015 17:17:21 -0300 Eduardo Habkost wrote: > On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: > > This patch implements a new QMP request named 'query-cpu-model'. > > It returns the cpu model of cpu 0 and its backing accelerator. > > > > request: > > {"execute"

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-03-31 Thread Mark Brown
On Tue, Mar 31, 2015 at 10:16:57AM +0200, Michal Simek wrote: > On 03/31/2015 07:47 AM, Mark Brown wrote: > > num-cs *is* a software setting. > ok - what to do with that? Remove it because it shouldn't be passed via DT? Well, there's a lot of existing users to check and clean up some of which

[PATCH] x86/quark: Run IMR self-test on IMR capble hw only

2015-03-31 Thread Bryan O'Donoghue
Automated testing with LKP shows IMR self test code running and printing error messages on QEMU hardware lacking IMR support. Update IMR self-test code to run only when IMR hardware should be present. Tested on Quark X1000 and QEMU. Signed-off-by: Bryan O'Donoghue ---

[PATCH 1/2] iio: adc: ti_am335x_adc: refactor DT parsing into a function

2015-03-31 Thread Vignesh R
Refactor DT parsing into a separate function from probe() to help addition of more DT parameters later. No functional changes. Signed-off-by: Vignesh R --- drivers/iio/adc/ti_am335x_adc.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git

[PATCH 2/2] iio: adc: ti_am335x_adc: make sample delay, open delay, averaging DT parameters

2015-03-31 Thread Vignesh R
Add optional DT properties to set open delay, sample delay and number of averages per sample for each adc step. Open delay, sample delay and averaging are some of the parameters that affect the sampling rate and accuracy of the sample. Making these parameters configurable via DT will help in

[PATCH 0/2] iio: ti_am335x_adc: Add optional DT properties for tscadc

2015-03-31 Thread Vignesh R
Hi, This patch adds optional DT properties for tscadc to set open delay, sample delay and number of averages per sample for each adc channel. Open delay, sample delay and averaging are some of the parameters that affect the sampling rate and accuracy of the tscadc. Decreasing delays and

Re: [PATCH v2 1/2] spi: fsl-dspi: Fix clock rate scale values

2015-03-31 Thread Mark Brown
On Mon, Mar 30, 2015 at 10:49:15AM -0700, Aaron Brice wrote: > Previous algorithm had an outer loop with the values {2,3,5,7} and an > inner loop with {2,4,6,8,16,32,...,32768}, and would pick the first > value over the required scaling value (where the total scale was the two > numbers

Re: [PATCH net-next] ethernet: Use bool function returns of true/false instead of 1/0

2015-03-31 Thread Michal Simek
On 03/30/2015 03:25 AM, Joe Perches wrote: > Use bool constants as the return values instead of 1 and 0. > > Signed-off-by: Joe Perches > --- >> To be honest I'd might rather get bunches of these, there has to be a ton >> of them, than a slow trickle of one every few weeks/days. > > There

Re: [PATCH v2 2/3] rtc: mediatek: Add MT6397 RTC driver

2015-03-31 Thread Tomasz Figa
Hi Eddie, Please see my response inline. On Tue, Mar 31, 2015 at 6:44 PM, Eddie Huang wrote: [snip] >> > + ret = mtk_rtc_read(rtc, RTC_BBPU, ); >> > + if (ret < 0) >> > + goto exit; >> > + >> > + while (data & RTC_BBPU_CBUSY) { >> > + cpu_relax();

Re: [PATCH 05/86] x86/gart: use uapi/linux/pci_ids.h directly

2015-03-31 Thread Michael S. Tsirkin
On Tue, Mar 31, 2015 at 11:51:06AM +0200, Ingo Molnar wrote: > > * Michael S. Tsirkin wrote: > > > On Tue, Mar 31, 2015 at 10:34:45AM +0200, Ingo Molnar wrote: > > > > > > * Michael S. Tsirkin wrote: > > > > > > > On Mon, Mar 30, 2015 at 07:29:36AM +0200, Ingo Molnar wrote: > > > > > > > >

Re: [PATCH v2 0/4] x86: pmc_atom: Add Cherrytrail support

2015-03-31 Thread Ingo Molnar
* Shevchenko, Andriy wrote: > On Mon, 2015-02-23 at 14:45 +0200, Andy Shevchenko wrote: > > On Tue, 2015-01-20 at 23:49 +0200, Andy Shevchenko wrote: > > > This is the reworked patch series which had been sent earlier [1] to > > > support > > > Intel CherryTrail SoC. > > > > > > The patches

Re: [PATCH v2] MIPS: IP32: Add platform data hooks to use DS1685 driver

2015-03-31 Thread Ralf Baechle
On Thu, Feb 26, 2015 at 09:23:50PM -0500, Joshua Kinard wrote: > This modifies the IP32 (SGI O2) platform and reset code to utilize the new > rtc-ds1685 driver. The old mc146818rtc.h header is removed and ip32_defconfig > is updated as well. In general - good cleanup. But: > index

[debug PATCHes] Re: smp_call_function_single lockups

2015-03-31 Thread Ingo Molnar
* Linus Torvalds wrote: > Ok, interesting. So the whole "we try to do an APIC ACK with the ISR > bit clear" seems to be a real issue. It's interesting in particular when it happens with an edge-triggered interrupt source: it's much harder to miss level triggered IRQs, which stay around

Re: [RFC/RFT, RESEND] powerpc: move cacheinfo sysfs to generic cacheinfo infrastructure

2015-03-31 Thread Michael Ellerman
On Mon, 2015-23-02 at 18:18:20 UTC, Sudeep Holla wrote: > This patch removes the redundant sysfs cacheinfo code by reusing > the newly introduced generic cacheinfo infrastructure through the > commit 246246cbde5e ("drivers: base: support cpu cache information > interface to userspace via sysfs") >

[RFC][PATCH] perf tools: unify perf_event_attr printing

2015-03-31 Thread Peter Zijlstra
On Tue, Mar 31, 2015 at 10:19:55AM +0200, Peter Zijlstra wrote: > Fwiw, having 3 incomplete ways to print perf_event_attr() is > disgusting. How about something like so? Its not identical, but at least its complete and consistent. --- tools/perf/util/print_attr.h | 69 +++

Re: [PATCH 1/4] ARM: multi_v7_defconfig: Enable Tegra ACTMON support

2015-03-31 Thread Marcel Ziswiler
On Mon, 2015-03-30 at 16:40 +0200, Tomeu Vizoso wrote: > This brings the DevFreq framework in and builds the ACTMON driver that > on Tegra124 will scale the external memory clock based on current load. > > Signed-off-by: Tomeu Vizoso The series, Acked-by: Marcel Ziswiler -- To unsubscribe

[RFC PATCH 0/2] Add support for Lite On LTR559 sensor

2015-03-31 Thread Daniel Baluta
First patch does some cleanups in order to make alignment style consistent with the rest of IIO drivers. Then second patch adds support for Lite On LTR559 ambient light and proximity sensor. This is a RFC because the code is compile tested only. The chip should arrive in a few days. Daniel

[RFC PATCH 2/2] iio: light: Add support for LTR559 chip

2015-03-31 Thread Daniel Baluta
This device is register compatible with LTR501, with a minor difference for ALS control register as showed below: ALS Control register for LTR501: 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+ | | |

[RFC PATCH 1/2] iio: light: ltr501: Fix alignment to match open parenthesis

2015-03-31 Thread Daniel Baluta
This makes ltr501 code consistent with the coding style adopted for the new drivers added to IIO. We prepare the path for adding support for LTR559 chip. Reported by checkpatch.pl Signed-off-by: Daniel Baluta --- drivers/iio/light/ltr501.c | 46 +- 1

[RFC PATCH 1/2] iio: light: ltr501: Fix alignment to match open parenthesis

2015-03-31 Thread Daniel Baluta
This makes ltr501 code consistent with the coding style adopted for the new drivers added to IIO. We prepare the path for adding support for LTR559 chip. Reported by checkpatch.pl Signed-off-by: Daniel Baluta --- drivers/iio/light/ltr501.c | 46 +- 1

[PATCH 6/5] x86/asm/entry/64: tidy up some instructions

2015-03-31 Thread Denys Vlasenko
Tidy up TEST insns width to use shorter insn form, Use logically correct JZ mnemonic instead of JE (this doesn't change code). Replace several BT insns with equivalent, but shorter TEST insns. Signed-off-by: Denys Vlasenko CC: Linus Torvalds CC: Steven Rostedt CC: Ingo Molnar CC: Borislav

[RFC PATCH 0/2] Add support for Lite On LTR559 sensor

2015-03-31 Thread Daniel Baluta
First patch does some cleanups in order to make alignment style consistent with the rest of IIO drivers. Then second patch adds support for Lite On LTR559 ambient light and proximity sensor. This is a RFC because the code is compile tested only. The chip should arrive in a few days. Daniel

[RFC PATCH 2/2] iio: light: Add support for LTR559 chip

2015-03-31 Thread Daniel Baluta
This device is register compatible with LTR501, with a minor difference for ALS control register as showed below: ALS Control register for LTR501: 7 6 5 4 3 2 1 0 +--+--+--+--+--+--+--+--+ | | |

[PATCH 5/5 v2] x86/asm/entry/64: simplify looping around preempt_schedule_irq

2015-03-31 Thread Denys Vlasenko
At this label, we test whether interrupt/exception was in kernel. If it did, we jump to preemption check. If preemption does happen (IOW if we call preempt_schedule_irq), we go back to exit_intr. But it's pointless, we already know that test succeeded last time, preemption doesn't change the fact

Re: another pmem variant V2

2015-03-31 Thread Boaz Harrosh
On 03/31/2015 01:25 PM, Boaz Harrosh wrote: > On 03/31/2015 12:25 PM, Christoph Hellwig wrote: <> > The problem I see is that if I state a memmap=nn!aa that crosses a NUMA > boundary then the machine will not boot. > So BTW for sure I need that "don't merge E820_PMEM ranges" patch because >

Re: [Qemu-devel] [PATCH v4 10/15] target-s390x: Prepare accelerator during cpu object realization

2015-03-31 Thread Michael Mueller
On Mon, 30 Mar 2015 16:33:51 -0300 Eduardo Habkost wrote: > On Mon, Mar 30, 2015 at 04:28:23PM +0200, Michael Mueller wrote: > > This patch implements routine s390_cpu_model_init(). It is called by the > > realize function during instantiation of an cpu object. Its task is to > > initialize the

Re: another pmem variant V2

2015-03-31 Thread Boaz Harrosh
On 03/31/2015 12:25 PM, Christoph Hellwig wrote: > On Thu, Mar 26, 2015 at 06:57:47PM +0200, Boaz Harrosh wrote: >> On 03/26/2015 10:32 AM, Christoph Hellwig wrote: >>> Here is another version of the same trivial pmem driver, because two >>> obviously aren't enough. The first patch is the same

[PATCH] drm: rockchip: Turn off VT switching on suspend

2015-03-31 Thread Caesar Wang
drm/rockchip already has support for disabling all displays on suspend and enabling them on resume. Disable automatic VT switching on suspend by the pm console tracking layer. Tested on veyron, used `echo mem > sys/power/state` => verified no VT switch Reviewed-by: Daniel Kurtz

[PATCH 0/1] drm: rockchip: Turn off VT switching on suspend

2015-03-31 Thread Caesar Wang
drm/rockchip already has support for disabling all displays on suspend and enabling them on resume. Disable automatic VT switching on suspend by the pm console tracking layer. Tested on veyron, used `echo mem > sys/power/state` => verified no VT switch. Caesar Wang (1): drm: rockchip:

Re: [PATCH 4/4] Documentation: extcon: usb-gpio: update usb-gpio binding description

2015-03-31 Thread Roger Quadros
On 31/03/15 10:46, Robert Baldyga wrote: > Add information about VBUS pin detection support, 'debounce' property > and some other details. > > Signed-off-by: Robert Baldyga > --- > .../devicetree/bindings/extcon/extcon-usb-gpio.txt | 23 > -- > 1 file changed, 21

Re: [PATCH] watchdog: nohz: don't run watchdog on nohz_full cores

2015-03-31 Thread Christoph Lameter
On Mon, 30 Mar 2015, cmetc...@ezchip.com wrote: > Running watchdog can be a helpful debugging feature on regular > cores, but it's incompatible with nohz_full, since it forces > regular scheduling events. Accordingly, just exit out immediately > from any nohz_full core. At this point we still

[PATCH 4/5] clocksource/drivers/sun5i: Refactor the current code

2015-03-31 Thread Daniel Lezcano
From: Maxime Ripard Refactor the code in order to remove the global variables and split the clock source and clock events registration in order to ease the addition of the clock notifiers needed to handle the parent clock rate changes. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezcano

[PATCH 2/5] clocksource/drivers/sun5i: Switch to request_irq

2015-03-31 Thread Daniel Lezcano
From: Maxime Ripard The current code uses setup_irq, while it could perfectly use the much simpler request_irq. Switch to that. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezcano Conflicts: drivers/clocksource/timer-sun5i.c --- drivers/clocksource/timer-sun5i.c | 10

[PATCH 5/5] clocksource/drivers/sun5i: Add clock notifiers

2015-03-31 Thread Daniel Lezcano
From: Maxime Ripard The parent clock of the sun5i timer is the AHB clock, which rate might change because of other devices requirements. This is for example the case on the Allwinner A31, where the DMA controller needs a minimum rate higher than the default, that is enforced after the timer

[PATCH 3/5] clocksource/drivers/sun5i: Use of_io_request_and_map

2015-03-31 Thread Daniel Lezcano
From: Maxime Ripard of_iomap doesn't do a request_mem_region on the memory area defined in the DT it maps. Switch to of_io_request_and_map to make sure we're the only users. Signed-off-by: Maxime Ripard Signed-off-by: Daniel Lezcano --- drivers/clocksource/timer-sun5i.c | 3 ++- 1 file

[PATCH 1/5] clocksource/drivers/arm_arch_timer: Rename arch_timer_probed to reflect behaviour

2015-03-31 Thread Daniel Lezcano
From: Laurent Pinchart The arch_timer_probed function returns whether the given time doesn't need to be probed. This can be the case when the timer has been probed already, but also when it has no corresponding enabled node in DT. Rename the function to arch_timer_needs_probe and invert its

[GIT PULL] clockevents for 4.1 #2

2015-03-31 Thread Daniel Lezcano
Hi Ingo, Thomas, this is the second pull request with the different fixes. The sun5i timer conflict is fixed and the function name for arch arm timer is also fixed. So this second pull request contains the following: - Changed the arch_timer_probed function name to arch_timer_needs_probe

Re: [PATCH] of: Custom printk format specifier for device node

2015-03-31 Thread Pantelis Antoniou
Hi Grant, > On Mar 30, 2015, at 22:04 , Grant Likely wrote: > > On Thu, 22 Jan 2015 22:31:46 +0200 > , Pantelis Antoniou > wrote: >> Hi Joe, >> >>> On Jan 21, 2015, at 19:37 , Joe Perches wrote: >>> >>> On Wed, 2015-01-21 at 19:06 +0200, Pantelis Antoniou wrote: 90% of the usage of

Re: [PATCH] mm/mmap.c: use while instead of if+goto

2015-03-31 Thread Rasmus Villemoes
On Mon, Mar 30 2015, Andrew Morton wrote: > On Mon, 30 Mar 2015 23:54:13 +0300 "Kirill A. Shutemov" > wrote: > >> On Mon, Mar 30, 2015 at 09:40:35PM +0200, Rasmus Villemoes wrote: >> > The creators of the C language gave us the while keyword. Let's use >> > that instead of synthesizing it from

Re: [LKP] [x86/intel/quark] 8bbc2a135b6: WARNING: CPU: 0 PID: 1 at arch/x86/platform/intel-quark/imr.c:358 imr_add_range+0x2b4/0x370()

2015-03-31 Thread Bryan O'Donoghue
On 31/03/15 03:02, huang ying wrote: The qemu command line we used is as follow: qemu-system-i386 -enable-kvm -kernel /kernel/i386-randconfig-ib0-03292200/bc465aa9d045feb0e13b4a8f32cc33c1943f62d6/vmlinuz-4.0.0-rc5 -append 'user=lkp

Re: [PATCH 05/86] x86/gart: use uapi/linux/pci_ids.h directly

2015-03-31 Thread Ingo Molnar
* Michael S. Tsirkin wrote: > On Tue, Mar 31, 2015 at 10:34:45AM +0200, Ingo Molnar wrote: > > > > * Michael S. Tsirkin wrote: > > > > > On Mon, Mar 30, 2015 at 07:29:36AM +0200, Ingo Molnar wrote: > > > > > > > > * Michael S. Tsirkin wrote: > > > > > > > > > Header moved from

Re: [PATCH v2] mm: vmscan: do not throttle based on pfmemalloc reserves if node has no reclaimable pages

2015-03-31 Thread Michal Hocko
On Fri 27-03-15 15:23:50, Nishanth Aravamudan wrote: > On 27.03.2015 [13:17:59 -0700], Dave Hansen wrote: > > On 03/27/2015 12:28 PM, Nishanth Aravamudan wrote: > > > @@ -2585,7 +2585,7 @@ static bool pfmemalloc_watermark_ok(pg_data_t > > > *pgdat) > > > > > > for (i = 0; i <=

Re: [PATCH 0/6] virtio_balloon: virtio 1 support

2015-03-31 Thread Michael S. Tsirkin
On Tue, Mar 31, 2015 at 10:46:18AM +0200, Cornelia Huck wrote: > On Mon, 30 Mar 2015 19:37:08 +0200 > "Michael S. Tsirkin" wrote: > > > Virtio 1.0 doesn't include a modern balloon device. > > At some point we'll likely define an incompatible interface with a different > > ID. But for now, it's

Re: [PATCH 05/86] x86/gart: use uapi/linux/pci_ids.h directly

2015-03-31 Thread Michael S. Tsirkin
On Tue, Mar 31, 2015 at 10:34:45AM +0200, Ingo Molnar wrote: > > * Michael S. Tsirkin wrote: > > > On Mon, Mar 30, 2015 at 07:29:36AM +0200, Ingo Molnar wrote: > > > > > > * Michael S. Tsirkin wrote: > > > > > > > Header moved from linux/pci_ids.h to uapi/linux/pci_ids.h, > > > > use the new

Re: [PATCH v2 2/3] rtc: mediatek: Add MT6397 RTC driver

2015-03-31 Thread Eddie Huang
Hi Tomasz, On Mon, 2015-03-30 at 16:41 +0900, Tomasz Figa wrote: > Hi Eddie, > > Please see my comments inline. > > On Wed, Mar 18, 2015 at 2:45 PM, Eddie Huang wrote: > > From: Tianping Fang > > > > Add Mediatek MT6397 RTC driver > > [snip] > > > +#define RTC_BBPU 0x > >

Re: [PATCH 7/7] staging: comedi: comedi_fops: extend spin-lock scope in comedi_event()

2015-03-31 Thread Ian Abbott
On 30/03/15 17:47, Hartley Sweeten wrote: On Friday, March 27, 2015 8:13 AM, Ian Abbott wrote: `comedi_event()` is called from low-level drivers to handle comedi asynchronous command event flags. As a safety check, it checks the subdevice's "run" flags to make sure an asynchronous command is

Re: [GIT PULL] clockevents for 4.1

2015-03-31 Thread Ingo Molnar
* Daniel Lezcano wrote: > On 03/31/2015 09:17 AM, Ingo Molnar wrote: > > > >* Daniel Lezcano wrote: > > > >> > >>Hi Thomas, Ingo, > >> > >>this pull request contains the following changes for 4.1: > >> > >> - Made IO endian agnostic for at91 and dw apb timers (Ben Dooks) > >> > >> -

[PATCH] pinctrl: Add support for PM8916 GPIO's and MPP's

2015-03-31 Thread Ivan T. Ivanov
Add compatible string definitions and supported pin functions. Signed-off-by: Ivan T. Ivanov --- .../devicetree/bindings/pinctrl/qcom,pmic-gpio.txt| 2 ++ .../devicetree/bindings/pinctrl/qcom,pmic-mpp.txt | 2 ++ drivers/pinctrl/qcom/pinctrl-spmi-gpio.c | 1 +

Re: [GIT PULL] clockevents for 4.1

2015-03-31 Thread Daniel Lezcano
On 03/31/2015 09:17 AM, Ingo Molnar wrote: * Daniel Lezcano wrote: Hi Thomas, Ingo, this pull request contains the following changes for 4.1: - Made IO endian agnostic for at91 and dw apb timers (Ben Dooks) - Maintained tegra endianess (Dmitry Osipenko) - Enabled the sun4i / sun5i

Re: [PATCH v2 1/2] clk: fractional-divider: switch to rational best approximation

2015-03-31 Thread Andy Shevchenko
On Tue, 2015-03-31 at 10:42 +0300, Andy Shevchenko wrote: > On Tue, Mar 31, 2015 at 3:32 AM, Stephen Boyd wrote: > > On 03/30/15 11:57, Andy Shevchenko wrote: > >> This patch converts the code to use rational best approximation algorithm > >> which > >> is more precise. > > >> ---

Re: [PATCH 3/4] extcon: usb-gpio: make debounce value configurable in devicetree

2015-03-31 Thread Roger Quadros
On 31/03/15 10:46, Robert Baldyga wrote: > This patch adds devicetree property for setting debounce value. It allows > to set debounce time shorter or longer depending on the needs of given > platform. > > Signed-off-by: Robert Baldyga > --- > drivers/extcon/extcon-usb-gpio.c | 14

Re: another pmem variant V2

2015-03-31 Thread Christoph Hellwig
On Thu, Mar 26, 2015 at 06:57:47PM +0200, Boaz Harrosh wrote: > On 03/26/2015 10:32 AM, Christoph Hellwig wrote: > > Here is another version of the same trivial pmem driver, because two > > obviously aren't enough. The first patch is the same pmem driver > > that Ross posted a short time ago,

Re: [PATCH v2] kvm: avoid page allocation failure in kvm_set_memory_region()

2015-03-31 Thread Igor Mammedov
On Fri, 20 Mar 2015 12:21:37 + Igor Mammedov wrote: > KVM guest can fail to startup with following trace on host: > > qemu-system-x86: page allocation failure: order:4, mode:0x40d0 > Call Trace: > dump_stack+0x47/0x67 > warn_alloc_failed+0xee/0x150 >

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