[PATCH v2 0/9] rcu: Cleanup RCU tree initialization

2015-05-29 Thread Alexander Gordeev
Hello Paul, This is 2nd attempt to make RCU tree initialization bit more clear and optimize memory footprint of data associated with the tree. Changes since v1: - patch 3 fixed to accomodate nr_cpus=1, otherwise rcu_num_lvls would yield zero, which is wrong; The series is against

Re: [RFC PATCH 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-05-29 Thread Harini Katakam
Hi Mark, On Thu, May 28, 2015 at 9:11 PM, Punnaiah Choudary Kalluri punnaiah.choudary.kall...@xilinx.com wrote: Hi Mark, -Original Message- From: Mark Brown [mailto:broo...@kernel.org] Sent: Thursday, May 28, 2015 8:34 PM To: Harini Katakam Cc: Ranjit Abhimanyu Waghmode; Rob

Re: [PATCH 1/2] pinctrl: mvebu: Fix mapping of pin 63 (gpo - gpio)

2015-05-29 Thread Thomas Petazzoni
Andrew, On Fri, 29 May 2015 12:55:44 +0300, Andrew wrote: Yep, exactly. I've seen that in the public docs. It must be a typo, unless there's something we don't know. On DNS-327L this pin is wired as a button. Without th patch only gpio-buttons driver fails probing, but you can still

Re: [PATCH 03/13] android: binder: refactor binder_thread_write

2015-05-29 Thread Dan Carpenter
This patch is ok. Reviewed-by: Dan Carpenter dan.carpen...@oracle.com On Thu, May 28, 2015 at 04:08:21PM -0700, Riley Andrews wrote: +static void binder_call_inc_dec_ref(struct binder_thread *thread, + uint32_t target, uint32_t cmd) +{ + struct binder_proc

Re: [PATCH 2/3] tty: serial: fsl_lpuart: remove RTS/CTS control from set/get_mctrl

2015-05-29 Thread Bhuvanchandra DV
Hello Jakub, On 05/29/2015 03:34 PM, Jakub Kiciński wrote: On Fri, 29 May 2015 13:35:53 +0530, Bhuvanchandra DV wrote: The LPUART does not provide manual control of RTS/CTS signals, those can only be controlled by the hardware directly. Therefore manual control of those signals through mctrl

Re: [PATCH v2 0/2] extcon: Inform the state of both ID and VBUS pin for USB

2015-05-29 Thread Chanwoo Choi
Hi Roger, On 05/28/2015 11:23 PM, Roger Quadros wrote: +Peter Li, Ivan, On 28/05/15 11:45, Ivan T. Ivanov wrote: Hi Chanwoo, On Wed, 2015-05-27 at 21:15 +0900, Chanwoo Choi wrote: Previously, I discussed how to inform the changed state of both ID and VBUS pin for USB connector on

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Krzysztof Kozlowski
W dniu 28.05.2015 o 17:58, Anand Moon pisze: Enable regulator for usbdrd3_0 and usbdrd3_1 From the schematic pin diagram USB3_0 and USB3_1 is regulated by LDO9 and LD011. Fix the boot message of failed. [3.503539] exynos-dwc3 usb@1200: Looking up vdd33-supply from device tree [

linux-next: manual merge of the clk tree with the imx-mxs tree

2015-05-29 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the clk tree got a conflict in drivers/clk/Makefile between commit 33156149fc4a (ARM: imx: move clock drivers into drivers/clk) from the imx-mxs tree and commit b1691707eccd (clk: hi6220: Clock driver support for Hisilicon hi6220 SoC) from the clk tree. I

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-05-29 Thread Tomeu Vizoso
On 31 March 2015 at 01:20, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Some devices take a long time when initializing, and not all drivers are suited to initialize their devices when they are open. For example, input drivers need to interrogate their devices in order to publish device's

Re: [PATCH] perf tools: introduce arm64 support unwind test.

2015-05-29 Thread Jiri Olsa
On Thu, May 28, 2015 at 10:43:14AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, May 28, 2015 at 03:17:26PM +0800, Wangnan (F) escreveu: Ping? Jiri, Ack? yep, I've already ack-ed that.. should be on the lkml somewhere ;-) And from a quick look, isn't this better split in two pieces,

Re: [PATCH 01/13] drivers: android: correct the size of struct binder_uintptr_t for BC_DEAD_BINDER_DONE

2015-05-29 Thread Dan Carpenter
On Thu, May 28, 2015 at 04:08:19PM -0700, Riley Andrews wrote: From: Lisa Du c...@marvell.com There's one point was missed in the patch commit da49889deb34 (staging: binder: Support concurrent 32 bit and 64 bit processes.). When configure BINDER_IPC_32BIT, the size of binder_uintptr_t was

Re: [PATCH 0/7] ARM CCI PMU updates for 4.2

2015-05-29 Thread Suzuki K. Poulose
Hi arm-soc folk, On 26/05/15 10:53, Suzuki K. Poulose wrote: From: Suzuki K. Poulose suzuki.poul...@arm.com Here is the series which adds support for the CCI-500 PMU. Could you please apply this for 4.2 ? Please let me know if you need a pull request, I could ask Will to setup one. Gentle

Re: [PATCH] fixup! dmaengine: pxa_dma: add debug information

2015-05-29 Thread robert . jarzmik
- Mail original - De: Vinod Koul vinod.k...@intel.com À: Robert Jarzmik robert.jarz...@free.fr On Wed, May 27, 2015 at 11:23:40PM +0200, Robert Jarzmik wrote: This fixes the following error: drivers/dma/pxa_dma.c: In function ‘dbg_show_requester_chan’: drivers/dma/pxa_dma.c:192:2:

Re: [PATCH v6] firmware: qcom: scm: Add support for ARM64 SoCs

2015-05-29 Thread Mark Rutland
Hi, On Thu, May 28, 2015 at 05:11:20PM +0100, Kumar Gala wrote: Add an implementation of the SCM interface that works on ARM64 SoCs. This is used by things like determine if we have HDCP support or not on the system. Which drivers will be calling this code? Signed-off-by: Kumar Gala

[PATCH v5 06/12] KVM: arm64: guest debug, add SW break point support

2015-05-29 Thread Alex Bennée
This adds support for SW breakpoints inserted by userspace. We do this by trapping all guest software debug exceptions to the hypervisor (MDCR_EL2.TDE). The exit handler sets an exit reason of KVM_EXIT_DEBUG with the kvm_debug_exit_arch structure holding the exception syndrome information. It

[PATCH v5 08/12] KVM: arm64: re-factor hyp.S debug register code

2015-05-29 Thread Alex Bennée
This is a pre-cursor to sharing the code with the guest debug support. This replaces the big macro that fishes data out of a fixed location with a more general helper macro to restore a set of debug registers. It uses macro substitution so it can be re-used for debug control and value registers.

[PATCH v5 07/12] KVM: arm64: guest debug, add support for single-step

2015-05-29 Thread Alex Bennée
This adds support for single-stepping the guest. To do this we need to manipulate the guests PSTATE.SS and MDSCR_EL1.SS bits which we do in the kvm_arm_setup/clear_debug() so we don't affect the apparent state of the guest. Additionally while the host is debugging the guest we suppress the ability

[PATCH v5 04/12] KVM: arm: guest debug, add stub KVM_SET_GUEST_DEBUG ioctl

2015-05-29 Thread Alex Bennée
This commit adds a stub function to support the KVM_SET_GUEST_DEBUG ioctl. Any unsupported flag will return -EINVAL. For now, only KVM_GUESTDBG_ENABLE is supported, although it won't have any effects. Signed-off-by: Alex Bennée alex.ben...@linaro.org. Reviewed-by: Christoffer Dall

[PATCH v5 10/12] KVM: arm64: guest debug, HW assisted debug support

2015-05-29 Thread Alex Bennée
This adds support for userspace to control the HW debug registers for guest debug. In the debug ioctl we copy the IMPDEF defined number of registers into a new register set called host_debug_state. There is now a new vcpu parameter called debug_ptr which selects which register set is to copied

Re: [PATCH RFC] s390/sclp: pass timeout as HZ independent value

2015-05-29 Thread Nicholas Mc Guire
On Fri, 29 May 2015, Heiko Carstens wrote: On Wed, May 27, 2015 at 07:04:43PM +0200, Nicholas Mc Guire wrote: schedule_timeout takes a timeout in jiffies but the code currently is passing in a constant SDIAS_SLEEP_TICKS which sounds like it should be in jiffies but it is actually not and

Re: [PATCH] fixup! dmaengine: pxa_dma: add debug information

2015-05-29 Thread Joe Perches
On Fri, 2015-05-29 at 11:29 +0200, robert.jarz...@free.fr wrote: - Mail original - De: Vinod Koul vinod.k...@intel.com On Wed, May 27, 2015 at 11:23:40PM +0200, Robert Jarzmik wrote: This fixes the following error: [] And with a a bit closer look check this commit, especially the

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-29 Thread Fu Wei
Hi Timur, On 27 May 2015 at 00:50, Timur Tabi ti...@codeaurora.org wrote: On 05/25/2015 05:03 AM, fu@linaro.org wrote: +/* + * help functions for accessing 32bit registers of SBSA Generic Watchdog + */ +static void sbsa_gwdt_cf_write(unsigned int reg, u32 val, +

Re: [PATCH 3/3] tty: serial: fsl_lpuart: Add support for RS-485

2015-05-29 Thread Jakub Kiciński
On Fri, 29 May 2015 13:35:54 +0530, Bhuvanchandra DV wrote: Enable Vybrid's build-in support for RS-485 auto RTS for controlling line direction of RS-485 transceiver driver. Signed-off-by: Bhuvanchandra DV bhuvanchandra...@toradex.com --- drivers/tty/serial/fsl_lpuart.c | 60

Re: [PATCH 02/13] dmaengine: Introduce dma_request_slave_channel_compat_reason()

2015-05-29 Thread Vinod Koul
On Fri, May 29, 2015 at 11:42:27AM +0200, Geert Uytterhoeven wrote: On Fri, May 29, 2015 at 11:33 AM, Vinod Koul vinod.k...@intel.com wrote: On Tue, May 26, 2015 at 04:25:57PM +0300, Peter Ujfalusi wrote: dma_request_slave_channel_compat() 'eats' up the returned error codes which prevents

Re: [PATCH 05/13] android: binder: refactor binder_transact transaction buffer loop

2015-05-29 Thread Dan Carpenter
On Thu, May 28, 2015 at 04:08:23PM -0700, Riley Andrews wrote: +static int binder_transaction_buffer_acquire( + struct binder_transaction *t, struct binder_transaction_data *tr, + struct binder_thread *thread, struct binder_transaction *in_reply_to) +{ + struct binder_proc *proc =

Re: [PATCH RFC] s390/sclp: pass timeout as HZ independent value

2015-05-29 Thread Heiko Carstens
On Fri, May 29, 2015 at 11:51:54AM +0200, Nicholas Mc Guire wrote: On Fri, 29 May 2015, Heiko Carstens wrote: Yes, the orginal code seems to be broken. Since I've no idea what the intended timeout value should be, let's simply ask Michael, who wrote this code eight years ago ;) While

[PATCH] mfd: arizona: Specify regmap endianness

2015-05-29 Thread Richard Fitzgerald
Explicitly set the regmap endianness instead of relying on the default being correct. Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c |4 drivers/mfd/wm5110-tables.c |4 drivers/mfd/wm8997-tables.c |2 ++

Re: [PATCH v2 0/2] extcon: Inform the state of both ID and VBUS pin for USB

2015-05-29 Thread Chanwoo Choi
Hi Ivan, On 05/28/2015 05:45 PM, Ivan T. Ivanov wrote: Hi Chanwoo, On Wed, 2015-05-27 at 21:15 +0900, Chanwoo Choi wrote: Previously, I discussed how to inform the changed state of both ID and VBUS pin for USB connector on patch-set[1]. [1] https://lkml.org/lkml/2015/4/2/310 So, this

Re: [PATCH 02/10] printk: Try harder to get logbuf_lock on NMI

2015-05-29 Thread Petr Mladek
On Thu 2015-05-28 13:09:44, Andrew Morton wrote: On Thu, 28 May 2015 15:50:54 +0200 Petr Mladek pmla...@suse.cz wrote: +{ + u64 start_time, current_time; + int this_cpu = smp_processor_id(); + + /* no way if we are already locked on this CPU */ +

[PATCH v3 0/4] ozwpan: Four remote packet-of-death vulnerabilities

2015-05-29 Thread Jason A. Donenfeld
This is v3 for this patch series, enhancing readability. The ozwpan driver accepts network packets, parses them, and converts them into various USB functionality. There are numerous security vulnerabilities in the handling of these packets. Two of them result in a memcpy(kernel_buffer,

[PATCH v3 1/4] ozwpan: Use proper check to prevent heap overflow

2015-05-29 Thread Jason A. Donenfeld
Since elt-length is a u8, we can make this variable a u8. Then we can do proper bounds checking more easily. Without this, a potentially negative value is passed to the memcpy inside oz_hcd_get_desc_cnf, resulting in a remotely exploitable heap overflow with network supplied data. This could

[PATCH v3 4/4] ozwpan: unchecked signed subtraction leads to DoS

2015-05-29 Thread Jason A. Donenfeld
The subtraction here was using a signed integer and did not have any bounds checking at all. This commit adds proper bounds checking, made easy by use of an unsigned integer. This way, a single packet won't be able to remotely trigger a massive loop, locking up the system for a considerable amount

[PATCH v3 3/4] ozwpan: divide-by-zero leading to panic

2015-05-29 Thread Jason A. Donenfeld
A network supplied parameter was not checked before division, leading to a divide-by-zero. Since this happens in the softirq path, it leads to a crash. A PoC follows below, which requires the ozprotocol.h file from this module. =-=-=-=-=-= #include arpa/inet.h #include linux/if_packet.h

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

2015-05-29 Thread Fu Wei
Hi Will, As you know, I have moved all the GTDT code to ACPI driver , and simplify the GTDT relevant code in arm_arch_timer.c. That will be in my next patchset. but you can check here : https://git.linaro.org/people/fu.wei/linux.git/shortlog/refs/heads/acpi-topic-sbsa-watchdog_upstream_v4_devel

[PATCH] cpuidle: powernv/pseries: Decrease the snooze residency

2015-05-29 Thread Shilpasri G Bhat
The idle cpus which stay in snooze for a long period can degrade the perfomance of the sibling cpus. If the cpu stays in snooze for more than target residency of the next available idle state, then exit from snooze. This gives a chance to the cpuidle governor to re-evaluate the last idle state of

Re: [PATCH v3 1/4] ozwpan: Use proper check to prevent heap overflow

2015-05-29 Thread Frans Klaver
Hi, On Fri, May 29, 2015 at 2:00 PM, Dan Carpenter dan.carpen...@oracle.com wrote: On Fri, May 29, 2015 at 01:06:58PM +0200, Jason A. Donenfeld wrote: --- a/drivers/staging/ozwpan/ozusbsvc1.c +++ b/drivers/staging/ozwpan/ozusbsvc1.c @@ -390,10 +390,15 @@ void oz_usb_rx(struct oz_pd *pd,

Re: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

2015-05-29 Thread Stephen Rothwell
Hi Ingo, On Fri, 29 May 2015 11:21:05 +0200 Ingo Molnar mi...@kernel.org wrote: Good idea. Acked-by: Ingo Molnar mi...@kernel.org Thanks. Please also test x86 allnoconfig and defconfig 32/64, that tends to unearth the remaining places. People doing randconfig testing will find the

Re: [PATCH] perf annotate: fix -i option, which is currently ignored.

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 09:42:41AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, May 29, 2015 at 02:06:44PM +0200, Martin Liška escreveu: Assign input_name, received from program arguments, to file data structure. Doesn't apply: pat[acme@zoo linux]$ patch -p1 /wb/1.patch patching

[PATCH] fix a race between /proc/lock_stat and module unloading

2015-05-29 Thread Jerome Marchand
When opening /proc/lock_stat, lock_stat_open() makes a copy of all_lock_classes list in the form of an array of ad hoc structures lock_stat_data that reference lock_class, so it can be sorted and passed to seq_read(). However, nothing prevents module unloading code to free some of these lock_class

Re: linux-next: manual merge of the rcu tree with the modules and tip trees

2015-05-29 Thread Paul E. McKenney
On Fri, May 29, 2015 at 08:56:04AM +0200, Ingo Molnar wrote: * Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Thu, May 28, 2015 at 05:25:07PM +1000, Stephen Rothwell wrote: Hi Paul, Today's linux-next merge of the rcu tree got a conflict in include/linux/rcupdate.h

Re: [PATCH] perf annotate: fix -i option, which is currently ignored.

2015-05-29 Thread Martin Liška
On 05/29/2015 02:43 PM, Arnaldo Carvalho de Melo wrote: Em Fri, May 29, 2015 at 09:42:41AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, May 29, 2015 at 02:06:44PM +0200, Martin Liška escreveu: Assign input_name, received from program arguments, to file data structure. Doesn't apply:

Re: [PATCH] perf annotate: fix -i option, which is currently ignored.

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 02:47:39PM +0200, Martin Liška escreveu: On 05/29/2015 02:43 PM, Arnaldo Carvalho de Melo wrote: Em Fri, May 29, 2015 at 09:42:41AM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, May 29, 2015 at 02:06:44PM +0200, Martin Liška escreveu: Assign input_name, received

[PATCH v2] perf tools: Make Ctrl-C stop processing on TUI

2015-05-29 Thread Namhyung Kim
It was inconvenient that perf cannot be quit with SIGINT during processing samples on TUI especially for large data files. This was because the first argument of SLang_init_tty(), abort_char, being 0. The manual says it's the ascii value of the control character that will be used to generate the

Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-29 Thread Maxime Coquelin
Hi Kishon, Arun, On 05/29/2015 02:37 PM, Kishon Vijay Abraham I wrote: Tejun, Maxime, Sylwester, Kyungmin On Thursday 23 April 2015 04:34 AM, Arun Ramamurthy wrote: Most of the phy providers use select to enable GENERIC_PHY. Since select is only recommended when the config is not visible,

Re: [PATCH 0/7] ARM CCI PMU updates for 4.2

2015-05-29 Thread Suzuki K. Poulose
On 29/05/15 13:49, Arnd Bergmann wrote: On Friday 29 May 2015 10:29:07 Suzuki K. Poulose wrote: Hi arm-soc folk, On 26/05/15 10:53, Suzuki K. Poulose wrote: From: Suzuki K. Poulose suzuki.poul...@arm.com Here is the series which adds support for the CCI-500 PMU. Could you please apply this

Re: [PATCH] x86/fpu: Fix FPU register read access to the current task

2015-05-29 Thread Bobby Powers
Ingo Molnar mi...@kernel.org wrote: Good catch, this shows a bug in the new FPU code. Could you check whether the fix below solves the problem? Yes, it certainly does. Thanks. Tested-By: Bobby Powers bobbypow...@gmail.com yours, Bobby From

Re: [PATCH v3 1/4] sched/rt: Check to push the task away after its affinity was changed

2015-05-29 Thread Peter Zijlstra
On Tue, May 12, 2015 at 10:46:41PM +0800, Xunlei Pang wrote: @@ -2278,6 +2279,20 @@ static void set_cpus_allowed_rt(struct task_struct *p, } update_rt_migration(rq-rt); + +check_push: + if (weight 1 + !task_running(rq, p) +

Re: [PATCH] cgroup: add seq_file forward declaration for struct cftype

2015-05-29 Thread Tejun Heo
Hello, Arnd. Applied to cgroup/for-4.2 with the declaration moved so that it's where others are. Sorry that I missed that. Thanks. - 8 - From c80ef9e0c021ff86771fdd72583c75d8f7b6a720 Mon Sep 17 00:00:00 2001 From: Arnd Bergmann a...@arndb.de Date: Fri, 29 May 2015 10:52:59 +0200

[PATCH] ideapad_laptop: Add Lenovo G50-30 to devices without radio switch

2015-05-29 Thread Philippe Coval
From: Dmitry Tunin hanipouspi...@gmail.com Lenovo G50-30 rfkill always reports wireless blocked fix. BugLink: https://bugs.launchpad.net/bugs/1397021 Cc: platform-driver-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Dmitry Tunin hanipouspi...@gmail.com Signed-off-by:

Re: [PATCH 1/6] pmem: add force casts to avoid __iomem annotation

2015-05-29 Thread Dan Williams
On Fri, May 29, 2015 at 5:53 AM, Dan Williams dan.j.willi...@intel.com wrote: On Fri, May 29, 2015 at 4:39 AM, Ross Zwisler zwis...@gmail.com wrote: On Thu, 2015-05-28 at 15:47 -0700, Dan Williams wrote: On Thu, May 28, 2015 at 3:35 PM, Ross Zwisler ross.zwis...@linux.intel.com wrote: Even

Re: [PATCH] kernel:workqueue - Fix typos in comments.

2015-05-29 Thread Tejun Heo
On Thu, May 28, 2015 at 05:06:10PM -0700, Randy Dunlap wrote: On 05/22/15 22:08, Shailendra Verma wrote: Signed-off-by: Shailendra Verma shailendra.capric...@gmail.com --- kernel/workqueue.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH v2] perf tools: Make Ctrl-C stop processing on TUI

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 09:53:44PM +0900, Namhyung Kim escreveu: It was inconvenient that perf cannot be quit with SIGINT during processing samples on TUI especially for large data files. This was because the first argument of SLang_init_tty(), abort_char, being 0. The manual says it's the

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-29 Thread Timur Tabi
Fu Wei wrote: This should always be true. Instead of reading WCS, I think you should just panic(). I thinks I need to confirm it , in case this has been cleaned. I don't see how it's possible for you to receive the interrupt and have WCS be cleared. -- Sent by an employee of the

Re: [PATCH] perf probe: Fix segfault when glob matching function without debuginfo

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 09:45:47AM +, Wang Nan escreveu: Commit 4c859351226c920b227fec040a3b447f0d482af3 (perf probe: Support glob wildcards for function name) introduces segfault problems when debuginfo is not available: # perf probe 'sys_w*' Added new events: Segmentation fault

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

2015-05-29 Thread Adrian Hunter
Hi Here is V6 patches for the introduction of an abstraction for using the AUX area and Instruction tracing. The patches for AUX area support have been applied, just leaving patches for Intel PT and Intel BTS. The patches can also be found here:

[PATCHv2] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
Enable regulator for usbdrd3_0 and usbdrd3_1. Looking at the schematic pin diagram for MAX77802 USB3_0 and USB3_1 is regulated by LDO9 and LD011. Fix the boot message of failed. [3.503539] exynos-dwc3 usb@1200: Looking up vdd33-supply from device tree [3.503556] exynos-dwc3

[PATCH V6 12/17] perf tools: Output sample flags and insn_len from intel_pt

2015-05-29 Thread Adrian Hunter
intel_pt synthesizes samples. Fill in the new flags and insn_len members with instruction information. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/intel-pt.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/util/intel-pt.c

[PATCH V6 08/17] perf tools: Add Intel PT support

2015-05-29 Thread Adrian Hunter
Add support for Intel Processor Trace. Intel PT support fits within the new auxtrace infrastructure. Recording is supporting by identifying the Intel PT PMU, parsing options and setting up events. Decoding is supported by queuing up trace data by cpu or thread and then decoding synchronously

[PATCH V6 14/17] perf tools: Intel PT to always update thread stack trace number

2015-05-29 Thread Adrian Hunter
The enhanced thread stack is used by higher layers but still requires the trace number. The trace number is used to distinguish discontinuous sections of trace (for example from Snapshot mode or Sample mode), which cause the thread stack to be flushed. Signed-off-by: Adrian Hunter

[PATCH V6 11/17] perf tools: Add Intel BTS support

2015-05-29 Thread Adrian Hunter
Intel BTS support fits within the new auxtrace infrastructure. Recording is supporting by identifying the Intel BTS PMU, parsing options and setting up events. Decoding is supported by queuing up trace data by thread and then decoding synchronously delivering synthesized event samples into the

[PATCH V6 17/17] perf tools: Add example call-graph script

2015-05-29 Thread Adrian Hunter
Add a script to produce a call-graph from data exported to a postgresql database and derived from a processor trace event like intel_pt or intel_bts. Refer to comments in the scripts call-graph-from-postgresql.py and export-to-postgresql.py for more details. Signed-off-by: Adrian Hunter

[PATCH V6 16/17] perf tools: Put itrace options into an asciidoc include

2015-05-29 Thread Adrian Hunter
perf script, report and inject all have the same itrace options. Put them into an asciidoc include file. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/Documentation/itrace.txt | 22 ++ tools/perf/Documentation/perf-inject.txt | 23

[PATCH V6 13/17] perf tools: Output sample flags and insn_len from intel_bts

2015-05-29 Thread Adrian Hunter
intel_bts synthesizes samples. Fill in the new flags and insn_len members with instruction information. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/intel-bts.c | 126 ++-- 1 file changed, 122 insertions(+), 4 deletions(-)

Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-29 Thread Kishon Vijay Abraham I
Tejun, Maxime, Sylwester, Kyungmin On Thursday 23 April 2015 04:34 AM, Arun Ramamurthy wrote: Most of the phy providers use select to enable GENERIC_PHY. Since select is only recommended when the config is not visible, GENERIC_PHY is changed an invisible option. To maintain consistency, all phy

Re: [PATCH 16/20] PKCS#7: Add an optional authenticated attribute to hold firmware name [ver #5]

2015-05-29 Thread David Howells
Andy Lutomirski l...@kernel.org wrote: This is insecure because PKCS#7 authenticated attributes are broken (see RFC2315 section 9.4 note 4). You need to either require that everything have authenticated attributes or require that nothing have authenticated attributes. Maybe this insecurity

Re: [PATCH v3 1/4] ozwpan: Use proper check to prevent heap overflow

2015-05-29 Thread Dan Carpenter
Oh. Duh. Of course. Acked-by: Dan Carpenter dan.carpen...@oracle.com regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

Re: task kworker / kloopd blocked for more than 120 seconds

2015-05-29 Thread Ming Lei
On Fri, May 29, 2015 at 8:15 PM, Christian Hesse l...@eworm.de wrote: Ming Lei tom.leim...@gmail.com on Thu, 2015/05/28 20:20: On Thu, May 28, 2015 at 5:37 PM, Christian Hesse l...@eworm.de wrote: Assembling the root filesystem stack always succeeds, but sometimes boot hangs with a lot of:

Re: [PATCH 0/7] ARM CCI PMU updates for 4.2

2015-05-29 Thread Arnd Bergmann
On Friday 29 May 2015 10:29:07 Suzuki K. Poulose wrote: Hi arm-soc folk, On 26/05/15 10:53, Suzuki K. Poulose wrote: From: Suzuki K. Poulose suzuki.poul...@arm.com Here is the series which adds support for the CCI-500 PMU. Could you please apply this for 4.2 ? Please let me know if

Re: [GIT PULL] qcom defconfig changes for 4.2

2015-05-29 Thread Arnd Bergmann
On Tuesday 26 May 2015 14:35:22 Kumar Gala wrote: Qualcomm ARM Based defconfig Updates for v4.2 * Enable cpuidle for QCOM SoCs in qcom multi_v7_defconfig Pulled into next/defconfig, thanks! Arnd -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 1/6] pmem: add force casts to avoid __iomem annotation

2015-05-29 Thread Dan Williams
On Fri, May 29, 2015 at 4:39 AM, Ross Zwisler zwis...@gmail.com wrote: On Thu, 2015-05-28 at 15:47 -0700, Dan Williams wrote: On Thu, May 28, 2015 at 3:35 PM, Ross Zwisler ross.zwis...@linux.intel.com wrote: Even though we use ioremap_nocache() to map our persistent memory in the pmem

Re: [RFC v3 42/45] nfs: Add richacl support

2015-05-29 Thread Trond Myklebust
On Thu, May 28, 2015 at 7:06 PM, Trond Myklebust trond.mykleb...@primarydata.com wrote: On Fri, Apr 24, 2015 at 7:04 AM, Andreas Gruenbacher andreas.gruenbac...@gmail.com wrote: Changes nfs to support the system.richacl xattr instead of system.nfs4_acl. NACK. You may declare a userspace

Re: DWC3 linux driver query

2015-05-29 Thread sundeep subbaraya
Hi Felipe, On Thu, May 28, 2015 at 7:41 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, May 28, 2015 at 04:53:09PM +0530, sundeep subbaraya wrote: Hi Felipe and Paul, btw, Paul has left Synopys :-) ahh I see.. I am seeing an issue while testing iperf for USB ethernet gadget with dwc3

[PATCH V6 04/17] perf tools: Add Intel PT packet decoder

2015-05-29 Thread Adrian Hunter
Add support for decoding Intel Processor Trace packets. This essentially provides intel_pt_get_packet() which takes a buffer of binary data and returns the decoded packet. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/Build | 1 +

[PATCH V6 01/17] perf db-export: Fix thread ref-counting

2015-05-29 Thread Adrian Hunter
Thread ref-counting was not done for get_main_thread() meaning that there was a thread__get() from machine__find_thread() that was not being paired with thread__put(). Fix that. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/db-export.c | 19 ++- 1 file

Re: linux-next: manual merge of the clk tree with the imx-mxs tree

2015-05-29 Thread Bintian
Hello Stephen, Thank you very much for this fix. BR, Bintian On 2015/5/29 18:45, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the clk tree got a conflict in drivers/clk/Makefile between commit 33156149fc4a (ARM: imx: move clock drivers into drivers/clk) from the imx-mxs tree

Re: [PATCH] perf annotate: fix -i option, which is currently ignored.

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 02:06:44PM +0200, Martin Liška escreveu: Assign input_name, received from program arguments, to file data structure. Doesn't apply: pat[acme@zoo linux]$ patch -p1 /wb/1.patch patching file tools/perf/builtin-annotate.c Hunk #1 FAILED at 289. Hunk #2 FAILED at 346. 2

Re: [RFC][PATCH] x86: remove vmalloc.h from asm/io.h

2015-05-29 Thread Takashi Iwai
At Fri, 29 May 2015 19:18:47 +1000, Stephen Rothwell wrote: Nothing in asm/io.h uses anything from vmalloc.h, so remove the include and fix up the build problems in an allmodconfig (64 bit and 32 bit) build. This may be the place where x86 builds get vmalloc.h implicitly included and that

Re: [GIT PULL] qcom SoC changes for 4.2-1

2015-05-29 Thread Arnd Bergmann
On Thursday 28 May 2015 10:55:39 Kumar Gala wrote: Qualcomm ARM Based SoC Updates for v4.2-1 * Added Subsystem Power Manager (SPM) driver * Split out 32-bit specific SCM code * Added HDCP SCM call Pulled into next/drivers, thanks! Arnd -- To unsubscribe from this list: send the

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

2015-05-29 Thread Martin Liška
On 05/27/2015 04:04 PM, Andi Kleen wrote: If I understand correctly, is it just about division of the number of events related to an instruction and total number of events? Yes that's it. The information is already displayed in the main view (or more fine grained if you do --sort ...,srcline;

Re: [PATCH] perf annotate: fix -i option, which is currently ignored.

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 02:47:39PM +0200, Martin Liška escreveu: On 05/29/2015 02:43 PM, Arnaldo Carvalho de Melo wrote: Em Fri, May 29, 2015 at 09:42:41AM -0300, Arnaldo Carvalho de Melo escreveu: Yeah, I reproduced the problem and will try to figure this out, but please always be explicit

Re: [PATCH] perf annotate: fix -i option, which is currently ignored.

2015-05-29 Thread Martin Liška
On 05/29/2015 03:08 PM, Arnaldo Carvalho de Melo wrote: Em Fri, May 29, 2015 at 02:47:39PM +0200, Martin Liška escreveu: On 05/29/2015 02:43 PM, Arnaldo Carvalho de Melo wrote: Em Fri, May 29, 2015 at 09:42:41AM -0300, Arnaldo Carvalho de Melo escreveu: Yeah, I reproduced the problem and will

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

2015-05-29 Thread Tejun Heo
On Fri, May 29, 2015 at 02:08:38PM +0200, Michal Hocko wrote: I suppose that making mm always follow the threadgroup leader should be fine, right? That is the plan. Cool. While this wouldn't make any difference in the unified hierarchy, Just to make sure I understand. wouldn't make

Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-29 Thread Tejun Heo
On Fri, May 29, 2015 at 06:07:18PM +0530, Kishon Vijay Abraham I wrote: Tejun, Maxime, Sylwester, Kyungmin On Thursday 23 April 2015 04:34 AM, Arun Ramamurthy wrote: Most of the phy providers use select to enable GENERIC_PHY. Since select is only recommended when the config is not visible,

Re: [PATCHv3 1/4] phy: phy-core: Make GENERIC_PHY an invisible option

2015-05-29 Thread Sylwester Nawrocki
On 29/05/15 14:37, Kishon Vijay Abraham I wrote: Tejun, Maxime, Sylwester, Kyungmin On Thursday 23 April 2015 04:34 AM, Arun Ramamurthy wrote: Most of the phy providers use select to enable GENERIC_PHY. Since select is only recommended when the config is not visible, GENERIC_PHY is changed

Re: [PATCH] perf annotate: fix -i option, which is currently ignored.

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 10:08:06AM -0300, Arnaldo Carvalho de Melo escreveu: [acme@zoo linux]$ patch -p1 /wb/1.patch patching file tools/perf/builtin-annotate.c Hunk #1 FAILED at 289. Hunk #2 FAILED at 346. 2 out of 2 hunks FAILED -- saving rejects to file tools/perf/builtin-annotate.c.rej

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

2015-05-29 Thread Shawn Guo
Hi Stephen, On Fri, May 29, 2015 at 09:28:59PM +1000, Stephen Rothwell wrote: Hi Shawn, After merging the imx-mxs tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/clocksource/timer-imx-gpt.c:37:27: fatal error: asm/mach/time.h: No such file or directory

Re: [PATCH] ARM: dts: odroidxu3: Enable USB3 regulators

2015-05-29 Thread Anand Moon
On 28 May 2015 at 14:49, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: On 28.05.2015 17:58, Anand Moon wrote: Enable regulator for usbdrd3_0 and usbdrd3_1 From the schematic pin diagram USB3_0 and USB3_1 is regulated by LDO9 and LD011. Please reformat statement above to proper

[PATCH 1/1] power_supply: 88pm860x_charger: Do not call free_irq() twice

2015-05-29 Thread Takeshi Yoshimura
My static checker detected double free_irq() in pm860x_charger_remove(). Unloading this module always causes a warning. This patch removes the first redundant free_irq() call. Signed-off-by: Takeshi Yoshimura y...@sslab.ics.keio.ac.jp --- drivers/power/88pm860x_charger.c | 1 - 1 file changed, 1

Re: [PATCH] usb: host: xhci-pci: Fix NULL pointer dereference error

2015-05-29 Thread Mathias Nyman
On 26.05.2015 17:15, Roger Quadros wrote: From: Kishon Vijay Abraham I kis...@ti.com commit 3b8295d5cbf2 (usb: xhci: Fix suspend/resume when used with OTG core) removes assigning xhci-main_hcd from xhci_gen_setup and adds it in the probe of xhci-plat and xhci-pci. In the case of xhci-pci,

Re: [PATCH 2/8] driver-core: add asynchronous probing support for drivers

2015-05-29 Thread Tomeu Vizoso
On 29 May 2015 at 12:48, Tomeu Vizoso tomeu.viz...@gmail.com wrote: On 31 March 2015 at 01:20, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Some devices take a long time when initializing, and not all drivers are suited to initialize their devices when they are open. For example, input

Re: [PATCH tip/perf/core] perf probe: Fix 'function unused' warning

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Thu, May 28, 2015 at 02:27:13PM +0900, Masami Hiramatsu escreveu: On 2015/05/28 11:25, Wang Nan wrote: By 'make build-test' a warning is found in probe-event.c that, after commit 419e873828 (perf probe: Show the error reason comes from invalid DSO) the only user of

Re: [PATCH] perf tools: introduce arm64 support unwind test.

2015-05-29 Thread Arnaldo Carvalho de Melo
Em Fri, May 29, 2015 at 11:21:19AM +0200, Jiri Olsa escreveu: On Thu, May 28, 2015 at 10:43:14AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, May 28, 2015 at 03:17:26PM +0800, Wangnan (F) escreveu: Ping? Jiri, Ack? yep, I've already ack-ed that.. should be on the lkml somewhere ;-)

[PATCH V6 03/17] perf auxtrace: Add Intel PT as an AUX area tracing type

2015-05-29 Thread Adrian Hunter
Add the Intel Processor Trace type constant PERF_AUXTRACE_INTEL_PT. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Acked-by: Jiri Olsa jo...@kernel.org --- tools/perf/util/auxtrace.c | 1 + tools/perf/util/auxtrace.h | 1 + 2 files changed, 2 insertions(+) diff --git

[PATCH V6 09/17] perf tools: Take Intel PT into use

2015-05-29 Thread Adrian Hunter
To record an AUX area, the weak function auxtrace_record__init() must be implemented. Equally to decode an AUX area, the AUX area tracing type must be added to the perf_event__process_auxtrace_info() function. This patch makes those two changes plus hooks up default config for the intel_pt PMU.

[PATCH V6 06/17] perf tools: Add Intel PT log

2015-05-29 Thread Adrian Hunter
Add a facility to log Intel Processor Trace decoding. The log is intended for debugging purposes only. The log file name is intel_pt.log and is opened in the current directory. The log contains a record of all packets and instructions decoded and can get very large (10 MB would be a small one).

Re: [RFC PATCH v4 05/29] bpf tools: Allow caller to set printing function

2015-05-29 Thread Namhyung Kim
Hi Wang, On Wed, May 27, 2015 at 05:19:40AM +, Wang Nan wrote: By libbpf_set_print(), users of libbpf are allowed to register he/she own debug, info and warning printing functions. Libbpf will use those functions to print messages. If not provided, default info and warning printing

[PATCH V6 15/17] perf tools: Intel BTS to always update thread stack trace number

2015-05-29 Thread Adrian Hunter
The enhanced thread stack is used by higher layers but still requires the trace number. The trace number is used to distinguish discontinuous sections of trace (for example from Snapshot mode or Sample mode), which cause the thread stack to be flushed. Signed-off-by: Adrian Hunter

[PATCH V6 05/17] perf tools: Add Intel PT instruction decoder

2015-05-29 Thread Adrian Hunter
Add support for decoding instructions for Intel Processor Trace. The kernel x86 instruction decoder is used for this. This essentially provides intel_pt_get_insn() which takes a binary buffer, uses the kernel's x86 instruction decoder to get details of the instruction and then categorizes it for

[PATCH V6 10/17] perf tools: Allow auxtrace data alignment

2015-05-29 Thread Adrian Hunter
Allow auxtrace data to be a multiple of something other than page size. That is needed for BTS where the buffer contains 24-byte records. Signed-off-by: Adrian Hunter adrian.hun...@intel.com --- tools/perf/util/auxtrace.c | 7 +++ tools/perf/util/auxtrace.h | 1 + 2 files changed, 8

Re: [PATCH 1/2] rcu: introduce list_last_or_null_rcu

2015-05-29 Thread Dan Streetman
On Thu, May 28, 2015 at 6:29 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Thu, May 28, 2015 at 05:24:14PM -0400, Dan Streetman wrote: On Thu, May 28, 2015 at 5:16 PM, Paul E. McKenney paul...@linux.vnet.ibm.com wrote: On Thu, May 28, 2015 at 05:12:00PM -0400, Dan Streetman wrote:

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