Re: [Xen-devel] EFI and multiboot2 devlopment work for Xen

2013-10-23 Thread Jan Beulich
>>> Vladimir 'φ-coder/phcoder' Serbinenko 10/23/13 7:02 PM >>> >>> >> GrUB - which iiuc stays in memory >> after transferring control - could export its file system support to its >> descendants). > >Xen shouldn't need to load any file after multiboot2 entry point. The >needed files would already

Re: Deadlock in BPF JIT functions when running upowerd?

2013-10-23 Thread Darrick J. Wong
On Wed, Oct 23, 2013 at 11:25:13PM -0700, Eric Dumazet wrote: > On Wed, 2013-10-23 at 18:17 -0700, Darrick J. Wong wrote: > > Hi, > > > > I've been observing a softlockup with 3.11.6 and 3.12-rc6. It looks like > > there's a deadlock occurring on purge_lock in __purge_vmap_area_lazy(). In > > sh

Re: [GIT PULL 00/16] perf/core improvements and fixes

2013-10-23 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit aa30a2e03a453aad9fd96c3f2d4a82c3497674e5: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/k

Re: [PATCH] kernel/modsign_certificate.S: use real contents instead of macro GLOBAL()

2013-10-23 Thread Richard Weinberger
Am 24.10.2013 08:26, schrieb Chen Gang: > On 10/24/2013 02:03 PM, Richard Weinberger wrote: > Anyway, maybe it is also the tool chain's bug (so I include related arc > tool chain guys in this mail). That's exactly my point. Before you blindly patch the kernel just to make it somehow build you need

[PATCH v2] Input: add regulator haptic driver

2013-10-23 Thread hyunhee.kim
From: Hyunhee Kim Date: Wed, 9 Oct 2013 16:21:36 +0900 Subject: [PATCH] tizenw: add regulator haptic driver Signed-off-by: Hyunhee Kim Signed-off-by: Kyungmin Park Acked-by: Aristeu Rozanski --- drivers/input/misc/Kconfig| 10 ++ drivers/input/misc/Makefile |1 +

Re: [PATCH] kernel/modsign_certificate.S: use real contents instead of macro GLOBAL()

2013-10-23 Thread Chen Gang
On 10/24/2013 02:03 PM, Richard Weinberger wrote: > On Thu, Oct 24, 2013 at 7:31 AM, Chen Gang wrote: >> For some architectures, tool chain is not smart enough to recognize the >> macro with multiple lines (e.g. arc tool chain), and for common ".S" >> file, this kind of macro is also rarely used.

Re: Deadlock in BPF JIT functions when running upowerd?

2013-10-23 Thread Eric Dumazet
On Wed, 2013-10-23 at 18:17 -0700, Darrick J. Wong wrote: > Hi, > > I've been observing a softlockup with 3.11.6 and 3.12-rc6. It looks like > there's a deadlock occurring on purge_lock in __purge_vmap_area_lazy(). In > short, the BPF JIT code has been changed[1] to call set_memory_r[ow]() when

Re: [PATCH] x86, kdump: crashkernel=X try to reserve below 896M first, then try below 4G, then MAXMEM

2013-10-23 Thread Yinghai Lu
On Mon, Oct 21, 2013 at 8:16 AM, Vivek Goyal wrote: > On Fri, Oct 18, 2013 at 10:45:43PM -0700, Yinghai Lu wrote: > > > IIUC, you are trying to say that with new kernel old kexec-tools will fail > at a different failure point. I don't see why that is a problem. It still > fails. Yes, that could c

Re: Perf Python Scripting Leaks Memory

2013-10-23 Thread Joseph Schuchart
On 23.10.2013 22:01, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu: >>We are using the Python scripting interface in perf to extract kernel >>events relevant for performance analysis of HPC codes. We noticed that the >>"perf script

Re: [PATCH] kernel/modsign_certificate.S: use real contents instead of macro GLOBAL()

2013-10-23 Thread Richard Weinberger
On Thu, Oct 24, 2013 at 7:31 AM, Chen Gang wrote: > For some architectures, tool chain is not smart enough to recognize the > macro with multiple lines (e.g. arc tool chain), and for common ".S" > file, this kind of macro is also rarely used. Does not "not smart enough" mean than the said toolcha

Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-10-23 Thread Eric W. Biederman
Andy Lutomirski writes: > On 10/16/2013 08:52 PM, Eric W. Biederman wrote: >> Al Viro writes: >> >>> On Wed, Oct 16, 2013 at 06:18:16PM -0700, Eric W. Biederman wrote: >>> That doesn't look bad but it does need capable(CAP_SETUID) && capable(CAP_SETGID) or possibly something a little

Re: [BUG][PATCH] audit: audit_log_start running on auditd should not stop

2013-10-23 Thread Gao feng
On 10/24/2013 03:55 AM, Richard Guy Briggs wrote: > On Tue, Oct 15, 2013 at 02:30:34PM +0800, Gao feng wrote: >> Hi Toshiyuki-san, > > Toshiuki and Gao, > >> On 10/15/2013 12:43 PM, Toshiyuki Okajima wrote: >>> The backlog cannot be consumed when audit_log_start is running on auditd >>> even if a

