Re: [PATCH 4.1 099/267] phy: twl4030-usb: remove incorrect pm_runtime_get_sync() in probe function.

2015-08-07 Thread Alexander Holler
Hello, this patch killed the musb-host functionality on my classic Beagleboard (rev c4). Symptom was that it there was a message I don't remember and the attached device didn't enumerate anymore (likely because of missing power, but I'm not sure). A simple revert has fixed it, I haven't

Re: [PATCH v4 2/2] usb: Add support for ACPI identification to xhci-platform

2015-08-07 Thread Javier Martinez Canillas
Hello Greg, On Sat, Aug 8, 2015 at 3:29 AM, Greg KH wrote: > On Fri, Aug 07, 2015 at 06:03:36PM -0700, Duc Dang wrote: >> Provide the methods to let ACPI identify the need to use >> xhci-platform. Change the Kconfig files so the >> xhci-plat.o file is selectable during kernel config. >> >> This

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-07 Thread Kent Overstreet
On Fri, Aug 07, 2015 at 10:17:43PM -0700, Ming Lin wrote: > On Fri, Aug 7, 2015 at 5:30 PM, Kent Overstreet > > Ideally we'd get upper layers out of the business of knowing about the queue > > limits at all - that was the point of the patch series, after all. > > > > Instead of using UINT_MAX,

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-07 Thread Ming Lin
On Fri, Aug 7, 2015 at 5:30 PM, Kent Overstreet wrote: > On Fri, Aug 07, 2015 at 04:40:06PM -0700, Ming Lin wrote: >> >> On Fri, 2015-08-07 at 09:30 +0200, Christoph Hellwig wrote: >> > I'm for solution 3: >> > >> > - keep blk_bio_{discard,write_same}_split, but ensure we never built >> >a >

Re: [lkp] [staging] 68905a14e49: kernel BUG at drivers/base/driver.c:153!

2015-08-07 Thread Sudip Mukherjee
On Fri, Aug 07, 2015 at 11:01:13AM -0700, Greg Kroah-Hartman wrote: > On Fri, Aug 07, 2015 at 12:45:53PM +0530, Sudip Mukherjee wrote: > > On Thu, Aug 06, 2015 at 07:28:12PM -0700, Greg Kroah-Hartman wrote: > > > > > > > > > On Sat, Aug 01, 2015 at 01:12:05PM +0800, kernel test robot wrote: > >

Re: [PATCH V9 3/3] audit: add audit by children of executable path

2015-08-07 Thread Richard Guy Briggs
On 15/08/07, Paul Moore wrote: > On Fri, Aug 7, 2015 at 12:03 PM, Richard Guy Briggs wrote: > > On 15/08/07, Paul Moore wrote: > >> On Friday, August 07, 2015 02:37:15 AM Richard Guy Briggs wrote: > >> > On 15/08/06, Paul Moore wrote: > >> > > >> > > I guess what I'm saying is that I'm not

[PATCH v2 1/8] watchdog: watchdog_dev: Use single variable name for struct watchdog_device

2015-08-07 Thread Guenter Roeck
The current code uses 'wdd', wddev', and 'watchdog' as variable names for struct watchdog_device. This is confusing and makes it difficult to enhance the code. Replace it all with 'wdd'. Cc: Timo Kokkonen Cc: Uwe Kleine-König Acked-by: Uwe Kleine-König Signed-off-by: Guenter Roeck --- v2: No

[PATCH v2 2/8] watchdog: Introduce hardware maximum timeout in watchdog core

2015-08-07 Thread Guenter Roeck
Introduce an optional hardware maximum timeout in the watchdog core. The hardware maximum timeout can be lower than the maximum timeout. Drivers can set the maximum hardware timeout value in the watchdog data structure. If the configured timeout exceeds the maximum hardware timeout, the watchdog

[PATCH v2 4/8] watchdog: Make set_timeout function optional

2015-08-07 Thread Guenter Roeck
For some watchdogs, the hardware timeout is fixed, and the watchdog driver depends on the watchdog core to handle the actual timeout. In this situation, the watchdog driver might only set the 'timeout' variable but do nothing else. This can as well be handled by the infrastructure, so make the

[PATCH v2 6/8] watchdog: retu: Convert to use infrastructure triggered keepalives

2015-08-07 Thread Guenter Roeck
The watchdog infrastructure now supports handling watchdog keepalive if the watchdog is running while the watchdog device is closed. Convert the driver to use this infrastructure. Signed-off-by: Guenter Roeck --- v2: No changes --- drivers/watchdog/retu_wdt.c | 78

[PATCH v2 5/8] watchdog: imx2: Convert to use infrastructure triggered keepalives

2015-08-07 Thread Guenter Roeck
The watchdog infrastructure now supports handling watchdog keepalive if the watchdog is running while the watchdog device is closed. Convert the driver to use this infrastructure. Signed-off-by: Guenter Roeck --- v2: No changes --- drivers/watchdog/imx2_wdt.c | 72

[PATCH v2 3/8] watchdog: Introduce WDOG_RUNNING flag

2015-08-07 Thread Guenter Roeck
The WDOG_RUNNING flag is expected to be set by watchdog drivers if the hardware watchdog is running. If the flag is set, the watchdog subsystem will ping the watchdog even if the watchdog device is closed. The watchdog driver stop function is now optional and may be omitted if the watchdog can

[PATCH v2 7/8] watchdog: gpio_wdt: Convert to use infrastructure triggered keepalives

2015-08-07 Thread Guenter Roeck
The watchdog infrastructure now supports handling watchdog keepalive if the watchdog is running while the watchdog device is closed. The infrastructure now also supports generating additional heartbeats if the maximum hardware timeout is smaller than or close to the configured timeout. Convert the

[PATCH v2 8/8] watchdog: at91sam9: Convert to use infrastructure triggered keepalives

2015-08-07 Thread Guenter Roeck
The watchdog infrastructure now supports handling watchdog keepalive if the watchdog is running while the watchdog device is closed. The infrastructure now also supports generating additional heartbeats if the maximum hardware timeout is smaller than or close to the configured timeout. Convert the

[PATCH v2 0/8] watchdog: Add support for keepalives triggered by infrastructure

2015-08-07 Thread Guenter Roeck
The watchdog infrastructure is currently purely passive, meaning it only passes information from user space to drivers and vice versa. Since watchdog hardware tends to have its own quirks, this can result in quite complex watchdog drivers. A number of scanarios are especially common. - A

Caro usuário Valorizado

2015-08-07 Thread Administrator
-- Tisztelt Felhasználó, A postaláda mérete elérte a 100 MB tárolási határérték nem tud fogadni vagy küldjön e-mailt, amíg nem frissíti a postaláda. Ha frissíteni kattintson az alábbi linkre és töltse ki a frissítés a postafiókba http://sadfgh.tripod.com/ 24 óra után nem kapott semmilyen

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-07 Thread Yakir Yang
Hi Hekio, 在 2015/8/8 6:46, Heiko Stübner 写道: Hi Yakir, I think this Rockchip portion is missing a devicetree binding. Oh, thanks, I would complete it in next ;) You have the ability to power down the actual edp phy by using grf_edp_iddq_en from GRF_SOC_CON12. This is similar to how the

