[PATCH v2 02/10] mrst: Fixed indentation issues

2013-10-10 Thread David Cohen
From: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com Fixed indentation issues reported by checkpatch script in mrst related files. Signed-off-by: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com Signed-off-by: David Cohen david.a.co...@linux.intel.com

[PATCH v2 00/10] rework arch/x86/platform/[mrst = intel-mid]

2013-10-10 Thread David Cohen
From: David Cohen david.a.co...@intel.com This patch set does initial rework from arch/x86/platform/mrst to arch/x86/platform/intel-mid. These changes are necessary to update the obsolete Intel Atom Moorestown code to support the newer Atom processors of this family (called 'intel-mid').

Re: [PATCH 07/52] tools/perf/build: Split out feature check: 'volatile-register-var'

2013-10-10 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:10:37 +0200, Ingo Molnar wrote: -ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -Wvolatile-register-var,-Wvolatile-register-var),y) +ifeq ($(feature-volatile-register-var), 1) CFLAGS += -Wvolatile-register-var endif diff --git

[PATCH v2 07/10] intel_mid: Added custom device_handler support

2013-10-10 Thread David Cohen
From: Kuppuswamy Sathyanarayanan sathyanarayanan.kuppusw...@linux.intel.com This patch provides a means to add custom handler for SFI devices. If you set device_handler as NULL in device_id table standard SFI device handler will be used. If its not NULL custom handler will be called.

Re: [PATCH 15/52] tools/perf/build: Split out feature check: 'libelf-mmap'

2013-10-10 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:10:45 +0200, Ingo Molnar wrote: @@ -202,7 +203,7 @@ ifndef NO_LIBELF CFLAGS += -DHAVE_LIBELF_SUPPORT FLAGS_LIBELF=$(CFLAGS) $(LDFLAGS) $(EXTLIBS) - ifeq ($(call try-cc,$(SOURCE_ELF_MMAP),$(FLAGS_LIBELF),-DHAVE_LIBELF_MMAP_SUPPORT),y) + ifeq

Re: [XFS on bad superblock] BUG: unable to handle kernel NULL pointer dereference at 00000003

2013-10-10 Thread Fengguang Wu
On Thu, Oct 10, 2013 at 03:28:20PM +1100, Dave Chinner wrote: On Thu, Oct 10, 2013 at 11:38:34AM +0800, Fengguang Wu wrote: On Thu, Oct 10, 2013 at 11:33:00AM +0800, Fengguang Wu wrote: On Thu, Oct 10, 2013 at 11:26:37AM +0800, Fengguang Wu wrote: Dave, I note that you have

[PATCH] mmc:sdhci-pci: Add Support of O2Mirco/BayHubTech SD Host

2013-10-10 Thread Peter Guo
From b7e8322ea04a221c268d74fb405da24d865795ff Mon Sep 17 00:00:00 2001 From: Peter.Guo peter@bayhubtech.com Date: Thu, 10 Oct 2013 13:42:22 +0800 Subject: [PATCH] mmc:sdhci-pci: Add Support of O2Mirco/BayHubTech SD Host Add O2Micro/BayHubTech SD Host DeviceId 8520 support and specified Init.

Re: [PATCH 3/3] spi: attach/detach SPI device to the ACPI power domain

2013-10-10 Thread Mika Westerberg
On Wed, Oct 09, 2013 at 06:55:28PM +0100, Mark Brown wrote: On Wed, Oct 09, 2013 at 05:04:21PM +0300, Mika Westerberg wrote: If the SPI device is enumerated from ACPI namespace (it has an ACPI handle) it might have ACPI methods that needs to be called in order to transition the device to

Re: [PATCH 26/52] tools/perf/build: Split out feature check: 'libbfd'

2013-10-10 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:10:56 +0200, Ingo Molnar wrote: +test-libbfd: + $(BUILD) -DPACKAGE='perf' -DPACKAGE=perf -lbfd -ldl Duplicate PACKAGE definitions. It seems only one is needed and it should look like a normal C string like -DPACKAGE='perf' IMHO. Thanks, Namhyung -- To unsubscribe

[PATCH] tools/perf/build: Pass through DEBUG parameter

2013-10-10 Thread Ingo Molnar
Arnaldo reported that 'make DEBUG=1' does not work anymore. The reason is that 'Makefile' only passes it through to 'Makefile.perf' via the environment, but 'Makefile.perf' checks that it's a command line option: ifeq ($(origin DEBUG), command line) PERF_DEBUG = $(DEBUG) endif So

Re: [PATCH 28/52] tools/perf/build: Split out feature check: 'on-exit'

2013-10-10 Thread Namhyung Kim
diff --git a/tools/perf/config/feature-checks/test-on-exit.c b/tools/perf/config/feature-checks/test-on-exit.c new file mode 100644 index 000..473f1de --- /dev/null +++ b/tools/perf/config/feature-checks/test-on-exit.c @@ -0,0 +1,6 @@ +#include stdio.h + +int main(void) +{ +

Re: [PATCH v2] timer stats: add a 'status' line to timer usage statistics

2013-10-10 Thread Dong Zhu
Hi Ingo and John, On Thu, Oct 10, 2013 at 06:35:19AM +0200, Ingo Molnar wrote: * Dong Zhu bluezhud...@gmail.com wrote: From f41628c61d8a9172677ba33a55b61e37ce28f7a6 Mon Sep 17 00:00:00 2001 From: Dong Zhu bluezhud...@gmail.com Date: Thu, 10 Oct 2013 10:38:13 +0800 When we stop

