linux-next: manual merge of the pinctrl tree with the regmap tree

2013-06-26 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/pinctrl/Makefile between commit 701016c0cba5 (pinctrl: st: Add pinctrl and pinconf support) from the regmap tree and commit 78bafc66180d (pinctrl: add VF610 pinctrl driver) from the pinctrl tree. I fixed it up (see

Re: [PATCH 1/7] perf, x86: Reduce lbr_sel_map size

2013-06-26 Thread Yan, Zheng
On 06/25/2013 08:33 PM, Stephane Eranian wrote: On Tue, Jun 25, 2013 at 10:47 AM, Yan, Zheng zheng.z@intel.com wrote: From: Yan, Zheng zheng.z@intel.com The index of lbr_sel_map is bit value of perf branch_sample_type. We can reduce lbr_sel_map size by using bit shift as index.

Re: SATA hdd refuses to reallocate a sector?

2013-06-26 Thread Ondrej Zary
On Wednesday 26 June 2013, James Bottomley wrote: On Mon, 2013-06-24 at 08:18 -0400, Mark Lord wrote: And the SCSI stack in Linux has rather atrocious error handling. It lumps multiple requests together, and can fail the entire lot even if only a single sector is bad. That's rather

[PATCH v4] SUNRPC: fix races on PipeFS UMOUNT notifications

2013-06-26 Thread Stanislav Kinsbursky
CPU#0 CPU#1 - - rpc_kill_sb sn-pipefs_sb = NULLrpc_release_client (UMOUNT_EVENT) rpc_free_auth rpc_pipefs_event rpc_get_client_for_event

[PATCH v2] powerpc/vfio: Add missing locks for take/release TCE table ownership

2013-06-26 Thread Alexey Kardashevskiy
VFIO IOMMU driver for sPAPR TCE locks the whole DMA window by setting ones to iommu_table.it_map. However this was not protected by the locks which other clients of iommu_table use. The patch fixes this. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- v1-v2: * Fixed a potential warning

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-06-26 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130625 12:43]: (oh crap, now *really* fixed the ARM mailing list address) On Tue, 2013-06-25 at 11:35 +0300, Luciano Coelho wrote: Add device tree bindings documentation for the TI WiLink modules. Currently only the WLAN part of the WiLink6, WiLink7 and

RE: [PATCH 3/3 v16] iommu/fsl: Freescale PAMU driver and iommu implementation.

2013-06-26 Thread Sethi Varun-B16395
-Original Message- From: Alex Williamson [mailto:alex.william...@redhat.com] Sent: Tuesday, June 25, 2013 10:27 AM To: Sethi Varun-B16395 Cc: j...@8bytes.org; io...@lists.linux-foundation.org; linuxppc- d...@lists.ozlabs.org; linux-kernel@vger.kernel.org; b...@kernel.crashing.org;

Re: [PATCH] libata: remove dead code from libata-acpi.c