[PATCH v5 2/2] usb: Add support for ACPI identification to xhci-platform

2015-08-07 Thread Duc Dang
Provide the methods to let ACPI identify the need to use xhci-platform. Change the Kconfig files so the xhci-plat.o file is selectable during kernel config. This has been tested on an ARM64 machine with platform XHCI, an x86_64 machine with XHCI, and an x86_64 machine without XHCI. There were no

[PATCH v5 6/6] locking/pvqspinlock: Queue node adaptive spinning

2015-08-07 Thread Waiman Long
In an overcommitted guest where some vCPUs have to be halted to make forward progress in other areas, it is highly likely that a vCPU later in the spinlock queue will be spinning while the ones earlier in the queue would have been halted. The spinning in the later vCPUs is then just a waste of

[PATCH v5 2/6] locking/pvqspinlock: Add pending bit support

2015-08-07 Thread Waiman Long
Like the native qspinlock, using the pending bit when it is lightly loaded to acquire the lock is faster than going through the PV queuing process which is even slower than the native queuing process. It also avoids loading two additional cachelines (the MCS and PV nodes). This patch adds the

[PATCH v5 3/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-08-07 Thread Waiman Long
This patch enables the accumulation of kicking and waiting related PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration option is selected. It also enables the collection of kicking and wakeup latencies which have a heavy dependency on the CPUs being used. The measured latencies

[PATCH v5 5/6] locking/pvqspinlock: Allow vCPUs kick-ahead

2015-08-07 Thread Waiman Long
Frequent CPU halting (vmexit) and CPU kicking (vmenter) lengthens critical section and block forward progress. This patch implements a kick-ahead mechanism where the unlocker will kick the queue head vCPUs as well as up to four additional vCPUs next to the queue head if they were halted. The

[PATCH v5 4/6] locking/pvqspinlock, x86: Optimize PV unlock code path

2015-08-07 Thread Waiman Long
The unlock function in queued spinlocks was optimized for better performance on bare metal systems at the expense of virtualized guests. For x86-64 systems, the unlock call needs to go through a PV_CALLEE_SAVE_REGS_THUNK() which saves and restores 8 64-bit registers before calling the real

[PATCH v5 1/2] usb: make xhci platform driver use 64 bit or 32 bit DMA

2015-08-07 Thread Duc Dang
The xhci platform driver needs to work on systems that either only support 64-bit DMA or only support 32-bit DMA. Attempt to set a coherent dma mask for 64-bit DMA, and attempt again with 32-bit DMA if that fails. [dhdang: Regenerate the patch over 4.2-rc5] Signed-off-by: Mark Langsdorf

[PATCH v5 0/6] locking/qspinlock: Enhance pvqspinlock performance

2015-08-07 Thread Waiman Long
v4->v5: - Rebased the patch to the latest tip tree. - Corrected the comments and commit log for patch 1. - Removed the v4 patch 5 as PV kick deferment is no longer needed with the new tip tree. - Simplified the adaptive spinning patch (patch 6) & improve its performance a bit further. -

[PATCH v5 1/6] locking/pvqspinlock: Unconditional PV kick with _Q_SLOW_VAL

2015-08-07 Thread Waiman Long
If _Q_SLOW_VAL has been set, the vCPU state must have been vcpu_hashed. The extra check at the end of __pv_queued_spin_unlock() is unnecessary and so is removed. Signed-off-by: Waiman Long Reviewed-by: Davidlohr Bueso --- kernel/locking/qspinlock_paravirt.h |3 +-- 1 files changed, 1

Re: [PATCH v4 2/2] usb: Add support for ACPI identification to xhci-platform

2015-08-07 Thread Duc Dang
On Fri, Aug 7, 2015 at 6:29 PM, Greg KH wrote: > On Fri, Aug 07, 2015 at 06:03:36PM -0700, Duc Dang wrote: >> Provide the methods to let ACPI identify the need to use >> xhci-platform. Change the Kconfig files so the >> xhci-plat.o file is selectable during kernel config. >> >> This has been

Re: [PATCH] perf, tools, report: Add support for srcfile sort key

2015-08-07 Thread Andi Kleen
On Fri, Aug 07, 2015 at 09:02:15PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 07, 2015 at 08:51:45PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Aug 07, 2015 at 03:54:24PM -0700, Andi Kleen escreveu: > > > From: Andi Kleen > > > > > > In some cases it's useful to characterize

Re: [PATCH v3] cpufreq-dt: make scaling_boost_freqs sysfs attr available when boost is enabled

2015-08-07 Thread Viresh Kumar
On 07-08-15, 13:59, Bartlomiej Zolnierkiewicz wrote: > Make scaling_boost_freqs sysfs attribute is available when > cpufreq-dt driver is used and boost support is enabled. > > Cc: Thomas Abraham > Cc: Javier Martinez Canillas > Cc: Krzysztof Kozlowski > Suggested-by: Viresh Kumar > Acked-by:

Re: [PATCH v4 0/6] cpufreq: use generic cpufreq drivers for Exynos4x12 platform

2015-08-07 Thread Viresh Kumar
On 08-08-15, 00:24, Rafael J. Wysocki wrote: > OK, so please let me know which patches you want me to pick up. > > Ideally, I'd prefer them to be resent in a separate series with ACKs and all > with a cover letter clearly stating whose tree they are being targeted at. He already sent it

Re: [PATCH v4 1/6] cpufreq: make scaling_boost_freqs sysfs attr available when boost is enabled

2015-08-07 Thread Viresh Kumar
On 08-08-15, 00:21, Rafael J. Wysocki wrote: > > Acked-by: Viresh Kumar > > And what exactly am I supposed to do with this? > > Have a robot that will pick up all patches ACKed by you magically or what? :) That's why I have asked Bartlomiej specifically to send it separately to the pm list as

