Re: [PATCH] HID: lenovo: Remove sysfs group on failure path

2015-05-29 Thread Jiri Kosina
On Fri, 29 May 2015, Alexey Khoroshilov wrote: > There is no sysfs_group_remove() on failure path in lenovo_probe_tpkbd(). > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Applied to for-4.2/upstream. Thanks, -- Jiri Kosina SUSE Labs --

[PATCHv3] 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 usb@12

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

2015-05-29 Thread Javier Martinez Canillas
Hello Anand, On Fri, May 29, 2015 at 4:25 PM, Anand Moon wrote: > Hi Javier, > > Ok sorry for the mistake and not following the protocol. > Now I clearly understood my mistake. It will not be repeated. > I will resend the patch. > > Is this correct format to follow. > > Tested-by: Krzysztof K

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

2015-05-29 Thread Anand Moon
Hi Javier, Ok sorry for the mistake and not following the protocol. Now I clearly understood my mistake. It will not be repeated. I will resend the patch. Is this correct format to follow. Tested-by: Krzysztof Kozlowski Signed-off-by: Anand Moon --- This patch is based on Krzysz

[PATCH 3/3] power_supply: Add support for Richtek RT9455 battery charger

2015-05-29 Thread Anda-Maria Nicolae
Based on the datasheet found here: http://www.richtek.com/download_ds.jsp?p=RT9455 Signed-off-by: Anda-Maria Nicolae --- drivers/power/Kconfig |7 + drivers/power/Makefile |1 + drivers/power/rt9455_charger.c | 1751 3 files chang

[PATCH 1/3] of: Add vendor prefix for Richtek Technology Corporation

2015-05-29 Thread Anda-Maria Nicolae
Signed-off-by: Anda-Maria Nicolae --- .../devicetree/bindings/vendor-prefixes.txt|1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 8033919..7b8c129 100644 --- a/Docume

[PATCH v7 0/3] Add support for Richtek RT9455 battery charger

2015-05-29 Thread Anda-Maria Nicolae
The next 3 patches do the following: - first patch adds Richtek Technology Corporation in the vendor-prefixes list - second patch adds device tree binding example for Richtek RT9455 battery charger - third patch adds the driver for Richtek RT9455 battery charger The reason why v6 did not contain

[PATCH 2/3] Documentation: devicetree: Add Richtek RT9455 bindings

2015-05-29 Thread Anda-Maria Nicolae
Signed-off-by: Anda-Maria Nicolae --- .../devicetree/bindings/power/rt9455_charger.txt | 46 1 file changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/power/rt9455_charger.txt diff --git a/Documentation/devicetree/bindings/power/rt9455_charge

Re: [RFC/PATCH 5/9] of: dma: Split of_configure_dma() into mask and ops configuration

2015-05-29 Thread Rob Herring
On Thu, May 14, 2015 at 6:00 PM, Laurent Pinchart wrote: > The of_configure_dma() function configures both the DMA masks and ops. > Moving DMA ops configuration to probe time would thus also delay > configuration of the DMA masks, which might not be safe. To avoid issues > split the configuration

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 04:01:38PM +0200, Martin Liška escreveu: > On 05/29/2015 03:59 PM, Arnaldo Carvalho de Melo wrote: > >Em Fri, May 29, 2015 at 03:09:24PM +0200, Martin Liška escreveu: > >>>I failed to find the problem, ouch, the patches looks the same, applying > >>>by hand... > >>That's re

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

2015-05-29 Thread Nicholas Mc Guire
On Fri, 29 May 2015, Michael Holzheu wrote: > On Fri, 29 May 2015 13:49:36 +0200 > Nicholas Mc Guire wrote: > > > On Fri, 29 May 2015, Heiko Carstens wrote: > > > > > On Fri, May 29, 2015 at 11:51:54AM +0200, Nicholas Mc Guire wrote: > > > > On Fri, 29 May 2015, Heiko Carstens wrote: > > > > >

Re: [PATCH v2 4/7] sched/deadline: reschedule if stop task slip in after pull operations

2015-05-29 Thread Peter Zijlstra
On Wed, May 13, 2015 at 02:01:04PM +0800, Wanpeng Li wrote: > pull_dl_task can drop (and re-acquire) rq->lock, this means a stop task > can slip in, in which case we need to reschedule. This patch add the > reschedule when the scenario occurs. > > Signed-off-by: Wanpeng Li > --- > kernel/sched/d

Re: [PATCH] w1: ds2482: Add i2c module alias name

2015-05-29 Thread Evgeniy Polyakov
Hi everyone 27.05.2015, 01:38, "Ludek Hlavacek" : > Add i2c alias to enable autoloading of the module for device specified > in device-tree. > > Signed-off-by: Ludek Hlavacek This looks good to me, Greg, please pull to your tree. Thank you. Acked-by: Evgeniy Polyakov > --- >  drivers/w1/maste