Re: [3.11.4] Thunderbolt/PCI unplug oops in pci_pme_list_scan

2013-10-23 Thread Yinghai Lu
On Tue, Oct 22, 2013 at 8:32 PM, Bjorn Helgaas wrote: > [+cc Yinghai] > > On Thu, Oct 17, 2013 at 7:59 AM, Andreas Noever > wrote: >> On Wed, Oct 16, 2013 at 10:21 PM, Bjorn Helgaas wrote: >>> On Tue, Oct 15, 2013 at 03:44:52AM +0100, Matthew Garrett wrote: On Mon, Oct 14, 2013 at 05:50:38P

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-23 Thread Eric W. Biederman
Vivek Goyal writes: > Hi Hatayama, > > So what information should I look for to prepare disable_cpu_apic=X in > kdump script? > > Is BSP processor info exported to user space somewhere? Or assuming that > processor 0 is BSP and corresponding apicid should be disabled in kdump > kernel is good eno

Re: [PATCH v4 2/3] Support for perf to probe into SDT markers:

2013-10-23 Thread Masami Hiramatsu
(2013/10/23 14:05), Hemant Kumar wrote: > This allows perf to probe into the sdt markers/notes present in > the libraries and executables. We try to find the associated location > and handle prelinking (since, stapsdt notes section is not allocated > during runtime). Prelinking is handled with the

Re: [RFC PATCH] kernel/kallsyms.c: only show legal kernel symbol

2013-10-23 Thread Ming Lei
On Thu, Oct 24, 2013 at 9:21 AM, Rusty Russell wrote: > Ming Lei writes: >> Address of non-module kernel symbol should always be located >> from CONFIG_PAGE_OFFSET on, so only show these legal kernel >> symbols in /proc/kallsyms. >> >> On ARM, some symbols(see below) may drop in relocatable code,

[PATCH 0/2] Staging: vt6656: fix two coding style issues

2013-10-23 Thread Johannes Löthberg
This patchset fixes two coding style issues reported by checkpatch.pl in drivers/staging/vt6656, one warning and one error Johannes Löthberg (2): Staging: vt6656: fix a brace coding style issue in power.c Staging: vt6656: fix code indenting error in power.c drivers/staging/vt6656/power.c | 5

[PATCH 1/2] Staging: vt6656: fix a brace coding style issue in power.c

2013-10-23 Thread Johannes Löthberg
This patch fixes a brace warning in power.c found by checkpatch.pl Signed-off-by: Johannes Löthberg --- drivers/staging/vt6656/power.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/vt6656/power.c b/drivers/staging/vt6656/power.c index edc8975..3002061 1006

[PATCH 2/2] Staging: vt6656: fix code indenting error in power.c

2013-10-23 Thread Johannes Löthberg
This patch fixes a code indentation error found by checkpatch.pl where a line was indented with spaces instead of tabs Signed-off-by: Johannes Löthberg --- drivers/staging/vt6656/power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vt6656/power.c b/drivers/

[PATCH] kernel/modsign_certificate.S: use real contents instead of macro GLOBAL()