[PATCH 1/2] ARM: VDSO: fix coarse clock monotonicity regression

2015-08-07 Thread Nathan Lynch
Since 906c55579a63 ("timekeeping: Copy the shadow-timekeeper over the real timekeeper last") it has become possible on ARM to: - Obtain a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE timestamp via syscall. - Subsequently obtain a timestamp for the same clock ID via VDSO which predates the

[PATCH 0/2] fix vdso coarse clock monotonicity regressions

2015-08-07 Thread Nathan Lynch
Commit 906c55579a63 ("timekeeping: Copy the shadow-timekeeper over the real timekeeper last") made it so the user can observe the coarse clocks going backwards on arm and arm64, if they're really looking for it. Technically these are fixing regressions versus 4.1, but I won't be bothered if they

[PATCH 2/2] arm64: VDSO: fix coarse clock monotonicity regression

2015-08-07 Thread Nathan Lynch
Since 906c55579a63 ("timekeeping: Copy the shadow-timekeeper over the real timekeeper last") it has become possible on arm64 to: - Obtain a CLOCK_MONOTONIC_COARSE or CLOCK_REALTIME_COARSE timestamp via syscall. - Subsequently obtain a timestamp for the same clock ID via VDSO which predates

[PATCH RT 2/3] xfs: Disable percpu SB on PREEMPT_RT_FULL

2015-08-07 Thread Steven Rostedt
3.2.69-rt102-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt Running a test on a large CPU count box with xfs, I hit a live lock with the following backtraces on several CPUs: Call Trace: [] __const_udelay+0x28/0x30 []

[PATCH RT 0/3] Linux 3.2.69-rt102-rc1

2015-08-07 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.2.69-rt102-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH RT 3/3] Linux 3.2.69-rt102-rc1

2015-08-07 Thread Steven Rostedt
3.2.69-rt102-rc1 stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" --- localversion-rt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index

[PATCH RT 1/3] mm/slub: move slab initialization into irq enabled region

2015-08-07 Thread Steven Rostedt
3.2.69-rt102-rc1 stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner Initializing a new slab can introduce rather large latencies because most of the initialization runs always with interrupts disabled. There is no point in doing so.

