[PATCH 1/9] random32: introduce random32_get_bytes() and prandom32_get_bytes()

2012-10-28 Thread Akinobu Mita
Add functions to get the requested number of pseudo-random bytes. The difference from get_random_bytes() is that it uses pseudo-random numbers generated by random32. It is fast, suitable for generating random bytes for testing, and reproducible if prandom32 interface is used. Signed-off-by: Akin

[PATCH 6/9] mtd: mtd_oobtest: convert to use prandom32_get_bytes()

2012-10-28 Thread Akinobu Mita
This removes home-brewed pseudo-random number generator and use prandom32_get_bytes(). Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: David Woodhouse Cc: linux-...@lists.infradead.org --- drivers/mtd/tests/mtd_oobtest.c | 49 ++--- 1 file changed, 16 i

[PATCH 8/9] mtd: mtd_speedtest: use random32_get_bytes

2012-10-28 Thread Akinobu Mita
Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: David Woodhouse Cc: linux-...@lists.infradead.org --- drivers/mtd/tests/mtd_speedtest.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/mtd/tests/mtd_speedtest.c b/drivers/mtd/tests/mtd_speedtest.c index 4

[PATCH 2/9] uuid: use random32_get_bytes()

2012-10-28 Thread Akinobu Mita
Use random32_get_bytes() to generate 16 bytes of pseudo-random bytes. Signed-off-by: Akinobu Mita --- lib/uuid.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lib/uuid.c b/lib/uuid.c index 52a6fe6..697f867 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -25,13 +25,7 @@

[PATCH 4/9] mtd: nandsim: use random32_get_bytes

2012-10-28 Thread Akinobu Mita
This also removes unnecessary memset call which is immediately overwritten with random bytes. Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: David Woodhouse Cc: linux-...@lists.infradead.org --- drivers/mtd/nand/nandsim.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --

[PATCH 9/9] mtd: mtd_subpagetest: convert to use prandom32_get_bytes()

2012-10-28 Thread Akinobu Mita
This removes home-brewed pseudo-random number generator and use prandom32_get_bytes(). Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: David Woodhouse Cc: linux-...@lists.infradead.org --- drivers/mtd/tests/mtd_subpagetest.c | 42 +++-- 1 file changed, 12 i

[PATCH 7/9] mtd: mtd_pagetest: convert to use prandom32_get_bytes()

2012-10-28 Thread Akinobu Mita
This removes home-brewed pseudo-random number generator and use prandom32_get_bytes(). Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: David Woodhouse Cc: linux-...@lists.infradead.org --- drivers/mtd/tests/mtd_pagetest.c | 43 1 file changed, 13 i

[PATCH 5/9] ubifs: use random32_get_bytes

2012-10-28 Thread Akinobu Mita
This also converts filling memory loop to use memset. Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: Adrian Hunter Cc: linux-...@lists.infradead.org --- fs/ubifs/debug.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c index

[PATCH 3/9] mtd: mtd_nandecctest: use random32_get_bytes instead of get_random_bytes()

