Re: [PATCH] cpuidle: Do not use CPUIDLE_DRIVER_STATE_START in cpuidle.c

2015-05-27 Thread Daniel Lezcano
On 05/27/2015 03:36 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The CPUIDLE_DRIVER_STATE_START symbol is defined as 1 only if CONFIG_ARCH_HAS_CPU_RELAX is set, otherwise it is defined as 0. However, if CONFIG_ARCH_HAS_CPU_RELAX is set, the first (index 0)

Re: [PATCH 01/11] ARM64 / PCI: introduce struct pci_controller for ACPI

2015-05-27 Thread Hanjun Guo
Hi Liviu, On 2015年05月27日 01:20, Jiang Liu wrote: On 2015/5/27 0:58, Liviu Dudau wrote: On Tue, May 26, 2015 at 01:49:14PM +0100, Hanjun Guo wrote: ARM64 ACPI based PCI host bridge init needs a arch dependent struct pci_controller to accommodate common PCI host bridge code which is introduced

[PATCH perf/core 2/2] [BUGFIX] perf probe: Fix an error when deleting probes successfully

2015-05-27 Thread Masami Hiramatsu
Fix a bug in del_perf_probe_events() which returns an error (-ENOENT) even if the probes are successfully deleted. This happens only if the probes are on user-apps and not on kernel, simply because it doesn't clear the previous error. So, without this fix, we get an error even though events are

Re: [RFC] Add --show-total-period for perf annotate

2015-05-27 Thread Martin Liška
On 05/27/2015 10:46 AM, Martin Liška wrote: On 05/26/2015 07:03 PM, Andi Kleen wrote: Anyway, attached patch is capable of displaying milliseconds approximation for each instruction. You realize that the events perf is not counting do not directly map to wall time? Even if you count cycles,

Re: [PATCH 2/2] ASoC: atmel: compile pcm driver in snd-soc-atmel_ssc_dai