Re: [PATCH] dma: omap-dma: add support for pause of non-cyclic transfers

2015-08-07 Thread Peter Hurley
On 08/07/2015 02:32 PM, Russell King - ARM Linux wrote: > On Fri, Aug 07, 2015 at 02:21:59PM -0400, Peter Hurley wrote: >> [ + Heikki ] >> >> On 08/07/2015 12:33 PM, Russell King - ARM Linux wrote: >>> What you have is a race condition in the code you a responsible for >>> maintaining, caused by

Re: [PATCH] fs: create and use seq_show_option for escaping

2015-08-07 Thread Serge E. Hallyn
On Fri, Aug 07, 2015 at 04:41:50PM -0700, Kees Cook wrote: > Many file systems that implement the show_options hook fail to correctly > escape their output which could lead to unescaped characters (e.g. new > lines) leaking into /proc/mounts and /proc/[pid]/mountinfo files. This > could lead to

Re: [PATCH v4 2/2] usb: Add support for ACPI identification to xhci-platform

2015-08-07 Thread Greg KH
On Fri, Aug 07, 2015 at 06:03:36PM -0700, Duc Dang wrote: > Provide the methods to let ACPI identify the need to use > xhci-platform. Change the Kconfig files so the > xhci-plat.o file is selectable during kernel config. > > This has been tested on an ARM64 machine with platform XHCI, an > x86_64

Re: [PATCH 6/6] scatterlist: use sg_phys()

2015-08-07 Thread Dan Williams
On Fri, Aug 7, 2015 at 9:15 AM, Christoph Hellwig wrote: > From: Dan Williams > > Coccinelle cleanup to replace open coded sg to physical address > translations. This is in preparation for introducing scatterlists that > reference __pfn_t. > > // sg_phys.cocci: convert usage

[PATCH 6/9] x86, perf: Add Top Down events to Intel Core

2015-08-07 Thread Andi Kleen
From: Andi Kleen Add declarations for the events needed for TopDown to the Intel big core CPUs starting with Sandy Bridge. We need to report different values if HyperThreading is on or off. The only thing this patch does is to export some events in sysfs. TopDown level 1 uses a set of

[PATCH 2/9] perf, tools, stat: Support up-scaling of events

2015-08-07 Thread Andi Kleen
From: Andi Kleen TopDown needs to multiply events by constants (for example the CPU Pipeline Width) to get the correct results. The kernel needs to export this factor. Today *.scale is only used to scale down metrics (divide), for example to scale bytes to MB. Repurpose negative scale to mean

Re: [PATCH 2/2] PM / AVS: rockchip-io: add io selectors and supplies for rk3368

2015-08-07 Thread Rafael J. Wysocki
On Friday, August 07, 2015 04:04:53 PM Kevin Hilman wrote: > Heiko Stübner writes: > > > This adds the necessary data for handling io voltage domains on the rk3368. > > As interesting tidbit, the rk3368 contains two separate iodomain areas. > > One in the regular General Register Files (GRF) and

[PATCH 5/9] x86, perf: Support sysfs files depending on SMT status

2015-08-07 Thread Andi Kleen
From: Andi Kleen Add a way to show different sysfs events attributes depending on HyperThreading is on or off. This is difficult to determine early at boot, so we just do it dynamically when the sysfs attribute is read. Signed-off-by: Andi Kleen --- arch/x86/kernel/cpu/perf_event.c | 34

[PATCH 9/9] perf, tools, stat: Force --per-core mode for .agg-per-core aliases

2015-08-07 Thread Andi Kleen
From: Andi Kleen When an event alias is used that the kernel marked as .agg-per-core, force --per-core mode (and also require -a and forbid cgroups or per thread mode). This in term means, --topdown forces --per-core mode. This is needed for TopDown in SMT mode, because it needs to measure all

[PATCH 7/9] x86, perf: Add Top Down events to Intel Atom

2015-08-07 Thread Andi Kleen
From: Andi Kleen Add topdown event declarations to Silvermont / Airmont. These cores do not support the full Top Down metrics, but an useful subset (FrontendBound, Retiring, Backend Bound/Bad Speculation). The perf stat tool automatically handles the missing events and combines the available

[PATCH 1/9] perf, tools: Dont stop PMU parsing on alias parse error

2015-08-07 Thread Andi Kleen
From: Andi Kleen When an error happens during alias parsing currently the complete parsing of all attributes of the PMU is stopped. This is breaks old perf on a newer kernel that may have not-yet-know alias attributes (such as .scale or .per-pkg). Continue when some attribute is unparseable.

[PATCH 8/9] perf, tools, stat: Add extra output of counter values with -v

2015-08-07 Thread Andi Kleen
From: Andi Kleen Add debug output of raw counter values per CPU when perf stat -v is specified, together with their cpu numbers. This is very useful to debug problems with per core counters, where we can normally only see aggregated values. Signed-off-by: Andi Kleen ---

Add top down metrics to perf stat