[RESEND PATCH 2/3] Add mlockall flag for locking pages on fault

2015-05-29 Thread Eric B Munson
Building on the previous patch, extend mlockall() to give a process a way to specify that pages should be locked when they are faulted in, but that pre-faulting is not needed. Signed-off-by: Eric B Munson Cc: linux-al...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-m...@linux-mips.o

[RESEND PATCH 3/3] Add tests for lock on fault

2015-05-29 Thread Eric B Munson
Test the mmap() flag, the mlockall() flag, and ensure that mlock limits are respected. Note that the limit test needs to be run a normal user. Signed-off-by: Eric B Munson Cc: Shuah Khan Cc: linux...@kvack.org Cc: linux-kernel@vger.kernel.org Cc: linux-...@vger.kernel.org --- tools/testing/sel

[RESEND PATCH 0/3] Allow user to request memory to be locked on page fault

2015-05-29 Thread Eric B Munson
mlock() allows a user to control page out of program memory, but this comes at the cost of faulting in the entire mapping when it is allocated. For large mappings where the entire area is not necessary this is not ideal. This series introduces new flags for mmap() and mlockall() that allow a user

[RESEND PATCH 1/3] Add flag to request pages are locked after page fault

2015-05-29 Thread Eric B Munson
The cost of faulting in all memory to be locked can be very high when working with large mappings. If only portions of the mapping will be used this can incur a high penalty for locking. This patch introduces the ability to request that pages are not pre-faulted, but are placed on the unevictable

Re: [PATCH] drivers:usb:fsl: Fix compilation error for fsl ehci drv

2015-05-29 Thread Alan Stern
On Fri, 29 May 2015, Ramneek Mehresh wrote: > Fix compilation error in fsl ehci drv because ehci_reset() > and ehci_adjust_port_wakeup_flags() were not exported, and > are used when PM is enabled > > Signed-off-by: Ramneek Mehresh Acked-by: Alan Stern -- To unsubscribe from this list: send t

[PATCH] Doc: libata: Fix spelling typo found in libata.xml

2015-05-29 Thread Masanari Iida
This patch fix a spelling typo found in libata.xml. It is because libata.xml is generated from comments in source, I have to fix it in libata-core.c Signed-off-by: Masanari Iida --- drivers/ata/libata-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/libata-c

Re: [PATCH 4/6] pmem, nd_blk: update I/O paths to use PMEM API

2015-05-29 Thread Dan Williams
On Thu, May 28, 2015 at 3:35 PM, Ross Zwisler wrote: > Update the PMEM and ND_BLK I/O paths to use the new PMEM API and to > adhere to the read/write flows outlined in the "NVDIMM Block Window > Driver Writer's Guide": > > http://pmem.io/documents/NVDIMM_Driver_Writers_Guide.pdf > > Signed-off-by:

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

2015-05-29 Thread Tejun Heo
Hello, On Fri, May 29, 2015 at 03:45:53PM +0200, Michal Hocko wrote: > Sure but we are talking about processes here. They just happen to share > mm. And this is exactly the behavior change I am talking about... With Are we talking about CLONE_VM w/o CLONE_THREAD? ie. two threadgroups sharing the

Re: RaspberryPi "is this a real kernel?"

2015-05-29 Thread John Whitmore
On Tue, May 26, 2015 at 09:53:07AM -0400, Austin S Hemmelgarn wrote: > On 2015-05-25 05:24, John Whitmore wrote: > >On Sun, May 24, 2015 at 09:11:56PM -0400, valdis.kletni...@vt.edu wrote: > >>On Sun, 24 May 2015 11:32:36 +0100, John Whitmore said: > >> > >>>$ ./mkknlimg ../../linux/arch/arm/boot/z

Re: [RFC/PATCH 4/9] of: dma: Make of_dma_deconfigure() public

2015-05-29 Thread Rob Herring
On Thu, May 14, 2015 at 6:00 PM, Laurent Pinchart wrote: > As part of moving DMA initializing to probe time the > of_dma_deconfigure() function will need to be called from different > source files. Make it public and move it to drivers/of/device.c where > the of_dma_configure() function is. > > Si

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

2015-05-29 Thread Martin Liška
On 05/29/2015 03:59 PM, Arnaldo Carvalho de Melo wrote: Em Fri, May 29, 2015 at 03:09:24PM +0200, Martin Liška escreveu: I failed to find the problem, ouch, the patches looks the same, applying by hand... That's really strange ;) Anyway, thanks for application. I ended up wasting^Winvesting

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 03:09:24PM +0200, Martin Liška escreveu: > >I failed to find the problem, ouch, the patches looks the same, applying > >by hand... > That's really strange ;) > Anyway, thanks for application. I ended up wasting^Winvesting some more time on that, it seems it was all thansk