2015-05-27 Thread Paul Bolle
On Wed, 2015-05-27 at 11:19 +0200, Alexandre Belloni wrote: However, the Kconfig maintainer found a way to do the right thing so we may as well drop that patch and keep those as modules. Perhaps I missed a message: do you have a link? (I fiddled a bit with the build setup of these drivers too,

Re: Edited draft of bpf(2) man page for review/enhancement

2015-05-27 Thread Daniel Borkmann
On 05/27/2015 10:43 AM, Michael Kerrisk (man-pages) wrote: Hello Alexei, I took the draft 3 of the bpf(2) man page that you sent back in March and did some substantial editing to clarify the language and add a few technical details. Could you please check the revised version below, to ensure I

Re: [Drbd-dev] [PATCH] block:drbd:drbd_receiver - Change 1/0 to true/false for bool type variable rv in function overlapping_resync_write().

2015-05-27 Thread Lars Ellenberg
On Tue, May 26, 2015 at 01:45:09AM +0530, Shailendra Verma wrote: In function overlapping_resync_write() variable rv is bool type. Hence assigning the values as true/false instead of 1/0. I like 0 and 1 better. So unless the powers that be rule this to be the recommended or mandatory coding

[PATCH v3 1/5] Documentation: add DT binding for ARM System Control and Power Interface(SCPI) protocol

2015-05-27 Thread Sudeep Holla
This patch adds devicetree binding for System Control and Power Interface (SCPI) Message Protocol used between the Application Cores(AP) and the System Control Processor(SCP). The MHU peripheral provides a mechanism for inter-processor communication between SCP's M3 processor and AP. SCP offers

[PATCH v3 3/5] clk: add support for clocks provided by SCP(System Control Processor)

2015-05-27 Thread Sudeep Holla
On some ARM based systems, a separate Cortex-M based System Control Processor(SCP) provides the overall power, clock, reset and system control. System Control and Power Interface(SCPI) Message Protocol is defined for the communication between the Application Cores(AP) and the SCP. This patch adds

[PATCH v3 5/5] cpufreq: arm_big_little: add SCPI interface driver

2015-05-27 Thread Sudeep Holla
On some ARM based systems, a separate Cortex-M based System Control Processor(SCP) provides the overall power, clock, reset and system control including CPU DVFS. SCPI Message Protocol is used to communicate with the SCPI. This patch adds a interface driver for adding OPPs and registering the

[tip:perf/core] perf/x86/intel/cqm: Use proper data types

2015-05-27 Thread tip-bot for Thomas Gleixner
Commit-ID: b3df4ec4424f27e55d754cfe586195fecca1c4e4 Gitweb: http://git.kernel.org/tip/b3df4ec4424f27e55d754cfe586195fecca1c4e4 Author: Thomas Gleixner t...@linutronix.de AuthorDate: Tue, 19 May 2015 00:00:51 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 27 May 2015

[tip:perf/core] perf/x86/intel/cqm: Document PQR MSR abuse

2015-05-27 Thread tip-bot for Thomas Gleixner
Commit-ID: f4d9757ca6f5a2db6919a5b1ab86b8afa16773d0 Gitweb: http://git.kernel.org/tip/f4d9757ca6f5a2db6919a5b1ab86b8afa16773d0 Author: Thomas Gleixner t...@linutronix.de AuthorDate: Tue, 19 May 2015 00:00:50 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 27 May 2015

[tip:perf/core] perf/x86: Tweak broken BIOS rules during check_hw_exists()

2015-05-27 Thread tip-bot for Don Zickus
Commit-ID: 68ab747604da98f0a0414f197f346ac22888fcee Gitweb: http://git.kernel.org/tip/68ab747604da98f0a0414f197f346ac22888fcee Author: Don Zickus dzic...@redhat.com AuthorDate: Mon, 18 May 2015 15:16:48 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 27 May 2015 09:16:20

[tip:perf/core] perf/x86/intel/pt: Untangle pt_buffer_reset_markers()

2015-05-27 Thread tip-bot for Alexander Shishkin
Commit-ID: f73ec48c90016f89d05726f6c48e66991a790fd7 Gitweb: http://git.kernel.org/tip/f73ec48c90016f89d05726f6c48e66991a790fd7 Author: Alexander Shishkin alexander.shish...@linux.intel.com AuthorDate: Fri, 22 May 2015 18:30:22 +0300 Committer: Ingo Molnar mi...@kernel.org CommitDate:

Re: [PATCH v2 0/7] Smack namespace

2015-05-27 Thread Lukasz Pawelczyk
On wto, 2015-05-26 at 22:13 -0500, Eric W. Biederman wrote: Lukasz Pawelczyk l.pawelc...@samsung.com writes: Hello, Some time ago I sent a Smack namespace documentation and a preliminary LSM namespace for RFC. I've been suggested that there shouldn't be a separate LSM namespace and

Re: [PATCH v2 4/9] extcon/input/mfd/power/regulator: max77693: Move state container to common header

2015-05-27 Thread Lee Jones
On Sun, 24 May 2015, Krzysztof Kozlowski wrote: This prepares for merging some of the drivers between max77693 and max77843 so the child MFD driver can be attached to any parent MFD main driver. Move the state container to common header file. Additionally add consistent 'i2c' prefixes to

Re: [PATCH 03/13] serial: 8250_dma: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
On 05/26/2015 06:08 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [150526 06:28]: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. In case of error, return the error code we received including -EPROBE_DEFER Signed-off-by: Peter Ujfalusi

Re: [PATCH 5/5] Documentation: dt-bindings: add exynos-srom binding information

2015-05-27 Thread Krzysztof Kozlowski
2015-04-29 17:38 GMT+09:00 Pankaj Dubey pankaj.du...@samsung.com: This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring robh...@kernel.org CC: Mark Rutland mark.rutl...@arm.com CC: Ian Campbell ijc+devicet...@hellion.org.uk Signed-off-by:

[PATCH RESEND v3 0/2] reducing memory footprint of ALSA

2015-05-27 Thread Jie Yang
We are planning to work on reducing memory footprint of ALSA, targeting on small memory embedded devices(e.g. IoT), this series focuses on disabling procfs, hw/sw params refinement, mmap, dpcm, dapm, compressed API, compat code APIs... We plan to enable those reducing items only for EXPERT, and

RE: [PATCH v2 2/2] ALSA: set no sound proc fs for reduced memory footprint

2015-05-27 Thread Jie, Yang
-Original Message- From: Takashi Iwai [mailto:ti...@suse.de] Sent: Wednesday, May 27, 2015 3:46 PM To: Jie, Yang Cc: Sudip Mukherjee; broo...@kernel.org; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org; Girdwood, Liam R; Zhang, Vivian Subject: Re: [PATCH v2 2/2] ALSA: set

Re: [PATCH] ARM: berlin: add SPI nodes for BG2Q

2015-05-27 Thread Sebastian Hesselbarth
On 25.05.2015 11:01, Antoine Tenart wrote: On Thu, May 21, 2015 at 01:21:42AM +0200, Sebastian Hesselbarth wrote: On 20.05.2015 14:53, Antoine Tenart wrote: + + spi0_pmux: spi0-pmux { + groups = G8, G9, G10, G11; +

Re: [RFC PATCH 0/3] clk: stm32: Add clock driver for STM32F4[23]xxx devices

2015-05-27 Thread Daniel Thompson
On 26/05/15 17:41, Maxime Coquelin wrote: 2. Allocating ~80 clock components appears to fragment memory enough to prevent busybox (.text is ~300K, non-XIP) from running getty. I have to use init=/bin/sh to avoid OOM problems. Yes, I reproduced the same issue while testing your

Re: [PATCH v3 5/7] mfd: cros_ec: add bus-specific proto v3 code

2015-05-27 Thread Lee Jones
On Fri, 22 May 2015, Javier Martinez Canillas wrote: From: Stephen Barber smbar...@chromium.org Add proto v3 support to the SPI, I2C, and LPC. Signed-off-by: Stephen Barber smbar...@chromium.org Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Tested-by: Heiko

Re: [PATCH] rtc: pcf8563 fix: return -EINVAL if we read an invalid time.

2015-05-27 Thread Alexandre Belloni
Hi, On 25/05/2015 at 11:51:14 +0200, Jan Kardell wrote : @@ -202,8 +202,9 @@ static int pcf8563_get_datetime(struct i2c_client *client, struct rtc_time *tm) if (buf[PCF8563_REG_SC] PCF8563_SC_LV) { pcf8563-voltage_low = 1; - dev_info(client-dev, +

Re: [PATCH v3 7/7] mfd: cros_ec: spi: Add delay for asserting CS

2015-05-27 Thread Lee Jones
On Fri, 22 May 2015, Javier Martinez Canillas wrote: From: Alexandru M Stan ams...@chromium.org Some ECs need a little time for waking up before they can accept SPI data at a high speed. This is configurable via a DT property google,cros-ec-spi-pre-delay. If this property isn't set, then

Re: [PATCH v2 0/2] Drivers: hv: vmbus: use cpu_hotplug_enable/disable for CPU offlining prevention

2015-05-27 Thread Vitaly Kuznetsov
KY Srinivasan k...@microsoft.com writes: -Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Thursday, May 21, 2015 9:22 AM To: de...@linuxdriverproject.org Cc: KY Srinivasan; Haiyang Zhang; linux-kernel@vger.kernel.org; Dexuan Cui; Ingo Molnar; Paul E.

Re: [PATCH v2 02/11] perf/x86: Improve HT workaround GP counter constraint

2015-05-27 Thread Peter Zijlstra
On Wed, May 27, 2015 at 02:01:04AM -0700, Stephane Eranian wrote: #define PERF_X86_EVENT_AUTO_RELOAD 0x0400 /* use PEBS auto-reload */ #define PERF_X86_EVENT_FREERUNNING 0x0800 /* use freerunning PEBS */ What's free running PEBS? ;- The series here:

[PATCH] drivers/base: cacheinfo: handle absence of caches

2015-05-27 Thread Sudeep Holla
On some simulators like GEM5, caches may not be simulated. In those cases, the cache levels and leaves will be zero and will result in following exception: Unable to handle kernel NULL pointer dereference at virtual address 0040 pgd = ffc0008fa000 [0040] *pgd=0009f6807003,

Re: [PATCH v2 5/9] extcon/input/mfd/regulator: max77843: Switch to common max77693 state container

2015-05-27 Thread Lee Jones
On Sun, 24 May 2015, Krzysztof Kozlowski wrote: Switch to the same definition of state container as in MAX77693 drivers. This will allow usage of one regulator driver in both devices: MAX77693 and MAX77843. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com ---

Re: [ANNOUNCE] 4.0.4-rt1

2015-05-27 Thread Jeremy Jongepier
On 05/27/2015 11:44 AM, Joakim Hernberg wrote: On Tue, 19 May 2015 23:39:23 +0200 Sebastian Andrzej Siewior bige...@linutronix.de wrote: Dear RT folks! I'm pleased to announce the v4.0.4-rt1 patch set. I see the following trying to build based on archlinux' default config: jack@balder

Re: [PATCH v2 2/9] mfd: max77693: Store I2C device type as enum and add default unknown

2015-05-27 Thread Krzysztof Kozłowski
2015-05-27 19:23 GMT+09:00 Lee Jones lee.jo...@linaro.org: On Sun, 24 May 2015, Krzysztof Kozlowski wrote: Store the device type (obtained from i2c_device_id) as an enum and add a default type of unknown to distinguish from case when this is not set at all. Signed-off-by: Krzysztof

[PATCHv2] zram: check comp algorithm availability earlier

2015-05-27 Thread Sergey Senozhatsky
Improvement idea by Marcin Jabrzyk. comp_algorithm_store() silently accepts any supplied algorithm name, because zram performs algorithm availability check later, during the device configuration phase in disksize_store() and emits the following error: zram: Cannot initialise %s compressing

Re: [PATCH v2 02/11] perf/x86: Improve HT workaround GP counter constraint

2015-05-27 Thread Stephane Eranian
On Wed, May 27, 2015 at 3:11 AM, Peter Zijlstra pet...@infradead.org wrote: On Wed, May 27, 2015 at 02:01:04AM -0700, Stephane Eranian wrote: But are you removing the incremental calls from the upper layer via x86_pmu.add()? If not, then you are saying the dynamic constraint you got for

Re: [Linux-nvdimm] [GIT PULL] PMEM driver for v4.1

2015-05-27 Thread Christoph Hellwig
On Wed, May 27, 2015 at 11:10:21AM +0300, Boaz Harrosh wrote: Hu funny I just looked and I see with ./check auto I get generic/018 1s ... [not run] defragmentation not supported for fstype m1fs generic/020 0s ... 0s 019 is not even printing a skip. But if I run it directly I get:

Re: [RFC][PATCH] regmap: Add support for sequences of writes with specified delays

2015-05-27 Thread Nariman Poushin
On Tue, May 26, 2015 at 04:36:54PM +0100, Richard Fitzgerald wrote: On Tue, May 26, 2015 at 04:21:00PM +0100, Mark Brown wrote: On Tue, May 26, 2015 at 01:39:21PM +0100, Nariman Poushin wrote: Change-Id:Ie9e77aa48f258b353ffa7406d02e19c28d5f2a44 My bad, should have removed it.

Re: [Linux-nvdimm] [GIT PULL] PMEM driver for v4.1

2015-05-27 Thread Boaz Harrosh
On 05/27/2015 11:11 AM, Christoph Hellwig wrote: On Wed, May 27, 2015 at 11:10:21AM +0300, Boaz Harrosh wrote: Hu funny I just looked and I see with ./check auto I get generic/018 1s ... [not run] defragmentation not supported for fstype m1fs generic/020 0s ... 0s 019 is not even printing a

Edited draft of bpf(2) man page for review/enhancement

2015-05-27 Thread Michael Kerrisk (man-pages)
Hello Alexei, I took the draft 3 of the bpf(2) man page that you sent back in March and did some substantial editing to clarify the language and add a few technical details. Could you please check the revised version below, to ensure I did not inject any errors. I also added a number of

[PATCH v3 2/2] ALSA: replace CONFIG_PROC_FS with CONFIG_SND_PROC_FS

2015-05-27 Thread Jie Yang
We may disable proc fs only for sound part, to reduce ALSA memory footprint. So add CONFIG_SND_PROC_FS and replace the old CONFIG_PROC_FSs in alsa code. With sound proc fs disabled, we can save about 9KB memory size on X86_64 platform. Signed-off-by: Jie Yang yang@intel.com ---

[PATCH v3 1/2] ALSA: Kconfig: add config item SND_PROC_FS for expert

2015-05-27 Thread Jie Yang
For some embedded devices, we need reduce code size and data footprint as much as possible, e.g. disabling procfs, hw/sw params refinement, mmap, dpcm, dapm, compressed API... Here add SND_PROC_FS item for expert, we can unselect it to disable sound proc FS and reduce memory footprint.

Re: [PATCH 1/2] mfd: arizona: Add convience defines for micd_rate/micd_bias_starttime

2015-05-27 Thread Lee Jones
On Mon, 25 May 2015, Charles Keepax wrote: Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- include/dt-bindings/mfd/arizona.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) Applied, thanks. diff --git a/include/dt-bindings/mfd/arizona.h

Re: [PATCH 2/2] mfd: arizona: Add DT/ACPI u32 helper functions

2015-05-27 Thread Lee Jones
On Mon, 25 May 2015, Charles Keepax wrote: Add helpers to read u32's and arrays of u32's from device tree or ACPI using the new device properties API. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-core.c | 39

Re: [PATCH v5 1/1] ARM: mvebu: dts: Add dts file for DLink DNS-327L

2015-05-27 Thread Gregory CLEMENT
Hi Andrew, On 26/05/2015 17:50, Andrew Lunn wrote: On Tue, May 26, 2015 at 06:51:11PM +0300, Andrew Andrianov wrote: DNS-327L is a 2-bay NAS with the following specs: - 512MiB RAM - 128MiB NAND Flash - 1 GbE interface (Marvell PHY) - 1 rear USB 3.0 port (via PCIe USB 3.0

[tip:perf/core] perf: Disallow sparse AUX allocations for non-SG PMUs in overwrite mode

2015-05-27 Thread tip-bot for Alexander Shishkin
Commit-ID: aa319bcd366349c6f72fcd331da89d3d06090651 Gitweb: http://git.kernel.org/tip/aa319bcd366349c6f72fcd331da89d3d06090651 Author: Alexander Shishkin alexander.shish...@linux.intel.com AuthorDate: Fri, 22 May 2015 18:30:20 +0300 Committer: Ingo Molnar mi...@kernel.org CommitDate:

[tip:perf/core] perf/x86/intel/pt: Remove redundant variable declaration

2015-05-27 Thread tip-bot for Alexander Shishkin
Commit-ID: a82d24edfeaf1ed244cf8b969916840c6feb5165 Gitweb: http://git.kernel.org/tip/a82d24edfeaf1ed244cf8b969916840c6feb5165 Author: Alexander Shishkin alexander.shish...@linux.intel.com AuthorDate: Fri, 22 May 2015 18:30:26 +0300 Committer: Ingo Molnar mi...@kernel.org CommitDate:

[tip:perf/core] perf/x86/intel/pt: Document pt_buffer_reset_markers()

2015-05-27 Thread tip-bot for Alexander Shishkin
Commit-ID: cf302bfdf3039853fce812ae1ffd0ac24f5b468f Gitweb: http://git.kernel.org/tip/cf302bfdf3039853fce812ae1ffd0ac24f5b468f Author: Alexander Shishkin alexander.shish...@linux.intel.com AuthorDate: Tue, 21 Apr 2015 16:16:15 +0300 Committer: Ingo Molnar mi...@kernel.org CommitDate:

[tip:perf/core] perf/x86/intel/pt: Kill pt_is_running()

2015-05-27 Thread tip-bot for Alexander Shishkin
Commit-ID: 0a487aad2dfd088bcbbe1766944280b40ff969a5 Gitweb: http://git.kernel.org/tip/0a487aad2dfd088bcbbe1766944280b40ff969a5 Author: Alexander Shishkin alexander.shish...@linux.intel.com AuthorDate: Tue, 21 Apr 2015 16:16:17 +0300 Committer: Ingo Molnar mi...@kernel.org CommitDate:

[tip:perf/core] perf/x86/intel/pt: Kill an unused variable

2015-05-27 Thread tip-bot for Alexander Shishkin
Commit-ID: 74387bcb711b7b2ed65c0ed08953e13d4e31969e Gitweb: http://git.kernel.org/tip/74387bcb711b7b2ed65c0ed08953e13d4e31969e Author: Alexander Shishkin alexander.shish...@linux.intel.com AuthorDate: Tue, 21 Apr 2015 16:16:13 +0300 Committer: Ingo Molnar mi...@kernel.org CommitDate:

Re: [PATCH 2/2] mfd: arizona: Add DT/ACPI u32 helper functions

2015-05-27 Thread Charles Keepax
On Wed, May 27, 2015 at 10:24:40AM +0100, Lee Jones wrote: On Mon, 25 May 2015, Charles Keepax wrote: Add helpers to read u32's and arrays of u32's from device tree or ACPI using the new device properties API. Signed-off-by: Charles Keepax ckee...@opensource.wolfsonmicro.com ---

[tip:perf/core] perf/x86/intel/pt: Document pt_buffer_reset_offsets()

2015-05-27 Thread tip-bot for Alexander Shishkin
Commit-ID: 5b1dbd17c0dee679b154ce47f534677b7e0f7ad6 Gitweb: http://git.kernel.org/tip/5b1dbd17c0dee679b154ce47f534677b7e0f7ad6 Author: Alexander Shishkin alexander.shish...@linux.intel.com AuthorDate: Tue, 21 Apr 2015 16:16:16 +0300 Committer: Ingo Molnar mi...@kernel.org CommitDate:

Re: [PATCH 11/13] spi: omap2-mcspi: Support for deferred probing when requesting DMA channels

2015-05-27 Thread Peter Ujfalusi
Mark, On 05/26/2015 06:27 PM, Mark Brown wrote: On Tue, May 26, 2015 at 04:26:06PM +0300, Peter Ujfalusi wrote: Switch to use ma_request_slave_channel_compat_reason() to request the DMA channels. Only fall back to pio mode if the error code returned is not -EPROBE_DEFER, otherwise return

Re: [RFC] Add --show-total-period for perf annotate

2015-05-27 Thread Martin Liška
On 05/26/2015 07:03 PM, Andi Kleen wrote: Anyway, attached patch is capable of displaying milliseconds approximation for each instruction. You realize that the events perf is not counting do not directly map to wall time? Even if you count cycles, the cycles are either stopping in idle or

Re: CPU LED trigger: add hooks to generic code so that it works on x86

2015-05-27 Thread Pavel Machek
On Wed 2015-05-27 10:08:31, Peter Zijlstra wrote: On Wed, May 27, 2015 at 09:47:57AM +0200, Pavel Machek wrote: On Wed 2015-05-27 09:43:43, Peter Zijlstra wrote: On Wed, May 27, 2015 at 08:57:12AM +0200, Pavel Machek wrote: CPU LED trigger hooks are currently hidden in arm-specific

Re: [PATCH RESEND] sched/preempt: fix cond_resched_lock() and cond_resched_softirq()

2015-05-27 Thread Konstantin Khlebnikov
On 27.05.2015 12:09, Peter Zijlstra wrote: On Thu, May 14, 2015 at 07:23:27PM +0300, Konstantin Khlebnikov wrote: These functions check should_resched() before unlocking spinlock/bh-enable: preempt_count always non-zero = should_resched() always returns false. cond_resched_lock() works iff

Re: [PATCH 2/2] ASoC: atmel: compile pcm driver in snd-soc-atmel_ssc_dai

2015-05-27 Thread Alexandre Belloni
On 27/05/2015 at 09:50:24 +0200, Paul Bolle wrote : Now that this patch is already applied my remarks can only be addressed in a follow up patch. (Perhaps such a patch is already queued.) On Tue, 2015-05-26 at 00:04 +0200, Alexandre Belloni wrote: --- a/sound/soc/atmel/Kconfig +++

Re: [PATCH RFC 09/13] exit: Use for_each_thread() in do_wait()

2015-05-27 Thread Kirill Tkhai
26.05.2015, 22:47, Oleg Nesterov o...@redhat.com: On 05/25, Kirill Tkhai wrote:  Refactoring, no functionality change. Hmm. unless I missed something this change is wrong.  --- a/kernel/exit.c  +++ b/kernel/exit.c  @@ -1538,8 +1538,7 @@ static long do_wait(struct wait_opts *wo)   

[PATCH 07/11] Handle correctly failures in qxl_alloc_relase_reserved

2015-05-27 Thread Frediano Ziglio
Free resources correctly if function fails Signed-off-by: Frediano Ziglio fzig...@redhat.com --- qxl/qxl_release.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/qxl/qxl_release.c b/qxl/qxl_release.c index 6fd8e50..00604ed 100644 --- a/qxl/qxl_release.c +++

[PATCH 11/11] Propagate correctly errors from qxlhw_handle_to_bo

2015-05-27 Thread Frediano Ziglio
This function could return a NULL pointer in case of handle not present and in case of out of memory conditions however caller function always returned EINVAL error hiding a possible ENOMEM. This patch change the function to return the error instead to be able to propagate the error instead of

[tip:perf/core] perf/x86/intel/cqm: Add storage for 'closid' and clean up 'struct intel_pqr_state'

2015-05-27 Thread tip-bot for Thomas Gleixner
Commit-ID: bf926731e1585ccad029ca2fad1444fee082b78d Gitweb: http://git.kernel.org/tip/bf926731e1585ccad029ca2fad1444fee082b78d Author: Thomas Gleixner t...@linutronix.de AuthorDate: Tue, 19 May 2015 00:00:58 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 27 May 2015

[PATCH 08/11] Remove format string errors

2015-05-27 Thread Frediano Ziglio
Enable format string checks for qxl_io_log and remove resulting warnings which could lead to memory errors on different platform or just printing wrong information. Signed-off-by: Frediano Ziglio fzig...@redhat.com --- qxl/qxl_cmd.c | 2 +- qxl/qxl_display.c | 2 +- qxl/qxl_drv.h | 2 +-

[PATCH 10/11] Simplify cleaning qxl processing command

2015-05-27 Thread Frediano Ziglio
In qxlhw_handle_to_bo we incremented counters twice, one time for release object and one for reloc_info. In the main function however reloc_info references was drop much earlier than release so keeping the pointer only on release is safe and make cleaning process easier. Signed-off-by: Frediano

[tip:perf/core] perf/x86/intel/cqm: Remove useless wrapper function

2015-05-27 Thread tip-bot for Thomas Gleixner
Commit-ID: 43d0c2f6dcd07ffc0de658a7fbeeb63c806e9caa Gitweb: http://git.kernel.org/tip/43d0c2f6dcd07ffc0de658a7fbeeb63c806e9caa Author: Thomas Gleixner t...@linutronix.de AuthorDate: Tue, 19 May 2015 00:00:56 + Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 27 May 2015

[tip:perf/core] perf/x86/intel/cqm: Use 'u32' data type for RMIDs

2015-05-27 Thread tip-bot for Matt Fleming
Commit-ID: adafa99960ef18b019f001ddee4d9d81c4e25944 Gitweb: http://git.kernel.org/tip/adafa99960ef18b019f001ddee4d9d81c4e25944 Author: Matt Fleming matt.flem...@intel.com AuthorDate: Fri, 22 May 2015 09:59:42 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 27 May 2015

Re: [PATCH v2 8/8] mfd: Add support for Intel Sunrisepoint LPSS devices

2015-05-27 Thread Lee Jones
On Mon, 25 May 2015, Andy Shevchenko wrote: 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

Re: [PATCH] mfd: mediatek: Add GPIO sub module support into mfd.

2015-05-27 Thread Lee Jones
On Wed, 27 May 2015, Hongzhou Yang wrote: Base on Lee Jones' comment, change pinctrl subnode name. --- Register pinctrl subnode into 6397 mfd cell. Sascha already mentioned what's wrong here, so I'll not labour the point. I'm feeling generous, I'll apply this and make the necessary changes

Re: [PATCH v3 6/6] ACPI: import watchdog info of GTDT into platform device

2015-05-27 Thread Will Deacon
On Tue, May 26, 2015 at 05:27:33PM +0100, Fu Wei wrote: On 26 May 2015 at 23:36, Guenter Roeck li...@roeck-us.net wrote: On Tue, May 26, 2015 at 04:18:42PM +0100, Will Deacon wrote: Sure, the device it describes may only ever exist on ARM systems, but by that logic then we should be moving

Re: [PATCH 2/2] fbcon: use the cursor blink interval provided by vt

2015-05-27 Thread Andrey Wagin
2015-05-27 10:52 GMT+03:00 Scot Doyle lkm...@scotdoyle.com: On Wed, 27 May 2015, Andrey Wagin wrote: ... I regularly execute criu tests on linux-next. For this, I use virtual machine from the digitalocean clould. The current version of linux-next hangs after a few seconds. I use git bisect to

Re: [PATCH] cpuidle: Do not use CPUIDLE_DRIVER_STATE_START in cpuidle.c

2015-05-27 Thread Preeti U Murthy
On 05/27/2015 07:06 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com The CPUIDLE_DRIVER_STATE_START symbol is defined as 1 only if CONFIG_ARCH_HAS_CPU_RELAX is set, otherwise it is defined as 0. However, if CONFIG_ARCH_HAS_CPU_RELAX is set, the first (index 0)

[PATCH 1/6] dt-bindings: Add usb3.0 phy binding for MT65xx SoCs

2015-05-27 Thread chunfeng.yun
From: Chunfeng Yun chunfeng@mediatek.com add a DT binding documentation of usb3.0 phy for MT65xx SoCs from Mediatek. Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- .../devicetree/bindings/usb/mt65xx-u3phy.txt | 37 ++ 1 file changed, 37 insertions(+)

[PATCH 2/6] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-05-27 Thread chunfeng.yun
From: Chunfeng Yun chunfeng@mediatek.com add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- Documentation/devicetree/bindings/usb/mt8173-xhci.txt | 19 +++ 1 file changed, 19

[PATCH 3/6] xhci: probe phy before add usb_hcd

2015-05-27 Thread chunfeng.yun
From: Chunfeng Yun chunfeng@mediatek.com find the phy driver before add primary usb_hcd to avoid acessing xHCI register which may hangup the system when the phy is not loaded yet and the related powers or clocks put in phy driver are not enabled. Signed-off-by: Chunfeng Yun

[PATCH 6/6] arm64: dts: mediatek: add xHCI usb phy for mt8173

2015-05-27 Thread chunfeng.yun
From: Chunfeng Yun chunfeng@mediatek.com Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 14 ++ arch/arm64/boot/dts/mediatek/mt8173.dtsi| 24 2 files changed, 38 insertions(+) diff --git

[PATCH 4/6] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-05-27 Thread chunfeng.yun
From: Chunfeng Yun chunfeng@mediatek.com Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- drivers/usb/phy/Kconfig | 10 + drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-mt65xx-usb3.c | 724 ++ 3 files changed, 735

Re: [PATCH] gconf: Unify exit dialog with the one from qconf

2015-05-27 Thread Paul Bolle
[Yann disappeared, but you couldn't know that.] On Thu, 2015-05-21 at 22:53 +0300, Leonid V. Fedorenchik wrote: Make exit dialog more user-friendly and, at the same time, make it similar to the one from qconf. Could you please describe, in the commit explanation, the dialog before and after

Re: [FYI] tux3: Core changes

2015-05-27 Thread Jan Kara
On Tue 26-05-15 13:22:38, Daniel Phillips wrote: On 05/26/2015 02:00 AM, Jan Kara wrote: On Tue 26-05-15 01:08:56, Daniel Phillips wrote: On Tuesday, May 26, 2015 12:09:10 AM PDT, Jan Kara wrote: E.g. video drivers (or infiniband or direct IO for that matter) which have buffers in user

RE: [PATCH v3 2/2] powerpc: add support for csum_add()

2015-05-27 Thread David Laight
From: Scott Wood Sent: 26 May 2015 20:43 ... I was thinking of all 64bit targets, not 32bit ones. Oh, you mean move it out of arch/powerpc? Sounds reasonable, but someone should probably check what the resulting code looks like on other common arches. OTOH, if we're going to modify

Re: [PATCH v2 02/11] perf/x86: Improve HT workaround GP counter constraint

2015-05-27 Thread Stephane Eranian
On Tue, May 26, 2015 at 9:07 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, May 26, 2015 at 03:19:50PM +0200, Peter Zijlstra wrote: On Tue, May 26, 2015 at 04:47:11AM -0700, Stephane Eranian wrote: I'm going to overhaul the whole get/put constraints stuff first. Ok, I think

Re: [patch 3/7] timer: Use hlist for the timer wheel hash buckets

2015-05-27 Thread Viresh Kumar
On 26-05-15, 22:50, Thomas Gleixner wrote: This reduces the size of struct tvec_base by 50% and results in slightly smaller code as well. Before: struct tvec_base: size: 8256, cachelines: 129 text data bss dec hex filename 17698 132978256 39251

Re: [PATCH v3 6/7] mfd: cros_ec: Support multiple EC in a system

2015-05-27 Thread Lee Jones
On Fri, 22 May 2015, Javier Martinez Canillas wrote: From: Gwendal Grignou gwen...@chromium.org Chromebooks can have more than one Embedded Controller so the cros_ec device id has to be incremented for each EC registered. Add code to handle multiple EC. First ec found is cros-ec0, second

Re: [patch 2/7] timer: Remove FIFO guarantee

2015-05-27 Thread Viresh Kumar
On 26-05-15, 22:50, Thomas Gleixner wrote: The FIFO guarantee has been violated by the introduction of timer slack already. Remove it. This is a preparatory patch for converting the timer wheel to hlist which reduces the memory foot print of the wheel by 50%. It's a seperate patch so any

Re: [RFC][PATCH 0/5] Optimize percpu-rwsem

2015-05-27 Thread Nicholas Mc Guire
On Tue, 26 May 2015, Linus Torvalds wrote: On Tue, May 26, 2015 at 11:42 AM, Davidlohr Bueso d...@stgolabs.net wrote: Instead of dropping percpu-rwsem, I was thinking we could instead look for opportunities to convert new users, for instance shinkers, where the write lock is also taken

Re: [PATCH v2 0/7] Smack namespace

2015-05-27 Thread Lukasz Pawelczyk
On wto, 2015-05-26 at 18:04 -0700, Casey Schaufler wrote: On 5/25/2015 5:32 AM, Lukasz Pawelczyk wrote: Hello, Some time ago I sent a Smack namespace documentation and a preliminary LSM namespace for RFC. I've been suggested that there shouldn't be a separate LSM namespace and that it

Re: Re: [RFC 0/4] arm64: add livepatch support

2015-05-27 Thread Masami Hiramatsu
On 2015/05/27 15:09, AKASHI Takahiro wrote: Sorry for not replying soon. On 04/24/2015 06:27 PM, Jiri Kosina wrote: On Fri, 24 Apr 2015, AKASHI Takahiro wrote: This patchset enables livepatch support on arm64. Livepatch was merged in v4.0, and allows replacying a function dynamically

Re: [PATCH] mfd: mediatek: Add GPIO sub module support into mfd.

2015-05-27 Thread Sascha Hauer
The subject lacks the mt6397 keyword. In the subject you say this is about GPIO, but the patch seems to be about pinctrl. On Wed, May 27, 2015 at 02:10:35AM -0700, Hongzhou Yang wrote: Base on Lee Jones' comment, change pinctrl subnode name. This is the changelog, should be below the three ---

Re: [PATCHv6 00/10] Cleanup and add support for SSD1305

2015-05-27 Thread Tomi Valkeinen
On 31/03/15 21:27, Thomas Niederprüm wrote: Hi, this patch series is the result of making the ssd1307fb driver work with a Newhaven OLED display using the Solomon SSD1305 controller. To achieve this the intialization code for the SSD1306 and the SSD1307 is merged and based on DT

Re: [PATCH v2 2/9] mfd: max77693: Store I2C device type as enum and add default unknown

2015-05-27 Thread Lee Jones
On Sun, 24 May 2015, Krzysztof Kozlowski wrote: Store the device type (obtained from i2c_device_id) as an enum and add a default type of unknown to distinguish from case when this is not set at all. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com ---

RE: [PATCH] net: tcp: Fix a PTO timing granularity issue

2015-05-27 Thread David Laight
From: Of Ido Yariv Sent: 26 May 2015 21:17 The Tail Loss Probe RFC specifies that the PTO value should be set to max(2 * SRTT, 10ms), where SRTT is the smoothed round-trip time. The PTO value is converted to jiffies, so the timer may expire prematurely. This is especially problematic on

[PATCH 0/6] Mediatek xHCI support

2015-05-27 Thread chunfeng.yun
The patch supports MediaTek's xHCI controller. There are some differences from xHCI spec: 1. The interval is specified in 250 * 8ns increments for Interrupt Moderation Interval(IMODI) of the Interrupter Moderation(IMOD) register, it is 8 times as much as that defined in xHCI spec. 2. For the

Re: [PATCH v3 4/7] mfd: cros_ec: add proto v3 skeleton

2015-05-27 Thread Lee Jones
On Fri, 22 May 2015, Javier Martinez Canillas wrote: From: Stephen Barber smbar...@chromium.org Add support in cros_ec.c to handle EC host command protocol v3. For v3+, probe for maximum shared protocol version and max request, response, and passthrough sizes. For now, this will always

[PATCH perf/core 1/2] [RESEND] perf probe: Show the error reason comes from invalid DSO

2015-05-27 Thread Masami Hiramatsu
Show the reason of error when dso__load* failed. This shows when user gives wrong kernel image or wrong path. Without this, perf probe shows an obscure message. $ perf probe -k ~/kbin/linux-3.x86_64/vmlinux -L vfs_read Failed to find path of kernel module. Error: Failed to show

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-27 Thread Heikki Krogerus
Hi Greg, But couldn't we add a helper function to drivers/base/bus.c that the bus drivers can use to at least check was the bus already loaded or not? It looks like there are a couple of bus drivers that use the struct bus member p to check that. Greg, what do you think? I think

Re: [PATCH v2] ARM: berlin: add SPI nodes for BG2Q

2015-05-27 Thread Sebastian Hesselbarth
On 27.05.2015 10:33, Antoine Tenart wrote: On Wed, May 27, 2015 at 10:03:01AM +0200, Sebastian Hesselbarth wrote: On 27.05.2015 09:59, Antoine Tenart wrote: The BG2Q SoC has two SPI controllers. Add the corresponding nodes. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com ---

Re: [PATCH 1/7] perf: allow for PMU-specific event filtering

2015-05-27 Thread Peter Zijlstra
On Fri, May 22, 2015 at 03:08:44PM +0100, Will Deacon wrote: Hi Mark, On Wed, May 13, 2015 at 05:12:23PM +0100, Mark Rutland wrote: In certain circumstances it may not be possible to schedule particular events due to constraints other than a lack of hardware counters (e.g. on big.LITTLE

Re: [PATCH v3 5/7] mfd: cros_ec: add bus-specific proto v3 code

2015-05-27 Thread Javier Martinez Canillas
Hello Lee, On 05/27/2015 10:53 AM, Lee Jones wrote: On Fri, 22 May 2015, Javier Martinez Canillas wrote: From: Stephen Barber smbar...@chromium.org Add proto v3 support to the SPI, I2C, and LPC. Signed-off-by: Stephen Barber smbar...@chromium.org Signed-off-by: Javier Martinez Canillas

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

2015-05-27 Thread Arend van Spriel
On 05/27/15 04:03, Stephen Rothwell wrote: Hi Kalle, After merging the wireless-drivers-next tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c: In function 'brcmf_ops_sdio_probe':

Re: [patch 4/7] timer: Replace timer base by a cpu index

2015-05-27 Thread Viresh Kumar
On 26-05-15, 22:50, Thomas Gleixner wrote: static struct tvec_base *lock_timer_base(struct timer_list *timer, unsigned long *flags) __acquires(timer-base-lock) { - struct tvec_base *base; - for (;;) { - struct tvec_base

Re: [PATCH 11/12] KVM: x86: add KVM_MEM_X86_SMRAM memory slot flag

2015-05-27 Thread Paolo Bonzini
On 26/05/2015 20:45, Avi Kivity wrote: Is this generic enough? For example, a system could configure itself so that an SMRAM region goes to mmio, hiding real RAM. That would work, because in !SMM you'd go to userspace and do MMIO there. But this is absolutely not generic enough. Your

Re: [RFC 3/3] memcg: get rid of mm_struct::owner

2015-05-27 Thread Michal Hocko
On Tue 26-05-15 19:38:22, Oleg Nesterov wrote: On 05/26, Michal Hocko wrote: On Tue 26-05-15 18:36:46, Oleg Nesterov wrote: +static struct mem_cgroup *mem_cgroup_from_task(struct task_struct *p) +{ + if (!p-mm) + return NULL; + return

Re: [PATCH RFC 09/13] exit: Use for_each_thread() in do_wait()

2015-05-27 Thread Kirill Tkhai
27.05.2015, 12:34, Kirill Tkhai tk...@yandex.ru: 26.05.2015, 22:47, Oleg Nesterov o...@redhat.com:  On 05/25, Kirill Tkhai wrote:   Refactoring, no functionality change.  Hmm. unless I missed something this change is wrong.   --- a/kernel/exit.c   +++ b/kernel/exit.c   @@ -1538,8 +1538,7 @@

Re: [PATCH] mlx4_core: Fix fallback from MSI-X to INTx

2015-05-27 Thread Yishai Hadas
On 5/23/2015 2:12 AM, Benjamin Poirier wrote: The test in mlx4_load_one() to remove MLX4_FLAG_MSI_X expects mlx4_NOP() to fail with -EBUSY. It is also necessary to avoid the reset since the device is not fully reinitialized before calling mlx4_start_hca() a second time. Note that this will also

Re: [PATCH 01/11] ARM64 / PCI: introduce struct pci_controller for ACPI

2015-05-27 Thread Liviu Dudau
On Tue, May 26, 2015 at 06:20:40PM +0100, Jiang Liu wrote: On 2015/5/27 0:58, Liviu Dudau wrote: On Tue, May 26, 2015 at 01:49:14PM +0100, Hanjun Guo wrote: ARM64 ACPI based PCI host bridge init needs a arch dependent struct pci_controller to accommodate common PCI host bridge code which

  1   2   3   4   5   6   7   8   9   10   >