Re: [PATCH] xen/events: xen/events: fix RCU warning

2012-11-07 Thread 邱模炯
Thanks Konrad. You are right, commit 98ad1cc14 missed the xen case. And before merging, please modify the title a bit. one redundant xen/events there. xen/events: xen/events: fix RCU warning - xen/events: fix RCU warning Cc: sta...@kernel.org (at least to 3.0.y) ^^^-

Re: [RFC v4+ hot_track 16/19] btrfs: add hot tracking support

2012-11-07 Thread Zhi Yong Wu
On Wed, Nov 7, 2012 at 8:00 AM, David Sterba d...@jikos.cz wrote: On Mon, Oct 29, 2012 at 12:30:58PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Introduce one new mount option '-o hot_track', and add its parsing support. Its usage looks like: mount

Re: [PATCH] utilize _Static_assert() for BUILD_BUG_ON() when the compiler supports it

2012-11-07 Thread Jan Beulich
On 07.11.12 at 02:03, Rusty Russell ru...@rustcorp.com.au wrote: Jan Beulich jbeul...@suse.com writes: On 06.11.12 at 02:51, Rusty Russell ru...@rustcorp.com.au wrote: Yeah, there are a lot of goodies here: _Static_assert: We could define __ASSERT_STRUCT_FIELD(e) for this:

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Grant, On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: On Nov 6, 2012, at 12:14 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 10:30 AM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: For

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Grant On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: [ snip ] g. Since we've started talking about longer term goals, and the versioning provision seems to stand, I hope we address how much the

[patch] mm, mempolicy: remove duplicate code

2012-11-07 Thread David Rientjes
Remove some duplicate code and simplify alloc_pages_vma(). No functional change. Signed-off-by: David Rientjes rient...@google.com --- mm/mempolicy.c | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/mm/mempolicy.c b/mm/mempolicy.c --- a/mm/mempolicy.c

Re: Network routing problem after upgrading to 3.6.2

2012-11-07 Thread Melby Sjamsuddin
Hi Richard, I tested 3.5.7 and everything seems to be normal, so it must be 3.6. Let me know if there's anything I can help. Melby Sjamsuddin Software Developermobile. 0403 714 482 www.vulytrampolines.com ◦ like us on Facebook For more general enquiries email: sa...@vulytrampolines.com or

Re: [RFC v4+ hot_track 03/19] vfs: add I/O frequency update function

2012-11-07 Thread Zhi Yong Wu
On Wed, Nov 7, 2012 at 6:45 AM, Darrick J. Wong darrick.w...@oracle.com wrote: On Mon, Oct 29, 2012 at 12:30:45PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add some util helpers to update access frequencies for one file or its range. Signed-off-by: Zhi

Re: [patch 02/16] sched: maintain per-rq runnable averages

2012-11-07 Thread Preeti U Murthy
On 10/29/2012 11:08 PM, Benjamin Segall wrote: Preeti Murthy preeti.l...@gmail.com writes: Hi Paul, Ben, A few queries regarding this patch: 1.What exactly is the significance of introducing sched_avg structure for a runqueue? If I have understood correctly, sched_avg keeps track of

Re: [RFC v4+ hot_track 10/19] vfs: introduce hot func register framework

2012-11-07 Thread Zhi Yong Wu
On Wed, Nov 7, 2012 at 7:30 AM, Darrick J. Wong darrick.w...@oracle.com wrote: On Mon, Oct 29, 2012 at 12:30:52PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Introduce one framwork to enable that specific FS can register its own hot tracking functions.

Need assistance fixing a tg3 driver side-effect on IPMI

2012-11-07 Thread Steffen Grunewald
Hi everyone, I've been running into a problem while installing Debian Wheezy on a bunch of 6-year old machines which have been running Squeeze happily for years. They are SuperMicro-based (H8SSL opteron board), with two BCM95704A6 (Tigon3) interfaces, and a BMC/IPMI card (SuperMicro 1U) which

Re: [PATCH] mtd: map: Fix compilation warning

2012-11-07 Thread Viresh Kumar
On 29 October 2012 22:47, Viresh Kumar viresh.ku...@linaro.org wrote: This patch is an attempt to fix following compilation warning. In file included from drivers/mtd/chips/cfi_cmdset_0001.c:35:0: drivers/mtd/chips/cfi_cmdset_0001.c: In function 'cfi_intelext_write_words':

Re: [PATCH] xfs: add hot tracking support.

2012-11-07 Thread Zhi Yong Wu
HI, Dave, I guess that you should add some hot tracking stuff in some xfs_show_xxx function, right? On Tue, Oct 16, 2012 at 8:04 AM, Dave Chinner da...@fromorbit.com wrote: From: Dave Chinner dchin...@redhat.com Connect up the VFS hot tracking support so XFS filesystems can make use of it.

