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) > ^^^- vge

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 wrote: > On Mon, Oct 29, 2012 at 12:30:58PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Introduce one new mount option '-o hot_track', >> and add its parsing support. >> Its usage looks like: >>mount -o hot_track >>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 wrote: > Jan Beulich writes: > On 06.11.12 at 02:51, Rusty Russell wrote: >>> Yeah, there are a lot of goodies here: >>> >>> _Static_assert: >>> We could define __ASSERT_STRUCT_FIELD(e) for this: >>> #define BUILD_BUG_ON_ZERO(e) \ >>>

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 > wrote: >> On Nov 6, 2012, at 12:14 PM, Grant Likely wrote: >>> On Tue, Nov 6, 2012 at 10:30 AM, Pantelis Antoniou >>> wrote: For hot-plugging, you need it. Whether kernel code ca

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 > 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 fragment versioning thing is s

[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 --- 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 +++ b/mm/mempolicy.

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 call

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 wrote: > On Mon, Oct 29, 2012 at 12:30:45PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Add some util helpers to update access frequencies >> for one file or its range. >> >> Signed-off-by: Zhi Yong Wu >> --- >> fs/hot_tracking

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 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 how lon

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 wrote: > On Mon, Oct 29, 2012 at 12:30:52PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Introduce one framwork to enable that specific FS >> can register its own hot tracking functions. >> >> Signed-off-by: Zhi Yong Wu >> --- >>

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 sh

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

2012-11-07 Thread Viresh Kumar
On 29 October 2012 22:47, Viresh Kumar 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': > include/linux/mtd/map.h:331:11: warnin

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 wrote: > > From: Dave Chinner > > Connect up the VFS hot tracking support so XFS filesystems can make > use of it. > > Signed-off-by: Dave Chinner >

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 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 than x86. >

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 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 report the issue (in det

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

2012-11-07 Thread Sha Zhengju
From: Sha Zhengju 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: https://lkml.org/lkml/2012/

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

2012-11-07 Thread Sha Zhengju
From: Sha Zhengju 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 Cc: Michal Hocko Cc: KAMEZAWA Hiroyuki Cc: David Rientjes

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

2012-11-07 Thread Sha Zhengju
From: Sha Zhengju 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 Cc: Michal Hocko Cc: KAMEZAWA Hiroyuki Cc: David Rientjes Cc:

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

2012-11-07 Thread Qing Xu
From: Qing Xu Signed-off-by: Qing Xu --- drivers/regulator/max8925-regulator.c | 72 +++- 1 files changed, 69 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/max8925-regulator.c b/drivers/regulator/max8925-regulator.c index 9bb0be3..5e84921 100644 --

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 unsubsc

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, wrote: > From: Zhi Yong Wu > > 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 > https://github.com/wuzhy/kernel/commits/hot_trac

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 > 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 > >> > things, > >> > and th

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 Signed-off-by: Qing Xu --- drivers/regulator/max8925-regulator.c | 35 - 1 files changed, 34 insertions(+), 1 deletions(-) There is no binding

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 wrote: > >> David Howells 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 Fengguang's kbuild tes

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 wrote: > >> On 11/06/2012 01:48 AM, Andrew Morton wrote: >>> On Thu, 1 Nov 2012 16:07:41 +0400 >>> Glauber Costa wrote: >>> This means that when we destroy a memcg cache that happened to be empty

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 > > Signed-off-by: Qing Xu 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 binding documentation for new binding

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 > wrote: > > Support added only for leds (not for gpio's). > > > > Signed-off-by: Marek Belisko > > --- > > 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 poi

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 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 : > 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

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

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

[RFC PATCH v1 02/31] ARC: irqflags

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 deletions(-) create mode

[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 Signed-off-by: Vineet Gupta --- include/asm-generic/uaccess.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/uaccess

[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 --- arch/arc/include/asm/byteorder.h | 18 +++ arch/arc/include/asm/checksum.h | 101 ++ arch/arc/include/asm/swab.h | 99 + 3 files ch

[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 t

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 mode 100644 arch/arc/i

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 +++- arch/arc/plat-arcfpga/irq.c| 41

[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 --- arch/arc/include/asm/arcregs.h| 80 arch/arc/i

[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 --- 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 b/arch/arc/configs/fpga_defconfig ne

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 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 >> modifications whe

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 --- a/arch/arc/Kconfig +++ b/arch

[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 pcpu-all

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 arch/arc/kernel/traps.c

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 100644 arch/arc/inc

[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 --- arch/arc/include

[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 --- 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 +++ 4 files ch

[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 --- 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 --- 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 arch/arc/include/asm/s

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 +++ arch/arc/kernel/ctx_sw.c

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 | 49 +

[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 --- arch/arc/include/asm/entry.h | 495 arch/arc/kernel/entry.S | 577 ++ 2 files changed, 1072 insertions(+), 0 deletions(-) create mode 100644 arch/arc/include/asm/entry.h create mo

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 +++ arch/arc/lib/s

[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 --- arch/arc/include/

[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 Signed-off-by: Vineet Gupta --- include/asm-generic/checksum.h |4 lib/checksum.c |2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/checks

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 arch/arc/include/asm/

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

[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 --- arch/arc/include/asm/atomic.h | 232 ++ arch/arc/include/asm/barrier.h | 42 arch/arc/include/asm/bitops.h | 507 +

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 100644 arch/arc/include/

[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 wa

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 > Date: Mon, 5 Nov 2012 11:31:26 +0100 > > > Does something like look like a better solution? > > > > Author: Lee Jones > > Date: Sat Nov 3 22:06:02 2012 +0100 > > > > isdn: Make CONFIG_ISDN depend on CONFIG_NETDEVICES > > Yes,

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 > > ob

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 agr

[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 --- arch/arc/include/asm/arcregs.h | 90 ++ arch/arc/include/asm/tlb-mmu1.h | 104

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 fe9a17c..46d0280 100644 --- a/arch

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 wrote: > On Tue, Nov 6, 2012 at 12:24 AM, Michel Lespinasse wrote: >> On Mon, Nov 5, 2012 at 5:41 AM, Michel Lespinasse wrote: >>> On Sun, Nov 4, 2012 at 8:44 PM, Michel Lespinasse wrote: On Sun, Nov 4, 2012 at 8:14 PM, Bob Liu

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

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

[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 --- 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 |1 - 5 fil

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

2012-11-07 Thread Vineet Gupta
Signed-off-by: Vineet Gupta --- 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 arch/arc/include/asm/tlbfl

[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 --- arch/arc/include/asm/dma-mapping.h| 176 + arch/arc/include/asm/dma.h| 14 ++ arch/arc/include/asm/io.h | 26 arch/arc/mm/dma.

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 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 >> --sort=symbol,symbol_daddr,cost >>

[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 impleme

[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: Stanisla

[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 --- 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 +++ b/ipc/msg.c @@ -803,8 +803,15 @@

[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 disa

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

2012-11-07 Thread Stanislav Kinsbursky
Signed-off-by: Stanislav Kinsbursky --- 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 *dest, struct msg_msg *ms

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

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

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 >> wrote: > > [ snip ] >> >> g. > > Since we've started talking about longer term goals, and the versioning > provis

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

2012-11-07 Thread hongbo.zhang
From: "hongbo.zhang" 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 last 2 only this time

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

2012-11-07 Thread hongbo.zhang
From: "hongbo.zhang" 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 CPU, and other cooling

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

2012-11-07 Thread hongbo.zhang
From: "hongbo.zhang" 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 Reviewed-by: Viresh Kumar --- arch/arm/boot/dts/dbx5x0.dtsi | 14 + arch/arm/boot/dts/snowball.dt

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] > undefi

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 [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 wrote: > >From

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

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 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 is coming >

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

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

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

2012-11-07 Thread Steven Whitehouse
From: Andrew Price 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 Price Signed-off-by: S

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

2012-11-07 Thread Steven Whitehouse
From: Lukas Czerner 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 beyond the end of file s

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

2012-11-07 Thread Steven Whitehouse
From: Benjamin Marzinski 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 already holding a gloc

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 a

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

2012-11-07 Thread Steven Whitehouse
From: Benjamin Marzinski 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 buffer locked, __gfs

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

2012-11-07 Thread Steven Whitehouse
From: Lukas Czerner 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 Signed-off-by: Steven Whitehouse diff --git a/fs/

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

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

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 Cc: Paolo Bonzini Cc: Rusty Russell Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 28 +++- 1

[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 Cc: Paolo Bonzini Cc: Rusty Russell Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 15 ++- 1 file changed, 14 inse

[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 Cc: Paolo Bonzini Cc: Rusty Russell Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff

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 > > > >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 just leav

[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 Cc: Paolo Bonzini Cc: Rusty Russell Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao --- drivers/scsi/virtio_scsi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/scsi/virtio_scs

  1   2   3   4   5   6   >