Re: [PATCH] arm: omap: RX-51: ARM errata 430973 workaround

2013-03-01 Thread Nishanth Menon
On Fri, Mar 1, 2013 at 1:47 AM, Ивайло Димитров freemangor...@abv.bg wrote: They look similar, but they are not equivalent :). The first major difference is here (code taken from omap-smc.S) ENTRY(omap_smc2) stmfd sp!, {r4-r12, lr} mov r3, r2 mov r2,

Re: [alsa-devel] [PATCH v3] davinci-mcasp: Add support for multichannel playback

2013-03-01 Thread Michal Bachraty
Hi Daniel, Thanks for testing. One thing that has to be considered by users of the driver is that the 'serial-dir' DT property has to contain enough '1' entries for multichannel playback (or enough '2's for multichannel record). So this information is not actually something that describes

[PATCH V2] mfd: palmas: provide irq flags through DT/platform data

2013-03-01 Thread Laxman Dewangan
Currently driver sets the irq type to IRQF_TRIGGER_LOW which is causing interrupt registration failure in ARM based SoCs as: [0.208479] genirq: Setting trigger mode 8 for irq 118 failed (gic_set_type+0x0/0xf0) [0.208513] dummy 0-0059: Failed to request IRQ 118: -22 Provide the irq flags

Re: [PATCH] efivarfs: fix abnormal GUID in variable name by using strcpy to replace null with dash