2013-06-26 Thread Aaron Lu
On 06/21/2013 07:35 PM, Sergei Shtylyov wrote: Hello. On 21-06-2013 4:55, Aaron Lu wrote: +void ata_acpi_hotplug_init(struct ata_host *host) +{ + int i; + + for (i = 0; i host-n_ports; i++) { + struct ata_port *ap = host-ports[i]; + acpi_handle handle; +

Re: [PATCH v2] ARM: DTS: OMAP4: Add OMAP4 Blaze Tablet support

2013-06-26 Thread Tony Lindgren
* Dan Murphy dmur...@ti.com [130625 07:13]: On 06/25/2013 06:32 AM, Ruslan Bilovol wrote: The OMAP4 Blaze Tablet is TI OMAP4 processor-based development platform in a tablet formfactor. The platform contains many of the features found in present-day handsets (such as audio, video, wireless

Re: v3.10-rc7 oops soon after boot

2013-06-26 Thread George Spelvin
I have mangled your patch, find it attached. I'm sure it's not a surprise, but just for the record, I can now confirm that this fixes my crash, too. -- 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

[PATCH 1/1] usb,uhci: add a new tag for virtual uhci devices

2013-06-26 Thread Li, Zhen-Hua
From: Li, Zhen-Hua zhen-h...@hp.com There's another patch trying to fix this warning: Controller not stopped yet!. It is : 997ff893603c6455da4c5e26ba1d0f81adfecdfc . I don't think it is appropriate to avoid auto-stop for all HP uhci devices. So add one tag for the virtual uhci devices, it is

[PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Chen Gang
For User Mode Linux, it may enable 'MMU', but not need implement ioremap and iounmap, so include/asm-generic/io.h need notice this case to keep itself 'generic'. The related error (with allmodconfig, without pcap): CC [M] drivers/ptp/ptp_pch.o drivers/ptp/ptp_pch.c: In function

Re: [PATCH] vgacon.c: add cond reschedule points in vgacon_do_font_op

2013-06-26 Thread Dave Airlie
can result in a soft lockup: BUG: soft lockup - CPU#41 stuck for 67s! [setfont:1505] RIP: 0010:[812c48da] [812c48da] vgacon_do_font_op.clone.0+0x1ba/0x550 This is due to the 8192 (cmapsz) IO operations taking longer than expected due to lock contention in QEMU. Add

Re: [PATCH] staging: usbip: replace pr_warning() with pr_warn()

2013-06-26 Thread navin patidar
On Tue, Jun 25, 2013, Greg KH gre...@linuxfoundation.org said: On Tue, Jun 25, 2013 at 04:27:18PM +0530, navin patidar wrote: On Tue, Jun 25, 2013, Greg KH gre...@linuxfoundation.org said: On Fri, Jun 21, 2013 at 03:01:04PM +0530, navin patidar wrote: pr_warn() is preferred over

Re: [PATCH 2/8] pch_uart: Add uart_clk selection for the MinnowBoard

2013-06-26 Thread Jiri Slaby
On 06/26/2013 05:58 AM, Darren Hart wrote: Subject: [PATCH] pch_uart: Use DMI interface for board detection Use the DMI interface rather than manually matching DMI strings. Signed-off-by: Darren Hart dvh...@linux.intel.com --- drivers/tty/serial/pch_uart.c | 71

Re: od_set_powersave_bias: NULL pointer dereference

2013-06-26 Thread Viresh Kumar
On 25 June 2013 21:49, Jacob Shin jacob.s...@amd.com wrote: Yes, so sorry about that, it looks like I failed to test with: No problem, it happens :) CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_X86_AMD_FREQ_SENSITIVITY=m

Re: [PATCH] pwm: pwm-mxs: Apply configuration before disabling PWM.

2013-06-26 Thread Robin van der Gracht
Hello Thierry, On 06/21/2013 12:02 PM, Thierry Reding wrote: Please use my new email address and Cc the linux-pwm mailing list. The subject implies some active procedure is used to make sure the configuration is applied, but you really only wait for some amount of time. Perhaps something

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Richard Weinberger
Hi! Am 26.06.2013 08:31, schrieb Chen Gang: For User Mode Linux, it may enable 'MMU', but not need implement ioremap and iounmap, so include/asm-generic/io.h need notice this case to keep itself 'generic'. The related error (with allmodconfig, without pcap): CC [M]

Re: [PATCH 4/6 v5] KVM: PPC: exit to user space on ehpriv instruction

2013-06-26 Thread tiejun.chen
On 06/26/2013 01:42 PM, Bharat Bhushan wrote: ehpriv instruction is used for setting software breakpoints by user space. This patch adds support to exit to user space with run-debug have relevant information. As this is the first point we are using run-debug, also defined the run-debug

linux-next: manual merge of the akpm tree with the powerpc tree

2013-06-26 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/powerpc/kernel/ptrace.c between commit b0b0aa9c7faf (powerpc/hw_brk: Fix setting of length for exact mode breakpoints) from the powerpc tree and commit ptrace/powerpc: revert hw_breakpoints: Fix racy access to ptrace

Re: deadlock in scheduler enabling HRTICK feature

2013-06-26 Thread Peter Zijlstra
On Tue, Jun 25, 2013 at 03:20:00PM -0600, David Ahern wrote: On 6/25/13 3:17 PM, Peter Zijlstra wrote: On Tue, Jun 25, 2013 at 03:05:38PM -0600, David Ahern wrote: Peter/Ingo: I can reliably cause a deadlock in the scheduler by enabling the HRTICK feature. I first hit the problem with

linux-next: manual merge of the cpuinit tree with the arm-current tree

2013-06-26 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the cpuinit tree got a conflict in arch/arm/mm/proc-v7.S between commit 3e0a07f8c401 (ARM: 7773/1: PJ4B: Add support for errata 4742) from the arm-current tree and commit arm: delete __cpuinit/__CPUINIT usage from all ARM users from the cpuinit tree. I fixed

[PATCH 07/19] perf ftrace: Add support for -a and -C option

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The -a/--all-cpus and -C/--cpu option is for controlling tracing cpus. To do that, add and use cpu_map__sprintf() function. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org

[PATCH 19/19] perf ftrace: Tidy up the function graph output of 'show' subcommand

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Now it doesn't call pevent_print_event() but prints context info in itself using print_graph_duration(). Make it compact by only print cpu number and duration: # perf ftrace show ... 10) 0.065 us | __fsnotify_parent(); 10)|

[PATCH 16/19] perf ftrace: Add a signal handler for SIGSEGV

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com It's for debugging purpose. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-ftrace.c | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH 18/19] perf ftrace: Show leaf-functions as oneliner

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Detect leaf functions and print them in a same line. Note that it only converts leaf-functions that doesn't have any other records between entry and exit even in other cpus. I left other leaf functions as is. Signed-off-by: Namhyung Kim

[PATCH 13/19] perf ftrace: Use pager for displaying result

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com It's convenient to use pager when seeing many lines of result. Note that setup_pager() should be called after perf_evlist__ prepare_workload() since they can interfere each other regarding shared stdio streams. Cc: Steven Rostedt rost...@goodmis.org Cc:

[PATCH 14/19] perf ftrace: Cleanup using ftrace_setup/teardown()

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The ftrace sub-commands share some common code so that factor it out to ftrace_setup() and ftrace_teardown() helpers. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 17/19] perf ftrace: Add --clock option

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The --clock (-c) option is for controlling trace_clock. Default to 'perf' if exists, or 'local'. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 08/19] perf ftrace: Split live sub-command

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Separate out the default behavior to live subcommand. It's a preparation to support more subcommands like record and report. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org

[PATCH 10/19] perf ftrace: Add 'show' sub-command

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The ftrace show subcommand is for viewing recorded ftrace files. It enters perf.data.dir directory and open perf.header file to find out necessary information. And then read out per-cpu trace records using kbuffer helper and print them to stdout in time

[PATCH 15/19] perf tools: Add document for perf-ftrace command

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Documentation/perf-ftrace.txt | 114 +++ 1 file changed, 114 insertions(+) create

[PATCH 11/19] perf ftrace: Add 'report' sub-command

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The ftrace report command is for analyzing ftrace result as usual perf report style. Internal processing of the ftrace buffer is similar to the 'show' sub-command but it synthesizes necessary information like thread, dso, map and symbol from saved trace

[PATCH 06/19] perf ftrace: Add support for --pid option

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The -p (--pid) option enables to trace existing process by its pid. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-ftrace.c | 89

[PATCH 12/19] perf evlist: Enhance perf_evlist__start_workload()

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com When perf tries to start a workload, it relies on a pipe which the workload was blocked for reading. After closing the pipe on the parent, the workload (child) can start the actual work via exec(). However, if another process was forked after creating a

[PATCH 09/19] perf ftrace: Add 'record' sub-command

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The ftrace record command is for saving raw ftrace buffer contents which can be get from per_cpu/cpuX/trace_pipe_raw. Since ftrace events are generated very frequently so single thread for recording mostly resulted in buffer overruns. Thus it uses per-cpu

[PATCH 02/19] perf util: Use evsel-name to get tracepoint_paths

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Most tracepoint events already have their system and event name in -name field so that searching whole event tracing directory for each evsel to match given id is suboptimal. Factor out this routine into tracepoint_name_to_path(). In case of en invalid

Re: [PATCH 4/8] minnowboard: Add base platform driver for the MinnowBoard

2013-06-26 Thread Darren Hart
On Wed, 2013-06-26 at 05:36 +, Matthew Garrett wrote: On Tue, 2013-06-25 at 22:32 -0700, Darren Hart wrote: are all board-specific. They map GPIO to their fixed functions and provide an API for board-specific queries (minnowboard.c), they provide example uses (minnowboard-gpio and

[PATCH 05/19] perf tools: Introduce new 'ftrace' tool

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The ftrace command is a simple wrapper of kernel's ftrace functionality. It only supports single thread tracing currently and just reads trace_pipe in text and then write it to stdout. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker

Re: [PATCH 2/8] pch_uart: Add uart_clk selection for the MinnowBoard

2013-06-26 Thread Darren Hart
On Wed, 2013-06-26 at 08:43 +0200, Jiri Slaby wrote: On 06/26/2013 05:58 AM, Darren Hart wrote: Subject: [PATCH] pch_uart: Use DMI interface for board detection Use the DMI interface rather than manually matching DMI strings. Signed-off-by: Darren Hart dvh...@linux.intel.com ---

[PATCH v5] irqchip: Add support for ARMv7-M's NVIC

2013-06-26 Thread Uwe Kleine-König
This interrupt controller is integrated in all Cortex-M3 and Cortex-M4 machines. Support for this controller appeared in Catalin's Cortex tree based on 2.6.33 but was nearly completely rewritten. Signed-off-by: Uwe Kleine-König u.kleine-koe...@pengutronix.de Acked-by: Catalin Marinas

[PATCH 01/19] perf util: Move debugfs/tracing helper functions to util.c

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Since they're generic helpers move them to util.c so that they can be used by others. Cc: Steven Rostedt rost...@goodmis.org Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/trace-event-info.c

[PATCH 04/19] perf util: Add more debug message on failure path

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com It's helpful for debugging on tracing features. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/header.c | 4 ++- tools/perf/util/trace-event-read.c | 53 ++ 2 files changed, 39

[PATCHSET 00/19] perf tools: Introduce new 'ftrace' command (v3)

2013-06-26 Thread Namhyung Kim
Hello, This patchset implements a front-end tool for kernel's ftrace. It uses function_graph tracer by default and normal function tracer is also supported. (Of course you need to enable those tracers in your kernel first.) v3 changes: * fix a bug related to pager and forked workload * add

[PATCH 03/19] perf util: Save pid-cmdline mapping into tracing header

2013-06-26 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Current trace info data lacks the saved cmdline mapping which is needed for pevent to find out the comm of a task. Add this and bump up the version number so that perf can determine its presence when reading. This is mostly corresponding to trace.dat file

Re: [PATCH] proc: Expose /proc/pid/task/tid/children unconditionally

2013-06-26 Thread Cyrill Gorcunov
On Tue, Jun 25, 2013 at 03:01:35PM -0700, Andy Lutomirski wrote: This is a little strange. It looks like ppid (in status) shows the tgid, but the actual real_parent can refer to a thread (as opposed to a thread group leader), and task/tid/children respects that. So the tree that you get by

Re: [PATCH 0/6] Thunderbolt workarounds take 2

2013-06-26 Thread Mika Westerberg
On Wed, Jun 26, 2013 at 01:24:25AM +0200, Rafael J. Wysocki wrote: Would you please CC things touching ACPIPHP to linux-acpi? Sorry about that -- It wasn't listed in the output of get_maintainers.pl so it kind of was forgotten. Do you want me to resend this series with linux-acpi@ included? --

Re: BUG: tty: memory corruption through tty_release/tty_ldisc_release

2013-06-26 Thread Alexander Holler
Am 25.06.2013 16:18, schrieb Dean Jenkins: On 17/05/13 05:43, Alexander Holler wrote: To reproduce it, call rfcomm connect /dev/rfcommN and after the connection to the remote device happened, power down the remote device and wait 20s (the timeout until a connection drop will be discovered).

Re: [PATCH 2/8] pch_uart: Add uart_clk selection for the MinnowBoard

2013-06-26 Thread Jiri Slaby
On 06/26/2013 09:19 AM, Darren Hart wrote: You can't actually use this driver on 64 bit as there is no hardware, Oh, so is this another candidate for adding dependson (X86_32 || COMPILE_TEST) as well as the other *_PCH options? -- js suse labs -- To unsubscribe from this list: send the line

[PATCH 1/2] dlci: acquire rtnl_lock before calling __dev_get_by_name()

2013-06-26 Thread Li Zefan
Otherwise the net device returned can be freed at anytime. Signed-off-by: Li Zefan lize...@huawei.com Cc: sta...@vger.kernel.org --- drivers/net/wan/dlci.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c index

[PATCH 2/2] dlci: validate the net device in dlci_del()

2013-06-26 Thread Li Zefan
We triggered an oops while running trinity with 3.4 kernel: BUG: unable to handle kernel paging request at 00010d07 IP: [a0109738] dlci_ioctl+0xd8/0x2d4 [dlci] PGD 640c0d067 PUD 0 Oops: [#1] PREEMPT SMP CPU 3 ... Pid: 7302, comm: trinity-child3 Not tainted 3.4.24.09+ 40

Re: [ 00/17] 3.0.84-stable review

2013-06-26 Thread Geert Uytterhoeven
On Tue, Jun 25, 2013 at 9:39 PM, Guenter Roeck li...@roeck-us.net wrote: On Tue, Jun 25, 2013 at 09:32:26PM +0200, Geert Uytterhoeven wrote: Hi Günther, On Tue, Jun 25, 2013 at 9:23 PM, Guenter Roeck li...@roeck-us.net wrote: Build m68k:defconfig passed Build m68k:apollo_defconfig passed

Re: [PATCH 1/8] perf,x86: disable PEBS-LL in intel_pmu_pebs_disable()

2013-06-26 Thread Stephane Eranian
On Mon, Jun 24, 2013 at 10:44 AM, Peter Zijlstra pet...@infradead.org wrote: On Fri, Jun 21, 2013 at 04:20:41PM +0200, Stephane Eranian wrote: Make sure intel_pmu_pebs_disable() and intel_pmu_pebs_enable() are symmetrical w.r.t. PEBS-LL and precise store. Signed-off-by: Stephane Eranian

Re: [PATCH 2/8] perf,x86: drop event-flags and use hw.constraint-flags

2013-06-26 Thread Stephane Eranian
On Mon, Jun 24, 2013 at 10:45 AM, Peter Zijlstra pet...@infradead.org wrote: On Fri, Jun 21, 2013 at 04:20:42PM +0200, Stephane Eranian wrote: Now that we use the contraints directly from the event, we do not need the event-flags field so drop it. Signed-off-by: Stephane Eranian

Re: [PATCH] cfg80211/mac80211: fix doc compilation warnings

2013-06-26 Thread Johannes Berg
On Tue, 2013-06-25 at 21:48 +0200, Michael Opdenacker wrote: This patch fixes countless No description found for parameter warnings generating documentation (running make htmldocs), because the comments do not match the actual prototypes in the code. This issue didn't exist in 3.9. It may we

Re: [PATCH v5 3/7] PCI: Use pci_walk_bus to detect unassigned resources

2013-06-26 Thread Yinghai Lu
On Tue, Jun 25, 2013 at 2:15 PM, Bjorn Helgaas bhelg...@google.com wrote: +static int __init check_unassigned_resources(struct pci_dev *dev, void *data) I'm not going to add a function named check_*() because the name gives no clue about what the return value means. If it's a boolean

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Geert Uytterhoeven
On Wed, Jun 26, 2013 at 8:54 AM, Richard Weinberger rich...@nod.at wrote: -#ifndef CONFIG_MMU +#if !CONFIG_MMU || CONFIG_UML FWIW, the above syntax is not correct, it should be #if !defined(CONFIG_MMU) || defined(CONFIG_UML) UML has no io memory but a MMU, so I'd argue that you better fix

[RFC][PATCH 1/3][v2] perf: Move PERF_MEM*SHIFT macros up the block

2013-06-26 Thread Sukadev Bhattiprolu
From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Date: Fri, 21 Jun 2013 14:03:01 -0700 Subject: [RFC][PATCH 1/3][v2] perf: Move PERF_MEM*SHIFT macros up the block Values for the PERF_MEM_*SHIFT macros depend on the block before them, so it would be more readable if they are in the beginning

[PATCH 2/3] drivers: spi: Add qspi flash controller

2013-06-26 Thread Sourav Poddar
The patch add basic support for the quad spi controller. QSPI is a kind of spi module that allows single, dual and quad read access to external spi devices. The module has a memory mapped interface which provide direct interface for accessing data form external spi devices. The patch will

[PATCH 0/3] spi/mtd generic framework,ti qspi controller and spansion driver

2013-06-26 Thread Sourav Poddar
This patch series add support for the generic spi based flash framework(spinand_mtd), which can be used used by any spi based flash device to attach itself to mtd framework. The first patch of this series includes both the generic framework and the the micron device(spinand_lld) making use of

[PATCH 1/3] drivers: mtd: spinand: Add generic spinand frameowrk and micron driver.

2013-06-26 Thread Sourav Poddar
From: Mona Anonuevo manonu...@micron.com This patch adds support for a generic spinand framework(spinand_mtd.c). This frameowrk can be used for other spi based flash devices also. The idea is to have a common model under drivers/mtd, as also present for other no spi devices(there is a generic

[PATCH 3/3] drivers: mtd: spinand: Add qspi spansion flash controller

2013-06-26 Thread Sourav Poddar
The patch adds support for spansion s25fl256s spi flash controller. Currently, the patch supports only SPI based transaction. As, the qspi to which flash is attached supports memory mapped interface, support will be added in future for memory mapped transactions also. This driver gets attached

[RFC][PATCH 3/3] perf/Power7: Export DCACHE_SRC field to userspace

2013-06-26 Thread Sukadev Bhattiprolu
From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Date: Tue, 25 Jun 2013 17:12:02 -0700 Subject: [RFC][PATCH 3/3] perf/Power7: Export DCACHE_SRC field to userspace On Power7, the DCACHE_SRC field (bits 9..12), in the MMCRA register identify the source from which a data-cache-miss for a marked

Re: [PATCH] epoll_[p]wait: fix spurious -EINTR on ptrace attach

2013-06-26 Thread Denys Vlasenko
On Tuesday 25 June 2013 22:06, Oleg Nesterov wrote: In order to define a sigset_t ksigmask member, You do not need it. But the reason is not clear until the cleanup. I take this back, this is not as simple as I thought... and perhaps even not right. However. Probably you can replace

Re: [PATCH v2 29/45] kvm/vmx: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-26 Thread Paolo Bonzini
Il 25/06/2013 22:30, Srivatsa S. Bhat ha scritto: - cpu = get_cpu(); + cpu = get_online_cpus_atomic(); vmx_vcpu_load(vmx-vcpu, cpu); vmx-vcpu.cpu = cpu; err = vmx_vcpu_setup(vmx); vmx_vcpu_put(vmx-vcpu); - put_cpu(); + put_online_cpus_atomic(); The

Re: [PATCH v4 0/7] cpufreq:boost: CPU Boost mode support

2013-06-26 Thread Lukasz Majewski
Hi Viresh, This patch series introduces support for CPU overclocking technique called Boost. It is a follow up of a LAB governor proposal. Boost is a LAB component: http://thread.gmane.org/gmane.linux.kernel/1484746/match=cpufreq Boost unifies hardware based solution (e.g. Intel

[PATCH] arc_emac: fix compile-time errors warnings on PPC64

2013-06-26 Thread Alexey Brodkin
As reported by kbuild test robot there were some errors and warnings on attempt to build kernel with make ARCH=powerpc allmodconfig. And this patch addresses both errors and warnings. Below is a list of introduced changes: 1. Fix compile-time errors (misspellings in dma_unmap_single) on PPC. 2.

Re: [PATCH] vmpressure: implement strict mode

2013-06-26 Thread Minchan Kim
On Tue, Jun 25, 2013 at 05:51:29PM -0400, Luiz Capitulino wrote: Currently, applications are notified for the level they registered for _plus_ higher levels. This is a problem if the application wants to implement different actions for different levels. For example, an application might want

Re: [PATCH v4 0/7] cpufreq:boost: CPU Boost mode support

2013-06-26 Thread Viresh Kumar
On Wed, Jun 26, 2013 at 1:18 PM, Lukasz Majewski l.majew...@samsung.com wrote: If this is not a problem, I'd like to kindly ask You to review those patches. Rafael has expressed his opinion about boost attribute clearly at the other mail (as a response to v4 patches): Simple: Export it only

Directorate of International Payment 2013

2013-06-26 Thread Turgeon Ron
Attention please!!! We have registered your ATM CARD of €4.9m Euros with Fedex Express Courier Company with registration code of (DCJKT00678G).please Contact Fedex Express with your Address and Telephone No: Contact Person: Name Mr Nicholas Gaye E-mail:(fedexexpresscouriercompany...@yahoo.com)

[RFC][PATCH 2/3][v2] perf/Power7: Export MDTLB_SRC fields to userspace

2013-06-26 Thread Sukadev Bhattiprolu
From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Date: Tue, 25 Jun 2013 15:50:18 -0700 Subject: [RFC][PATCH 2/3][v2] perf/Power7: Export MDTLB_SRC fields to userspace Power7 saves the perf-event vector information in the mmcra register. Included in this event vector is a marked-data-TLB

RE: [RFC V1] COMMIT 1: DA9210 driver files

2013-06-26 Thread Guennadi Liakhovetski
Hi Steve On Mon, 24 Jun 2013, Opensource [Steve Twiss] wrote: [snip] Thank you for the comments. Thanks for your work on this! I've got one more question to you though: it looks like you're doing Linux kernel driver open-sourcing for DiaSemi ATM. In the past http://lwn.net/Articles/513859/

Re: [PATCH 5/8] minnowboard-gpio: Export MinnowBoard expansion GPIO

2013-06-26 Thread Andy Shevchenko
On Tue, 2013-06-25 at 18:53 -0700, Darren Hart wrote: Request and export the user-configurable GPIO lines to sysfs. This provides a label readable in /debugfs/gpio and a simple interface for experimenting with GPIO on the MinnowBoard. This is separate from the minnowboard driver to provide

linux-next: build failure after merge of the final tree (net-next tree related)

2013-06-26 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from arch/powerpc/include/asm/dma-mapping.h:123:0, from include/linux/dma-mapping.h:76, from include/linux/skbuff.h:33, from

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Chen Gang
On 06/26/2013 02:54 PM, Richard Weinberger wrote: Hi! Am 26.06.2013 08:31, schrieb Chen Gang: For User Mode Linux, it may enable 'MMU', but not need implement ioremap and iounmap, so include/asm-generic/io.h need notice this case to keep itself 'generic'. The related error (with

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Chen Gang
On 06/26/2013 03:38 PM, Geert Uytterhoeven wrote: On Wed, Jun 26, 2013 at 8:54 AM, Richard Weinberger rich...@nod.at wrote: -#ifndef CONFIG_MMU +#if !CONFIG_MMU || CONFIG_UML FWIW, the above syntax is not correct, it should be #if !defined(CONFIG_MMU) || defined(CONFIG_UML) Oh, really

Re: [PATCH] vmpressure: implement strict mode

2013-06-26 Thread Michal Hocko
On Wed 26-06-13 16:50:51, Minchan Kim wrote: On Tue, Jun 25, 2013 at 05:51:29PM -0400, Luiz Capitulino wrote: Currently, applications are notified for the level they registered for _plus_ higher levels. This is a problem if the application wants to implement different actions for

Re: [PATCH v2] ARM: DTS: OMAP4: Add OMAP4 Blaze Tablet support

2013-06-26 Thread Ruslan Bilovol
Hi Nishanth, On Tue, Jun 25, 2013 at 3:43 PM, Nishanth Menon n...@ti.com wrote: On 06/25/2013 07:01 AM, Nishanth Menon wrote: On 06/25/2013 06:32 AM, Ruslan Bilovol wrote: The OMAP4 Blaze Tablet is TI OMAP4 processor-based development platform in a tablet formfactor. The platform contains

Re: [PATCH v3] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-06-26 Thread Viresh Kumar
On 24 June 2013 14:32, Chanwoo Choi cw00.c...@samsung.com wrote: Time Old Frequency New Frequency CPU0 CPU1 CPU2 CPU3 347000 160 160 12 33 868 347100 160 1604 30 724 347200 160 160 20 18

Re: [PATCH] include/asm-generic/io.h: add 'UML' case just like 'no-MMU'

2013-06-26 Thread Richard Weinberger
Hi! Am 26.06.2013 09:56, schrieb Chen Gang: On 06/26/2013 02:54 PM, Richard Weinberger wrote: Hi! Am 26.06.2013 08:31, schrieb Chen Gang: For User Mode Linux, it may enable 'MMU', but not need implement ioremap and iounmap, so include/asm-generic/io.h need notice this case to keep itself

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2013-06-26 Thread Alexey Brodkin
On 06/26/2013 11:56 AM, Stephen Rothwell wrote: Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: [] Caused by commit e4f2379db6c6 (ethernet/arc/arc_emac - Add new driver) from the net-next tree. I have reverted that commit for today.

Re: [PATCH v5 3/7] PCI: Use pci_walk_bus to detect unassigned resources

2013-06-26 Thread Yinghai Lu
On Tue, Jun 25, 2013 at 2:46 PM, Bjorn Helgaas bhelg...@google.com wrote: On Tue, Jun 25, 2013 at 3:38 PM, Benjamin Herrenschmidt b...@kernel.crashing.org wrote: On Tue, 2013-06-25 at 15:15 -0600, Bjorn Helgaas wrote: - for_each_pci_dev(dev) { - int i; + /* Not

Re: [PATCH] vmpressure: implement strict mode

2013-06-26 Thread Michal Hocko
On Tue 25-06-13 17:51:29, Luiz Capitulino wrote: Currently, applications are notified for the level they registered for _plus_ higher levels. This is a problem if the application wants to implement different actions for different levels. For example, an application might want to release 10%

Re: [PATCH v2 29/45] kvm/vmx: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-26 Thread Srivatsa S. Bhat
On 06/26/2013 01:16 PM, Paolo Bonzini wrote: Il 25/06/2013 22:30, Srivatsa S. Bhat ha scritto: -cpu = get_cpu(); +cpu = get_online_cpus_atomic(); vmx_vcpu_load(vmx-vcpu, cpu); vmx-vcpu.cpu = cpu; err = vmx_vcpu_setup(vmx); vmx_vcpu_put(vmx-vcpu); -put_cpu();

Re: linux-next: manual merge of the akpm tree with the powerpc tree

2013-06-26 Thread Benjamin Herrenschmidt
On Wed, 2013-06-26 at 16:56 +1000, Stephen Rothwell wrote: Today's linux-next merge of the akpm tree got a conflict in arch/powerpc/kernel/ptrace.c between commit b0b0aa9c7faf (powerpc/hw_brk: Fix setting of length for exact mode breakpoints) from the powerpc tree and commit ptrace/powerpc:

Re: Regression in RCU subsystem in latest mainline kernel

2013-06-26 Thread Michael Ellerman
On Tue, Jun 25, 2013 at 09:03:32AM -0700, Paul E. McKenney wrote: On Tue, Jun 25, 2013 at 05:44:23PM +1000, Michael Ellerman wrote: On Tue, Jun 25, 2013 at 05:19:14PM +1000, Michael Ellerman wrote: Here's another trace from 3.10-rc7 plus a few local patches. And here's another with

Re: [PATCH v2 00/14] perf, persistent: Kernel updates for perf tool integration

2013-06-26 Thread Robert Richter
On 25.06.13 21:16:54, Borislav Petkov wrote: On Tue, Jun 25, 2013 at 07:57:29PM +0200, Robert Richter wrote: But what options there are to detach the event from all processes and make it persistent? Something like this: ioctl(fd, PERF_EVENT_IOC_DETACH, 0); I guess this could

Re: linux-next: manual merge of the arm-mpidr tree with the arm tree

2013-06-26 Thread Russell King
On Wed, Jun 26, 2013 at 11:04:11AM +1000, Stephen Rothwell wrote: Hi Lorenzo, Today's linux-next merge of the arm-mpidr tree got a conflict in arch/arm/kernel/suspend.c between commit 7604537bbb57 (ARM: kernel: implement stack pointer save array through MPIDR hashing) from the arm tree and

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-06-26 Thread Luciano Coelho
Hi Tony, On Tue, 2013-06-25 at 23:24 -0700, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130625 12:43]: On Tue, 2013-06-25 at 11:35 +0300, Luciano Coelho wrote: Add device tree bindings documentation for the TI WiLink modules. Currently only the WLAN part of the WiLink6, WiLink7

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-26 Thread Michal Hocko
On Tue 25-06-13 12:27:54, Dave Chinner wrote: On Tue, Jun 18, 2013 at 03:50:25PM +0200, Michal Hocko wrote: And again, another hang. It looks like the inode deletion never finishes. The good thing is that I do not see any LRU related BUG_ONs anymore. I am going to test with the other patch

Re: amba-pl08x and 'get_signal' namespace collision/build error

2013-06-26 Thread Russell King - ARM Linux
On Wed, Jun 26, 2013 at 10:18:42AM +0530, Vinod Koul wrote: Yup. This is fixed in slave-dma tree by a patch from mark by renaming it. This should not show in the -next tree Except, that change probably is probably responsible for this new error: drivers/dma/amba-pl08x.c: In function

Re: [PATCH v2 28/45] KVM: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-26 Thread Paolo Bonzini
Il 25/06/2013 22:30, Srivatsa S. Bhat ha scritto: Once stop_machine() is gone from the CPU offline path, we won't be able to depend on disabling preemption to prevent CPUs from going offline from under us. Use the get/put_online_cpus_atomic() APIs to prevent CPUs from going offline, while

Re: [PATCH] vmpressure: implement strict mode

2013-06-26 Thread Minchan Kim
Hello Michal, On Wed, Jun 26, 2013 at 09:59:21AM +0200, Michal Hocko wrote: On Wed 26-06-13 16:50:51, Minchan Kim wrote: On Tue, Jun 25, 2013 at 05:51:29PM -0400, Luiz Capitulino wrote: Currently, applications are notified for the level they registered for _plus_ higher levels.

Re: [PATCH v2] ARM: DTS: OMAP4: Add OMAP4 Blaze Tablet support

2013-06-26 Thread Ruslan Bilovol
Hi Dan, On Tue, Jun 25, 2013 at 5:07 PM, Dan Murphy dmur...@ti.com wrote: On 06/25/2013 06:32 AM, Ruslan Bilovol wrote: The OMAP4 Blaze Tablet is TI OMAP4 processor-based development platform in a tablet formfactor. The platform contains many of the features found in present-day handsets

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-26 Thread Michal Hocko
On Sun 23-06-13 15:51:29, Glauber Costa wrote: On Fri, Jun 21, 2013 at 11:00:21AM +0200, Michal Hocko wrote: On Thu 20-06-13 17:12:01, Michal Hocko wrote: I am bisecting it again. It is quite tedious, though, because good case is hard to be sure about. OK, so now I converged to

Re: [PATCH] Documentation: dt: bindings: TI WiLink modules

2013-06-26 Thread Tony Lindgren
* Luciano Coelho coe...@ti.com [130626 01:19]: Hi Tony, On Tue, 2013-06-25 at 23:24 -0700, Tony Lindgren wrote: * Luciano Coelho coe...@ti.com [130625 12:43]: On Tue, 2013-06-25 at 11:35 +0300, Luciano Coelho wrote: Add device tree bindings documentation for the TI WiLink modules.

Re: [07/26] USB: serial: ti_usb_3410_5052: new device id for Abbot strip port cable

2013-06-26 Thread Anders Hammarquist
In a message of Wed, 26 Jun 2013 03:35:58 +0100, Ben Hutchings writes: 3.2.48-rc1 review patch. If anyone has any objections, please let me know. -- From: Anders Hammarquist i...@iko.pp.se commit 35a2fbc941accd0e9f1bfadd669311786118d874 upstream. Add product id for Abbott

Re: [PATCH V2] regulator: 88pm800: add regulator driver for 88pm800

2013-06-26 Thread Mark Brown
On Wed, Jun 26, 2013 at 09:35:01AM +0800, Chao Xie wrote: The regulator driver does not only work for 88pm805 but also for the next lite version 88pm822. 88pm822 only have 14 LDOes. So i defined array of points in pdata. When user define pdata for 88pm805, it can fill all 19 LDOes, while for

[PATCH] TTY: fix memory leakage in tty_buffer_find()

2013-06-26 Thread channing
In tty_buffer_find(), it scans all tty buffers in free buffer queue, if it finds matched one, tty-buf.free will point to matched one's next buffer, so tty buffers that ahead of matched one are removed from free queue, they will never be used but they are not released, then memory leak happen.

Re: [PATCH v2 00/14] perf, persistent: Kernel updates for perf tool integration

2013-06-26 Thread Borislav Petkov
On Wed, Jun 26, 2013 at 10:12:23AM +0200, Robert Richter wrote: We get a new fd by opening the persistent event with the syscall. There would be 2 new ioctls: ioctl(fd, PERF_EVENT_IOC_DETACH, 0); ioctl(fd, PERF_EVENT_IOC_ATTACH, 0); This would be fine and reuses existing infrastructure.

  1   2   3   4   5   6   7   8   9   10   >