2012-10-28 Thread Akinobu Mita
Using random32_get_bytes() is enough. Because this data is only used for testing, not used for cryptographic use. Signed-off-by: Akinobu Mita Cc: Artem Bityutskiy Cc: David Woodhouse Cc: linux-...@lists.infradead.org --- drivers/mtd/tests/mtd_nandecctest.c | 2 +- 1 file changed, 1 insertion(

Re: [PATCH V4 REPOST 1/2] kbuild: centralize .dts->.dtb rule

2012-10-28 Thread Sam Ravnborg
On Fri, Oct 26, 2012 at 01:29:56PM -0600, Stephen Warren wrote: > From: Stephen Warren > > All architectures that use cmd_dtc do so in the same way. Move the build > rule to a central location to avoid duplication. > > Signed-off-by: Stephen Warren This is missing documentation of the new rule

Re: [RFC v4 03/15] vfs,hot_track: add the function for collecting I/O frequency

2012-10-28 Thread Zheng Liu
Hi Zhiyong, On Thu, Oct 25, 2012 at 11:08:55PM +0800, zwu.ker...@gmail.com wrote: [snip] > @@ -199,6 +342,54 @@ err: > } > > /* > + * Main function to update access frequency from read/writepage(s) hooks > + */ > +inline void hot_update_freqs(struct inode *inode, u64 start, > +

[PATCH 00/16] treewide: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ create smaller objects than dev_printk(KERN_. Convert non-debug calls to this form. Joe Perches (16): tile: Convert dev_printk(KERN_ to dev_( ata: Convert dev_printk(KERN_ to dev_( drivers: base: Convert dev_printk(KERN_ to dev_( block: Convert dev_printk(KERN_ to dev_( pcmcia: Conv

[PATCH 01/16] tile: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- arch/tile/kernel/pci_gx.c | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/arch/tile/kernel/pci_gx.c b/arch/til

[PATCH 02/16] ata: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- drivers/ata/pata_cmd64x.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_

[PATCH 03/16] drivers: base: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Signed-off-by: Joe Perches --- drivers/base/attribute_container.c |2 +- drivers/base/devres.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/attribute_con

[PATCH 04/16] block: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Signed-off-by: Joe Perches --- drivers/block/umem.c | 97 +++--- 1 files changed, 45 insertions(+), 52 deletions(-) diff --git a/drivers/block/umem.c b/drivers/block/u

[PATCH 05/16] pcmcia: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Add missing newline. Signed-off-by: Joe Perches --- drivers/char/pcmcia/cm4040_cs.c |5 +- drivers/pcmcia/cistpl.c | 10 ++--- drivers/pcmcia/cs.c |

[PATCH 06/16] dma: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- drivers/dma/at_hdmac_regs.h |8 +++--- drivers/dma/iop-adma.c | 45 +++ drivers/dma/mv_xor.c| 62 +++

[PATCH 07/16] gpu: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce multiline formats for easier grep. Coalesce unnecessarily segmented formats on a single line too. Remove trailing space after newline in a format. Signed-off-by: Joe Perches --- drivers/gpu/drm/gma500/cdv_

[PATCH 08/16] i2c: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- drivers/i2c/busses/i2c-piix4.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-piix4.c b/drivers/

[PATCH 09/16] wireless: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- drivers/net/wireless/at76c50x-usb.c | 85 ++--- drivers/net/wireless/iwlegacy/common.h|5 +- drivers/net/wire

[PATCH 10/16] ethernet: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- drivers/net/ethernet/chelsio/cxgb3/common.h |7 +++ drivers/net/ethernet/marvell/pxa168_eth.c |7 +++ 2 files changed, 6 insertions

[PATCH 11/16] pci: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- drivers/pci/irq.c | 10 +- drivers/pci/pci-stub.c |2 +- drivers/pci/pcie/aspm.c |7 ++- 3 files changed, 8 insertions(+

[PATCH 12/16] scsi: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce formats for easier grep. Signed-off-by: Joe Perches --- drivers/scsi/53c700.c|2 +- drivers/scsi/aic7xxx/aic79xx_osm_pci.c |4 +- drivers/scsi/aic7xxx/aic7xxx_osm_pci.c |

[PATCH 14/16] virtio: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Convert if (printk_ratelimit()) dev_printk to dev__ratelimited. Signed-off-by: Joe Perches --- drivers/virtio/virtio_balloon.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/

[PATCH 15/16] watchdog: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Signed-off-by: Joe Perches --- drivers/watchdog/mpcore_wdt.c | 19 +-- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/watchdog/mpcore_wdt.c b/drivers/watchdog/mpcore_wdt.c

[PATCH 16/16] sound: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Coalesce multiline formats for easier grep. Coalesce segmented single line formats too. Signed-off-by: Joe Perches --- sound/pci/asihpi/hpidspcd.c | 22 +- sound/pci/asihpi/hpioctl.c | 17 +

[PATCH 13/16] usb: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
dev_ calls take less code than dev_printk(KERN_ and reducing object size is good. Signed-off-by: Joe Perches --- drivers/usb/core/hub.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 5b131b6..fbaf3c3 100644 --- a/dr

Re: [RFC PATCH v3 02/16] ARM: davinci: move private EDMA API to arm/common

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: > Move mach-davinci/dma.c to common/edma.c so it can be used > by OMAP (specifically AM33xx) as well. This just moves the > private EDMA API but does not support OMAP. > > Signed-off-by: Matt Porter > --- > diff --git a/arch/arm/mach-davinci/devices.c b/

Re: [PATCH 16/16] sound: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Takashi Iwai
At Sun, 28 Oct 2012 01:05:54 -0700, Joe Perches wrote: > > dev_ calls take less code than dev_printk(KERN_ > and reducing object size is good. > Coalesce multiline formats for easier grep. > Coalesce segmented single line formats too. > > Signed-off-by: Joe Perches Thanks, applied. Takashi >

Re: [PATCH 014/193] arch/m68k: remove CONFIG_EXPERIMENTAL

2012-10-28 Thread Geert Uytterhoeven
On Tue, Oct 23, 2012 at 10:01 PM, Kees Cook wrote: > This config item has not carried much meaning for a while now and is > almost always enabled by default. As agreed during the Linux kernel > summit, remove it. > > CC: Geert Uytterhoeven > Signed-off-by: Kees Cook Acked-by: Geert Uytterhoeven

Re: [RESEND PATCH 2/4] asm-generic: io: don't perform swab during {in,out} string functions

2012-10-28 Thread Geert Uytterhoeven
Hi Ben, On Tue, Oct 23, 2012 at 3:25 AM, Benjamin Herrenschmidt wrote: > On Thu, 2012-10-18 at 07:48 +0200, Geert Uytterhoeven wrote: >> So assume you have the bytestream "Hello, world!\n" in memory on the >> PCI device.I.e. >> >> 48 65 6c 6c 6f 2c 20 77 6f 72 6c 64 21 0a|Hello

Re: [GIT PATCH] TTY patches for 3.7-rc1

2012-10-28 Thread Jiri Slaby
On 10/02/2012 12:13 AM, Greg KH wrote: > On Mon, Oct 01, 2012 at 11:48:58PM +0200, Jiri Slaby wrote: >> On 10/01/2012 08:30 PM, Greg KH wrote: >>> Stanislav Kozina (2): >>> tty: Fix possible race in n_tty_read() >> >> The (pretty hopeless) commit log says: >> Fix possible panic caused by

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

2012-10-28 Thread Preeti Murthy
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 long a task has been active, how long has it been serviced by the processor and its lifetime.H

Re: [PATCH] sched, autogroup: fix crash on reboot when autogroup is disabled

2012-10-28 Thread Ingo Molnar
* Mike Galbraith wrote: > On Fri, 2012-10-26 at 13:29 -0700, Mike Galbraith wrote: > > On Sat, 2012-10-20 at 08:38 -0400, Mike Galbraith wrote: > > > > > So what I would do is either let the user decide once at boot, in which > > > case if off, creating groups would be stupid), or, just rip au

[PATCH] jsm: Convert jsm_printk to jsm_dbg

2012-10-28 Thread Joe Perches
These printks should all be emitted at KERN_DEBUG level. Make them dependent on CONFIG_DEBUG or (#define DEBUG) simplify the code a bit. Add missing newlines where appropriate. Most all of these messages could be deleted too. Signed-off-by: Joe Perches --- drivers/tty/serial/jsm/jsm.h|

Re: [PATCH 00/16] treewide: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Sergei Shtylyov
Hello. On 28-10-2012 12:05, Joe Perches wrote: dev_ create smaller objects than dev_printk(KERN_. Convert non-debug calls to this form. Joe Perches (16): tile: Convert dev_printk(KERN_ to dev_( [...] tile: Convert dev_printk(KERN_ to dev_( [...] tile: Convert dev_printk(KERN_ to

Re: [RFC PATCH v3 04/16] ARM: edma: add DT and runtime PM support for AM33XX

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: > Adds support for parsing the TI EDMA DT data into the required > EDMA private API platform data. > > Calls runtime PM API only in the DT case in order to unidle the > associated hwmods on AM33XX. Runtime PM is supported on DaVinci now, so if that was th

Hang with swap / mempool / md on 3.7.0-rc2

2012-10-28 Thread Torsten Kaiser
While 3.7.0-rc1 and -rc2 otherwise worked fine for me, today my system experienced a hang, trying to write to its disks. Source of the problem seems to be a hang in kswapd0, after that many more processes got stuck trying to do IO. Even an emergency sync via SysRq+S did no longer complete. The ha

Re: [PATCH 04/16 v2] f2fs: add super block operations

2012-10-28 Thread Vyacheslav Dubeyko
On Oct 23, 2012, at 6:27 AM, Jaegeuk Kim wrote: > This adds the implementation of superblock operations for f2fs, which includes > - init_f2fs_fs/exit_f2fs_fs > - f2fs_mount > - super_operations of f2fs > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/super.c | 590 ++

Re: drm i915 hangs on heavy io load

2012-10-28 Thread Chris Wilson
On Sun, 28 Oct 2012 11:47:53 +0900, Norbert Preining wrote: > I pulled the whole branch into my compile branch, and removed everything > from kernel cmd line regarding rc6, and got the > [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung > [drm] capturing error event

Re: [RFC PATCH v3 05/16] ARM: edma: add AM33XX crossbar event support

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: > Adds support for the per-EDMA channel event mux. This is required > for any peripherals using DMA crossbar mapped events. > > Signed-off-by: Matt Porter > --- > arch/arm/common/edma.c | 63 > +++- > includ

Re: [RFC PATCH v3 08/16] ARM: dts: add AM33XX EDMA support

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: > Adds AM33XX EDMA support to the am33xx.dtsi as documented in > Documentation/devicetree/bindings/dma/ti-edma.txt > > Signed-off-by: Matt Porter > --- > arch/arm/boot/dts/am33xx.dtsi | 31 +++ > 1 file changed, 31 insertion

Re: [RFC PATCH v3 16/16] ARM: dts: add AM33XX SPI support

2012-10-28 Thread Sekhar Nori
On 10/18/2012 6:56 PM, Matt Porter wrote: > Adds AM33XX SPI support for am335x-bone and am335x-evm. > > Signed-off-by: Matt Porter > --- > arch/arm/boot/dts/am335x-bone.dts | 17 +++ > arch/arm/boot/dts/am335x-evm.dts |9 > arch/arm/boot/dts/am33xx.dtsi | 43 >

Re: [PATCH 08/16] i2c: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Jean Delvare
Hi Joe, On Sun, 28 Oct 2012 01:05:46 -0700, Joe Perches wrote: > dev_ calls take less code than dev_printk(KERN_ > and reducing object size is good. > Coalesce formats for easier grep. > > Signed-off-by: Joe Perches > --- > drivers/i2c/busses/i2c-piix4.c |5 ++--- > 1 files changed, 2 inser

[PATCH] hidraw: add a .gitignore entry for samples/hidraw/hid-example

2012-10-28 Thread Hannes Frederic Sowa
Signed-off-by: Hannes Frederic Sowa --- samples/hidraw/.gitignore | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 samples/hidraw/.gitignore diff --git a/samples/hidraw/.gitignore b/samples/hidraw/.gitignore new file mode 100644 index 000..b1bdafd --- /dev/null +++ b/samples/hidr

Re: [PATCH] firmware: use noinline_for_stack

2012-10-28 Thread Ming Lei
On Sun, Oct 28, 2012 at 6:37 AM, Cesar Eduardo Barros wrote: > The comment above fw_file_size() suggests it is noinline for stack size > reasons. Use noinline_for_stack to make this more clear. Acked-by: Ming Lei Thanks, -- Ming Lei -- To unsubscribe from this list: send the line "unsubscribe

Re: Compilation options (for low jitter)

2012-10-28 Thread Ove Karlsen
Today I actually switched to Thunderbird. Anyway disabling no_sse2 was a bad idea, increasing jitter/overhead. Some optimizations for low-jitter such as no_defer and prefech latency can change percieved latency/jitter slighty. http://paradoxuncreated.com/Blog/wordpress/?p=4223 And I am always

Re: [PATCH 00/16] treewide: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Joe Perches
On Sun, 2012-10-28 at 14:54 +0400, Sergei Shtylyov wrote: > Hello. Hi Sergei. > On 28-10-2012 12:05, Joe Perches wrote: > > > dev_ create smaller objects than dev_printk(KERN_. > > Convert non-debug calls to this form. > > > Joe Perches (16): > >tile: Convert dev_printk(KERN_ to dev_( > [..

Re: drm i915 hangs on heavy io load

2012-10-28 Thread Norbert Preining
Hi Chris, > so can you > please file a bug on bugzilla.freedesktop.org (or bugzilla.kernel.org) > so that we don't lose track of it. Will do when I'm back from the mountains. > If your have the option, can you switch the ddx between using SNA and > UXA. ??? Is that a BIOS option? Or kernel? I

[PATCH/v2] staging : csr: Fix typo in csr/netdev.c

2012-10-28 Thread Masanari Iida
Correct spelling typos in csr/netdev.c Signed-off-by: Masanari Iida --- drivers/staging/csr/netdev.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 113f2c1..56875ec 100644 --- a/drivers/staging/

Re: [PATCH 01/16] tile: Convert dev_printk(KERN_ to dev_(

2012-10-28 Thread Chris Metcalf
On 10/28/2012 4:05 AM, Joe Perches wrote: > dev_ calls take less code than dev_printk(KERN_ > and reducing object size is good. > Coalesce formats for easier grep. > > Signed-off-by: Joe Perches > --- > arch/tile/kernel/pci_gx.c | 15 ++- > 1 files changed, 6 insertions(+), 9 deleti

Re: [PATCH] staging: csr: Fix typo in csr/netdev.c

2012-10-28 Thread Masanari Iida
> > Hi Masanari, > > You've also missed the fact that 'address' is spelt incorrectly in > 'RSA adrress' here. > > Cheers, > > Mark Hi Mark, Thanks for reviewing my patch. I just sent version 2 of the patch which include a fix. Masanari -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] s390: Add pmd_mknotpresent()

2012-10-28 Thread Ingo Molnar
There's a related problem on s390: other THP implementations have pmd_mknotpresent() while s390 not, resulting in: mm/huge_memory.c:1543:2: error: implicit declaration of function 'pmd_mknotpresent' The (untested!) patch below adds the s390 version of this method. Gerald, Martin, did I get

Re: [PATCH] sched, autogroup: fix crash on reboot when autogroup is disabled

2012-10-28 Thread Mike Galbraith
On Sun, 2012-10-28 at 11:25 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > No knobs, no glitz, nada, just a cute little thing folks can turn > > on if they don't want to muck about with cgroups and/or systemd. > > Please also keep the Kconfig switch and reuse it to turn on the > 'a

Re: [PATCH] sched, autogroup: fix crash on reboot when autogroup is disabled

2012-10-28 Thread Ingo Molnar
* Mike Galbraith wrote: > On Sun, 2012-10-28 at 11:25 +0100, Ingo Molnar wrote: > > * Mike Galbraith wrote: > > > > > > No knobs, no glitz, nada, just a cute little thing folks can turn > > > on if they don't want to muck about with cgroups and/or systemd. > > > > Please also keep the Kconf

Re: [PATCH] sched, autogroup: fix crash on reboot when autogroup is disabled

2012-10-28 Thread Mike Galbraith
On Sun, 2012-10-28 at 14:19 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Sun, 2012-10-28 at 11:25 +0100, Ingo Molnar wrote: > > > * Mike Galbraith wrote: > > > > > > > > > No knobs, no glitz, nada, just a cute little thing folks can turn > > > > on if they don't want to muck

Re: [PATCH 5/5] perf tool: Move dso_* related functions into dso object

2012-10-28 Thread Arnaldo Carvalho de Melo
Em Sat, Oct 27, 2012 at 11:18:32PM +0200, Jiri Olsa escreveu: > Moving dso_* related functions into dso object. > > Keeping symbol loading related functions still in the symbol > object as it seems more convenient. Please resubmit after you fix this: The other 4 patches I already applied to my l

Re: [PATCH v2 1/1] freezer: change ptrace_stop/do_signal_stop to use freezable_schedule()

2012-10-28 Thread Oleg Nesterov
On 10/27, Ben Hutchings wrote: > > On Fri, 2012-10-26 at 19:46 +0200, Oleg Nesterov wrote: > > try_to_freeze_tasks() and cgroup_freezer rely on scheduler locks > > to ensure that a task doing STOPPED/TRACED -> RUNNING transition > > can't escape freezing. This mostly works, but ptrace_stop() does >

Re: [RFC v4 03/15] vfs,hot_track: add the function for collecting I/O frequency

2012-10-28 Thread Zhi Yong Wu
On Sun, Oct 28, 2012 at 3:55 PM, Zheng Liu wrote: > Hi Zhiyong, > > On Thu, Oct 25, 2012 at 11:08:55PM +0800, zwu.ker...@gmail.com wrote: > [snip] >> @@ -199,6 +342,54 @@ err: >> } >> >> /* >> + * Main function to update access frequency from read/writepage(s) hooks >> + */ >> +inline void hot_u

Re: [PATCH] ext4: fix unjournaled inode bitmap modification

2012-10-28 Thread Nix
On 28 Oct 2012, Eric Sandeen outgrape: > I've tested this by mounting with journal_checksum and > running fsstress then dropping power; I've also tested by > hacking DM to create snapshots w/o first quiescing, which > allows me to test journal replay repeatedly w/o actually > power-cycling the box

Re: [PATCH] sched, autogroup: fix crash on reboot when autogroup is disabled

2012-10-28 Thread Ingo Molnar
* Mike Galbraith wrote: > On Sun, 2012-10-28 at 14:19 +0100, Ingo Molnar wrote: > > * Mike Galbraith wrote: > > > > > On Sun, 2012-10-28 at 11:25 +0100, Ingo Molnar wrote: > > > > * Mike Galbraith wrote: > > > > > > > > > > > > No knobs, no glitz, nada, just a cute little thing folks can

[PATCH 1/2] dma: tegra20-apbdma: trivial err message correction

2012-10-28 Thread Dmitry Osipenko
Fixed err msg params order on irq request fail. Signed-off-by: Dmitry Osipenko --- drivers/dma/tegra20-apb-dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/tegra20-apb-dma.c b/drivers/dma/tegra20-apb-dma.c index 528c62d..4d816be 100644 --- a/drivers/dma/tegra

[PATCH 2/2] dma: tegra20-apbdma: channel freeing correction

2012-10-28 Thread Dmitry Osipenko
Fixed channel "lock" after free. Example: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err "DMA configuration conflict" because tdc->isr_handler still selected to handle_once_dma_done. This happens because tegra_dma_

Re: [PATCH] sched, autogroup: fix crash on reboot when autogroup is disabled

2012-10-28 Thread Mike Galbraith
On Sun, 2012-10-28 at 15:05 +0100, Ingo Molnar wrote: > I'd also suggest to still expose the state of autosched in > /proc/sys, read-only, so that its status can be checked. (Aw poo, less pretty minus signs;) Ok, will do. -Mike -- To unsubscribe from this list: send the line "unsubscribe linu

[PATCH] Regulator: core: Unregister when gpio request fails.

2012-10-28 Thread Andrew Lunn
If the gpio_request_one() fails, or returns EPROBE_DEFER, the regulator must be device_unregister()ed. When this is not done, there are WARNING: from sysfs: WARNING: at fs/sysfs/file.c:343 sysfs_open_file+0x238/0x268() Signed-off-by: Andrew Lunn --- drivers/regulator/core.c |3 ++- 1 file c

Re: [3.6.2] oops @ opteron server: mgag200 Fatal error during GPU init

2012-10-28 Thread Paweł Sikora
On Friday 19 of October 2012 07:37:55 Don Morris wrote: > On 10/19/2012 04:53 AM, Paweł Sikora wrote: > > Hi, > > > > on the new opteron server i'm observing an oops during matrox video > > initialization. > > here's the dmesg from pure 3.6.2 kernel: > > I haven't owned a G200 based Matrox in ye

Re: [GIT PATCH] TTY patches for 3.7-rc1

2012-10-28 Thread Alan Cox
On Sun, 28 Oct 2012 11:04:46 +0100 Jiri Slaby wrote: > On 10/02/2012 12:13 AM, Greg KH wrote: > > On Mon, Oct 01, 2012 at 11:48:58PM +0200, Jiri Slaby wrote: > >> On 10/01/2012 08:30 PM, Greg KH wrote: > >>> Stanislav Kozina (2): > >>> tty: Fix possible race in n_tty_read() > >> > >> The (p

[PATCH] leds: leds-gpio: Defer probing in case of deferred gpio probing

2012-10-28 Thread Roland Stigge
This patch makes leds-gpio's probe() return -EPROBE_DEFER if any of the gpios to register are deferred themselves. This makes a change of gpio_leds_create_of()'s return value necessary: Instead of returning NULL on error, we now use ERR_PTR() error coding. Signed-off-by: Roland Stigge --- driver

Re: [PATCH 014/193] arch/m68k: remove CONFIG_EXPERIMENTAL

2012-10-28 Thread Kees Cook
On Sun, Oct 28, 2012 at 2:18 AM, Geert Uytterhoeven wrote: > On Tue, Oct 23, 2012 at 10:01 PM, Kees Cook wrote: >> This config item has not carried much meaning for a while now and is >> almost always enabled by default. As agreed during the Linux kernel >> summit, remove it. >> >> CC: Geert Uytt

irq_set_chained_handler() called too early for hwirq to be initialized

2012-10-28 Thread Roland Stigge
Hi, consider arch/arm/mach-lpc32xx/irq.c: irq_set_chained_handler() is called at a point where it accesses irq_to_desc(IRQ_LPC32XX_SUB2IRQ)->irq_data.hwirq but which is not yet initialized. (This bug just surfaced on lpc32xx when the chained interrupt controller SIC2 wasn't working. SIC1 does, bu

[PATCH 1/2] drivers/net/ethernet/nxp/lpc_eth.c: Call mdiobus_unregister before mdiobus_free

2012-10-28 Thread Peter Senna Tschudin
Based on commit b27393aecf66199f5ddad37c302d3e0cfadbe6c0 Calling mdiobus_free without calling mdiobus_unregister causes BUG_ON(). This patch fixes the issue. The semantic patch that found this issue(http://coccinelle.lip6.fr/): // @@ expression E; @@ ... when != mdiobus_unregister(E); + mdiob

[PATCH 2/2] drivers/net/phy/mdio-bitbang.c: Call mdiobus_unregister before mdiobus_free

2012-10-28 Thread Peter Senna Tschudin
Based on commit b27393aecf66199f5ddad37c302d3e0cfadbe6c0 Calling mdiobus_free without calling mdiobus_unregister causes BUG_ON(). This patch fixes the issue. The semantic patch that found this issue(http://coccinelle.lip6.fr/): // @@ expression E; @@ ... when != mdiobus_unregister(E); + mdiob

[tip:numa/core] sched, numa, mm: Make find_busiest_queue() a method

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 7ee9d9209c576223748f87863c79a09e653a2b5d Gitweb: http://git.kernel.org/tip/7ee9d9209c576223748f87863c79a09e653a2b5d Author: Peter Zijlstra AuthorDate: Sat, 3 Mar 2012 16:56:25 +0100 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 15:45:37 +0100 sched, numa, mm: Make find

[tip:numa/core] sched, numa, mm: Describe the NUMA scheduling problem formally

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 995334a2ee83d70cfa9f2f2f511feb8e0fb49494 Gitweb: http://git.kernel.org/tip/995334a2ee83d70cfa9f2f2f511feb8e0fb49494 Author: Peter Zijlstra AuthorDate: Fri, 12 Oct 2012 12:13:10 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 15:45:38 +0100 sched, numa, mm: Describe

[tip:numa/core] mm/thp: Preserve pgprot across huge page split

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 3f2b613771ecb927519ce95e902136c4e7bc0948 Gitweb: http://git.kernel.org/tip/3f2b613771ecb927519ce95e902136c4e7bc0948 Author: Peter Zijlstra AuthorDate: Tue, 17 Jul 2012 18:25:14 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:30:54 +0100 mm/thp: Preserve pgprot a

[tip:numa/core] x86/mm: Introduce pte_accessible()

2012-10-28 Thread tip-bot for Rik van Riel
Commit-ID: e9df40bfeb2572ac61f894daabd029fdebbb3b4a Gitweb: http://git.kernel.org/tip/e9df40bfeb2572ac61f894daabd029fdebbb3b4a Author: Rik van Riel AuthorDate: Tue, 9 Oct 2012 15:31:12 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:30:55 +0100 x86/mm: Introduce pte_access

[tip:numa/core] mm: Only flush the TLB when clearing an accessible pte

2012-10-28 Thread tip-bot for Rik van Riel
Commit-ID: 6fe64360a759f3cbbff4835da4c226d6cb78c34d Gitweb: http://git.kernel.org/tip/6fe64360a759f3cbbff4835da4c226d6cb78c34d Author: Rik van Riel AuthorDate: Tue, 9 Oct 2012 15:31:59 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:30:56 +0100 mm: Only flush the TLB when

[tip:numa/core] mm/pgprot: Move the pgprot_modify() fallback definition to mm.h

2012-10-28 Thread tip-bot for Ingo Molnar
Commit-ID: 83babc0d2944e2c72063a83f4acf3689c071afdf Gitweb: http://git.kernel.org/tip/83babc0d2944e2c72063a83f4acf3689c071afdf Author: Ingo Molnar AuthorDate: Wed, 26 Sep 2012 11:48:08 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:30:58 +0100 mm/pgprot: Move the pgprot_m

[tip:numa/core] mm/mpol: Check for misplaced page

2012-10-28 Thread tip-bot for Lee Schermerhorn
Commit-ID: 37081a3de2bff1b056e5abaa1e69688165ffb0ac Gitweb: http://git.kernel.org/tip/37081a3de2bff1b056e5abaa1e69688165ffb0ac Author: Lee Schermerhorn AuthorDate: Wed, 11 Jan 2012 15:48:13 +0100 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:02 +0100 mm/mpol: Check for misp

[tip:numa/core] mm/mpol: Create special PROT_NONE infrastructure

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: f05ea0948708f21ecf6b607bfbe7296ec4733584 Gitweb: http://git.kernel.org/tip/f05ea0948708f21ecf6b607bfbe7296ec4733584 Author: Peter Zijlstra AuthorDate: Tue, 17 Jul 2012 18:25:14 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:03 +0100 mm/mpol: Create special P

[tip:numa/core] mm/mpol: Add MPOL_MF_LAZY

2012-10-28 Thread tip-bot for Lee Schermerhorn
Commit-ID: ca2ea0747a5b44aaa3e05284a3a339145a1cc5a4 Gitweb: http://git.kernel.org/tip/ca2ea0747a5b44aaa3e05284a3a339145a1cc5a4 Author: Lee Schermerhorn AuthorDate: Thu, 12 Jan 2012 12:37:17 +0100 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:04 +0100 mm/mpol: Add MPOL_MF_LA

[tip:numa/core] mm/migrate: Introduce migrate_misplaced_page()

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: b33467764d8a734f836482c552880ae53d2c967f Gitweb: http://git.kernel.org/tip/b33467764d8a734f836482c552880ae53d2c967f Author: Peter Zijlstra AuthorDate: Tue, 17 Jul 2012 22:54:51 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:06 +0100 mm/migrate: Introduce mig

[tip:numa/core] mm/mpol: Use special PROT_NONE to migrate pages

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 02743c9c03f1cc36f87a967c04fa71baa9720bee Gitweb: http://git.kernel.org/tip/02743c9c03f1cc36f87a967c04fa71baa9720bee Author: Peter Zijlstra AuthorDate: Tue, 17 Jul 2012 22:54:51 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:07 +0100 mm/mpol: Use special PROT

[tip:numa/core] sched, numa, mm: Introduce tsk_home_node()

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: dfb3cc6a0b22497fdcc94ad18799560edb818bd5 Gitweb: http://git.kernel.org/tip/dfb3cc6a0b22497fdcc94ad18799560edb818bd5 Author: Peter Zijlstra AuthorDate: Sat, 3 Mar 2012 17:05:16 +0100 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:08 +0100 sched, numa, mm: Introduce

[tip:numa/core] sched, numa, mm/mpol: Make mempolicy home-node aware

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 70bc6583401e9a8ad946e9a80df5cb2627c879b5 Gitweb: http://git.kernel.org/tip/70bc6583401e9a8ad946e9a80df5cb2627c879b5 Author: Peter Zijlstra AuthorDate: Sat, 3 Mar 2012 17:05:54 +0100 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:09 +0100 sched, numa, mm/mpol: Make

[tip:numa/core] sched, numa, mm: Introduce sched_feat_numa()

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 6e27d9318a551b14a6ef8a1956b497f1477680a1 Gitweb: http://git.kernel.org/tip/6e27d9318a551b14a6ef8a1956b497f1477680a1 Author: Peter Zijlstra AuthorDate: Tue, 1 May 2012 23:47:08 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:10 +0100 sched, numa, mm: Introduce

[tip:numa/core] sched, numa, mm: Implement THP migration

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 94f50926e723bb4c9f9db667233eae66dac0c6c1 Gitweb: http://git.kernel.org/tip/94f50926e723bb4c9f9db667233eae66dac0c6c1 Author: Peter Zijlstra AuthorDate: Fri, 12 Oct 2012 19:30:14 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:11 +0100 sched, numa, mm: Implemen

[tip:numa/core] sched, numa, mm: Implement home-node awareness

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 99a5b87cd580ed32dd46cbb7032be34f57041b98 Gitweb: http://git.kernel.org/tip/99a5b87cd580ed32dd46cbb7032be34f57041b98 Author: Peter Zijlstra AuthorDate: Sat, 3 Mar 2012 16:56:25 +0100 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:12 +0100 sched, numa, mm: Implement

[tip:numa/core] sched, numa, mm: Introduce last_nid in the pageframe

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: ebec8f0885cf99ac9fa1db0a91cc3b1898de79e0 Gitweb: http://git.kernel.org/tip/ebec8f0885cf99ac9fa1db0a91cc3b1898de79e0 Author: Peter Zijlstra AuthorDate: Mon, 13 Aug 2012 15:22:20 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:13 +0100 sched, numa, mm: Introduc

[tip:numa/core] sched, numa, mm/mpol: Add_MPOL_F_HOME

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: f9848081ba2cf98628df165cc2784c32fe9fc9e2 Gitweb: http://git.kernel.org/tip/f9848081ba2cf98628df165cc2784c32fe9fc9e2 Author: Peter Zijlstra AuthorDate: Wed, 18 Jul 2012 22:06:47 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:14 +0100 sched, numa, mm/mpol: Add

[tip:numa/core] sched, numa, mm: Add fault driven placement and migration policy

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: f7a688de2312e39cb456df3844f3996cc8c8ba5d Gitweb: http://git.kernel.org/tip/f7a688de2312e39cb456df3844f3996cc8c8ba5d Author: Peter Zijlstra AuthorDate: Tue, 9 Oct 2012 13:46:22 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:15 +0100 sched, numa, mm: Add fault

[tip:numa/core] sched, numa, mm: Add credits for NUMA placement

2012-10-28 Thread tip-bot for Rik van Riel
Commit-ID: c2ef354e5ab9d06a6b914f1241ade0b681330ffb Gitweb: http://git.kernel.org/tip/c2ef354e5ab9d06a6b914f1241ade0b681330ffb Author: Rik van Riel AuthorDate: Thu, 18 Oct 2012 17:19:28 -0400 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:16 +0100 sched, numa, mm: Add credit

[tip:numa/core] sched, numa, mm: Implement constant, per task Working Set Sampling (WSS) rate

2012-10-28 Thread tip-bot for Peter Zijlstra
Commit-ID: 64ae83155d5b37306766164def4c1c5bd216f4da Gitweb: http://git.kernel.org/tip/64ae83155d5b37306766164def4c1c5bd216f4da Author: Peter Zijlstra AuthorDate: Sun, 14 Oct 2012 16:59:13 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:17 +0100 sched, numa, mm: Implemen

[tip:numa/core] sched, numa, mm: Add NUMA_MIGRATION feature flag

2012-10-28 Thread tip-bot for Ingo Molnar
Commit-ID: 5c56968cc6eb8fc94a92b38478d5bd0e0f25c8c2 Gitweb: http://git.kernel.org/tip/5c56968cc6eb8fc94a92b38478d5bd0e0f25c8c2 Author: Ingo Molnar AuthorDate: Sat, 20 Oct 2012 22:20:19 +0200 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:18 +0100 sched, numa, mm: Add NUMA_MI

[tip:numa/core] sched, numa, mm, s390/thp: Add pmd_mknotpresent()

2012-10-28 Thread tip-bot for Ingo Molnar
Commit-ID: 9b718e758ac91f28b6cdd354ad5ee9c767daae74 Gitweb: http://git.kernel.org/tip/9b718e758ac91f28b6cdd354ad5ee9c767daae74 Author: Ingo Molnar AuthorDate: Sun, 28 Oct 2012 14:10:14 +0100 Committer: Ingo Molnar CommitDate: Sun, 28 Oct 2012 17:31:21 +0100 sched, numa, mm, s390/thp: A

Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-10-28 Thread Dmytro Milinevskyy
Hi Sebastian, I was trying to keep 2 tabs but checkpatch didn't accept long line that's why I killed extra tab. >How does it work? Is the test on host side not strict enough? The host part(cdc_ncm) does not check this field. However I agree that at least on device side this should be corrected. F

Re: irq_set_chained_handler() called too early for hwirq to be initialized

2012-10-28 Thread Thomas Gleixner
On Sun, 28 Oct 2012, Roland Stigge wrote: > > consider arch/arm/mach-lpc32xx/irq.c: irq_set_chained_handler() is > called at a point where it accesses > irq_to_desc(IRQ_LPC32XX_SUB2IRQ)->irq_data.hwirq but which is not yet > initialized. None of the functions which are called inside of irq_set_ch

[PATCH 1/4] uprobes/powerpc: Don't clear TIF_UPROBE in do_notify_resume()

2012-10-28 Thread Oleg Nesterov
Cleanup. No need to clear TIF_UPROBE, do_notify_resume() does this. Signed-off-by: Oleg Nesterov --- arch/powerpc/kernel/signal.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kernel/signal.c b/arch/powerpc/kernel/signal.c index a2dc757..3b99711 100644

[PATCH 2/4] uprobes/powerpc: Do not use arch_uprobe_*_step() helpers

2012-10-28 Thread Oleg Nesterov
No functional changes. powerpc is the only user of arch_uprobe_enable/disable_step() helpers, but they should die. They can not be used correctly, every arch needs its own implementation (like x86 does). And they do not really help even as initial-and-almost-working code, arch_uprobe_*_xol() hooks

  1   2   3   4   5   >