2013-03-01 Thread joeyli
於 五,2013-03-01 於 17:31 +0800,Lingzhu Xiang 提到: On 03/01/2013 11:20 AM, Lee, Chun-Yi wrote: From: Michael Schroeder m...@suse.com On HP z220 system (firmware version 1.54), some EFI variables are incorrectly named : ls -d /sys/firmware/efi/vars/*8be4d* | grep -v -- -8be returns

Re: [PATCH 3/9] printk: add CON_ALLDATA console flag

2013-03-01 Thread Jeff Moyer
Joern Engel jo...@logfs.org writes: For consoles like netconsole and blockconsole the loglevel filtering really doesn't make any sense. If a line gets printed at all, please send it down to that console, no questions asked. Could you please explain this a bit further? Why wouldn't you want

Re: [PATCH] usb: correctly enable interrupts for xhci

2013-03-01 Thread Alan Stern
On Fri, 1 Mar 2013, Hannes Reinecke wrote: xhci might run with MSI/MSI-X only, with no support for legacy interrupts. On these devices the request_irq() call in usb_add_hcd() will fail, causing the entire device to fail. For xhci this is especially painful as the driver will enable

Re: Pulling linux-next GIT

2013-03-01 Thread Konstantin Ryabitsev
On 01/03/13 08:35 AM, Sedat Dilek wrote: 2 hours passed - same problems! I looked at www.kernel.org, but there is no message in the news area. Hi, all: We had early-morning hardware failure on the sole old-skin frontend that was up (in preparation for site roll-over). This forced my hand to

Re: [PATCH 3/9] printk: add CON_ALLDATA console flag

2013-03-01 Thread Borislav Petkov
On Fri, Mar 01, 2013 at 09:52:27AM -0500, Jeff Moyer wrote: For consoles like netconsole and blockconsole the loglevel filtering really doesn't make any sense. If a line gets printed at all, please send it down to that console, no questions asked. Could you please explain this a bit

Re: [PATCH] clk: add si5351 i2c common clock driver

2013-03-01 Thread Daniel Mack
Hi Sebastian, On 27.02.2013 11:01, Sebastian Hesselbarth wrote: first of all sorry for the late answer but thanks for testing the driver. On 2/19/13, Daniel Mack zon...@gmail.com wrote: Hi Sebastian, I did some more tests today and it took me a while to dig for the root cause why things

Re: [PATCH] irqchip: Renesas IRQC driver

2013-03-01 Thread Guennadi Liakhovetski
On Wed, 27 Feb 2013, Magnus Damm wrote: From: Magnus Damm d...@opensource.se This patch adds a driver for external IRQ pins connected to the IRQC hardware block on recent SoCs from Renesas. The IRQC hardware block is used together with more recent ARM based SoCs using the GIC. As usual

Re: [PATCH 00/05] irqchip: Renesas INTC External IRQ pin v2 update

2013-03-01 Thread Guennadi Liakhovetski
On Tue, 26 Feb 2013, Magnus Damm wrote: irqchip: Renesas INTC External IRQ pin v2 update [PATCH 01/05] irqchip: intc-irqpin: Whitespace fixes [PATCH 02/05] irqchip: intc-irqpin: Cache mapped IRQ [PATCH 03/05] irqchip: intc-irqpin: Add force comments [PATCH 04/05] irqchip: intc-irqpin: Make

Re: [PATCH 3/9] printk: add CON_ALLDATA console flag

2013-03-01 Thread Jeff Moyer
Borislav Petkov b...@alien8.de writes: On Fri, Mar 01, 2013 at 09:52:27AM -0500, Jeff Moyer wrote: For consoles like netconsole and blockconsole the loglevel filtering really doesn't make any sense. If a line gets printed at all, please send it down to that console, no questions asked.

[PATCH] l2tp: Restore socket refcount when sendmsg succeeds

2013-03-01 Thread Guillaume Nault
The sendmsg() syscall handler for PPPoL2TP doesn't decrease the socket reference counter after successful transmissions. Any successful sendmsg() call from userspace will then increase the reference counter forever, thus preventing the kernel's session and tunnel data from being freed later on.

Re: [PATCH] futex: fix unbalanced spin_lock/spin_unlock() in exit_pi_state_list()

2013-03-01 Thread John Kacur
On Fri, Mar 1, 2013 at 1:01 PM, John Kacur jka...@redhat.com wrote: On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang yong.zha...@gmail.com wrote: From: Yong Zhang yong.zh...@windriver.com Otherwise, below warning is shown somtimes when running some test: It would be nice to know which test!

Re: [RFC PATCH RESEND v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-01 Thread Rob Herring
On 03/01/2013 06:23 AM, Andrew Murray wrote: This patch factors out common implementations patterns to reduce overall kernel code and provide a means for host bridge drivers to directly obtain struct resources from the DT's ranges property without relying on architecture specific DT

Re: security_inode_init_security() inode field requirements

2013-03-01 Thread Eric Paris
SELinux has no maximum :-( Realistically there are a couple of interfaces that limit things to 4k, but labels on files on disk could be even larger than that! 255 will fit most every label, but not necessarily all of them. I know ext4 on Fedora allocates inodes which left about 255 bytes for

Re: [PATCH] efivarfs: fix abnormal GUID in variable name by using strcpy to replace null with dash

2013-03-01 Thread Matt Fleming
On Fri, 2013-03-01 at 11:20 +0800, Lee, Chun-Yi wrote: From: Michael Schroeder m...@suse.com On HP z220 system (firmware version 1.54), some EFI variables are incorrectly named : ls -d /sys/firmware/efi/vars/*8be4d* | grep -v -- -8be returns

RE: [PATCH 6/6] Drivers: hv: Execute shutdown in a thread context

2013-03-01 Thread KY Srinivasan
-Original Message- From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] Sent: Thursday, January 24, 2013 12:18 PM To: KY Srinivasan Cc: Jiri Kosina; o...@aepfle.de; jasow...@redhat.com; linux- ker...@vger.kernel.org; james.bottom...@hansenpartnership.com;

Re: [PATCH 1/2] x86: change names of e820 memory map type

2013-03-01 Thread H. Peter Anvin
Irrelevant. li guang lig.f...@cn.fujitsu.com wrote: gratuitous? It was inspired by gtk library's key definitions, gtk original keys like GDK_1, GDK_2, GDK_p, GDK_q, GDK_tab ... now they all be changed to GDK_KEY_1, GDK_KEY_2 ... do you think it's reasonable? or gratuitous? 在 2013-02-28四的

Re: IMA: How to manage user space signing policy with others

2013-03-01 Thread Vivek Goyal
On Fri, Mar 01, 2013 at 07:15:07AM -0500, Mimi Zohar wrote: On Thu, 2013-02-28 at 20:49 -0500, Mimi Zohar wrote: On Thu, 2013-02-28 at 17:20 -0500, Eric Paris wrote: The ima_tcb policy was meant to be larger than needed to determine a trusted computing base, but it is clearly not a

Re: [PATCH 3/9] printk: add CON_ALLDATA console flag

2013-03-01 Thread Borislav Petkov
On Fri, Mar 01, 2013 at 10:08:00AM -0500, Jeff Moyer wrote: People don't just use this for debugging sessions. They use it in production, and I already gave you one reason why you might not want to do this with netconsole (udp is unreliable, and I've definitely seem cases where netconsole

RE: [PATCH 2/8] Thermal: Create zone level APIs

2013-03-01 Thread R, Durgadoss
-Original Message- From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- ow...@vger.kernel.org] On Behalf Of Eduardo Valentin Sent: Friday, March 01, 2013 1:00 AM To: R, Durgadoss Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; hongbo.zh...@linaro.org;

RE: [PATCH 3/8] Thermal: Add APIs to bind cdev to new zone structure

2013-03-01 Thread R, Durgadoss
-Original Message- From: Eduardo Valentin [mailto:eduardo.valen...@ti.com] Sent: Friday, March 01, 2013 1:06 AM To: R, Durgadoss Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; hongbo.zh...@linaro.org; w...@nvidia.com Subject: Re: [PATCH 3/8] Thermal: Add

RE: [PATCH 4/8] Thermal: Add trip point sysfs nodes for sensor

2013-03-01 Thread R, Durgadoss
-Original Message- From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- ow...@vger.kernel.org] On Behalf Of Eduardo Valentin Sent: Friday, March 01, 2013 1:21 AM To: R, Durgadoss Cc: Zhang, Rui; linux...@vger.kernel.org; linux-kernel@vger.kernel.org; hongbo.zh...@linaro.org;

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-03-01 Thread H. Peter Anvin
If NUMAQ is breaking real stuff we can kill it by marking it BROKEN. Rip-out is 3.10 at this stage. Ingo Molnar mi...@kernel.org wrote: * Borislav Petkov b...@alien8.de wrote: On Thu, Feb 28, 2013 at 10:37:10PM -0800, H. Peter Anvin wrote: I'd be very happy to get the NUMAQ code ripped

Re: For review: pid_namespaces(7) man page

2013-03-01 Thread Eric W. Biederman
Michael Kerrisk (man-pages) mtk.manpa...@gmail.com writes: Hi Rob, On Fri, Mar 1, 2013 at 5:01 AM, Rob Landley r...@landley.net wrote: On 02/28/2013 05:24:07 AM, Michael Kerrisk (man-pages) wrote: [...] DESCRIPTION For an overview of namespaces, see namespaces(7). PID

Re: security_inode_init_security() inode field requirements

2013-03-01 Thread Steven Whitehouse
Hi, On Fri, 2013-03-01 at 10:13 -0500, Eric Paris wrote: SELinux has no maximum :-( Realistically there are a couple of interfaces that limit things to 4k, but labels on files on disk could be even larger than that! 255 will fit most every label, but not necessarily all of them. I

Re: [GIT PULL] ext4 updates for 3.9

2013-03-01 Thread Eric Sandeen
On 2/27/13 2:58 PM, Dmitry Monakhov wrote: On Wed, 27 Feb 2013 14:29:07 -0500, Theodore Ts'o ty...@mit.edu wrote: On Wed, Feb 27, 2013 at 02:19:23PM -0500, Dave Jones wrote: Looks like it's fixed here too. How did this make it through -next without anyone hitting it ? I can't remember how

Re: [PATCH 3/9] printk: add CON_ALLDATA console flag

2013-03-01 Thread Jeff Moyer
Borislav Petkov b...@alien8.de writes: On Fri, Mar 01, 2013 at 10:08:00AM -0500, Jeff Moyer wrote: People don't just use this for debugging sessions. They use it in production, and I already gave you one reason why you might not want to do this with netconsole (udp is unreliable, and I've

Re: sched: CPU #1's llc-sibling CPU #0 is not on the same node!

2013-03-01 Thread H. Peter Anvin
On 02/28/2013 11:55 PM, Yinghai Lu wrote: Let me try again: movablemem_map is broken idea or poor design. Very much so. I have said this before: this is potentially useful during development/testing, but anyone who expects to actually tell their customers to use it is abusive.

ncurses detection for nconfig/menuconfig patches revised

2013-03-01 Thread jlec
Hello, After the discussion I modified the patches to respect following things 1. Don't remove the legacy detection 2. use helpers in following order: pkg-config, ncurses5-config, ncurses6-config, old heuristic 3. only support the wide char implementation for menuconfig Regards,

Re: [GIT] x86 platform driver bugfixes for 3.8

2013-03-01 Thread Bjørn Mork
Bjørn Mork bj...@mork.no writes: Matthew Garrett matthew.garr...@nebula.com writes: This set covers regressions and two obvious bugfixes. The rest can wait for 3.9. Sorry for nagging, but I assume the 3.9 merge window will close over the weekend and I haven't seen the pull request for the

[PATCH 1/2] menuconfig: use config scripts to detect ncurses libs

2013-03-01 Thread jlec
From: Justin Lecher j...@gentoo.org When building ncurses with --with-termlib several symbols get moved from libncurses.so to libtinfo.so. Thus when linking with libncurses.so, one additionally needs to link with libtinfo.so. Ncurses provides a config script (ncurses5-config) or in very recent

[PATCH 2/2] kconfig: use config scripts to detect ncurses libs

2013-03-01 Thread jlec
From: Justin Lecher j...@gentoo.org When building ncurses with --with-termlib several symbols get moved from libncurses.so to libtinfo.so. Thus when linking with libncurses.so, one additionally needs to link with libtinfo.so. Ncurses provides a config script (ncurses5-config) or in very recent

Re: linux-next: build warning after merge of the char-misc tree

2013-03-01 Thread Sedat Dilek
On Fri, Feb 15, 2013 at 9:05 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 15 February 2013, Greg KH wrote: On Fri, Feb 15, 2013 at 04:26:57PM +1100, Stephen Rothwell wrote: After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) produced this warning:

Re: [PATCH] xfs: Fix possible truncation of log data in xlog_bread_noalign()

2013-03-01 Thread Mark Tinguely
On 02/26/13 01:28, Tony Lu wrote: I get a reliable way to reproduce this bug. The logprint and metadump are attached. Kernel version: 2.6.38.8 Mkfs.xfs version: xfsprogs-3.1.1 mkfs.xfs -s size=4096 /dev/sda1 Run the following mount-cp-umount script to reproduce: #!/bin/sh device=/dev/sda1

Re: [PATCH 3/9] printk: add CON_ALLDATA console flag

2013-03-01 Thread Borislav Petkov
On Fri, Mar 01, 2013 at 10:42:16AM -0500, Jeff Moyer wrote: I don't think you've provided a very strong case for ignoring the Maybe you should've looked at the 5/9 commit message - there's your strong case. administrator's configuration settings. I'm against the patches that introduce this

[PATCH] x86, efi: Make efi_memblock_x86_reserve_range more readable

2013-03-01 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de So basically this function copies EFI memmap stuff from boot_params into the EFI memmap descriptor and reserves memory for it. Make it much more readable. Signed-off-by: Borislav Petkov b...@suse.de --- arch/x86/platform/efi/efi.c | 19 ++- 1

Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o

2013-03-01 Thread werner
That should be corrected, even if it's a problem of the CC version / libries, or not, compilation can't depend on this, code can't be so non-standard that it depends on the compiler version. wl = The problem continues with 3.8-rc This is grave, no

Re: Linux 3.8-rc1: compiling problem in perf-event-p6.o

2013-03-01 Thread Linus Torvalds
On Fri, Mar 1, 2013 at 7:08 AM, werner w.landg...@ru.ru wrote: That should be corrected, even if it's a problem of the CC version / libries, or not, compilation can't depend on this, code can't be so non-standard that it depends on the compiler version. The __devinit is removed in current

[PATCH 0/5] context_tracking: Fixes and improvements

2013-03-01 Thread Frederic Weisbecker
Hi, Here is a bunch of patches preview for 3.10 Thanks. Frederic Weisbecker (5): context_tracking: Move exception handling to generic code context_tracking: Restore correct previous context state on exception exit context_tracking: Restore preempted context state after

[PATCH 1/5] context_tracking: Move exception handling to generic code

2013-03-01 Thread Frederic Weisbecker
Exceptions handling on context tracking should share common treatment: on entry we exit user mode if the exception triggered in that context. Then on exception exit we return to that previous context. Generalize this to avoid duplication across archs. Signed-off-by: Frederic Weisbecker

[PATCH 2/5] context_tracking: Restore correct previous context state on exception exit

2013-03-01 Thread Frederic Weisbecker
On exception exit, we restore the previous context tracking state based on the regs of the interrupted frame. Iff that frame is in user mode as stated by user_mode() helper, we restore the context tracking user mode. However there is a tiny chunck of low level arch code after we pass through

[PATCH 4/5] cputime: Dynamically scale cputime for full dynticks accounting

2013-03-01 Thread Frederic Weisbecker
The full dynticks cputime accounting is able to account either using the tick or the context tracking subsystem. This way the housekeeping CPU can keep the low overhead tick based solution. This latter mode has a low jiffies resolution granularity and need to be scaled against CFS precise runtime

[PATCH 5/5] context_tracking: Enable probes by default for selftesting

2013-03-01 Thread Frederic Weisbecker
Until we provide the nohz_mask boot parameter, keeping the context tracking probes disabled by default is pointless since what we want is to runtime test this code anyway. It's furthermore confusing for the users which don't expect the probes to be off when they select RCU user mode or full

[PATCH 3/5] context_tracking: Restore preempted context state after preempt_schedule_irq()

2013-03-01 Thread Frederic Weisbecker
From the context tracking POV, preempt_schedule_irq() behaves pretty much like an exception: It can be called anytime and schedule another task. But currently it doesn't restore the context tracking state of the preempted code on preempt_schedule_irq() return. As a result, if

Re: [PATCH 6/6] Drivers: hv: Execute shutdown in a thread context

2013-03-01 Thread gre...@linuxfoundation.org
On Fri, Mar 01, 2013 at 03:15:58PM +, KY Srinivasan wrote: Execute the shutdown code in a thread context. With recent changes made the shutdown code, shutdown code cannot be invoked from an interrupt context. Signed-off-by: K. Y. Srinivasan k...@microsoft.com

Re: [PATCH 5/9] blockconsole: use CON_ALLDATA

2013-03-01 Thread Jeff Moyer
Joern Engel jo...@logfs.org writes: Blockconsole should really see every message ever printed. The alternative is to try debugging with information like this: [166135.633974] Stack: [166135.634016] Call Trace: [166135.634029] IRQ [166135.634156] EOI [166135.634177] Code: 00 00 55 48 89

Re: [GIT PULL] Final round of SCSI updates for the 3.8+ merge window

2013-03-01 Thread Bart Van Assche
On 03/01/13 10:19, James Bottomley wrote: This is an assorted set of stragglers into the merge window with driver updates for qla2xxx, megaraid_sas, storvsc and ufs. It also includes pulls of the uapi tree (all the remaining SCSI pieces) and the fcoe tree (updates to fcoe and libfc) Hello

Re: [RFC][PATCH 00/30] staging: Android sync driver

2013-03-01 Thread Erik Gilling
On Thu, Feb 28, 2013 at 5:59 PM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Feb 28, 2013 at 04:42:56PM -0800, John Stultz wrote: Erik also provided a nice background on the patch set in his reply yesterday, which I'll quote here: Mind if I put that in the 1/30 changelog body for future

RE: [PATCH 1/6 v8] iommu/fsl: Store iommu domain information pointer in archdata.

2013-03-01 Thread Yoder Stuart-B08248
-Original Message- From: Alexey Kardashevskiy [mailto:a...@ozlabs.ru] Sent: Friday, March 01, 2013 4:07 AM To: Sethi Varun-B16395 Cc: Kumar Gala; Benjamin Herrenschmidt; io...@lists.linux-foundation.org; linuxppc-...@lists.ozlabs.org list; linux-kernel@vger.kernel.org list; Wood

Re: upgrade to 3.8.1 : BUG Scheduling while atomic in bonding driver:

2013-03-01 Thread Eric Dumazet
On Fri, 2013-03-01 at 00:15 -0800, Linda Walsh wrote: Just installed 3.8.1 Thought this had been fixed? Note it causes the kernel to show up as tainted after the 1st... CC netdev Jay Vosburgh Jeff Kirsher As the system was coming up and initializing the bond0 driver: [

Re: [PATCH] libata-acpi.c: fix copy and paste mistake in ata_acpi_register_power_resource

2013-03-01 Thread Rafael J. Wysocki
On Friday, March 01, 2013 12:16:42 PM Sander Eikelenboom wrote: Fix a copy and paste mistake introduced in: commit bc9b6407bd6df3ab7189e5622816bbc11ae9d2d8 ACPI / PM: Rework the handling of devices depending on power resources Signed-off-by: Sander Eikelenboom li...@eikelenboom.it

Re: [PATCH 10/30] staging: sync: Export sync API symbols

2013-03-01 Thread Erik Gilling
On Fri, Mar 1, 2013 at 5:55 AM, Greg KH gre...@linuxfoundation.org wrote: On Fri, Mar 01, 2013 at 12:21:24AM -0800, Erik Gilling wrote: As John pointed out, the exynos and msm display and code uses them. I know nvidia is working on adding suport to their tegra tree. My knee jerk reaction is

Re: [PATCH v13 1/8] save/load cpu runstate

2013-03-01 Thread Eric Blake
On 03/01/2013 12:36 AM, Hu Tao wrote: On Thu, Feb 28, 2013 at 02:12:37PM -0700, Eric Blake wrote: On 02/28/2013 05:13 AM, Hu Tao wrote: This patch enables preservation of cpu runstate during save/load vm. So when a vm is restored from snapshot, the cpu runstate is restored, too. What

Re: [Intel-gfx] [git pull] drm merge for 3.9-rc1

2013-03-01 Thread Sedat Dilek
On Thu, Feb 28, 2013 at 6:59 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Thu, Feb 28, 2013 at 6:33 PM, Paulo Zanoni przan...@gmail.com wrote: Hi 2013/2/28 Sedat Dilek sedat.di...@gmail.com: On Thu, Feb 28, 2013 at 6:12 PM, Sedat Dilek sedat.di...@gmail.com wrote: On Thu, Feb 28, 2013 at

Re: [PATCH] efivarfs: fix abnormal GUID in variable name by using strcpy to replace null with dash

2013-03-01 Thread Matt Fleming
On Fri, 2013-03-01 at 15:17 +, Matt Fleming wrote: On Fri, 2013-03-01 at 11:20 +0800, Lee, Chun-Yi wrote: From: Michael Schroeder m...@suse.com On HP z220 system (firmware version 1.54), some EFI variables are incorrectly named : ls -d /sys/firmware/efi/vars/*8be4d* | grep -v

Re: [PATCH v13 5/8] add a new qevent: QEVENT_GUEST_PANICKED

2013-03-01 Thread Eric Blake
On 02/28/2013 05:13 AM, Hu Tao wrote: This event will be emited when the guest is panicked. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- include/monitor/monitor.h | 1 + monitor.c | 1 + 2 files changed, 2 insertions(+) Missing documentation in QMP/qmp-events.txt

[PATCHv2] perf: Fix vmalloc ring buffer free function

2013-03-01 Thread Jiri Olsa
If we allocate perf ring buffer with the size of single page, we will get memory corruption when releasing it. It's caused by rb_free_work function (CONFIG_PERF_USE_VMALLOC option). For single page sized ring buffer the page_order is -1 (because nr_pages is 0). This needs to be recognized in the

[PATCH 09/15] perf tests: Add attr stat -C cpu test

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding test to validate perf_event_attr data for command: 'stat -C 0' Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar

[PATCH 06/15] perf tests: Make attr script verbose friendly

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Making the attr test script runner to pass proper verbose option. Also making single '-v' be more reader friendly and display just the test name. Making the current output to be display for '-vv'. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford

[PATCH 07/15] perf tests: Make attr script test event cpu

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Make attr script to check for 'cpu' when testing event properties. This will allow us to check the '-C X' option for both record and stat commands. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern

[PATCH 04/15] perf tools: Correct Makefile.include

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov b...@suse.de It looks at O= and adjusts the $(OUTPUT) variable based on what the output directory will be. However, when O is defined but empty, it wrongly becomes the user's $HOME dir which is not what we want. So check it is not empty before working with it further.

[PATCH 10/15] perf record: Fix -C option

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Currently the -C option does not work for record command, because of the targets mismatch when synthesizing threads. Fixing this by using proper target interface for the synthesize decision. Signed-off-by: Jiri Olsa jo...@redhat.com Reported-by: Oleg Nesterov

[PATCH] x86: Expose loops_per_jiffy through /proc/cpuinfo.

2013-03-01 Thread Richard W.M. Jones
From: Richard W.M. Jones rjo...@redhat.com When we run the current kernel using qemu with TCG (software emulation of x86), adding the lpj= option to the guest kernel helps greatly with clock stability especially when the host is heavily loaded. Currently the calculated 'lpj=...' argument is

[GIT PULL 00/15] perf/core improvements and fixes

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@ghostprotocols.net Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit e259514eef764a5286873618e34c560ecb6cff13: perf/x86/amd: Enable northbridge performance counters on AMD family 15h (2013-02-16 09:37:27 +0100) are

[PATCH 15/15] perf report: Fix build with NO_NEWT=1

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman mich...@ellerman.id.au Commit ad0de09 Enable the runtime switching of perf data file broke the build with NO_NEWT=1: CC builtin-report.o builtin-report.c: In function '__cmd_report': builtin-report.c:479:15: error: 'K_SWITCH_INPUT_DATA' undeclared (first use in this

[PATCH 13/15] tools/vm: Switch to liblk library

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov b...@suse.de page-flags.c had some older version of debugfs_mount copied from perf so convert it to using the version in the tools library. Signed-off-by: Borislav Petkov b...@suse.de Cc: Ingo Molnar mi...@kernel.org Cc: Steven Rostedt rost...@goodmis.org Cc: Wu Fengguang

[PATCH 08/15] perf tests: Add attr record -C cpu test

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding test to validate perf_event_attr data for command: 'record -C 0' Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar

[PATCH 02/15] perf tools: Remove a write-only variable in the debugfs code

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov b...@suse.de debugfs_premounted is written-to only so drop it. This functionality is covered by debugfs_found now. Make it a bool while at it. Signed-off-by: Borislav Petkov b...@suse.de Cc: Ingo Molnar mi...@kernel.org Cc: Steven Rostedt rost...@goodmis.org Link:

[PATCH 11/15] perf tools: Introduce tools/lib/lk library

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov b...@suse.de This introduces the tools/lib/lk library, that will gradually have the routines that now are used in tools/perf/ and other tools and that can be shared. Start by carving out debugfs routines for general use. Signed-off-by: Borislav Petkov b...@suse.de Cc: Ingo

[PATCH 05/15] perf tools: Sort command-list.txt alphabetically

2013-03-01 Thread Arnaldo Carvalho de Melo
From: liguang lig.f...@cn.fujitsu.com Signed-off-by: liguang lig.f...@cn.fujitsu.com Cc: Ingo Molnar mi...@redhat.com Cc: Jiri Olsa jo...@redhat.com Cc: Namhyung Kim namhy...@kernel.org Cc: Paul Mackerras pau...@samba.org Cc: Pekka Enberg penb...@kernel.org Cc: Peter Zijlstra

[PATCH 01/15] perf tools: check if -DFORTIFY_SOURCE=2 is allowed

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Marcin Slusarz marcin.slus...@gmail.com It seems gcc (4.7.2) defines _FORTIFY_SOURCE internally and becomes confused when it sees another definition in flags. For me, build failed like this: CHK glibc Makefile:548: *** No gnu/libc-version.h found, please install

[PATCH 12/15] perf tools: Extract perf-specific stuff from debugfs.c

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov b...@suse.de Move them to util.c and simplify code a bit. Signed-off-by: Borislav Petkov b...@suse.de Cc: Ingo Molnar mi...@kernel.org Cc: Steven Rostedt rost...@goodmis.org Link: http://lkml.kernel.org/r/1361374353-30385-6-git-send-email...@alien8.de Signed-off-by: Arnaldo

[PATCH 14/15] perf annotate: Fix build with NO_NEWT=1

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman mich...@ellerman.id.au Commit 18c9e5c Make it to be able to skip unannotatable symbols broke the build with NO_NEWT=1: CC builtin-annotate.o builtin-annotate.c: In function 'hists__find_annotations': builtin-annotate.c:161:4: error: duplicate case value

[PATCH 03/15] perf tools: Honor parallel jobs

2013-03-01 Thread Arnaldo Carvalho de Melo
From: Borislav Petkov b...@suse.de We need to hand down parallel build options like the internal make --jobserver-fds one so that parallel builds can also happen when building perf from the toplevel directory. Make it so #1! Signed-off-by: Borislav Petkov b...@suse.de Cc: Ingo Molnar

Re: [GIT] x86 platform driver bugfixes for 3.8

2013-03-01 Thread Matthew Garrett
On Fri, 2013-03-01 at 14:36 +0100, Bjørn Mork wrote: Matthew Garrett matthew.garr...@nebula.com writes: This set covers regressions and two obvious bugfixes. The rest can wait for 3.9. Sorry for nagging, but I assume the 3.9 merge window will close over the weekend and I haven't seen

Re: [PATCH] x86: Expose loops_per_jiffy through /proc/cpuinfo.

2013-03-01 Thread Richard W.M. Jones
Ignore this patch, it's obviously wrong. Too late in the afternoon ... Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported.

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-03-01 Thread Greg KH
On Wed, Feb 13, 2013 at 02:12:50PM -0800, Sarah Sharp wrote: On Wed, Feb 13, 2013 at 01:31:29PM -0800, Greg KH wrote: On Wed, Feb 13, 2013 at 01:08:46PM -0800, Sarah Sharp wrote: On Wed, Feb 13, 2013 at 09:04:13PM +0100, Matthias Schniedermeyer wrote: On 13.02.2013 11:33, Sarah Sharp

Re: [-rc7 regression] Buggy commit: mm: use aligned zone start for pfn_to_bitidx calculation

2013-03-01 Thread Greg KH
On Sat, Feb 16, 2013 at 09:29:54AM +0100, Ingo Molnar wrote: * Greg KH g...@kroah.com wrote: On Fri, Feb 15, 2013 at 12:44:26PM +0100, Ingo Molnar wrote: [ Greg: -stable was Cc:-ed for this potentially buggy commit. ] * Yinghai Lu ying...@kernel.org wrote: On Thu, Feb

[GIT PULL] late arch/metag fixes for v3.9-rc1

2013-03-01 Thread James Hogan
Hi Linus, Please pull the following changes in addition to my previous arch/metag pull request. See the tag (below) for details. The shortlog is a bit inflated unfortunately as it includes the previous pull request too. I've marked where the new changes begin though. Thanks James The following

[PATCH v4 2/2] i2c: pxa: Use i2c-core to get bus number now

2013-03-01 Thread Doug Anderson
The commit: i2c-core: dt: Pick i2c bus number from i2c alias if present adds support for automatically picking the bus number based on the alias ID. Remove the now unnecessary code from i2c-pxa that did the same thing. Signed-off-by: Doug Anderson diand...@chromium.org --- Changes in v4: None

[PATCH v4 0/2] Add automatic bus number support for i2c busses with device tree

2013-03-01 Thread Doug Anderson
This was suggested by Mark Brown in response to a patch for adding this functionality only for the s3c2410 bus: https://lkml.org/lkml/2012/11/20/681 I have also modified the i2c-pxa driver to use this new functionality. The i2c-pxa driver changes have only been compile-tested and are just for

Re: [PATCH 2/2] kconfig: use config scripts to detect ncurses libs

2013-03-01 Thread Sven Joachim
On 2013-03-01 14:47 +0100, justin wrote: On 01/03/13 09:36, Sven Joachim wrote: Historically it seems to be an accident, and the ncurses{w,5}-config scripts should have better been shipped in their development packages. But nowadays we want to make the development packages multiarch-aware,

[PATCH v4 1/2] i2c-core: dt: Pick i2c bus number from i2c alias if present

2013-03-01 Thread Doug Anderson
This allows you to get the equivalent functionality of i2c_add_numbered_adapter() with all data in the device tree and no special case code in your driver. This is a common device tree technique. For quick reference, the FDT syntax for using an alias to provide an ID looks like: aliases {

Re: [PATCH] x86: Expose loops_per_jiffy through /proc/cpuinfo.

2013-03-01 Thread Richard W.M. Jones
On Fri, Mar 01, 2013 at 04:46:43PM +, Richard W.M. Jones wrote: Ignore this patch, it's obviously wrong. Too late in the afternoon ... Actually, NOT wrong. You can't get HZ from userspace, so exporting loops_per_jiffy like this is necessary. Rich. -- Richard Jones, Virtualization Group,

[PATCH v2] gpio: palmas: add in GPIO support for palmas charger

2013-03-01 Thread Ian Lartey
Palmas charger has 16 GPIOs add palmas_gpio_[read|write|update] api to take account second bank of GPIOs Signed-off-by: Ian Lartey i...@slimlogic.co.uk Signed-off-by: Graeme Gregory g...@slimlogic.co.uk --- drivers/gpio/gpio-palmas.c | 75 ---

Re: [-rc7 regression] Buggy commit: mm: use aligned zone start for pfn_to_bitidx calculation

2013-03-01 Thread Linus Torvalds
On Fri, Mar 1, 2013 at 8:50 AM, Greg KH gre...@linuxfoundation.org wrote: What ever happened with this? Did something go into Linus's tree to resolve this issue that I need to pull into a stable release? This was fixed by commit 7c45512df987 (mm: fix pageblock bitmap allocation). And you

Re: [-rc7 regression] Buggy commit: mm: use aligned zone start for pfn_to_bitidx calculation

2013-03-01 Thread Greg KH
On Fri, Mar 01, 2013 at 09:07:52AM -0800, Linus Torvalds wrote: On Fri, Mar 1, 2013 at 8:50 AM, Greg KH gre...@linuxfoundation.org wrote: What ever happened with this? Did something go into Linus's tree to resolve this issue that I need to pull into a stable release? This was fixed by

Re: [PATCH 0/9] Add blockconsole version 1.1 (try 2)

2013-03-01 Thread Takashi Iwai
At Thu, 28 Feb 2013 16:39:53 -0500, Joern Engel wrote: Blockconsole is a console driver very roughly similar to netconsole. Instead of sending messages out via UDP, they are written to a block device. Typically a USB stick is chosen, although in principle any block device will do. In

[GIT] CIFS Fixes

2013-03-01 Thread Steve French
Four cifs fixes (including for kernel bug #53221 and samba bug #9519) The following changes since commit 309667e53fcfd8e0b423280b6ea5a648fd92166c: Merge branch 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild (2013-02-27 12:28:30 -0800) are available in the git

Re: linux-next: build warning after merge of the char-misc tree

2013-03-01 Thread Arnd Bergmann
On Friday 01 March 2013, Sedat Dilek wrote: I have seen a lot of such failures when using the Freetz (a small router project) build-system with gcc-4.7-x where -Os is default optimization-level. Last, when I tried to integrate ltrace GIT snapshots into Freetz. All these build-errors could

[PATCH 1/3] blockconsole: Fix undefined MAX_RT_PRIO

2013-03-01 Thread Takashi Iwai
Signed-off-by: Takashi Iwai ti...@suse.de --- drivers/block/blockconsole.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/blockconsole.c b/drivers/block/blockconsole.c index e88b8ee..c22272f 100644 --- a/drivers/block/blockconsole.c +++ b/drivers/block/blockconsole.c @@ -16,6

[PATCH 2/3] blockconsole: Rename device_lock with bc_device_lock

2013-03-01 Thread Takashi Iwai
Avoid the name conflict with device_lock() defined in linux/device.h. Signed-off-by: Takashi Iwai ti...@suse.de --- drivers/block/blockconsole.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/block/blockconsole.c b/drivers/block/blockconsole.c index

[PATCH 3/3] blockconsole: Mark a local work struct static

2013-03-01 Thread Takashi Iwai
Signed-off-by: Takashi Iwai ti...@suse.de --- drivers/block/blockconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/blockconsole.c b/drivers/block/blockconsole.c index 147b8af..86744cc 100644 --- a/drivers/block/blockconsole.c +++

[PATCH] irq: add quirk for broken interrupt remapping on 55XX chipsets

2013-03-01 Thread Neil Horman
A few years back intel published a spec update: http://www.intel.com/content/dam/doc/specification-update/5520-and-5500-chipset-ioh-specification-update.pdf For the 5520 and 5500 chipsets which contained an errata (specificially errata 53), which noted that these chipsets can't properly do

Re: [PATCH 3/9] printk: add CON_ALLDATA console flag

2013-03-01 Thread Jörn Engel
On Fri, 1 March 2013 10:08:00 -0500, Jeff Moyer wrote: People don't just use this for debugging sessions. They use it in production, and I already gave you one reason why you might not want to do this with netconsole (udp is unreliable, and I've definitely seem cases where netconsole

[PATCH] lglock: add read-preference local-global rwlock

2013-03-01 Thread Lai Jiangshan
From c63f2be9a4cf7106a521dda169a0e14f8e4f7e3b Mon Sep 17 00:00:00 2001 From: Lai Jiangshan la...@cn.fujitsu.com Date: Mon, 25 Feb 2013 23:14:27 +0800 Subject: [PATCH] lglock: add read-preference local-global rwlock Current lglock is not read-preference, so it can't be used on some cases which

Re: [PATCH] mv643xx_eth: Fix a possible deadlock upon ifdown

2013-03-01 Thread Alexander Holler
Am 04.01.2013 21:25, schrieb Lennert Buytenhek: On Fri, Jan 04, 2013 at 03:07:02PM +0100, Lubomir Rintel wrote: From: Lubomir Rintel lubo.rin...@gooddata.com = [ INFO: inconsistent lock state ] 3.7.0-6.luboskovo.fc19.armv5tel.kirkwood #1 Tainted: GW

Re: linux-next: build warning after merge of the char-misc tree

2013-03-01 Thread Sedat Dilek
On Fri, Mar 1, 2013 at 6:16 PM, Arnd Bergmann a...@arndb.de wrote: On Friday 01 March 2013, Sedat Dilek wrote: I have seen a lot of such failures when using the Freetz (a small router project) build-system with gcc-4.7-x where -Os is default optimization-level. Last, when I tried to

<    4   5   6   7   8   9   10   11   12   13   >