[PATCH] x86/xen: use schedule_timeout_interruptible()

2015-05-29 Thread Nicholas Mc Guire
x86_64_defconfig + CONFIG_HYPERVISOR_GUEST=y,CONFIG_PARAVIRT=y,CONFIG_XEN=y: Patch is against 4.1-rc5 (localversion-next is -next-20150529) Signed-off-by: Nicholas Mc Guire --- arch/x86/xen/smp.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/x86/xen/smp.c b/arch

[PATCH] drm/msm/hdmi: Use pinctrl in HDMI driver

2015-05-29 Thread Stephane Viau
Some targets (eg: msm8994) use the pinctrl framework to configure interface pins. This change adds support for initialization and pinctrl active/sleep state control for the HDMI driver. Signed-off-by: Stephane Viau --- drivers/gpu/drm/msm/hdmi/hdmi.c | 25 + dri

[PATCH 1/3] i2c: at91: add support for new alternative command mode

2015-05-29 Thread Cyrille Pitchen
The alternative command mode was introduced to simplify the transmission of STOP conditions and to solve timing and latency issues around them. This mode relies on a new register, the Alternative Command Register, which must be set at the same time as the Master Mode Register. This new register wa

[PATCH 0/3] i2c: at91: add support to FIFOs and alternative command

2015-05-29 Thread Cyrille Pitchen
This series of patches adds support of two new features which will be introduced with Atmel sama5d2x SoC. First, the alternative command mode eases the sending of STOP conditions. Before starting an I2C transaction, the size data to be transfered is written into the new Alternative Command Registe

[PATCH 3/3] i2c: at91: add support to FIFOs

2015-05-29 Thread Cyrille Pitchen
When FIFOs are available and enabled, the driver now configures the Atmel eXtended DMA Controller to perform word accesses instead of byte accesses when possible. The actual access width depends on the size of the buffer to transmit. To enable FIFO support the "atmel,fifo-size" property must be se

[PATCH 2/3] i2c: at91: print hardware version

2015-05-29 Thread Cyrille Pitchen
The probe() function now prints the hardware version of the I2C controller Signed-off-by: Cyrille Pitchen --- drivers/i2c/busses/i2c-at91.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c index b48be58..1549b29 100644 --- a/dr

Re: [PATCH 3/6] edac, mce_amd_inj: Modify flags attrigute to use string arguments

2015-05-29 Thread Borislav Petkov
On Wed, May 27, 2015 at 02:03:35PM -0500, Aravind Gopalakrishnan wrote: > Use char values such as "hw" or "sw" to indicate the type of error > injection to be performed. > > Current flags attribute derives the meanings of values that can be > programmed into it from asm/mce.h. Moving to defined st

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

2015-05-29 Thread Roger Quadros
Mathias, On 29/05/15 16:19, Mathias Nyman wrote: On 26.05.2015 17:15, Roger Quadros wrote: From: Kishon Vijay Abraham I 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 xh

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

2015-05-29 Thread Javier Martinez Canillas
Hello Anand, On Fri, May 29, 2015 at 3:34 PM, Anand Moon wrote: > 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: Lo

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

2015-05-29 Thread Preeti U Murthy
Hi Shilpa, The subject does not convey the purpose of this patch clearly IMO. I would definitely suggest changing the subject to something like "Auto promotion of snooze to deeper idle state" or similar. On 05/29/2015 06:02 PM, Shilpasri G Bhat wrote: > The idle cpus which stay in snooze for a lo

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

2015-05-29 Thread Michal Hocko
On Fri 29-05-15 09:10:55, Tejun Heo wrote: > 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

[PATCH v2 1/1] x86_64: fix KASan shadow region page tables

2015-05-29 Thread Alexander Popov
KASan shadow region page tables can't be filled statically because physical addresses in these page tables depend on phys_base. Initialize KASan shadow region page tables in kasan_early_init(). Signed-off-by: Alexander Popov --- arch/x86/include/asm/kasan.h | 6 ++ arch/x86/kernel/head64.c

[PATCH V6 02/17] perf tools: Ensure thread-stack is flushed

2015-05-29 Thread Adrian Hunter
The thread-stack represents a thread's current stack. When a thread exits there can still be many functions on the stack e.g. exit() can be called many levels deep, so all the callers will never return. To get that information output, the thread-stack must be flushed. Previously it was assumed t

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 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 >> wrote: >> > On Thu, May 28, 2015 at 05:12:00PM -0400, Dan Streetman wrote: >> >> On Thu, May 28, 2015 at 5:05 PM, Steve

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