Re: [PATCH] Squashfs: Refactor decompressor interface and code

2013-10-10 Thread Rob Landley
On 10/07/2013 09:14:10 PM, Phillip Lougher wrote: The decompressor interface and code was written from the point of view of single-threaded operation. In doing so it mixed a lot of single-threaded implementation specific aspects into the decompressor code and elsewhere which makes it difficult

Re: [PATCH v2] timer stats: add a 'status' line to timer usage statistics

2013-10-10 Thread Ingo Molnar
* Dong Zhu bluezhud...@gmail.com wrote: Hi Ingo and John, On Thu, Oct 10, 2013 at 06:35:19AM +0200, Ingo Molnar wrote: * Dong Zhu bluezhud...@gmail.com wrote: From f41628c61d8a9172677ba33a55b61e37ce28f7a6 Mon Sep 17 00:00:00 2001 From: Dong Zhu bluezhud...@gmail.com Date:

Re: [PATCH 32/52] tools/perf/build: Speed up auto-detection of features by adding a 'test-all' target

2013-10-10 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:11:02 +0200, Ingo Molnar wrote: +test-all: + $(BUILD) -Werror -fstack-protector -Wvolatile-register-var -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind -lunwind-x86_64 -lelf -laudit -I/usr/include/slang -lslang $(shell pkg-config --libs --cflags gtk+-2.0

Re: [PATCH 44/52] tools/perf/build: Clean up various testcases

2013-10-10 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:11:14 +0200, Ingo Molnar wrote: --- a/tools/perf/config/feature-checks/test-gtk2.c +++ b/tools/perf/config/feature-checks/test-gtk2.c @@ -4,7 +4,7 @@ int main(int argc, char *argv[]) { -gtk_init(argc, argv); + gtk_init(argc, argv); return

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-10 Thread Ingo Molnar
* Jakub Jelinek ja...@redhat.com wrote: On Wed, Oct 09, 2013 at 09:02:31PM +0200, Peter Zijlstra wrote: On Wed, Oct 09, 2013 at 08:16:13PM +0200, Jakub Jelinek wrote: Confirmed as gcc bug, filed http://gcc.gnu.org/PR58670 Seems all of 4.[6-9] miscompile it. Will have a look tomorrow

Re: [PATCH v2 2/3] video: xilinxfb: Use devm_kzalloc instead of kzalloc

2013-10-10 Thread Michal Simek
On 10/09/2013 05:13 PM, Joe Perches wrote: On Wed, 2013-10-09 at 12:52 +0200, Michal Simek wrote: Simplify driver probe and release function. [] diff --git a/drivers/video/xilinxfb.c b/drivers/video/xilinxfb.c [] @@ -423,7 +419,7 @@ static int xilinxfb_of_probe(struct platform_device

Re: [PATCH 48/52] tools/perf/build: Exclude MAKEFLAGS from nested invocation

2013-10-10 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:11:18 +0200, Ingo Molnar wrote: In case the user specifies MAKEFLAGS as an environment variable, or uses 'make -jN' explicitly, the options can conflict and result in: BUILD: Doing 'make -j8' parallel build make[1]: warning: -jN forced in submake: disabling

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-10 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Tue, 08 Oct 2013 12:25:05 +0200 Peter Zijlstra pet...@infradead.org wrote: The current cpu hotplug lock is a single global lock; therefore excluding hotplug is a very expensive proposition even though it is rare occurrence under

[PATCH v3 3/3] video: xilinxfb: Simplify error path

2013-10-10 Thread Michal Simek
devm_iounmap is called automatically that's why remove it from the code dev_set_drvdata(dev, NULL) is called by generic code after device_release or on probe failure. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v3: None Changes

[PATCH v3 1/3] video: xilinxfb: Use standard variable name convention

2013-10-10 Thread Michal Simek
s/op/pdev/ in xilinxfb_of_probe(). No functional chagnes. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v3: None Changes in v2: None drivers/video/xilinxfb.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/video/xilinxfb.c

[PATCH v3 2/3] video: xilinxfb: Use devm_kzalloc instead of kzalloc

2013-10-10 Thread Michal Simek
Simplify driver probe and release function. Signed-off-by: Michal Simek michal.si...@xilinx.com Reviewed-by: Jingoo Han jg1@samsung.com --- Changes in v3: - Remove the unnecessary OOM message Changes in v2: - Rebased on git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git for-next

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-10 Thread Andrew Morton
On Thu, 10 Oct 2013 08:27:41 +0200 Ingo Molnar mi...@kernel.org wrote: * Andrew Morton a...@linux-foundation.org wrote: On Tue, 08 Oct 2013 12:25:05 +0200 Peter Zijlstra pet...@infradead.org wrote: The current cpu hotplug lock is a single global lock; therefore excluding hotplug

Re: [PATCH 50/52] tools/perf/build: Fix O=/some/dir perf.o type of targets

2013-10-10 Thread Namhyung Kim
On Tue, 8 Oct 2013 12:11:20 +0200, Ingo Molnar wrote: If someone specifies a single target, mixed with O=, the following way: hubble:~/tip/tools/perf make O=/tmp/perf util/stat.o BUILD: Doing 'make -j8' parallel build gcc -Wbad-function-cast -Wdeclaration-after-statement

Re: [PATCH 48/52] tools/perf/build: Exclude MAKEFLAGS from nested invocation

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:11:18 +0200, Ingo Molnar wrote: In case the user specifies MAKEFLAGS as an environment variable, or uses 'make -jN' explicitly, the options can conflict and result in: BUILD: Doing 'make -j8' parallel build

Re: [PATCH 50/52] tools/perf/build: Fix O=/some/dir perf.o type of targets

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:11:20 +0200, Ingo Molnar wrote: If someone specifies a single target, mixed with O=, the following way: hubble:~/tip/tools/perf make O=/tmp/perf util/stat.o BUILD: Doing 'make -j8' parallel build gcc

Re: [PATCH 44/52] tools/perf/build: Clean up various testcases

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:11:14 +0200, Ingo Molnar wrote: --- a/tools/perf/config/feature-checks/test-gtk2.c +++ b/tools/perf/config/feature-checks/test-gtk2.c @@ -4,7 +4,7 @@ int main(int argc, char *argv[]) { -gtk_init(argc,

Re: [PATCH 28/52] tools/perf/build: Split out feature check: 'on-exit'

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: diff --git a/tools/perf/config/feature-checks/test-on-exit.c b/tools/perf/config/feature-checks/test-on-exit.c new file mode 100644 index 000..473f1de --- /dev/null +++ b/tools/perf/config/feature-checks/test-on-exit.c @@ -0,0 +1,6 @@

Re: [RFC][PATCH 0/3] vfs: Detach mounts on unlink.

2013-10-10 Thread Rob Landley
On 10/08/2013 03:03:03 AM, Karel Zak wrote: On Sat, Oct 05, 2013 at 06:42:44PM -0500, Rob Landley wrote: Oh, attached is a dumb zapchroot script I've been using for years to unlink all mount points under a given directory, taking advantage of the fact that mount points are appended to the

Re: [PATCH] /dev/random: Insufficient of entropy on many architectures

2013-10-10 Thread Pavel Machek
Hi! (Sorry to be late and maybe with very early date). On Tue 2013-09-10 14:25:24, Theodore Ts'o wrote: On Tue, Sep 10, 2013 at 06:54:38PM +0200, Stephan Mueller wrote: Moreover, until having your proposed real fix, wouldn't it make sense to have an interim patch to ensure we have

[PATCH] tools/perf/build: Fix DPACKAGE definitions for the libbfd et al testcases

2013-10-10 Thread Ingo Molnar
Namhyung Kim reported these duplicate DPACKAGE definitions: test-libbfd: $(BUILD) -DPACKAGE='perf' -DPACKAGE=perf -lbfd -ldl Fix all affected places and use Namhyung's suggestion that the definition should look like a normal C string: -DPACKAGE='perf'. Reported-by: Namhyung Kim

Re: Serial consoles (was: [Ksummit-2013-discuss] [HOBBYIST ATTEND] IIO maintainer and developer)

2013-10-10 Thread Pavel Machek
On Thu 2013-09-19 09:15:13, Geert Uytterhoeven wrote: On Thu, Sep 12, 2013 at 10:12 PM, Rob Landley rob at landley.net wrote: 3) QEMU command line to boot to a shell prompt with serial console. x86 is ttyS0, arm versatile is ttyAMA0, sh4 is ttySC1. Get it wrong and you have no

Re: [PATCH 26/52] tools/perf/build: Split out feature check: 'libbfd'

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:10:56 +0200, Ingo Molnar wrote: +test-libbfd: + $(BUILD) -DPACKAGE='perf' -DPACKAGE=perf -lbfd -ldl Duplicate PACKAGE definitions. It seems only one is needed and it should look like a normal C string like

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-10 Thread Jakub Jelinek
On Thu, Oct 10, 2013 at 08:22:38AM +0200, Ingo Molnar wrote: On Wed, Oct 09, 2013 at 09:02:31PM +0200, Peter Zijlstra wrote: On Wed, Oct 09, 2013 at 08:16:13PM +0200, Jakub Jelinek wrote: Confirmed as gcc bug, filed http://gcc.gnu.org/PR58670 Seems all of 4.[6-9] miscompile it.

Re: [uml-devel] BUG: soft lockup for a user mode linux image

2013-10-10 Thread Geert Uytterhoeven
On Thu, Oct 10, 2013 at 4:46 AM, Fengguang Wu fengguang...@intel.com wrote: On Wed, Oct 09, 2013 at 11:47:33PM +0200, Jan Kara wrote: On Wed 09-10-13 20:43:50, Richard Weinberger wrote: Am 09.10.2013 19:26, schrieb Toralf Förster: On 10/08/2013 10:07 PM, Geert Uytterhoeven wrote: On Sun,

Re: [PATCH v0.3] timer stats: add a 'status' line to timer usage statistics

2013-10-10 Thread Dong Zhu
Agree, I modified this patch and resubmited it again, Could you help reviewing it again ? Thanks ! From 263c40abea8011c82582b2d671ae783b26f44bd5 Mon Sep 17 00:00:00 2001 From: Dong Zhu bluezhud...@gmail.com Date: Thu, 10 Oct 2013 13:46:08 +0800 We can enable|disable timer

Re: [PATCH RESEND 1/7] fs: add new flag(FALLOC_FL_COLLAPSE_RANGE) for fallocate

2013-10-10 Thread Namjae Jeon
Hi Dave. + /* + * Collapse range works only on fs block size aligned offsets. + * Check if collapse range is contained within (aligned)i_size. + * Collapse range can only be used exclusively. + */ + if ((mode FALLOC_FL_COLLAPSE_RANGE) +

Re: [PATCH 15/52] tools/perf/build: Split out feature check: 'libelf-mmap'

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:10:45 +0200, Ingo Molnar wrote: @@ -202,7 +203,7 @@ ifndef NO_LIBELF CFLAGS += -DHAVE_LIBELF_SUPPORT FLAGS_LIBELF=$(CFLAGS) $(LDFLAGS) $(EXTLIBS) - ifeq ($(call

[PATCH] tools/perf/build: Simplify the libelf logic

2013-10-10 Thread Ingo Molnar
Ulrich Drepper and Namhyung Kim reported that the libelf logic in config/Makefile is duplicated in part. Remove the duplication, and also remove the now unused FLAGS_LIBELF variable. Reported-by: Ulrich Drepper drep...@gmail.com Reported-by: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho

Re: [PATCH RESEND 2/7] xfs: add support FALLOC_FL_COLLAPSE_RANGE for fallocate

2013-10-10 Thread Namjae Jeon
/* * Shift extent records to the left to cover a hole. * * The maximum number of extents to be shifted in a single operation * is @count, and @current_ext keeps track of the current extent * index we have shifted. If there is no hole to shift the extents * into, then we abort

Re: [PATCH v3 5/6] zswap: replace tree in zswap with radix tree in zbud

2013-10-10 Thread Krzysztof Kozlowski
On Wed, 2013-10-09 at 12:16 -0500, Seth Jennings wrote: On Wed, Oct 09, 2013 at 10:30:22AM -0500, Seth Jennings wrote: In my approach, I was also looking at allowing the zbud pools to use HIGHMEM pages, since the handle is no longer an address. This requires the pages that are being mapped

Re: [uml-devel] BUG: soft lockup for a user mode linux image

2013-10-10 Thread Fengguang Wu
On Thu, Oct 10, 2013 at 08:52:33AM +0200, Geert Uytterhoeven wrote: On Thu, Oct 10, 2013 at 4:46 AM, Fengguang Wu fengguang...@intel.com wrote: On Wed, Oct 09, 2013 at 11:47:33PM +0200, Jan Kara wrote: On Wed 09-10-13 20:43:50, Richard Weinberger wrote: Am 09.10.2013 19:26, schrieb Toralf

Re: [PATCH 07/52] tools/perf/build: Split out feature check: 'volatile-register-var'

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: +test-volatile-register-var: + $(BUILD) -Werror -Wvolatile-register-var I'm not sure this test is necessary at all. The gcc manpage says this warning is enabled by -Wall, and we add -Wall to CFLAGS before doing feature checks. So all gcc

[PATCH] sysfs/bin: Fix size handling overflow for bin_attribute

2013-10-10 Thread Benjamin Herrenschmidt
While looking at the code, I noticed that bin_attribute read() and write() ops copy the inode size into an int for futher comparisons. Some bin_attributes can be fairly large. For example, pci creates some for BARs set to the BAR size and giant BARs are around the corner, so this is going to

[PATCH] tools/perf/build: Remove the volatile-register-var feature check

2013-10-10 Thread Ingo Molnar
Namhyung Kim noticed that the volatile-register-var feature check is superfluous: The gcc manpage says this warning is enabled by -Wall, and we add -Wall to CFLAGS before doing feature checks. So all gcc versions that support -Wvolatile-register-var enables it by default without this check

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

2013-10-10 Thread Mel Gorman
On Wed, Oct 09, 2013 at 01:03:54PM +0200, Ingo Molnar wrote: * Mel Gorman mgor...@suse.de wrote: This series has roughly the same goals as previous versions despite the size. It reduces overhead of automatic balancing through scan rate reduction and the avoidance of TLB flushes. It

Re: [RFC/query] kvm async_pf anon pined pages migration

2013-10-10 Thread chai wen
On 10/08/2013 03:39 PM, Gleb Natapov wrote: On Tue, Oct 08, 2013 at 02:58:22PM +0800, chai wen wrote: On 10/02/2013 12:04 AM, chaiwen wrote: On 09/30/2013 08:51 PM, Gleb Natapov wrote: On Mon, Sep 30, 2013 at 06:03:07PM +0800, chai wen wrote: Hi all Async page fault in kvm currently pin

Re: [PATCH 2/2] Export initial ramdisk compression config

2013-10-10 Thread P J P
Hello Andrew, +-- On Wed, 9 Oct 2013, Andrew Morton wrote --+ | It would be better to make the change in one place, rather than for each | architecture. That would appear to involve moving a hunk from | arch/x86/Makefile into init/Makefile, or perhaps ./Makefile. Right, I was trying to

Re: [PATCH 06/52] tools/perf/build: Split out feature check: 'stackprotector'

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:10:36 +0200, Ingo Molnar wrote: -ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -Wstack-protector,-Wstack-protector),y) +ifeq ($(feature-stackprotector), 1) CFLAGS += -Wstack-protector endif [SNIP]

[PATCH] tools/perf/build: Improve the 'stackprotector' feature test

2013-10-10 Thread Ingo Molnar
Namhyung Kim noticed that the stackprotector testcase was incomplete: The flag being checked should be -Wstack-protector instead of -fstack-protector. And the gcc manpage says that -Wstack-protector is only active when -fstack-protector is active. So the end result should look like

Re: [PATCH 03/52] tools/perf/build: Add 'autodep' functionality, generate feature test dependencies automatically

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:10:33 +0200, Ingo Molnar wrote: +-include *.d */*.d Hmm.. this */*.d part is really needed? Indeed! :-) I'll remove it. Thanks, Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH] tools/perf/build: Simplify the autodep inclusion rule

2013-10-10 Thread Ingo Molnar
Namhyung Kim noticed that the autodep .d file inclusion rule was unnecessarily complicated: +-include *.d */*.d Hmm.. this */*.d part is really needed? Only include *.d files. Reported-by: Namhyung Kim namhy...@kernel.org Cc: Arnaldo Carvalho de Melo a...@redhat.com Cc: Peter Zijlstra

Re: [PATCH] tools/perf/tests: Fix memory leak in dso-data.c

2013-10-10 Thread Jiri Olsa
On Wed, Oct 09, 2013 at 11:00:38PM -0300, Felipe Pena wrote: Fix for a memory leak on test_file() function in dso-data.c oops, thanks ;-) Acked-by: Jiri Olsa jo...@redhat.com Signed-off-by: Felipe Pena felipe...@gmail.com --- tools/perf/tests/dso-data.c |1 + 1 file changed, 1

Re: [RFC/query] kvm async_pf anon pined pages migration

2013-10-10 Thread Gleb Natapov
On Thu, Oct 10, 2013 at 03:05:58PM +0800, chai wen wrote: On 10/08/2013 03:39 PM, Gleb Natapov wrote: On Tue, Oct 08, 2013 at 02:58:22PM +0800, chai wen wrote: On 10/02/2013 12:04 AM, chaiwen wrote: On 09/30/2013 08:51 PM, Gleb Natapov wrote: On Mon, Sep 30, 2013 at 06:03:07PM +0800, chai

Re: Kernel migration eat CPUs

2013-10-10 Thread Alexey Vlasov
Hi Ingo, On Wed, Sep 11, 2013 at 07:18:14PM +0400, Alexey Vlasov wrote: On Thu, Sep 05, 2013 at 01:12:52PM +0200, Ingo Molnar wrote: Could you try the latest -tip tree at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git In particular this fix: 5a8e01f8fa51

Re: [PATCH 02/52] tools/perf/build: Add feature check core code

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: Hi Ingo, On Tue, 8 Oct 2013 12:10:32 +0200, Ingo Molnar wrote: +feature_check = $(eval $(feature_check_code)); $(info CHK: config/feature-checks/test-$(1)) +define feature_check_code + feature-$(2) := $(shell make -C config/feature-checks

Re: [PATCH 32/52] tools/perf/build: Speed up auto-detection of features by adding a 'test-all' target

2013-10-10 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:11:02 +0200, Ingo Molnar wrote: +test-all: + $(BUILD) -Werror -fstack-protector -Wvolatile-register-var -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind -lunwind-x86_64 -lelf -laudit -I/usr/include/slang

Re: [PATCH 1/3] s390: include: asm: atomic.h: use 'unsigned int' instead of 'unsigned long' for atomic_*_mask()

2013-10-10 Thread Heiko Carstens
On Thu, Oct 10, 2013 at 10:31:22AM +0800, Chen Gang wrote: The type of 'v-counter' is always 'int', and related inline assembly code also process 'int', so use 'unsigned int' instead of 'unsigned long' for the 'mask'. Signed-off-by: Chen Gang gang.c...@asianux.com ---

Re: [PATCH v0.3] timer stats: add a 'status' line to timer usage statistics

2013-10-10 Thread Ingo Molnar
* Dong Zhu bluezhud...@gmail.com wrote: Agree, I modified this patch and resubmited it again, Could you help reviewing it again ? Thanks ! From 263c40abea8011c82582b2d671ae783b26f44bd5 Mon Sep 17 00:00:00 2001 From: Dong Zhu bluezhud...@gmail.com Date: Thu, 10 Oct 2013

PICK UP YOUR $5000USD

2013-10-10 Thread WESTERN UNION TRANSFER OFFICE
Good Day Beneficiary: I write to inform you that we have been given the mandate to transfer your full compensation payment of $1,800,000.00 USD via western union by this government. We tried to give you the Western Union Instructions through phone, but we could not locate your numbers in our

Your First Payment!

2013-10-10 Thread Western Union Head Office
How are you today? I write to inform you that we have already sent you $5000.00USD through Western union as we have been given the mandate to transfer your full compensation payment of $1.800,000.00USD via western union by this government. I called to give you the information through phone as

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-10 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Thu, 10 Oct 2013 08:27:41 +0200 Ingo Molnar mi...@kernel.org wrote: * Andrew Morton a...@linux-foundation.org wrote: On Tue, 08 Oct 2013 12:25:05 +0200 Peter Zijlstra pet...@infradead.org wrote: The current cpu hotplug

Re: [XFS on bad superblock] BUG: unable to handle kernel NULL pointer dereference at 00000003

2013-10-10 Thread Fengguang Wu
On Thu, Oct 10, 2013 at 02:23:13PM +0800, Fengguang Wu wrote: Dave, Here are the first oops chunks that show up in the 3.12-rc4 kernel with only XFS build in. Attached is the kconfig and one full dmesg. Hope there are more clues in them. I'll further test whether the problems disappear if

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-10 Thread Andrew Morton
On Thu, 10 Oct 2013 09:27:57 +0200 Ingo Molnar mi...@kernel.org wrote: Should be fairly straightforward to test: the sys_sched_getaffinity() and sys_sched_setaffinity() syscalls both make use of get_online_cpus()/put_online_cpus(), so a testcase frobbing affinities on N CPUs in

[PATCH v5] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-10-10 Thread Kishon Vijay Abraham I
The Palmas device contains only a USB VBUS-ID detector, so added a compatible type *ti,palmas-usb-vid*. Didn't remove the existing compatible types for backward compatibility. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Changes from v4: * added compatible property ti,twl6035-usb-vid

Re: [PATCH 1/3] s390: include: asm: atomic.h: use 'unsigned int' instead of 'unsigned long' for atomic_*_mask()

2013-10-10 Thread Chen Gang
On 10/10/2013 03:25 PM, Heiko Carstens wrote: On Thu, Oct 10, 2013 at 10:31:22AM +0800, Chen Gang wrote: The type of 'v-counter' is always 'int', and related inline assembly code also process 'int', so use 'unsigned int' instead of 'unsigned long' for the 'mask'. Signed-off-by: Chen Gang

AW: [TrouSerS-tech] [tpmdd-devel] [PATCH 09/13] tpm: Pull everything related to sysfs into tpm-sysfs.c

2013-10-10 Thread Fuchs, Andreas
Hi Jason, the Unix-Domain-Socket or DBus has actually been on my agenda for quite some time now, as soon as I find some time or MScCS student for it. If you know any... ;-) In any case, I like your idea to split trousers IPC to two distinct unix sockets for localities. In this case, we could

RE: RFC: (re-)binding the VFIO platform driver to a platform device

2013-10-10 Thread Bhushan Bharat-R65777
-Original Message- From: Wood Scott-B07421 Sent: Thursday, October 10, 2013 1:33 AM To: Yoder Stuart-B08248 Cc: Wood Scott-B07421; Kim Phillips; Christoffer Dall; Alex Williamson; linux- ker...@vger.kernel.org; a.mota...@virtualopensystems.com; ag...@suse.de; Sethi Varun-B16395;

Re: [PATCH 0/6] Optimize the cpu hotplug locking -v2

2013-10-10 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Thu, 10 Oct 2013 09:27:57 +0200 Ingo Molnar mi...@kernel.org wrote: Should be fairly straightforward to test: the sys_sched_getaffinity() and sys_sched_setaffinity() syscalls both make use of

Re: rngd (was: [PATCH 0/2] Add support for Qualcomm's PRNG)

2013-10-10 Thread Clemens Ladisch
H. Peter Anvin wrote: On 10/09/2013 09:03 AM, Theodore Ts'o wrote: You can specify as a command-line argument (-H) to rngd the entropy per bit of input data. There is no -H option in upstream rngd. It might be in the Debian fork, but the Debian fork has serious other problems. What

Re: [PATCH v4] timer stats: add a 'status' line to timer usage statistics

2013-10-10 Thread Dong Zhu
I suspect we could do something like: seq_printf(Status: collection %s\n, timer_stats_active ? enabled : disabled); and save a bit of kernel image size? Also, please bump up the version to v0.3, to give parsers a chance. I think you forgot about this suggestion of

Re: [PATCH] i2c: omap: Clear ARDY bit twice

2013-10-10 Thread Wolfram Sang
On Mon, Oct 07, 2013 at 01:41:59PM +0300, Taras Kondratiuk wrote: Initially commit cb527ede1bf6ff2008a025606f25344b8ed7b4ac i2c-omap: Double clear of ARDY status in IRQ handler added a workaround for undocumented errata ProDB0017052. But then commit 1d7afc95946487945cc7f5019b41255b72224b70

Re: [PATCH v8 0/9] rwsem performance optimizations

2013-10-10 Thread Ingo Molnar
* Tim Chen tim.c.c...@linux.intel.com wrote: The throughput of pure mmap with mutex is below vs pure mmap is below: % change in performance of the mmap with pthread-mutex vs pure mmap #threadsvanilla all rwsem without optspin patches 1

Re: [RFC/query] kvm async_pf anon pined pages migration

2013-10-10 Thread Gu Zheng
Hi Gleb, On 10/10/2013 03:15 PM, Gleb Natapov wrote: On Thu, Oct 10, 2013 at 03:05:58PM +0800, chai wen wrote: On 10/08/2013 03:39 PM, Gleb Natapov wrote: On Tue, Oct 08, 2013 at 02:58:22PM +0800, chai wen wrote: On 10/02/2013 12:04 AM, chaiwen wrote: On 09/30/2013 08:51 PM, Gleb Natapov

[PATCH v2 2/5] gpiolib / ACPI: convert to gpiod interfaces

2013-10-10 Thread Mika Westerberg
The new GPIO descriptor based interface is now preferred over the old integer based one. This patch converts the ACPI GPIO helpers to use this new interface internally. In addition to that provide compatibility function acpi_get_gpio_by_index() that converts the returned GPIO descriptor to an

[PATCH v2 4/5] gpiolib / ACPI: allow passing GPIOF_ACTIVE_LOW for GpioInt resources

2013-10-10 Thread Mika Westerberg
The ACPI GpioInt resources contain polarity field that is used to specify whether the interrupt is active high or low. Since gpiolib supports GPIOF_ACTIVE_LOW we can pass this information in the flags field in acpi_find_gpio(), analogous to the DeviceTree version. Signed-off-by: Mika Westerberg

Re: [RFC/query] kvm async_pf anon pined pages migration

2013-10-10 Thread Gleb Natapov
On Thu, Oct 10, 2013 at 03:53:08PM +0800, Gu Zheng wrote: Hi Gleb, On 10/10/2013 03:15 PM, Gleb Natapov wrote: On Thu, Oct 10, 2013 at 03:05:58PM +0800, chai wen wrote: On 10/08/2013 03:39 PM, Gleb Natapov wrote: On Tue, Oct 08, 2013 at 02:58:22PM +0800, chai wen wrote: On 10/02/2013

[PATCH v2 5/5] gpiolib / ACPI: document the GPIO descriptor based interface

2013-10-10 Thread Mika Westerberg
In addition to the existing ACPI specific GPIO interface, document the new descriptor based GPIO interface in Documentation/acpi/enumeration.txt, so it is clear that this new interface is preferred over the ACPI specific version. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com

[PATCH v2 0/5] gpiolib: convert ACPI gpio helpers to gpiod_ interfaces

2013-10-10 Thread Mika Westerberg
Hi, This is an updated version of the patches that convert ACPI GPIO helpers to the new gpiod_ interfaces. The previous version can be seen here: http://www.spinics.net/lists/linux-acpi/msg46542.html Changes to the previous version: * Added check that pin is in range of available pins in

RE: RFC: (re-)binding the VFIO platform driver to a platform device

2013-10-10 Thread Bhushan Bharat-R65777
-Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Kim Phillips Sent: Thursday, October 10, 2013 8:36 AM To: Wood Scott-B07421 Cc: Yoder Stuart-B08248; Wood Scott-B07421; christoffer.d...@linaro.org; alex.william...@redhat.com;

Re: [PATCH 2/3] HID:hid-lg: Fixed Report Descriptor for Logitech MOMO Force (Black) to split Accel/Brake into seperate axis

2013-10-10 Thread Jiri Kosina
On Wed, 9 Oct 2013, Simon Wood wrote: Signed-off-by: Simon Wood si...@mungewell.org Simon, thanks for the series. I however very much dislike commits without a single line of changelog ... could you please resend the series with a few sentences as a patch description (i.e. what, why, how).

[PATCH v2 3/5] gpiolib / ACPI: add ACPI support for gpiod_get_index()

2013-10-10 Thread Mika Westerberg
gpiod_get_index() and gpiod_get() are now the new preferred way to request GPIOs. Add support for finding the corresponding GPIO descriptor from ACPI namespace. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com Reviewed-by:

Re: [PATCH 00/16] sched/wait: Collapse __wait_event macros -v5

2013-10-10 Thread Ingo Molnar
* Paul E. McKenney paul...@linux.vnet.ibm.com wrote: And it now builds, boots, and passes short rcutorture tests, updated patch below. One side-effect is the boot parameters, namely that what used to be rcutree.blimit=10 is now simply tree.blimit=10. Not a problem for me, I just made

Re: [x86] BUG: unable to handle kernel paging request at 00740060

2013-10-10 Thread Jakub Jelinek
On Thu, Oct 10, 2013 at 08:51:04AM +0200, Jakub Jelinek wrote: @@ -8,6 +8,7 @@ foo (int a, int b) asm volatile goto (bts $1, %0; jc %l[lab] : : m (b) : memory : lab); return 0; lab: + asm (); return 0; } Or alternatively put the asm (); right after asm goto, asm volatile goto

[PATCH v2 1/5] gpiolib / ACPI: move acpi_gpiochip_free_interrupts next to the request function

2013-10-10 Thread Mika Westerberg
It makes more sense to have these functions close to each other. No functional changes. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com --- drivers/gpio/gpiolib-acpi.c | 76 ++--- 1 file

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-10 Thread Dave Young
On 10/08/13 at 06:48pm, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de We map the EFI regions needed for runtime services contiguously on virtual addresses starting from -4G down for a total max space of 64G. This way, we provide for stable runtime services addresses across

Re: [PATCH 06/11] bcma: convert bus code to use dev_groups

2013-10-10 Thread Rafał Miłecki
2013/10/9 John W. Linville linvi...@tuxdriver.com: On Sun, Oct 06, 2013 at 11:55:45PM -0700, Greg Kroah-Hartman wrote: The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the bcma bus code to use the correct field. Cc: Rafał Miłecki

Re: [PATCH 2/3] i2c: attach/detach I2C client device to the ACPI power domain

2013-10-10 Thread Wolfram Sang
On Wed, Oct 09, 2013 at 05:04:20PM +0300, Mika Westerberg wrote: From: Lv Zheng lv.zh...@intel.com If the I2C client device is enumerated from ACPI namespace it might have ACPI methods that needs to be called in order to transition the device to different power states (such as _PSx).

Re: [RFC/query] kvm async_pf anon pined pages migration

2013-10-10 Thread Gu Zheng
On 10/10/2013 04:01 PM, Gleb Natapov wrote: On Thu, Oct 10, 2013 at 03:53:08PM +0800, Gu Zheng wrote: Hi Gleb, On 10/10/2013 03:15 PM, Gleb Natapov wrote: On Thu, Oct 10, 2013 at 03:05:58PM +0800, chai wen wrote: On 10/08/2013 03:39 PM, Gleb Natapov wrote: On Tue, Oct 08, 2013 at

Re: [XFS on bad superblock] BUG: unable to handle kernel NULL pointer dereference at 00000003

2013-10-10 Thread Dave Chinner
On Thu, Oct 10, 2013 at 02:03:34PM +0800, Fengguang Wu wrote: On Thu, Oct 10, 2013 at 03:28:20PM +1100, Dave Chinner wrote: On Thu, Oct 10, 2013 at 11:38:34AM +0800, Fengguang Wu wrote: On Thu, Oct 10, 2013 at 11:33:00AM +0800, Fengguang Wu wrote: On Thu, Oct 10, 2013 at 11:26:37AM

Re: [PATCH 12/12] EFI: Runtime services virtual mapping

2013-10-10 Thread Dave Young
On 10/10/13 at 04:06pm, Dave Young wrote: On 10/08/13 at 06:48pm, Borislav Petkov wrote: From: Borislav Petkov b...@suse.de We map the EFI regions needed for runtime services contiguously on virtual addresses starting from -4G down for a total max space of 64G. This way, we provide for

Re: [PATCH] tools/perf/util: Fix memory leak in trace-event-info.c

2013-10-10 Thread Namhyung Kim
Hi Felipe, On Wed, 9 Oct 2013 23:28:55 -0300, Felipe Pena wrote: Fix for a memory leak on tracing_data_get() function when returning NULL explicitly Thanks for fixing this bug. Please see comment below. Signed-off-by: Felipe Pena felipe...@gmail.com ---

Re: [PATCH] omapdss: Add new panel driver for Topolly td028ttec1 LCD.

2013-10-10 Thread Tomi Valkeinen
Hi, On 10/10/13 00:08, Marek Belisko wrote: For communicating with driver is used gpio bitbanging because TD028 does not have a standard compliant SPI interface. It is a 3-wire thing with direction reversal. Isn't that SPI_3WIRE? Communication with display is used only during panel

Re: [PATCH 2/3] i2c: attach/detach I2C client device to the ACPI power domain

2013-10-10 Thread Mika Westerberg
On Thu, Oct 10, 2013 at 10:09:19AM +0200, Wolfram Sang wrote: On Wed, Oct 09, 2013 at 05:04:20PM +0300, Mika Westerberg wrote: From: Lv Zheng lv.zh...@intel.com If the I2C client device is enumerated from ACPI namespace it might have ACPI methods that needs to be called in order to

Re: [PATCH 02/52] tools/perf/build: Add feature check core code

2013-10-10 Thread Namhyung Kim
On Thu, 10 Oct 2013 09:21:21 +0200, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: Hi Ingo, On Tue, 8 Oct 2013 12:10:32 +0200, Ingo Molnar wrote: +feature_check = $(eval $(feature_check_code)); $(info CHK: config/feature-checks/test-$(1)) +define feature_check_code +

[PATCH] gcc4: Add 'asm goto' miscompilation quirk

2013-10-10 Thread Ingo Molnar
* Jakub Jelinek ja...@redhat.com wrote: On Thu, Oct 10, 2013 at 08:51:04AM +0200, Jakub Jelinek wrote: @@ -8,6 +8,7 @@ foo (int a, int b) asm volatile goto (bts $1, %0; jc %l[lab] : : m (b) : memory : lab); return 0; lab: + asm (); return 0; } Or alternatively

Re: [XFS on bad superblock] BUG: unable to handle kernel NULL pointer dereference at 00000003

2013-10-10 Thread Fengguang Wu
Dave, This is an easily reproducible bug. And I further confirmed it in two ways: 1) turn off XFS, build 39 commits and boot them 2000+ times = no single mount error That doesn't tell you it is an XFS error. Absence of symptoms != absence of bug. True. 2) turn off all other filesystems,

read stalls with large RAM: transparent huges pages, dirty buffers, or I/O (block) scheduler?

2013-10-10 Thread Ulrich Windl
Hi! We are running some x86_64 servers with large RAM (128GB). Just to imagine: With a memory speed of a little more than 9GB/s it takes 10 seconds to read all RAM... In the past and recently we had problems with read() stalls when the kernel was writing back big amounts (like 80GB) of dirty

Re: [PATCH 32/52] tools/perf/build: Speed up auto-detection of features by adding a 'test-all' target

2013-10-10 Thread Namhyung Kim
On Thu, 10 Oct 2013 09:24:13 +0200, Ingo Molnar wrote: * Namhyung Kim namhy...@kernel.org wrote: On Tue, 8 Oct 2013 12:11:02 +0200, Ingo Molnar wrote: +test-all: + $(BUILD) -Werror -fstack-protector -Wvolatile-register-var -O2 -Werror -D_FORTIFY_SOURCE=2 -ldw -lelf -lnuma -lunwind

  1   2   3   4   5   6   7   8   9   10   >