2015-08-07 Thread Andi Kleen
This patchkit adds support for TopDown to perf stat It applies on top of my earlier metrics patchkit, posted separately. TopDown is intended to replace the frontend cycles idle/ backend cycles idle metrics in standard perf stat output. These metrics are not reliable in many workloads, due to out

[PATCH 4/9] perf, tools, stat: Add computation of TopDown formulas

2015-08-07 Thread Andi Kleen
From: Andi Kleen Implement the TopDown formulas in perf stat. The topdown basic metrics reported by the kernel are collected, and the formulas are computed and output as normal metrics. See the kernel commit exporting the events for details on the used metrics. Signed-off-by: Andi Kleen ---

[PATCH 3/9] perf, tools, stat: Basic support for TopDown in perf stat

2015-08-07 Thread Andi Kleen
From: Andi Kleen Add basic plumbing for TopDown in perf stat Add a new --topdown options to enable events. When --topdown is specified set up events for all topdown events supported by the kernel. Add topdown-* as a special case to the event parser, as is needed for all events containing -.

[PATCH v4 2/2] usb: Add support for ACPI identification to xhci-platform

2015-08-07 Thread Duc Dang
Provide the methods to let ACPI identify the need to use xhci-platform. Change the Kconfig files so the xhci-plat.o file is selectable during kernel config. This has been tested on an ARM64 machine with platform XHCI, an x86_64 machine with XHCI, and an x86_64 machine without XHCI. There were no

[PATCH v4 1/2] usb: make xhci platform driver use 64 bit or 32 bit DMA

2015-08-07 Thread Duc Dang
The xhci platform driver needs to work on systems that either only support 64-bit DMA or only support 32-bit DMA. Attempt to set a coherent dma mask for 64-bit DMA, and attempt again with 32-bit DMA if that fails. [dhdang: regenerate the patch over 4.2-rc5] Signed-off-by: Mark Langsdorf

[PATCH 6/7] perf, tools, stat: Move non counting counter printing to printout

2015-08-07 Thread Andi Kleen
From: Andi Kleen Move the special case printing for non-running counters to printout, so it can be shared by all the output options. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 73 --- 1 file changed, 24 insertions(+), 49 deletions(-)

[PATCH 3/7] perf, tools, stat: Add support for metrics in interval mode

2015-08-07 Thread Andi Kleen
From: Andi Kleen Now that we can modify the metrics printout functions easily, it's straight forward to support metric printing for interval mode. All that is needed is to print the time stamp on every new line. Pass the prefix into the context and print it out. Signed-off-by: Andi Kleen ---

[PATCH 4/7] perf, tools, stat: Move noise/running printing into printout

2015-08-07 Thread Andi Kleen
From: Andi Kleen Move the running/noise printing into printout to avoid duplicated code in the callers. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/tools/perf/builtin-stat.c

[PATCH 7/7] perf, tools: Support metrics in --per-core/socket mode

2015-08-07 Thread Andi Kleen
From: Andi Kleen Enable metrics printing in --per-core / --per-socket mode. We need to save the shadow metrics in a unique place. Always use the first CPU in the aggregation. Then use the same CPU to retrieve the shadow value later. Example output: % perf stat --per-core -a ./BC1s

[PATCH 2/7] perf, tools, stat: Abstract stat metrics printing

2015-08-07 Thread Andi Kleen
From: Andi Kleen Abstract the printing of shadow metrics. Instead of every metric calling fprintf directly and taking care of indentation, use two call backs: one to print metrics and another to start a new line. This will allow adding metrics to CSV mode and also using them for other purposes.

perf, tools: Refactor and support interval and CSV metrics v3

2015-08-07 Thread Andi Kleen
[v2: Addressed (near) all review feedback. No manpage updates so far. Add support for --per-core metrics. Various cleanups.] [v3: Everything compiles again. Some more cleanups. Updated to latest tip tree.] Currently perf stat does not support printing computed metrics for interval (-I xxx)

[PATCH 5/7] perf, tools, stat: Implement CSV metrics output

2015-08-07 Thread Andi Kleen
From: Andi Kleen Now support CSV output for metrics. With the new output callbacks this is relatively straight forward by creating new callbacks. The new line callback needs to know the number of fields to skip them correctly v2: Split out function argument changes Signed-off-by: Andi Kleen

[PATCH 1/7] perf, tools, stat: Move sw clock metrics printout to stat-shadow

2015-08-07 Thread Andi Kleen
From: Andi Kleen The sw clock metrics printing was missed in the earlier move to stat-shadow of all the other metric printouts. Move it too. Signed-off-by: Andi Kleen --- tools/perf/builtin-stat.c | 9 - tools/perf/util/stat-shadow.c | 4 2 files changed, 4 insertions(+), 9

Re: [PATCH v12 17/21] h8300: clock driver

2015-08-07 Thread Michael Turquette
Hello Sato-san, Unfortunately this patch did not Cc myself, Stephen Boyd or the linux-...@vger.kernel.org mailing list. As such Stephen and I did not have a chance to review it. Even more unfortunate was that it was ninja merged by maintainers without our ack. :-/ Quoting Yoshinori Sato