2015-05-29 Thread Adrian Hunter
Add support for decoding an Intel Processor Trace. Intel PT trace data must be 'decoded' which involves walking the object code and matching the trace data packets. The decoder requests a buffer of binary data via a get_trace() call-back, which it decodes using instruction information which it ge

[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 ses

[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 deli

[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 --- tools/per

[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 --- tools/perf/Documentation/itrace.txt | 22 ++ tools/perf/Documentation/perf-inject.txt | 23 +-- tools/perf/Docume

[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 --- tools/perf/util/intel-bts.c | 126 ++-- 1 file changed, 122 insertions(+), 4 deletions(-) diff --git a/tools/perf/uti

[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 --- tools/perf/util/intel-pt.c | 4 1 file changed, 4 insertions(+) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c index 6d66879..9c25b

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 fun

[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 --- tools/per

[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 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)

[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 --- tools/perf/util/auxtrace.c | 7 +++ tools/perf/util/auxtrace.h | 1 + 2 files changed, 8 insertions(+) diff --git a/tool

[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 Acked-by: Jiri Olsa --- tools/perf/util/auxtrace.c | 1 + tools/perf/util/auxtrace.h | 1 + 2 files changed, 2 insertions(+) diff --git a/tools/perf/util/auxtrace.c b/tools/perf/util/auxtrace.c ind

[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 --- tools/perf/util/Build | 1 + tools/perf/util/intel-pt-decod

[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 --- tools/perf/util/db-export.c | 19 ++- 1 file changed, 10 insertions(+

[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: http://git.infradead.org/users/ahunter/lin

[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 usb@12

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: > Segmentatio

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 somewhe

Re: DWC3 linux driver query

2015-05-29 Thread sundeep subbaraya
Hi Felipe, On Thu, May 28, 2015 at 7:41 PM, Felipe Balbi 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 co

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 kernel_get_modul

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 Qualcom

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

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 wrote: > On 31 March 2015 at 01:20, Dmitry Torokhov 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

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 wrote: > On Fri, May 29, 2015 at 4:39 AM, Ross Zwisler wrote: >> On Thu, 2015-05-28 at 15:47 -0700, Dan Williams wrote: >>> On Thu, May 28, 2015 at 3:35 PM, Ross Zwisler >>> wrote: >>> > Even though we use ioremap_nocache() to map our persistent memo

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 > > --- > > kernel/workqueue.c | 12 ++-- > > 1 file changed, 6 insertions(+), 6 deletions(-) > > > > diff --git a/kernel/workqueue.c b/kernel/

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

2015-05-29 Thread Philippe Coval
From: Dmitry Tunin 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 Signed-off-by: Philippe Coval --- drivers/platform/x86/ideapad-lap

[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 --- drivers/power/88pm860x_charger.c | 1 - 1 file changed, 1 deletion(-) diff --git a

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 > > 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, xhci_

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 dir

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

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

2015-05-29 Thread Anand Moon
On 28 May 2015 at 14:49, Krzysztof Kozlowski 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 sentence(s) without ">"

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 Date: Fri, 29 May 2015 10:52:59 +0200 Subject: [PATCH] c

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) && > + !test_tsk_nee

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 wrote: > On Fri, Apr 24, 2015 at 7:04 AM, Andreas Gruenbacher > wrote: >> Changes nfs to support the "system.richacl" xattr instead of >> "system.nfs4_acl". >> > > NACK. > > You may declare a userspace syscall ABI that is more than 10 years old >

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 c

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

2015-05-29 Thread Bobby Powers
Ingo Molnar 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 yours, Bobby > > > From 47f01e8cc23f3d041f6b9fb97627369eaf75ba7f Mon Sep 17 00:00:0

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. "woul

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 vi

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: [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 exp

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" Here is the series which adds support for the CCI-500 PMU. Could you please apply this for 4.2 ? Please let

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, GE

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; u

[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: [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 wrote: > On Thu, 2015-05-28 at 15:47 -0700, Dan Williams wrote: >> On Thu, May 28, 2015 at 3:35 PM, Ross Zwisler >> wrote: >> > Even though we use ioremap_nocache() to map our persistent memory >> > in the >> > pmem driver, the memory we are mapping b

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, rec

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

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" > > > > 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 n

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: pat

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 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 between commits

[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: 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 wrote: > Ming Lei on Thu, 2015/05/28 20:20: > On Thu, May 28, 2015 at 5:37 PM, Christian Hesse wrote: >> > Assembling the root filesystem stack always succeeds, but sometimes boot >> > hangs with a lot of: >> >> Could you try the following two pat

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

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 > an

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: [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: se

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 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 read the FAQ at http:/

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 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 doesn't mat

<    1   2   3   4   5   6   7   8   >