Re: [Xen-devel] [PATCH 1/2] xen/generic: Disable fallback build on ARM.

2012-11-07 Thread Jan Beulich
On 07.11.12 at 08:19, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2012-11-06 at 22:13 +, Konrad Rzeszutek Wilk wrote: As there is no need for it (the fallback code is for older hypervisors and they won't run under ARM), I think more specifically they won't run on anything other

Re: Network routing problem after upgrading to 3.6.2

2012-11-07 Thread richard -rw- weinberger
On Wed, Nov 7, 2012 at 9:18 AM, Melby Sjamsuddin melb...@vulytrampolines.com wrote: Hi Richard, I tested 3.5.7 and everything seems to be normal, so it must be 3.6. Let me know if there's anything I can help. Now you can do a git bisect between 3.5 and 3.6 to find the bad commit. And you can

[PATCH V2 0/2] Provide more precise dump info for memcg-oom

2012-11-07 Thread Sha Zhengju
From: Sha Zhengju handai@taobao.com When memcg oom is happening the current memcg related dump information is limited for debugging. The patches provide more detailed memcg page statistics and also take hierarchy into consideration. The previous primitive version can be reached here:

[PATCH 1/2] memcg, oom: provide more precise dump info while memcg oom happening

2012-11-07 Thread Sha Zhengju
From: Sha Zhengju handai@taobao.com Current, when a memcg oom is happening the oom dump messages is still global state and provides few useful info for users. This patch prints more pointed memcg page statistics for memcg-oom. Signed-off-by: Sha Zhengju handai@taobao.com Cc: Michal Hocko

[PATCH 2/2] oom: rework dump_tasks to optimize memcg-oom situation

2012-11-07 Thread Sha Zhengju
From: Sha Zhengju handai@taobao.com If memcg oom happening, don't scan all system tasks to dump memory state of eligible tasks, instead we iterates only over the process attached to the oom memcg and avoid the rcu lock. Signed-off-by: Sha Zhengju handai@taobao.com Cc: Michal Hocko

[PATCH v2 5/7] mfd: max8925: support dt for regulator

2012-11-07 Thread Qing Xu
From: Qing Xu qi...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com --- drivers/regulator/max8925-regulator.c | 72 +++- 1 files changed, 69 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/max8925-regulator.c

Re: [PATCH] gpiolib: iron out include ladder mistakes

2012-11-07 Thread Mika Westerberg
On Tue, Nov 06, 2012 at 05:21:03PM +0100, Linus Walleij wrote: +static inline int +gpiochip_add_pin_range(struct gpio_chip *chip, const char *pinctl_name, +unsigned int pin_base, unsigned int npins) +{ +} Should you return some value above? Like -ENOSYS? -- To unsubscribe

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Pantelis Antoniou
Hi Stephen, On Nov 6, 2012, at 11:37 PM, Stephen Warren wrote: On 11/05/2012 01:40 PM, Grant Likely wrote: Hey folks, As promised, here is my early draft to try and capture what device tree overlays need to do and how to get there. Comments and suggestions greatly appreciated.

Re: [RFC v4+ hot_track 00/19] vfs: hot data tracking

2012-11-07 Thread Zhi Yong Wu
On Mon, Oct 29, 2012 at 12:30 PM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com NOTE: The patchset can be obtained via my kernel dev git on github: g...@github.com:wuzhy/kernel.git hot_tracking If you're interested, you can also can review them via

Re: [PATCH 1/3] gpio / ACPI: add ACPI support

2012-11-07 Thread Mika Westerberg
On Tue, Nov 06, 2012 at 11:15:21AM +0100, Linus Walleij wrote: On Tue, Nov 6, 2012 at 10:39 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: On Mon, Nov 05, 2012 at 03:40:14PM +0100, Linus Walleij wrote: I forgot to mention that we want to hook up _existing_ drivers to those

Re: [PATCH 5/7] mfd: max8925: support dt for regulator

2012-11-07 Thread Qing Xu
On 11/06/2012 05:01 PM, Mark Brown wrote: On Tue, Nov 06, 2012 at 03:44:52PM +0800, Qing Xu wrote: From: Qing Xu qi...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com --- drivers/regulator/max8925-regulator.c | 35 - 1 files changed, 34 insertions(+),

Re: tools, perf: Fix up for x86 UAPI disintegration

2012-11-07 Thread Namhyung Kim
Hi David, On Mon, 05 Nov 2012 23:18:27 +, David Howells wrote: David Howells dhowe...@redhat.com wrote: David Howells dhowe...@redhat.com wrote: I've posted a revised version of my perf patches to my UAPI disintegration GIT tree. Hmmm... It seems to break some things according to

Re: [PATCH v6 25/29] memcg/sl[au]b: shrink dead caches

2012-11-07 Thread Glauber Costa
On 11/07/2012 08:16 AM, Andrew Morton wrote: On Wed, 7 Nov 2012 08:13:08 +0100 Glauber Costa glom...@parallels.com wrote: On 11/06/2012 01:48 AM, Andrew Morton wrote: On Thu, 1 Nov 2012 16:07:41 +0400 Glauber Costa glom...@parallels.com wrote: This means that when we destroy a memcg cache

Re: [PATCH v2 5/7] mfd: max8925: support dt for regulator

2012-11-07 Thread Mark Brown
On Wed, Nov 07, 2012 at 04:41:50PM +0800, Qing Xu wrote: From: Qing Xu qi...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com Applied, thanks - I'm assuming that the documentation for this binding is in the core MFD patch along with the bindings for the core? It's mandatory to have

Re: [PATCH 1/2] leds/tca6507: Add support for devicetree.

2012-11-07 Thread Jingoo Han
On Wednesday, November 07, 2012 3:25 AM Bryan Wu wrote On Tue, Oct 30, 2012 at 2:45 PM, Marek Belisko marek.beli...@open-nandra.com wrote: Support added only for leds (not for gpio's). Signed-off-by: Marek Belisko marek.beli...@open-nandra.com --- drivers/leds/leds-tca6507.c | 73

Re: + binfmt_elfc-use-get_random_int-to-fix-entropy-depleting.patch added to -mm tree

2012-11-07 Thread Theodore Ts'o
On Tue, Nov 06, 2012 at 05:11:17PM -0800, Kees Cook wrote: Hrm, I don't like this. get_random_int() specifically says: Get a random word for internal kernel use only. The intent of AT_RANDOM is for userspace pRNG seeding (though glibc currently uses it directly for stack protector and pointer

Re: [PATCH V2 3/3] checkpatch: Emit an warning when floating point values are used

2012-11-07 Thread Andy Whitcroft
On Tue, Nov 06, 2012 at 03:36:25PM -0800, Andrew Morton wrote: On Thu, 1 Nov 2012 00:12:18 -0700 Joe Perches j...@perches.com wrote: Linux kernel doesn't like floating point, say so. ... --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2332,6 +2332,13 @@ sub process

Re: Need assistance fixing a tg3 driver side-effect on IPMI

2012-11-07 Thread 王金浦
2012/11/7 Steffen Grunewald steffen.grunew...@aei.mpg.de: Hi everyone, I've been running into a problem while installing Debian Wheezy on a bunch of 6-year old machines which have been running Squeeze happily for years. They are SuperMicro-based (H8SSL opteron board), with two BCM95704A6

[PATCH v3 5/7] mfd: max8925: support dt for regulator

2012-11-07 Thread Qing Xu
From: Qing Xu qi...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com --- .../bindings/regulator/max8925-regulator.txt | 29 drivers/regulator/max8925-regulator.c | 72 +++- 2 files changed, 98 insertions(+), 3 deletions(-) create mode 100644

[RFC PATCH v1 02/31] ARC: irqflags

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/arcregs.h | 114 +++ arch/arc/include/asm/irqflags.h | 143 +++ arch/arc/kernel/irq.c | 32 + 3 files changed, 289 insertions(+), 0

[RFC PATCH v1 04/31] asm-generic headers: uaccess.h to conditionally define segment_eq()

2012-11-07 Thread Vineet Gupta
This is because mm_segment_t is exported by arch code, while seqment_eq assumes it will have .seg element. Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Vineet Gupta vgu...@synopsys.com --- include/asm-generic/uaccess.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff

[RFC PATCH v1 07/31] ARC: checksum/byteorder/swab routines

2012-11-07 Thread Vineet Gupta
TBD: do_csum still needs to be written in asm Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/byteorder.h | 18 +++ arch/arc/include/asm/checksum.h | 101 ++ arch/arc/include/asm/swab.h | 99

[RFC Patch v1 00/31] Synopsys ARC Linux kernel Port

2012-11-07 Thread Vineet Gupta
Hi, This patchset based off-of 3.7-rc3, introduces the Linux kernel port to ARC700 processor family (750D and 770D) from Synopsys. ARC700 is highly configurable and power efficient 32-bit RISC core with MMU. It is embedded in SoCs deployed in TV Set Top boxes, Digital Media Players, all the way

[RFC PATCH v1 09/31] ARC: spinlock/rwlock/mutex primitives

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/mutex.h |9 ++ arch/arc/include/asm/spinlock.h | 144 + arch/arc/include/asm/spinlock_types.h | 35 3 files changed, 188 insertions(+), 0 deletions(-) create

[RFC PATCH v1 12/31] ARC: Interrupt Handling

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/arcregs.h |3 ++ arch/arc/include/asm/hw_irq.h |7 arch/arc/include/asm/irq.h | 25 + arch/arc/kernel/irq.c | 79 +++-

[RFC PATCH v1 17/31] ARC: Cache Flush Management

2012-11-07 Thread Vineet Gupta
* ARC700 has VIPT L1 Caches (L1 only) * Caches don't snoop and are not coherent * Given the PAGE_SIZE and Cache associativity, we don't support aliasing D$ configurations, but so allow aliasing I$ configs Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/arcregs.h|

[RFC PATCH v1 22/31] ARC: Page Fault handling (incl uaccess fixup)

2012-11-07 Thread Vineet Gupta
This includes recent changes to make handler retry and/or killable The killable (early exit) logic is loosely based on how SH implements it return if SIGKILL + either of VM_FAULT_OOM or VM_FAULT_RETRY which is different from Hexagon implementation which would NOT early exit for

[RFC PATCH v1 31/31] ARC: [plat-arcfpga] defconfig

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/configs/fpga_defconfig | 607 +++ 1 files changed, 607 insertions(+), 0 deletions(-) create mode 100644 arch/arc/configs/fpga_defconfig diff --git a/arch/arc/configs/fpga_defconfig

Re: [PATCH 0/4] x86, cacheinfo: Use AMD topology extensions

2012-11-07 Thread H. Peter Anvin
Too many of us at LCE right now... Jacob Shin jacob.s...@amd.com wrote: On Fri, Oct 19, 2012 at 10:55:19AM +0200, Andreas Herrmann wrote: Hi, Following patches modify cachinfo code to make use of AMD's topology extension CPUID functions. Thus (hopefully) we can avoid CPU specific

[RFC PATCH v1 29/31] ARC: switch to generic kernel_thread()

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kconfig |1 + arch/arc/kernel/process.c | 29 + 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index d6983afa..f3aacfc 100644 ---

[RFC PATCH v1 27/31] ARC: Last bits (stubs) to get to a running kernel with UART

2012-11-07 Thread Vineet Gupta
=8= Linux version 3.7.0-rc3+ (vineetg@vineetg-Latitude) (gcc version 4.4.7 (ARCompact elf32 toolchain (built 20120928)) ) #5 Tue Nov 6 17:05:37 CET 2012 [plat-arcfpga]: registering early dev resources bootconsole [early_ARCuart0] enabled

[RFC PATCH v1 13/31] ARC: Non-MMU Exception Handling

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/hw_irq.h |7 -- arch/arc/kernel/traps.c | 125 + 2 files changed, 125 insertions(+), 7 deletions(-) delete mode 100644 arch/arc/include/asm/hw_irq.h create mode 100644

[RFC PATCH v1 18/31] ARC: Page Table Management

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/page.h| 92 + arch/arc/include/asm/pgalloc.h | 134 + arch/arc/include/asm/pgtable.h | 401 3 files changed, 627 insertions(+), 0 deletions(-) create mode

[RFC PATCH v1 19/31] ARC: MMU Context Management

2012-11-07 Thread Vineet Gupta
ARC700 MMU provides for tagging TLB entries with a 8-bit ASID to avoid having to flush the TLB every task switch. It also allows for a quick way to invalidate all the TLB entries for task useful for: * COW sementics during fork() * task exit()ing Signed-off-by: Vineet Gupta vgu...@synopsys.com

[RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/irq.h |1 + arch/arc/plat-arcfpga/include/plat/irq.h| 27 +++ arch/arc/plat-arcfpga/include/plat/memmap.h | 31 arch/arc/plat-arcfpga/platform.c| 105

[RFC PATCH v1 24/31] ARC: startup #1: low-level, setup_arch(), /proc/cpuinfo, mem init

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/arcregs.h |5 + arch/arc/include/asm/setup.h | 22 + arch/arc/kernel/head.S | 78 arch/arc/kernel/reset.c | 33 +++ arch/arc/kernel/setup.c | 166

[RFC PATCH v1 16/31] ARC: Signal handling

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/sigcontext.h | 23 +++ arch/arc/include/asm/signal.h | 27 +++ arch/arc/kernel/signal.c | 360 + 3 files changed, 410 insertions(+), 0 deletions(-) create mode 100644

[RFC PATCH v1 15/31] ARC: Process/scheduling/clock/Timers/Delay Management

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/arcregs.h | 31 + arch/arc/include/asm/delay.h | 68 +++ arch/arc/include/asm/processor.h |3 + arch/arc/include/asm/switch_to.h | 41 +++ arch/arc/include/asm/timex.h | 18 +++

[RFC PATCH v1 14/31] ARC: syscall support

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/ptrace.h |5 ++ arch/arc/include/asm/syscall.h | 72 +++ arch/arc/include/asm/syscalls.h | 30 ++ arch/arc/include/asm/unistd.h | 44 ++ arch/arc/kernel/entry.S

[RFC PATCH v1 11/31] ARC: Low level IRQ/Trap/Exception(non-MMU) Handling

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/entry.h | 495 arch/arc/kernel/entry.S | 577 ++ 2 files changed, 1072 insertions(+), 0 deletions(-) create mode 100644

[RFC PATCH v1 10/31] ARC: string library

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/string.h | 40 + arch/arc/lib/memcmp.S | 124 + arch/arc/lib/memcpy-700.S | 66 ++ arch/arc/lib/memset.S | 59

[RFC PATCH v1 08/31] ARC: Fundamental ARCH data-types/defines

2012-11-07 Thread Vineet Gupta
* L1_CACHE_SHIFT * PAGE_SIZE, PAGE_OFFSET * struct pt_regs, struct user_regs_struct * struct thread_struct, cpu_relax(), task_pt_regs(), start_thread(), ... * struct thread_info, THREAD_SIZE, INIT_THREAD_INFO(), TIF_*, ... * BUG() * ELF_* * Elf_* Signed-off-by: Vineet Gupta vgu...@synopsys.com

[RFC PATCH v1 06/31] asm-generic headers: Allow yet more arch overrides in checksum.h

2012-11-07 Thread Vineet Gupta
arches can have more efficient implementation of these routines Acked-by: Arnd Bergmann a...@arndb.de Signed-off-by: Vineet Gupta vgu...@synopsys.com --- include/asm-generic/checksum.h |4 lib/checksum.c |2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff

[RFC PATCH v1 05/31] ARC: uaccess friends

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/segment.h | 24 ++ arch/arc/include/asm/uaccess.h | 605 2 files changed, 629 insertions(+), 0 deletions(-) create mode 100644 arch/arc/include/asm/segment.h create mode 100644

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-07 Thread Mika Westerberg
On Tue, Nov 06, 2012 at 11:18:11PM +0100, Rafael J. Wysocki wrote: How is the SPI controller different than this? Is there some logical difference that requires a different framework? Or are you proposing that we get rid of acpi_bus_register_driver() and migrate everything to this new

[RFC PATCH v1 03/31] ARC: atomic/bitops/cmpxchg/barriers

2012-11-07 Thread Vineet Gupta
This covers the UP / SMP (with no hardware assist for atomic r-m-w) as well as ARC700 LLOCK/SCOND insns based. Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/atomic.h | 232 ++ arch/arc/include/asm/barrier.h | 42 arch/arc/include/asm/bitops.h

[RFC PATCH v1 01/31] ARC: Generic Headers

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/Kbuild| 57 arch/arc/include/asm/asm-offsets.h |9 ++ 2 files changed, 66 insertions(+), 0 deletions(-) create mode 100644 arch/arc/include/asm/Kbuild create mode

[PATCH 1/1] isdn: Make CONFIG_ISDN depend on CONFIG_NETDEVICES

2012-11-07 Thread Lee Jones
It doesn't make much sense to enable ISDN services if you don't intend to connect to a network. Therefore insisting that ISDN depends on NETDEVICES seems logical. We can then remove any guards mentioning NETDEVICES inside all subordinate drivers. This also has the nice side-effect of fixing the

Re: [PATCH 8/9] isdn: Make CONFIG_ISDN depend on CONFIG_NETDEVICES

2012-11-07 Thread Lee Jones
On Tue, 06 Nov 2012, David Miller wrote: From: Lee Jones lee.jo...@linaro.org Date: Mon, 5 Nov 2012 11:31:26 +0100 Does something like look like a better solution? Author: Lee Jones lee.jo...@linaro.org Date: Sat Nov 3 22:06:02 2012 +0100 isdn: Make CONFIG_ISDN depend on

Re: [PATCH 2/3] spi / ACPI: add ACPI enumeration support

2012-11-07 Thread Mika Westerberg
On Tue, Nov 06, 2012 at 11:36:08PM +0100, Rafael J. Wysocki wrote: OK, but then we need to pass the information obtained from _CRS (presumably after some adjustments through _SRS) to drivers, or rather to things like the SPI core, I2C core etc. so that they can create device objects for

Re: [PATCH] Revert serial: omap: fix software flow control

2012-11-07 Thread Andreas Bießmann
On 16.10.2012 16:09, Felipe Balbi wrote: This reverts commit 957ee7270d632245b43f6feb0e70d9a5e9ea6cf6 (serial: omap: fix software flow control). As Russell has pointed out, that commit isn't fixing Software Flow Control at all, and it actually makes it even more broken. It was agreed to

[RFC PATCH v1 20/31] ARC: MMU Exception Handling

2012-11-07 Thread Vineet Gupta
* MMU I-TLB / D-TLB Miss Exceptions - Fast Path TLB Refill Handler - slowpath TLB creation via do_page_fault() - update_mmu_cache() * Duplicate PD Exception Handler Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/arcregs.h | 90 ++

[RFC PATCH v1 28/31] ARC: split ret_from_fork, simplify kernel_thread()

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/kernel/entry.S |8 arch/arc/kernel/process.c | 32 +--- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index

Re: mm: NULL ptr deref in anon_vma_interval_tree_verify

2012-11-07 Thread Bob Liu
Hi Michel, On Wed, Nov 7, 2012 at 11:54 AM, Michel Lespinasse wal...@google.com wrote: On Tue, Nov 6, 2012 at 12:24 AM, Michel Lespinasse wal...@google.com wrote: On Mon, Nov 5, 2012 at 5:41 AM, Michel Lespinasse wal...@google.com wrote: On Sun, Nov 4, 2012 at 8:44 PM, Michel Lespinasse

[RFC PATCH v1 26/31] ARC: Build system: Makefiles, Kconfig, Linker script

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/Kbuild|2 + arch/arc/Kconfig | 337 arch/arc/Kconfig.debug | 34 arch/arc/Makefile | 115

[RFC PATCH v1 30/31] ARC: switch to generic kernel_execve() and sys_execve()

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/ptrace.h |8 +++ arch/arc/include/asm/unistd.h |2 + arch/arc/kernel/entry.S | 17 --- arch/arc/kernel/process.c | 44 - arch/arc/kernel/sys.c

[RFC PATCH v1 21/31] ARC: TLB flush Handling

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/tlb.h | 17 ++ arch/arc/include/asm/tlbflush.h | 28 arch/arc/mm/tlb.c | 311 +++ 3 files changed, 356 insertions(+), 0 deletions(-) create mode 100644

[RFC PATCH v1 23/31] ARC: I/O and DMA Mappings

2012-11-07 Thread Vineet Gupta
TBD: Do we need early ioremap support like openrisc Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/dma-mapping.h| 176 + arch/arc/include/asm/dma.h| 14 ++ arch/arc/include/asm/io.h | 26

Re: [PATCH v2 00/16] perf: add memory access sampling support

2012-11-07 Thread Stephane Eranian
On Wed, Nov 7, 2012 at 8:38 AM, Namhyung Kim namhy...@kernel.org wrote: Hi Arnaldo, On Tue, 6 Nov 2012 17:52:21 -0300, Arnaldo Carvalho de Melo wrote: Em Mon, Nov 05, 2012 at 02:50:47PM +0100, Stephane Eranian escreveu: [root@sandy acme]# perf mem -t load rep --stdio

[PATCH 0/4] IPC: CRIU enhancements fixes and cleanup

2012-11-07 Thread Stanislav Kinsbursky
This patch set simplifies message queue copy feature and clean up it's implementation. It also adds some debug and fixes an issue, when copy_msg() fails. In this case error have to returned instead of breaking messages loop, because error message pointer is interpreted as -EAGAIN in current

[PATCH 1/4] ipc: simplify free_copy() call

2012-11-07 Thread Stanislav Kinsbursky
Passing and checking of msgflg to free_copy() is redundant. This patch sets copy to NULL on declaration instead and checks for non-NULL in free_copy(). Note: in case of copy allocation failure, error is returned immediately. So no need to check for IS_ERR() in free_copy(). Signed-off-by:

[PATCH 2/4] ipc: convert prepare_copy() from macro to function

2012-11-07 Thread Stanislav Kinsbursky
This code works if CONFIG_CHECKPOINT_RESTORE is disabled. Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- ipc/msg.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ipc/msg.c b/ipc/msg.c index f1070c3..ad194f8 100644 --- a/ipc/msg.c +++

[PATCH 3/4] ipc: simplify message copying

2012-11-07 Thread Stanislav Kinsbursky
This patch removed redundant and confusing fill_copy(). It also adds copy_msg() check for error. In this case exit from the function have to be done instead of break, because further code interprets any error as EAGAIN. It also defines copy_msg() for the case when CONFIG_CHECKPOINT_RESTORE is

[PATCH 4/4] ipc: add more comments to message copying related code

2012-11-07 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky skinsbur...@parallels.com --- ipc/msg.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ipc/msg.c b/ipc/msg.c index 5e317fe..4a4725c 100644 --- a/ipc/msg.c +++ b/ipc/msg.c @@ -770,6 +770,10 @@ static long do_msg_fill(void __user

[PATCH v4 5/7] mfd: max8925: support dt for regulator

2012-11-07 Thread Qing Xu
From: Qing Xu qi...@marvell.com Signed-off-by: Qing Xu qi...@marvell.com --- .../bindings/regulator/max8925-regulator.txt | 29 drivers/regulator/max8925-regulator.c | 72 +++- 2 files changed, 98 insertions(+), 3 deletions(-) create mode 100644

Re: [RFC] Device Tree Overlays Proposal (Was Re: capebus moving omap_devices to mach-omap2)

2012-11-07 Thread Benoit Cousson
Hi Panto, On 11/07/2012 09:13 AM, Pantelis Antoniou wrote: Hi Grant On Nov 6, 2012, at 9:45 PM, Grant Likely wrote: On Tue, Nov 6, 2012 at 7:34 PM, Pantelis Antoniou pa...@antoniou-consulting.com wrote: [ snip ] g. Since we've started talking about longer term goals, and the

[PATCH V4 0/2] Upstream ST-Ericsson thermal driver

2012-11-07 Thread hongbo.zhang
From: hongbo.zhang hongbo.zh...@linaro.com V3-V4 Changes: 1. In previous patch set V3 Fix thermal bugs and Upstream ST-Ericsson thermal driver, there were 5 patches in total, since the first 3 for fixing thermal layer bugs have been accepted by the maintainer, I'd like to send out the updated

[PATCH V4 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-07 Thread hongbo.zhang
From: hongbo.zhang hongbo.zh...@linaro.com This driver is based on the thermal management framework in thermal_sys.c. A thermal zone device is created with the trip points to which cooling devices can be bound, the current cooling device is cpufreq, e.g. CPU frequency is clipped down to cool the

[PATCH V4 2/2] Thermal: Add ST-Ericsson DB8500 thermal properties and platform data.

2012-11-07 Thread hongbo.zhang
From: hongbo.zhang hongbo.zh...@linaro.com This patch adds device tree properties for ST-Ericsson DB8500 thermal driver, also adds the platform data to support the old fashion. Signed-off-by: hongbo.zhang hongbo.zh...@linaro.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org ---

Re: [PATCH 2/2] xen/arm: Fix compile errors when drivers are compiled as modules.

2012-11-07 Thread Stefano Stabellini
On Tue, 6 Nov 2012, Konrad Rzeszutek Wilk wrote: We end up with: ERROR: HYPERVISOR_event_channel_op [drivers/xen/xen-gntdev.ko] undefined! ERROR: privcmd_call [drivers/xen/xen-privcmd.ko] undefined! ERROR: HYPERVISOR_grant_table_op [drivers/net/xen-netback/xen-netback.ko] undefined! and

Re: [PATCH V2 RFC 2/3] kvm: Handle yield_to failure return code for potential undercommit case

2012-11-07 Thread Raghavendra K T
* Raghavendra K T raghavendra...@linux.vnet.ibm.com [2012-10-31 22:36:25]: On 10/31/2012 07:11 PM, Avi Kivity wrote: On 10/31/2012 03:15 PM, Raghavendra K T wrote: On 10/31/2012 06:11 PM, Raghavendra K T wrote: On 10/31/2012 06:08 PM, Avi Kivity wrote: On 10/29/2012 04:07 PM, Raghavendra K T

Re: [PATCH 08/19] mm: numa: Create basic numa page hinting infrastructure

2012-11-07 Thread Mel Gorman
On Tue, Nov 06, 2012 at 01:58:26PM -0500, Rik van Riel wrote: On 11/06/2012 04:14 AM, Mel Gorman wrote: Note: This patch started as mm/mpol: Create special PROT_NONE infrastructure and preserves the basic idea but steals *very* heavily from autonuma: numa hinting page faults entry

Re: [PATCH] firmware loader: Fix the race FW_STATUS_DONE is followed by class_timeout

2012-11-07 Thread Ming Lei
On Thu, Nov 8, 2012 at 12:45 AM, Chuansheng Liu chuansheng@intel.com wrote: There is a race condition as below when calling request_firmware(): CPU1CPU2 write 0 loading mutex_lock(fw_lock); ... set_bit FW_STATUS_DONE class_timeout

[PATCH 1/7] GFS2: Fix an unchecked error from gfs2_rs_alloc

2012-11-07 Thread Steven Whitehouse
From: Andrew Price anpr...@redhat.com Check the return value of gfs2_rs_alloc(ip) and avoid a possible null pointer dereference. Signed-off-by: Andrew Price anpr...@redhat.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index

[PATCH 2/7] GFS2: Fix possible null pointer deref in gfs2_rs_alloc

2012-11-07 Thread Steven Whitehouse
From: Andrew Price anpr...@redhat.com Despite the return value from kmem_cache_zalloc() being checked, the error wasn't being returned until after a possible null pointer dereference. This patch returns the error immediately, allowing the removal of the error variable. Signed-off-by: Andrew

[PATCH 5/7] GFS2: Fix FITRIM argument handling

2012-11-07 Thread Steven Whitehouse
From: Lukas Czerner lczer...@redhat.com Currently implementation in gfs2 uses FITRIM arguments as it were in file system blocks units which is wrong. The FITRIM arguments (fstrim_range.start, fstrim_range.len and fstrim_range.minlen) are actually in bytes. Moreover, check for start argument

[PATCH 6/7] GFS2: Don't call file_accessed() with a shared glock

2012-11-07 Thread Steven Whitehouse
From: Benjamin Marzinski bmarz...@redhat.com file_accessed() was being called by gfs2_mmap() with a shared glock. If it needed to update the atime, it was crashing because it dirtied the inode in gfs2_dirty_inode() without holding an exclusive lock. gfs2_dirty_inode() checked if the caller was

GFS2: Pre-pull patch posting (fixes)

2012-11-07 Thread Steven Whitehouse
Hi, Here are a number of GFS2 bug fixes. There are three from Andy Price which fix various issues spotted by automated code analysis. There are two from Lukas Czerner fixing my mistaken assumptions as to how FITRIM should work. Finally Ben Marzinski has fixed a bug relating to mmap and atime and

[PATCH 7/7] GFS2: Test bufdata with buffer locked and gfs2_log_lock held

2012-11-07 Thread Steven Whitehouse
From: Benjamin Marzinski bmarz...@redhat.com In gfs2_trans_add_bh(), gfs2 was testing if a there was a bd attached to the buffer without having the gfs2_log_lock held. It was then assuming it would stay attached for the rest of the function. However, without either the log lock being held of the

[PATCH 4/7] GFS2: Require user to provide argument for FITRIM

2012-11-07 Thread Steven Whitehouse
From: Lukas Czerner lczer...@redhat.com When the fstrim_range argument is not provided by user in FITRIM ioctl we should just return EFAULT and not promoting bad behaviour by filling the structure in kernel. Let the user deal with it. Signed-off-by: Lukas Czerner lczer...@redhat.com

[PATCH 3/7] GFS2: Clean up some unused assignments

2012-11-07 Thread Steven Whitehouse
From: Andrew Price anpr...@redhat.com Cleans up two cases where variables were assigned values but then never used again. Signed-off-by: Andrew Price anpr...@redhat.com Signed-off-by: Steven Whitehouse swhit...@redhat.com diff --git a/fs/gfs2/file.c b/fs/gfs2/file.c index 0def050..377a68d

Re: [PATCH 08/19] mm: numa: Create basic numa page hinting infrastructure

2012-11-07 Thread Rik van Riel
On 11/07/2012 05:38 AM, Mel Gorman wrote: On Tue, Nov 06, 2012 at 01:58:26PM -0500, Rik van Riel wrote: On 11/06/2012 04:14 AM, Mel Gorman wrote: Note: This patch started as mm/mpol: Create special PROT_NONE infrastructure and preserves the basic idea but steals *very* heavily

[PATCH 5/5] virtio-scsi: tidy up the goto label in init()

2012-11-07 Thread Wanlong Gao
Tidy up the goto label in init(), and remove the useless NULL pointer assignment. Cc: James E.J. Bottomley jbottom...@parallels.com Cc: Paolo Bonzini pbonz...@redhat.com Cc: Rusty Russell ru...@rustcorp.com.au Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao

[PATCH 4/5] virtio-scsi: create a separate work queue for virtio-scsi

2012-11-07 Thread Wanlong Gao
Create a separate work queue for virtio-scsi to improve the performance. Cc: James E.J. Bottomley jbottom...@parallels.com Cc: Paolo Bonzini pbonz...@redhat.com Cc: Rusty Russell ru...@rustcorp.com.au Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao

[PATCH 3/5] virtio-scsi: use pr_err instead of printk

2012-11-07 Thread Wanlong Gao
Use pr_err() instead of printk() for code cleanups. Cc: James E.J. Bottomley jbottom...@parallels.com Cc: Paolo Bonzini pbonz...@redhat.com Cc: Rusty Russell ru...@rustcorp.com.au Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com ---

Re: [PATCH 15/19] mm: numa: Add fault driven placement and migration

2012-11-07 Thread Mel Gorman
On Tue, Nov 06, 2012 at 02:41:13PM -0500, Rik van Riel wrote: On 11/06/2012 04:14 AM, Mel Gorman wrote: From: Peter Zijlstra a.p.zijls...@chello.nl NOTE: This patch is based on sched, numa, mm: Add fault driven placement and migration policy but as it throws away all the policy to

[PATCH 1/5] virtio-scsi: remove the useless assignment

2012-11-07 Thread Wanlong Gao
Reassign err is not needed, just a cleanup. Cc: James E.J. Bottomley jbottom...@parallels.com Cc: Paolo Bonzini pbonz...@redhat.com Cc: Rusty Russell ru...@rustcorp.com.au Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao gaowanl...@cn.fujitsu.com ---

  1   2   3   4   5   6   7   8   9   10   >