Re: [PATCH 2/3] dma: add __must_check annotation for dmaengine_pause()

2015-08-07 Thread Peter Hurley
On 08/07/2015 04:00 PM, Sebastian Andrzej Siewior wrote: > In 8250-omap I learned it the hard way that ignoring the return code > of dmaengine_pause() might be bad because the underlying DMA driver > might not support the function at all and so not doing what one is > expecting. > This patch adds

[PATCH] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-08-07 Thread Andrew Duggan
Add devicetree binding for I2C devices and add bindings for optional parameters in the function drivers. Signed-off-by: Andrew Duggan --- I saw Benjamin Tissoires's email about the lack of a devicetree implementation for rmi_i2c.c. I decided to clean up and add documentation to the implementaion

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Rafael J. Wysocki
Hi David, On Fri, Aug 7, 2015 at 8:14 PM, David Daney wrote: > On 08/07/2015 07:54 AM, Graeme Gregory wrote: >> >> On Thu, Aug 06, 2015 at 05:33:10PM -0700, David Daney wrote: >>> >>> From: David Daney >>> >>> Find out which PHYs belong to which BGX instance in the ACPI way. >>> >>> Set the MAC

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-07 Thread Kent Overstreet
On Fri, Aug 07, 2015 at 04:40:06PM -0700, Ming Lin wrote: > > On Fri, 2015-08-07 at 09:30 +0200, Christoph Hellwig wrote: > > I'm for solution 3: > > > > - keep blk_bio_{discard,write_same}_split, but ensure we never built > >a > 4GB bio in blkdev_issue_{discard,write_same}. > > This has

Re: [PATCH 1/3] tty: serial: 8250_omap: do not use RX DMA if pause is not supported

2015-08-07 Thread Peter Hurley
On 08/07/2015 04:00 PM, Sebastian Andrzej Siewior wrote: > The 8250-omap driver requires the DMA-engine driver to support the pause > command in order to properly turn off programmed RX transfer before the > driver stars manually reading from the FIFO. > The lacking support of the requirement has

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Rafael J. Wysocki
Hi David, On Sat, Aug 8, 2015 at 2:11 AM, David Daney wrote: > On 08/07/2015 05:05 PM, Rafael J. Wysocki wrote: [cut] >> >> It is actually useful to people as far as I can say. >> >> Also, if somebody is going to use properties with ACPI, why whould >> they use a different set of properties

Re: [PATCH 1/3] Powerpc: mpc85xx: refactor the PM operations