2013-10-23 Thread Chen Gang
For some architectures, tool chain is not smart enough to recognize the macro with multiple lines (e.g. arc tool chain), and for common ".S" file, this kind of macro is also rarely used. So expand the related contents of macro to let it pass compiling (can use "arc-elf32-objdump -x" to know about

Re: [PATCH] reiserfs: remove duplicate define

2013-10-23 Thread Michael Opdenacker
Hi Jan, Thank you for your review! On 10/23/2013 11:50 AM, Jan Kara wrote: > On Mon 21-10-13 09:54:57, Michael Opdenacker wrote: >> This patch removes a duplicate define in fs/reiserfs/reiserfs.h > Hum, so the duplicate define certainly isn't nice but it's really a > result of a namespace colli

[PATCH] scripts/checkkconfig.py: find unused Kconfig parameters

2013-10-23 Thread Michael Opdenacker
This is the first version of a script to look for Kconfig parameters which are still defined but no longer used in the kernel source code. The script may be extended in the future to perform more checks. This explains why a rather generic name was chosen. Several issues have already been reported

Re: [RFC] Does PHY UTMI data width belong to DWC2 or PHY binding?

2013-10-23 Thread Kishon Vijay Abraham I
Hi, On Wednesday 23 October 2013 08:12 PM, Matt Porter wrote: > On Tue, Oct 22, 2013 at 04:38:52PM -0500, Rob Herring wrote: >> On 10/22/2013 06:25 AM, Matt Porter wrote: >>> On Tue, Oct 22, 2013 at 12:48:29PM +0200, Matthijs Kooijman wrote: Hi Kishon, On Mon, Oct 21, 2013 at 02:57:

Re: [PATCH 0/63] Basic scheduler support for automatic NUMA balancing V8

2013-10-23 Thread Chegu Vinod
Mel Gorman suse.de> writes: > > Weighing in at 63 patches makes the term "basic" in the series title is > a misnomer. > > This series still has roughly the same goals as previous versions. It > reduces overhead of automatic balancing through scan rate reduction > and the avoidance of TLB flushe

Re: [tpmdd-devel] [PATCH] tpm: MAINTAINERS: Add myself as tpm maintainer

2013-10-23 Thread Joel Schopp
> These would have been posted as patch numbers 8 through 13 in the > original series. > > I think what happened is at this point in the series module compile > broke. That is fixed now in the for-james pull, so the rest of the > series should be looked at. > > Peter's checkpatch clean up will c

Re: Re: [tpmdd-devel] [PATCH] tpm: MAINTAINERS: Add myself as tpm maintainer

2013-10-23 Thread Jason Gunthorpe
On Wed, Oct 23, 2013 at 11:01:19PM -0500, Ashley Lai wrote: > > > Agreed, there are still lots of patches to go before the subsystem > > meets the current kernel standard.. > > > > Speaking of which, has anyone looked at the rest of my series?? Shall > > I repost it? > > Jason, > Are you refer

Re: [PATCH 3/3] sched: Aggressive balance in domains whose groups share package resources

2013-10-23 Thread Preeti U Murthy
Hi Peter, On 10/23/2013 03:53 AM, Peter Zijlstra wrote: > On Mon, Oct 21, 2013 at 05:15:02PM +0530, Vaidyanathan Srinivasan wrote: >> kernel/sched/fair.c | 18 ++ >> 1 file changed, 18 insertions(+) >> >> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >> index 828ed97..b

Re: Re: [tpmdd-devel] [PATCH] tpm: MAINTAINERS: Add myself as tpm maintainer

2013-10-23 Thread Ashley Lai
> Agreed, there are still lots of patches to go before the subsystem > meets the current kernel standard.. > > Speaking of which, has anyone looked at the rest of my series?? Shall > I repost it? Jason, Are you referring to the for-tpm branch on github? https://github.com/jgunthorpe/linux/comm

[PATCH] arc: kernel: kgdb: add default implementation for kgdb_roundup_cpus()

2013-10-23 Thread Chen Gang
arc supports kgdb, but need update -- add function kgdb_roundup_cpus(), or can not pass compiling. At present, add the simple generic one just like other architectures(e.g. tile, mips ...). The related error (with allmodconfig): kernel/built-in.o: In function `kgdb_cpu_enter': kernel/debug/de

RE: [f2fs-dev] [PATCH] f2fs: check all ones or zeros bitmap with integer data type for better mount performance

2013-10-23 Thread Chao Yu
Hi Kim, > -Original Message- > From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] > Sent: Wednesday, October 23, 2013 5:32 PM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; '谭姝' > Subject: RE: [f2fs-dev] [PATCH] f2

Re: Re: [tpmdd-devel] [PATCH] tpm: MAINTAINERS: Add myself as tpm maintainer

2013-10-23 Thread Jason Gunthorpe
On Thu, Oct 24, 2013 at 01:10:28AM +0200, Peter Huewe wrote: > Thanks for the offer - I think I can handle the maintenance effort > itself, HOWEVER I would really like to see you sticking around here > as a reviewer, due to your experience, especially for the stuff I'm > submitting. Agreed, there

[PATCH] audit: remove useless code in audit_enable

2013-10-23 Thread Gao feng
Since kernel parameter is operated before initcall, so the audit_initialized must be AUDIT_UNINITIALIZED or DISABLED in audit_enable. Signed-off-by: Gao feng --- kernel/audit.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c inde

Re: [PATCH] arc: kernel: add default extern variable 'screen_info' in "setup.c"

2013-10-23 Thread Chen Gang
On 10/23/2013 09:47 PM, Vineet Gupta wrote: > Apologies for top posting ! > Not at all. > NAK. > OK, thanks. At least this patch is incorrect. > ARC will never have VGA console. You need to add !ARC to relevant Kconfig. > However that approach is frowned upon in general. The current way to

[PATCH] perf: Fix library detection when building without libelf

2013-10-23 Thread Patrick Palka
When I attempt to build perf on a system with slang but without libelf, 'make' would wrongly complain that the slang library could not be found. It turns out that this was happening because we are not filtering -lelf from EXTLIBS early enough. As a result, the library test for slang (ditto for gt

Re: Re: Re: Re: [PATCH] futex: Remove the owner check when waking task in handle_futex_death

2013-10-23 Thread zhang . yi20
Zhang Yi wrote on 2013/10/08 13:59:36: > Re: Re: Re: [PATCH] futex: Remove the owner check when waking task in > handle_futex_death > > Darren Hart wrote on 2013/09/27 23:32:27: > > > > Re: Re: [PATCH] futex: Remove the owner check when waking task in > > handle_futex_death > > > > > > > >

Re: [PATCH 1/2] firmware, fix request_firmware_nowait() freeze with no uevent

2013-10-23 Thread Ming Lei
On Wed, Oct 23, 2013 at 10:08 PM, Prarit Bhargava wrote: > > > On 10/23/2013 09:21 AM, Ming Lei wrote: >> On Wed, Oct 23, 2013 at 8:02 PM, Prarit Bhargava wrote: >> >>> >>> After all this I completely forgot the problem I'm trying to solve here. >>> The >>> issue is that with HOTPLUG & request_

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-23 Thread HATAYAMA Daisuke
(2013/10/24 0:51), Vivek Goyal wrote: On Wed, Oct 23, 2013 at 09:05:06AM +0900, HATAYAMA Daisuke wrote: [..] Do you literally mean a human at each boot will have to configure the kdump configuration files for passing disable_cpu_apic? Or do you envision the setting of disable_cpu_apic being put

Re: [RFC PATCH] kernel/kallsyms.c: only show legal kernel symbol

2013-10-23 Thread Rusty Russell
Ming Lei writes: > Address of non-module kernel symbol should always be located > from CONFIG_PAGE_OFFSET on, so only show these legal kernel > symbols in /proc/kallsyms. > > On ARM, some symbols(see below) may drop in relocatable code, so > perf can't parse kernel symbols any more from /proc/kall

Deadlock in BPF JIT functions when running upowerd?

2013-10-23 Thread Darrick J. Wong
Hi, I've been observing a softlockup with 3.11.6 and 3.12-rc6. It looks like there's a deadlock occurring on purge_lock in __purge_vmap_area_lazy(). In short, the BPF JIT code has been changed[1] to call set_memory_r[ow]() when compiling and freeing JIT bytecode memory. It seems that it's possi

Re: [PATCH 1/3] switch_creds: Syscall to switch creds for file server ops

2013-10-23 Thread Andy Lutomirski
On 10/16/2013 08:52 PM, Eric W. Biederman wrote: > Al Viro writes: > >> On Wed, Oct 16, 2013 at 06:18:16PM -0700, Eric W. Biederman wrote: >> >>> That doesn't look bad but it does need capable(CAP_SETUID) && >>> capable(CAP_SETGID) or possibly something a little more refined. >> >> D'oh >> >>> I

Best Regards Mr.Hashim Kabore

2013-10-23 Thread Hashim Kabore
Good Day I am Mr.Hashim Kabore, a regional managing director (coris bank int'l) ouagadougou Burkina Faso, in my department we have US$9,500. united state Dollars, to transfer into your account as a dormant fund.If you are interested to use this fund to help the orphans around the world cont

Re: zram/zsmalloc issues in very low memory conditions

2013-10-23 Thread Bob Liu
On 10/24/2013 05:51 AM, Olav Haugan wrote: > I am trying to use zram in very low memory conditions and I am having > some issues. zram is in the reclaim path. So if the system is very low > on memory the system is trying to reclaim pages by swapping out (in this > case to zram). However, since we

Re: [PATCH] audit: change pid to portid for audit_reply

2013-10-23 Thread Gao feng
On 10/24/2013 03:20 AM, Richard Guy Briggs wrote: > On Wed, Oct 23, 2013 at 07:25:23PM +0800, Gao feng wrote: >> The "pid" is not a suitable name for netlink port, >> change it to "portid". > > That is already in the works: > https://www.redhat.com/archives/linux-audit/2013-August/msg00023.h

[PATCH] x86/apic: Disable I/O APIC before shutdown local APIC

2013-10-23 Thread Fenghua Yu
From: Fenghua Yu In reboot and crash path, when shutdown local APIC, I/O APIC is still active. This may cause issues because external interrupts can still come in and disturb local APIC during shutdown process. To quiet external interrupts, disable I/O APIC before shutdown local APIC. Signed-off

Re: [PATCH] pstore: avoid incorrectly mark entry as duplicate

2013-10-23 Thread Madper Xie
tony.l...@gmail.com writes: > On Wed, Oct 23, 2013 at 7:55 AM, Madper Xie wrote: >> The "duplicate" entries won't appear in pstorefs. And a complain will be >> print -- pstore: failed to load 76 record(s) from 'efi' > > Maybe I don't quite get this - but it sounds like you have a whole lot > of

Re: [3.11.4] Thunderbolt/PCI unplug oops in pci_pme_list_scan

2013-10-23 Thread Bjorn Helgaas
On Thu, Oct 17, 2013 at 7:59 AM, Andreas Noever wrote: > On Wed, Oct 16, 2013 at 10:21 PM, Bjorn Helgaas wrote: >> On Tue, Oct 15, 2013 at 03:44:52AM +0100, Matthew Garrett wrote: >>> On Mon, Oct 14, 2013 at 05:50:38PM -0600, Bjorn Helgaas wrote: >>> > [+cc Rafael, Mika, Kirill, linux-pci] >>> >

EFI boot problem in 3.11

2013-10-23 Thread Jasper Bryant-Greene
I have a box here which is set up for EFI boot with no boot loader. The kernel is compiled with a built-in initrd and command line. In 3.10 this was all working well. However, after updating to 3.11.5 a reboot leads to the EFI firmware boot screen appearing followed by the middle section of it

Re: [virtio-net] BUG: sleeping function called from invalid context at kernel/mutex.c:616

2013-10-23 Thread Fengguang Wu
Hi Jason, On Tue, Oct 22, 2013 at 04:35:32PM +0800, Jason Wang wrote: > On 10/20/2013 10:34 AM, Fengguang Wu wrote: > > Greetings, > > > > I got the below dmesg and the first bad commit is > > > > commit 3ab098df35f8b98b6553edc2e40234af512ba877 > > Author: Jason Wang > > Date: Tue Oct 15 11:18:

Aw: Re: [tpmdd-devel] [PATCH] tpm: MAINTAINERS: Add myself as tpm maintainer

2013-10-23 Thread Peter Huewe
Hi Rajiv, > Long time, no see.. Good to see you again. > Peter, thank you a ton for stepping in. > Since you're of course the owner (yes, we need such figure), > let me know if my help is desirable or if you think there isn't > additional bandwidth needed to maintain it. Thanks for the offer - I

Re: [PATCH] MAINTAINERS: Don't send to devicetree list for "arch/*/boot/dts"

2013-10-23 Thread Mauro Carvalho Chehab
Em Wed, 23 Oct 2013 12:12:32 -0500 Rob Herring escreveu: > On 10/23/2013 08:22 AM, Doug Anderson wrote: > > As discussed in the ARM kernel summit, people on the devicetree list > > would no longer like to receive emails about all dts changes. Remove > > from MAINTAINERS. > > We need to make sur

[PATCH 1/2] serial: omap: improve RS-485 performance

2013-10-23 Thread Philippe Proulx
If RS-485 is enabled, make the OMAP UART fire THR interrupts when both TX FIFO and TX shift register are empty instead of polling the equivalent status bit. This removes the burst of interrupt requests seen at every end of transmission. Also: the comment said that the TX FIFO trigger level was set

[PATCH 2/2] serial: omap: fix a few checkpatch warnings

2013-10-23 Thread Philippe Proulx
Signed-off-by: Philippe Proulx --- drivers/tty/serial/omap-serial.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index 02cb61e..bf00477 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/

Re: [PATCHv5 1/3] Input: twl4030-pwrbutton - add device tree support

2013-10-23 Thread Sebastian Reichel
On Wed, Oct 23, 2013 at 05:24:14PM -0500, Rob Herring wrote: > So a twl4030 device is only a power button? DT should describe the h/w > not a node for a sub-function of a device. No. TWL4030 is a companion chip for the OMAP3 processor. It provides miscellaneous functionality, e.g.: * RTC * Watc

[PATCH 0/2] serial: omap: improve performance for RS-485

2013-10-23 Thread Philippe Proulx
The current RS-485 implementation for the OMAP serial driver is to not disable THR interrupts when the driver ring buffer becomes empty until it makes sure the TX shift register is empty, which means the UART is not transmitting anymore and only then can the driver toggle the GPIO output pin for RS

Re: [Resend PATCH 5/5] IA64/PCI/ACPI: Rework PCI root bridge ACPI resource conversion

2013-10-23 Thread Bjorn Helgaas
[+cc Greg] On Fri, Oct 18, 2013 at 08:44:12PM +0800, Lan Tianyu wrote: > On 10/18/2013 04:33 AM, Bjorn Helgaas wrote: >> On Thu, Oct 17, 2013 at 12:09 AM, Lan Tianyu wrote: >>>On 2013年10月17日 07:55, Bjorn Helgaas wrote: On Fri, Oct 11, 2013 at 08:19:01PM +0800, tianyu@intel.com wrote: >>

Re: [PATCHv5 1/3] Input: twl4030-pwrbutton - add device tree support

2013-10-23 Thread Rob Herring
On 10/23/2013 03:26 PM, Sebastian Reichel wrote: > Add device tree support for twl4030 power button driver. > > Signed-off-by: Sebastian Reichel > --- > .../devicetree/bindings/input/twl4030-pwrbutton.txt | 13 + > drivers/input/misc/twl4030-pwrbutton.c | 16 >

Re: zram/zsmalloc issues in very low memory conditions

2013-10-23 Thread Luigi Semenzato
(sorry about the HTML in the previous message) On Wed, Oct 23, 2013 at 2:51 PM, Olav Haugan wrote: > I am trying to use zram in very low memory conditions and I am having > some issues. zram is in the reclaim path. So if the system is very low > on memory the system is trying to reclaim pages by

Re: [Xen-devel] [PATCH] xen/hvc-console: Make it work with HVM guests.

2013-10-23 Thread Julien Grall
On 10/23/2013 05:15 PM, Konrad Rzeszutek Wilk wrote: On Sun, Oct 06, 2013 at 09:52:40PM +0100, Julien Grall wrote: On 09/30/2013 03:45 PM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 27, 2013 at 10:49:37PM +0100, Julien Grall wrote: On 09/27/2013 10:25 PM, Konrad Rzeszutek Wilk wrote: @@ -641

Re: -27% netperf TCP_STREAM regression by "tcp_memcontrol: Kill struct tcp_memcontrol"

2013-10-23 Thread Fengguang Wu
> - return !!sk->sk_prot->memory_pressure; > + return !!*sk->sk_prot->memory_pressure; Good catch, Christoph! With no surprise, it restores the performance: a4fe34bf902b8f709c63 2e685cad57906e19add7 a235435d612680e595ea ---

Re: [PATCH] drivers: staging: bcm: Removed a developer debug statement.

2013-10-23 Thread Dan Carpenter
On Wed, Oct 23, 2013 at 03:11:20PM -0400, Chuong Ngo wrote: > Removed a developer debug statement per the TODO list. Additionally, removed > braces for the if-statement to match coding style. Line wrap the changelog at 72 characters. You don't really need to mention the removed braces because t

[PATCH] perf/ui/tui: don't force a refresh during progress update

2013-10-23 Thread Patrick Palka
Each call to tui_progress__update() would forcibly refresh the entire screen. This is somewhat inefficient and causes noticable flickering during the startup of perf-report, especially on large/slow terminals. It looks like the force-refresh in tui_progress__update() serves no purpose other than

Re: OMAPFB: CMA allocation failures

2013-10-23 Thread Ивайло Димитров
Hi, I wonder if there is any progress on the issue? Do you need me to send more data? Or should I raise the issue with the CMA maintainer? Regards, Ivo > Оригинално писмо >От: Ивайло Димитров >Относно: Re: OMAPFB: CMA allocation failures >До: Tomi Valkeinen >Изпратено

Re: [PATCH] pstore: avoid incorrectly mark entry as duplicate

2013-10-23 Thread Tony Luck
On Wed, Oct 23, 2013 at 7:55 AM, Madper Xie wrote: > The "duplicate" entries won't appear in pstorefs. And a complain will be > print -- pstore: failed to load 76 record(s) from 'efi' Maybe I don't quite get this - but it sounds like you have a whole lot of entries using up space in efivars that

zram/zsmalloc issues in very low memory conditions

2013-10-23 Thread Olav Haugan
I am trying to use zram in very low memory conditions and I am having some issues. zram is in the reclaim path. So if the system is very low on memory the system is trying to reclaim pages by swapping out (in this case to zram). However, since we are very low on memory zram fails to get a page from

[PATCH] iio:light:tsl2563: Add DT support

2013-10-23 Thread Sebastian Reichel
Add Device Tree support for the TSL2563 driver and document the binding. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/iio/light/tsl2563.txt | 19 +++ drivers/iio/light/tsl2563.c | 4 2 files changed, 23 insertions(+) create

Re: [PATCH 0/3] mm,vdso: preallocate new vmas

2013-10-23 Thread Andy Lutomirski
On Wed, Oct 23, 2013 at 3:13 AM, Michel Lespinasse wrote: > On Tue, Oct 22, 2013 at 10:54 AM, Andy Lutomirski wrote: >> On 10/22/2013 08:48 AM, wal...@google.com wrote: >>> Generally the problems I see with mmap_sem are related to long latency >>> operations. Specifically, the mmap_sem write side

RE: [RFC] Does PHY UTMI data width belong to DWC2 or PHY binding?

2013-10-23 Thread Paul Zimmerman
> From: Matt Porter [mailto:matt.por...@linaro.org] > Sent: Wednesday, October 23, 2013 7:43 AM > > On Tue, Oct 22, 2013 at 04:38:52PM -0500, Rob Herring wrote: > > On 10/22/2013 06:25 AM, Matt Porter wrote: > > > On Tue, Oct 22, 2013 at 12:48:29PM +0200, Matthijs Kooijman wrote: > > >> Hi Kishon,

[PATCH 06/16] perf bench: Change the procps visible command-name of invididual benchmark tests plus cleanups

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Ingo Molnar Before this patch, looking at 'perf bench sched pipe' behavior over 'top' only told us that something related to perf is running: PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 19934 mingo 20 0 54836 1296 952 R 18.6 0.0 0:00.56 perf 1

[PATCH 16/16] perf tools: Show progress on histogram collapsing

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim It can take quite amount of time so add progress bar UI to inform user. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Linus Torvalds Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1381468543-25334-4-git-send

ARM seccomp filters and EABI/OABI

2013-10-23 Thread Andy Lutomirski
I'm looking at the seccomp code, the ARM entry code, and the syscall(2) manpage, and I'm a bit lost. (The fact that I don't really speak ARM assembly doesn't help.) My basic question is: what happens if an OABI syscall happens? AFAICS, the syscall arguments for EABI are r0..r5, although their or

[PATCH 08/16] perf sched: Optimize build time

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter builtin-sched.c took a log time to build with -O6 optimization. This turned out to be caused by: .curr_pid = { [0 ... MAX_CPUS - 1] = -1 }, Fix by initializing curr_pid programmatically. This addresses the problem cured in f36f83f947ed using a smaller hammer. Signe

[PATCH 05/16] perf probe: Find fentry mcount fuzzed parameter location

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu At this point, --fentry (mcount function entry) option for gcc fuzzes the debuginfo variable locations by skipping the mcount instruction offset (on x86, this is a 5 byte call instruction). This makes variable searching fail at the entry of functions which are mcount'ed.

[PATCH 11/16] perf tools: Do not accept parse_tag_value() overflow

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter parse_tag_value() accepts an "unsigned long" and multiplies it according to a tag character. Do not accept the value if the multiplication overflows. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith C

[PATCH 15/16] perf ui progress: Per progress bar state

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That will ease using a progress bar across multiple functions, like in the upcoming patches that will present a progress bar when collapsing histograms. Based on a previous patch by Namhyung Kim. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jir

[PATCH] mm: get rid of unnecessary pageblock scanning in setup_zone_migrate_reserve

2013-10-23 Thread kosaki . motohiro
From: KOSAKI Motohiro Yasuaki Ithimatsu reported memory hot-add spent more than 5 _hours_ on 9TB memory machine and we found out setup_zone_migrate_reserve spnet >90% time. The problem is, setup_zone_migrate_reserve scan all pageblock unconditionally, but it is only necessary number of reserved

[PATCH 04/16] perf probe: Support "$vars" meta argument syntax for local variables

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Support "$vars" meta argument syntax for tracing all local variables at probe point. Now you can trace all available local variables (including function parameters) at the probe point by passing $vars. # perf probe --add foo $vars This automatically finds all local vari

[PATCH 14/16] perf ui: Rename ui_progress to ui_progress_ops

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Reserving 'struct ui_progress' to the per progress instances, not to the particular set of operations used to implmenet a progress bar in the current UI (GTK, TUI, etc). Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith

[PATCH 01/16] perf test: Clarify the "sample parsing" test entry

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Before: [root@sandy ~]# perf test -v 22 22: Test sample parsing: --- start --- sample format has changed - test needs updating end Test sample parsing: FAILED! [root@sandy ~]# After: [root@sandy ~]# pe

[PATCH 13/16] perf tools: Fix non-debug build

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter In the absence of s DEBUG variable definition on the command line perf tools was building without optimization. Fix by assigning DEBUG if it is not defined. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbr

[PATCH 03/16] perf tools: Stop using 'self' in some more places

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo As suggested by tglx, 'self' should be replaced by something that is more useful. Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.

[PATCH 07/16] perf sched: Make struct perf_sched sched a local variable

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Change "struct perf_sched sched" from being global to being local. The build slowdown cured by f36f83f947ed is dealt with in the following patch, by programatically setting perf_sched.curr_pid. Signed-off-by: Adrian Hunter Acked-by: David Ahern Cc: David Ahern Cc: Frederi

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

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit aa30a2e03a453aad9fd96c3f2d4a82c3497674e5: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (2013-10-23 09:45:50 +

[PATCH 12/16] perf evlist: Validate that mmap_pages is not too big

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Amend perf_evlist__parse_mmap_pages() to check that the mmap_pages entered via the --mmap_pages/-m option is not too big. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mac

[PATCH 09/16] perf script: Make perf_script a local variable

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Change perf_script from being global to being local. Signed-off-by: Adrian Hunter Acked-by: David Ahern Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Erani

[PATCH 02/16] perf test: Consider PERF_SAMPLE_TRANSACTION in the "sample parsing" test

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo [root@sandy ~]# perf test -v 22 22: Test sample parsing: --- start --- sample format has changed, some new PERF_SAMPLE_ bit was introduced - test needs updating end Test sample parsing: FAILED! [root@sandy ~]# Cc: Adri

[PATCH 10/16] perf inject: Do not repipe attributes to a perf.data file

2013-10-23 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter perf.data files contain the attributes separately, do not put them in the event stream as well. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

Re: [PATCH] xfs: fix possible NULL dereference

2013-10-23 Thread Geyslan Gregório Bem
2013/10/23 Ben Myers : > Hey Geyslan, > > On Wed, Oct 23, 2013 at 08:58:51AM -0200, Geyslan Gregório Bem wrote: >> - Regarding the "possible new patch" subject, I humbly pass the ball to you. >> >> Thank you for the attention. > > Thank you for the patch. I would really prefer to commit this showi

Re: [Cbe-oss-dev] [PATCH 2/8] cell: Remove OOM message after input_allocate_device

2013-10-23 Thread Geoff Levand
Hi Joe, On Wed, 2013-10-23 at 12:14 -0700, Joe Perches wrote: > Emitting an OOM message isn't necessary after input_allocate_device > as there's a generic OOM and a dump_stack already done. > > Signed-off-by: Joe Perches > --- > arch/powerpc/platforms/cell/cbe_powerbutton.c | 1 - > 1 file chan

Re: [PATCH] perf, x86: Optimize intel_pmu_pebs_fixup_ip()

2013-10-23 Thread Peter Zijlstra
On Wed, Oct 23, 2013 at 08:09:53AM +0100, Linus Torvalds wrote: > On Tue, Oct 22, 2013 at 10:12 PM, Peter Zijlstra wrote: > >> > >> Careful! There is one magic piece of state that you need to > >> save-and-restore if you do this, namely %cr2. Taking a page fault > >> always writes to %cr2, and we

Re: [PATCH] xfs: fix possible NULL dereference

2013-10-23 Thread Ben Myers
Hey Geyslan, On Wed, Oct 23, 2013 at 08:58:51AM -0200, Geyslan Gregório Bem wrote: > - Regarding the "possible new patch" subject, I humbly pass the ball to you. > > Thank you for the attention. Thank you for the patch. I would really prefer to commit this showing authorship from you, rather th

[PATCHv5 0/3] DT Support for TWL4030 power button

2013-10-23 Thread Sebastian Reichel
Hi, This is the fifth iteration of DT support for the TWL4030 power button. Changes since v4 [0]: * do not change dev_dbg to dev_err for input_allocate_device, since it prints its own message. Call will be removed completly by another patchset [1]. [0] https://lkml.org/lkml/2013/10/23/372 [1

[PATCHv5 1/3] Input: twl4030-pwrbutton - add device tree support

2013-10-23 Thread Sebastian Reichel
Add device tree support for twl4030 power button driver. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/input/twl4030-pwrbutton.txt | 13 + drivers/input/misc/twl4030-pwrbutton.c | 16 2 files changed, 25 insertions(+), 4 deletion

[PATCHv5 3/3] Input: twl4030-pwrbutton: simplify driver using devm_*

2013-10-23 Thread Sebastian Reichel
Use managed irq resource to simplify the driver. Signed-off-by: Sebastian Reichel --- drivers/input/misc/twl4030-pwrbutton.c | 26 -- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/drivers/input/misc/twl4030-pwrbutton.c b/drivers/input/misc/twl4030-pwrbut

[PATCHv5 2/3] Input: twl4030-pwrbutton: use dev_err for errors

2013-10-23 Thread Sebastian Reichel
Use dev_err() to output errors instead of dev_dbg(). Signed-off-by: Sebastian Reichel --- drivers/input/misc/twl4030-pwrbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/misc/twl4030-pwrbutton.c b/drivers/input/misc/twl4030-pwrbutton.c index a3a0fe3.

Re: [PATCH] Fix: Dereference pointer-value of sk_prot->memory_pressure

2013-10-23 Thread David Miller
From: ebied...@xmission.com (Eric W. Biederman) Date: Wed, 23 Oct 2013 12:55:18 -0700 > From: Christoph Paasch > Date: Wed, 23 Oct 2013 12:49:21 -0700 > > 2e685cad57 (tcp_memcontrol: Kill struct tcp_memcontrol) falsly modified > the access to memory_pressure of sk->sk_prot->memory_pressure. The

Re: [RFC] Does PHY UTMI data width belong to DWC2 or PHY binding?

2013-10-23 Thread Matt Porter
On Wed, Oct 23, 2013 at 01:11:15PM -0500, Felipe Balbi wrote: > Hi, > > On Wed, Oct 23, 2013 at 10:42:42AM -0400, Matt Porter wrote: > > On Tue, Oct 22, 2013 at 04:38:52PM -0500, Rob Herring wrote: > > > On 10/22/2013 06:25 AM, Matt Porter wrote: > > > > On Tue, Oct 22, 2013 at 12:48:29PM +0200, M

Re: Perf Python Scripting Leaks Memory

2013-10-23 Thread Tom Zanussi
On Wed, 2013-10-23 at 17:01 -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu: > >We are using the Python scripting interface in perf to extract kernel > >events relevant for performance analysis of HPC codes. We noticed that > > t

Re: Perf Python Scripting Leaks Memory

2013-10-23 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 23, 2013 at 04:37:41PM +0200, Joseph Schuchart escreveu: >We are using the Python scripting interface in perf to extract kernel >events relevant for performance analysis of HPC codes. We noticed that the >"perf script" call allocates a significant amount of memory (in the or

Re: linux-next: Tree for Oct 23

2013-10-23 Thread Guenter Roeck
On Wed, Oct 23, 2013 at 05:13:22PM +0200, Thierry Reding wrote: > Hi all, > > I've uploaded today's linux-next tree to the master branch of the > repository below: > > git://gitorious.org/thierryreding/linux-next.git > > A next-20131023 tag is also pro

[PATCH] Fix: Dereference pointer-value of sk_prot->memory_pressure

2013-10-23 Thread Eric W. Biederman
From: Christoph Paasch Date: Wed, 23 Oct 2013 12:49:21 -0700 2e685cad57 (tcp_memcontrol: Kill struct tcp_memcontrol) falsly modified the access to memory_pressure of sk->sk_prot->memory_pressure. The patch did modify the memory_pressure-field of struct cg_proto, but not the one of struct proto.

  1   2   3   4   5   >