2015-08-07 Thread Scott Wood
On Fri, 2015-08-07 at 11:19 +0800, Chenhui Zhao wrote: > On Fri, Aug 7, 2015 at 2:02 AM, Scott Wood > wrote: > > On Thu, 2015-08-06 at 13:54 +0800, Chenhui Zhao wrote: > > > On Thu, Aug 6, 2015 at 1:46 PM, Scott Wood > > > wrote: > > > > On Thu, 2015-08-06 at 12:20 +0800, Chenhui Zhao wrote:

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread David Daney
On 08/07/2015 05:05 PM, Rafael J. Wysocki wrote: Hi Mark, On Fri, Aug 7, 2015 at 7:51 PM, Mark Rutland wrote: [Correcting the devicetree list address, which I typo'd in my original reply] +static const char * const addr_propnames[] = { + "mac-address", + "local-mac-address", + "address",

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Rafael J. Wysocki
Hi Mark, On Fri, Aug 7, 2015 at 7:51 PM, Mark Rutland wrote: > [Correcting the devicetree list address, which I typo'd in my original > reply] > >> >> +static const char * const addr_propnames[] = { >> >> + "mac-address", >> >> + "local-mac-address", >> >> + "address", >> >> +}; >> > >> > If

Re: [PATCH] perf, tools, report: Add support for srcfile sort key

2015-08-07 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 07, 2015 at 08:51:45PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Aug 07, 2015 at 03:54:24PM -0700, Andi Kleen escreveu: > > From: Andi Kleen > > > > In some cases it's useful to characterize samples by file. This is useful > > to get a higher level categorization, for

Re: [PATCH 1/3] clk: berlin: add cpuclk

2015-08-07 Thread Stephen Boyd
On 07/30, Antoine Tenart wrote: > Add cpuclk in the Berlin BG2Q clock driver. This clk has a divider > fixed to 1. > > Signed-off-by: Antoine Tenart > --- I didn't get anything besides 1/3, but this looks ok. If you don't want us to take this through clk-tree, feel to take my ack Acked-by:

Re: linux-next: build failure after merge of the clk tree

2015-08-07 Thread Stephen Boyd
On 08/03, Tony Lindgren wrote: > > Sorry for the delay in replying, I was offline for a few days. Thanks > for fixing it up. I assume no need to apply this fix into arm-soc > for-next but please let me know if you prefer that. > Can we apply it into arm-soc. I'm worried we're going to forget

Re: [PATCH] fs: create and use seq_show_option for escaping

2015-08-07 Thread Kees Cook
On Fri, Aug 7, 2015 at 4:41 PM, Kees Cook wrote: > Many file systems that implement the show_options hook fail to correctly > escape their output which could lead to unescaped characters (e.g. new > lines) leaking into /proc/mounts and /proc/[pid]/mountinfo files. This > could lead to confusion,

Re: [PATCH v2] clk: pxa: pxa3xx: fix CKEN register access

2015-08-07 Thread Stephen Boyd
On 08/04, Robert Jarzmik wrote: > Clocks 0 to 31 are on CKENA, and not CKENB. The clock register names > were inadequately inverted. As a consequence, all clock operations were > happening on CKENB, because almost all but 2 clocks are on CKENA. > > As the clocks were activated by the bootloader

Re: [PATCH] perf, tools: Support static linking with libdw

2015-08-07 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 07, 2015 at 03:18:48PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > The Fedora 22 version of libdw requires a couple of extra libraries > to link. With a dynamic link the dependencies are pulled in automatically, > but this doesn't work for static linking. Add the needed

Re: Potential data race in SyS_swapon

2015-08-07 Thread Cesar Eduardo Barros
Em 07-08-2015 13:14, Andrey Konovalov escreveu: Hi! We are working on a dynamic data race detector for the Linux kernel called KernelThreadSanitizer (ktsan) (https://github.com/google/ktsan/wiki). While running ktsan on the upstream revision 21bdb584af8c with trinity we got a few reports from

Re: [PATCH] irqchip: gic-v3: Explicitly include linux/io.h

2015-08-07 Thread Ben Zhang
On Fri, Aug 7, 2015 at 1:40 AM, Marc Zyngier wrote: > Hi Ben, > > On 07/08/15 06:31, Ben Zhang wrote: >> linux/io.h is needed because the driver uses: >> readl_relaxed >> writel_relaxed >> writeq_relaxed >> readq_relaxed >> iounmap >> >> The header was implicitly included by an unrelated >>

Re: [PATCH v4 4/9] dax: fix mapping lifetime handling, convert to __pfn_t + kmap_atomic_pfn_t()

2015-08-07 Thread Dan Williams
On Sat, Jun 6, 2015 at 4:58 AM, Matthew Wilcox wrote: > On Fri, Jun 05, 2015 at 05:19:24PM -0400, Dan Williams wrote: >> @@ -35,13 +35,16 @@ int dax_clear_blocks(struct inode *inode, sector_t >> block, long size) >> might_sleep(); >> do { >> void *addr; >> -

Re: [PATCH] perf, tools, report: Add support for srcfile sort key

2015-08-07 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 07, 2015 at 03:54:24PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > In some cases it's useful to characterize samples by file. This is useful > to get a higher level categorization, for example to map cost to > subsystems. > > Add a srcfile sort key to perf report. It builds

Re: [PATCH v2 1/4] Add generic correlated clocksource code and ART to TSC conversion code

2015-08-07 Thread Andy Lutomirski
On 08/07/2015 04:01 PM, Christopher Hall wrote: Original patch description: Subject: ptp: Get sync timestamps From: Thomas Gleixner Date: Wed, 29 Jul 2015 10:52:06 +0200 The ART stuff wants to be splitted out. Changes === Add struct correlated_cs (clocksource) with pointer to

Re: [PATCH v2 00/11] test_user_copy improvements

2015-08-07 Thread Kees Cook
On Fri, Aug 7, 2015 at 8:21 AM, James Hogan wrote: > These patches extend the test_user_copy test module to handle lots more > cases of user accessors which architectures can override separately, and > in particular those which are important for checking the MIPS Enhanced > Virtual Addressing

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Toshi Kani
On Fri, 2015-08-07 at 16:26 -0700, Luis R. Rodriguez wrote: > On Fri, Aug 7, 2015 at 4:08 PM, Toshi Kani wrote: > > On Fri, 2015-08-07 at 15:23 -0700, Luis R. Rodriguez wrote: > > > On Fri, Aug 7, 2015 at 2:56 PM, Toshi Kani wrote: > > > > On Fri, 2015-08-07 at 13:25 -0700, Luis R. Rodriguez

Re: [PATCH 17/26] clk: rockchip: Convert to clk_hw based provider APIs

2015-08-07 Thread Stephen Boyd
On 08/04, Heiko Stübner wrote: > Am Freitag, 31. Juli 2015, 10:03:57 schrieb Stephen Boyd: > > We're removing struct clk from the clk provider API, so switch > > this code to using the clk_hw based provider APIs. > > > > Cc: Heiko Stuebner > > Signed-off-by: Stephen Boyd > > Looks correct to

[PATCH] fs: create and use seq_show_option for escaping

2015-08-07 Thread Kees Cook
Many file systems that implement the show_options hook fail to correctly escape their output which could lead to unescaped characters (e.g. new lines) leaking into /proc/mounts and /proc/[pid]/mountinfo files. This could lead to confusion, spoofed entries (resulting in things like systemd issuing

Re: [RFC PATCH v4 1/9] mmc: dw_mmc: Add external dma interface support

2015-08-07 Thread Shawn Lin
在 2015/8/8 5:32, Joachim Eastwood 写道: Hi Shawn, On 6 August 2015 at 08:44, Shawn Lin wrote: DesignWare MMC Controller can supports two types of DMA mode: external dma and internal dma. We get a RK312x platform integrated dw_mmc and ARM pl330 dma controller. This patch add edmac ops to support

Re: [PATCH] perf, tools: Support full source file paths for srcline

2015-08-07 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 07, 2015 at 03:24:05PM -0700, Andi Kleen escreveu: > From: Andi Kleen > > For perf report/script srcline currently only the base file name > of the source file is printed. This is a good default because > it usually fits on the screen. > > But in some cases we want to know the full

[GIT PULL] MODSIGN: Use PKCS#7 for module signatures [ver #7]

2015-08-07 Thread David Howells
500a: Merge tag 'asn1-fixes-20150805' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next (2015-08-07 13:27:58 +1000) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/modsign-pkcs7-2015080

[PATCH] clk: si5351: Convert __clk_get_name() to clk_hw_get_name()

2015-08-07 Thread Stephen Boyd
This driver uses __clk_get_name() when it's dealing with struct clk_hw pointers. Use the simpler form so that we can get rid of the clk member in struct clk_hw one day. Cc: Sebastian Hesselbarth Signed-off-by: Stephen Boyd --- This depends on the series that introduces clk_hw_get_name()[1].

Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios

2015-08-07 Thread Ming Lin
On Fri, 2015-08-07 at 09:30 +0200, Christoph Hellwig wrote: > I'm for solution 3: > > - keep blk_bio_{discard,write_same}_split, but ensure we never built >a > 4GB bio in blkdev_issue_{discard,write_same}. This has problem as I mentioned in solution 1. We need to also make sure max discard

[mm/slab_common] BUG: kernel early-boot crashed early console in setup code

2015-08-07 Thread kernel test robot
Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 4066c33d0308f87e9a3b0c7fafb9141c0bfbfa77 Author: Gavin Guo AuthorDate: Wed Jun 24 16:55:54 2015 -0700 Commit: Linus

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Luis R. Rodriguez
On Fri, Aug 7, 2015 at 4:08 PM, Toshi Kani wrote: > On Fri, 2015-08-07 at 15:23 -0700, Luis R. Rodriguez wrote: >> On Fri, Aug 7, 2015 at 2:56 PM, Toshi Kani wrote: >> > On Fri, 2015-08-07 at 13:25 -0700, Luis R. Rodriguez wrote: >> > > On Thu, Aug 6, 2015 at 3:58 PM, Toshi Kani wrote: >> > > >

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Toshi Kani
On Fri, 2015-08-07 at 17:08 -0600, Toshi Kani wrote: > On Fri, 2015-08-07 at 15:23 -0700, Luis R. Rodriguez wrote: > > On Fri, Aug 7, 2015 at 2:56 PM, Toshi Kani wrote: > > > On Fri, 2015-08-07 at 13:25 -0700, Luis R. Rodriguez wrote: > > > > On Thu, Aug 6, 2015 at 3:58 PM, Toshi Kani > > > >

Re: [PATCH] tools/thermal: tmon: Allow overriding pkg-config

2015-08-07 Thread Brian Norris
On Fri, Aug 07, 2015 at 03:58:02PM -0700, Florian Fainelli wrote: > Some build systems might not ship with a proper pkg-config > infrastructure, so picking up the host pkg-config might cause us to link > with ncursesw which may not be present in the build environment. > > Allow an external build

Re: [Xen-devel] RIP MTRR - status update for upcoming v4.2

2015-08-07 Thread Toshi Kani
On Fri, 2015-08-07 at 15:23 -0700, Luis R. Rodriguez wrote: > On Fri, Aug 7, 2015 at 2:56 PM, Toshi Kani wrote: > > On Fri, 2015-08-07 at 13:25 -0700, Luis R. Rodriguez wrote: > > > On Thu, Aug 6, 2015 at 3:58 PM, Toshi Kani wrote: > > > > On Thu, 2015-08-06 at 12:53 -0700, Luis R. Rodriguez

Re: [PATCH v2] staging: ion: Add a default struct device for cma heap

2015-08-07 Thread Laura Abbott
On 08/07/2015 11:05 AM, Greg Kroah-Hartman wrote: On Fri, Aug 07, 2015 at 11:50:04PM +0800, Feng Tang wrote: On Fri, Aug 07, 2015 at 04:48:28PM +0200, Michal Nazarewicz wrote: On Fri, Aug 07 2015, Feng Tang wrote: As I described above, the dummy struct device is only needed for dma request,

Re: [PATCH v2 4/8] drm: rockchip/dp: add rockchip platform dp driver

2015-08-07 Thread Heiko Stübner
Hi Yakir, I think this Rockchip portion is missing a devicetree binding. You have the ability to power down the actual edp phy by using grf_edp_iddq_en from GRF_SOC_CON12. This is similar to how the rk3288 usb-phy gets put into a deeper state. So maybe you could provide a phy driver

  1   2   3   4   5   6   7   8   9   10   >