Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Cyrill Gorcunov
On Tue, Jul 31, 2012 at 10:57:58AM +0200, richard -rw- weinberger wrote: > > > >> crtools seem to use ptrace() to execute parasite system calls. > >> AFAIK this will only work if the target process is currently not > >> ptraced() by another process. > >> > > > > Yup, exactly. > > Dammit, I hoped

Re: [vfs:fsfreeze] umount BUG: sleeping function called from invalid context

2012-07-31 Thread Al Viro
On Tue, Jul 31, 2012 at 04:38:39PM +0800, Fengguang Wu wrote: > Hi Jan, > > Here is another warning for the fs freeze series. > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git fsfreeze > head: 7aff72a61f45337d83ab2b7fb16d7b542db16ad8 > commit:

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread richard -rw- weinberger
On Tue, Jul 31, 2012 at 10:53 AM, Pavel Emelyanov wrote: > On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: >> On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov >> wrote: >>> This project is an attempt to implement the checkpoint-restore functionality >>> for processes and containers

Re: [Announce] Checkpoint-restore tool v0.1

2012-07-31 Thread Pavel Emelyanov
On 07/30/2012 02:42 PM, richard -rw- weinberger wrote: > On Mon, Jul 23, 2012 at 10:53 AM, Pavel Emelyanov wrote: >> This project is an attempt to implement the checkpoint-restore functionality >> for processes and containers without driving too much code into the kernel >> tree, >> but putting

Re: [PATCH V3 3/3] virtio-blk: Add bio-based IO path for virtio-blk

2012-07-31 Thread Asias He
On 07/30/2012 09:43 PM, Christoph Hellwig wrote: On Mon, Jul 30, 2012 at 12:43:12PM +0800, Asias He wrote: I think we can add REQ_FLUSH & REQ_FUA support to bio path and that deserves another patch. Adding it is a requirement for merging the code. OK. Will add that. -- Asias -- To

Re: [PATCH v4 0/7] ZPODD patches

2012-07-31 Thread James Bottomley
On Tue, 2012-07-31 at 10:40 +0800, Aaron Lu wrote: > Hi James, > > Any chance of these patches get merged into 3.6? Not 3.6 given that the series was only finalised a week into the merge window. Generally because of the merge frenzy, linux-next doesn't work very well during this period so

Re: [PATCH RESEND v3] mmc: core: Remove bounce buffer in mmc_send_cxd_data()

2012-07-31 Thread kyungsik.lee
On 2012-07-31 오후 4:19, S, Venkatraman wrote: On Tue, Jul 31, 2012 at 7:30 AM, Kyungsik Lee wrote: It is expected that Extended CSD register(the size of this register is larger than CID/CSD) will be referenced more frequently as more fields have been added to Extended CSD and it seems that it

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-07-31 Thread Alex Courbot
Hi Simon, On 07/30/2012 08:00 PM, Simon Glass wrote: For the delay, I think milliseconds is reasonable. I suppose there is no reasonable need for microseconds? I don't see any need for microseconds myself - anybody sees use for finer-grained delays? Btw, I noticed I was using mdelay

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Karl Beldan
On Tue, Jul 31, 2012 at 09:34:01AM +0200, Clemens Ladisch wrote: > Karl Beldan wrote: > > On 7/31/12, Clemens Ladisch wrote: > >> Karl Beldan wrote: > >>> To tx a chunk of data from the SoC => network device, we : > >>> - prepare a buffer with a leading header embedding a pattern, > >>> - trigger

Re: [PATCH] tmscsim: spin_unlock_irq in interrupt handler fix

2012-07-31 Thread Guennadi Liakhovetski
Wow, been ages since the last patch to this driver has hit my mail:-) On Sat, 21 Jul 2012, Denis Efremov wrote: > The replacement of spin_lock_irq/spin_unlock_irq pair in interrupt > handler by spin_lock_irqsave/spin_lock_irqrestore pair. > > Found by Linux Driver Verification project

Re: [PATCH 0/5] ubi: Fix bad PEBs reserve caclulation

2012-07-31 Thread Shmulik Ladkani
Hi Artem, On Mon, 30 Jul 2012 16:56:50 +0300 Artem Bityutskiy wrote: > Hi Shmulik, I've separated out the defconfig changes and pushed patches > 1,2, and 3 to the UBI tree (the master branch). Patches 4 and 5 are > already merged upstream. I did a couple of minor modifications in > commentaries

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-31 Thread Thierry Reding
On Thu, Jul 26, 2012 at 02:11:58PM -0700, Linus Torvalds wrote: > On Thu, Jul 26, 2012 at 12:16 AM, Thierry Reding > wrote: > > > > The new PWM subsystem aims at collecting all implementations of the > > legacy PWM API and to eventually replace it completely. The subsystem > > has been in

[PATCH v2 1/1] ARM: dove: DT support for sdhci-dove

2012-07-31 Thread Sebastian Hesselbarth
This patch adds device tree support and binding documentiation for sdhci-dove. v2: extended documentation and removed second interrupt as it is marked 'reserved' in dove datasheet. Signed-off-by: Sebastian Hesselbarth Cc: Grant Likely Cc: Rob Herring Cc: Rob Landley Cc: Chris Ball Cc:

[GIT PULL] PWM subsystem for 3.6

2012-07-31 Thread Thierry Reding
Hi Linus, The following changes since commit cfaf025112d3856637ff34a767ef785ef5cf2ca9: Linux 3.5-rc2 (2012-06-08 18:40:09 -0700) are available in the git repository at: git://gitorious.org/linux-pwm/linux-pwm.git tags/for-3.6 for you to fetch changes up to

[PATCH RFC] tick: Emphasize tck_broadcast_on_off could only be called for host cpu

2012-07-31 Thread Feng Tang
With current tick_do_broadcast_on_off() and tick_broadcast_on_off(), it only cares host cpu, and doesn't really support to make the on/off for another target CPU as it seems to be. So remove the unneeded online check and add a WARN to notify user who doesn't know this new usage model. Next step

Re: [PATCH 0/7] HID: picoLCD updates

2012-07-31 Thread Bruno Prémont
Hi David, On Tue, 31 Jul 2012 09:26:07 David Herrmann wrote: > This is not directly related to this patchset, but did you fix the > locking issue with hid-core? It is still on my todo-list but I haven't > gotten around fixing it, yet. However, I plan on fixing it this > summer, but if picolcd

Re: [PATCH 0/6] menuconfig: jump to search results

2012-07-31 Thread Borislav Petkov
On Mon, Jul 30, 2012 at 04:22:12PM -0400, Benjamin Poirier wrote: > It's against linux-next, which already contains some patches for > menuconfig. Ok, applying against the linux-next from today succeeds. And they seem to work, I can search for CONFIG_* stuff and then go straight to the results.

Re: [PATCH] SUNRPC: return negative value in case rpcbind client creation error

2012-07-31 Thread Stanislav Kinsbursky
31.07.2012 03:12, Myklebust, Trond пишет: On Fri, 2012-07-20 at 15:57 +0400, Stanislav Kinsbursky wrote: Without this patch kernel will panic on LockD start, because lockd_up() checks lockd_up_net() result for negative value. >From my pow it's better to return negative value from rpcbind

Re: [PATCH] [media] davinci: vpfe: Add documentation

2012-07-31 Thread Manju
Hi Laurent, On Friday 27 July 2012 04:19 PM, Laurent Pinchart wrote: Hi Manjunath, On Friday 27 July 2012 05:49:24 Hadli, Manjunath wrote: On Thu, Jul 26, 2012 at 05:55:31, Laurent Pinchart wrote: On Tuesday 17 July 2012 10:43:54 Hadli, Manjunath wrote: On Sun, Jul 15, 2012 at 18:16:25,

[PATCH 3/3] drivers/mmc/host: Add realtek sdmmc interface driver

2012-07-31 Thread wei_wang
From: Wei WANG Realtek SD/MMC card interface driver is used to access SD/MMC card, with the help of Realtek card reader adapter driver. Signed-off-by: Wei WANG --- drivers/mmc/host/Kconfig |7 + drivers/mmc/host/Makefile |2 + drivers/mmc/host/rtsx_sdmmc.c | 350

[PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-07-31 Thread wei_wang
From: Wei WANG Realtek card reader core driver is the bus driver for Realtek driver-based card reader, which supplies adapter layer to be used by lower-level pci/usb card reader and upper-level sdmmc/memstick host driver. Signed-off-by: Wei WANG --- Documentation/misc-devices/realtek_cr.txt |

Re: [PATCH 3/4] mm/hotplug: free zone->pageset when a zone becomes empty

2012-07-31 Thread Wen Congyang
At 07/05/2012 05:45 PM, Jiang Liu Wrote: > When a zone becomes empty after memory offlining, free zone->pageset. > Otherwise it will cause memory leak when adding memory to the empty > zone again because build_all_zonelists() will allocate zone->pageset > for an empty zone. > > Signed-off-by:

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Clemens Ladisch
Karl Beldan wrote: > On 7/31/12, Clemens Ladisch wrote: >> Karl Beldan wrote: >>> To tx a chunk of data from the SoC => network device, we : >>> - prepare a buffer with a leading header embedding a pattern, >>> - trigger the xfer and wait for an irq >>> // The device updates the pattern and then

[git pull] Please pull powerpc.git merge branch

2012-07-31 Thread Benjamin Herrenschmidt
Hi Linus ! Kumar sent me a handful of Freescale related fixes and I added another regression fix to the pile. Cheers, Ben. PS. I -will- eventually learn about that signed tag business :-) The following changes since commit 1fad1e9a747687a7399bf58e87974f9b1bbcae06: Merge tag 'nfs-for-3.6-1'

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Karl Beldan
On 7/31/12, Clemens Ladisch wrote: > Karl Beldan wrote: >> To tx a chunk of data from the SoC => network device, we : >> - prepare a buffer with a leading header embedding a pattern, >> - trigger the xfer and wait for an irq >> // The device updates the pattern and then triggers an irq >> - upon

Re: [PATCH] fixed a macro coding style issue

2012-07-31 Thread Dmitry Torokhov
On Tue, Jul 24, 2012 at 11:36:24PM -0700, Dmitry Torokhov wrote: > On Wed, Jul 25, 2012 at 07:15:12AM +0100, Al Viro wrote: > > On Tue, Jul 24, 2012 at 10:37:55PM -0700, Dmitry Torokhov wrote: > > > On Wed, Jul 25, 2012 at 01:20:56PM +0800, Baodong Chen wrote: > > > > Fixed a coding style issue in

Re: [PATCH 0/7] HID: picoLCD updates

2012-07-31 Thread David Herrmann
Hi Bruno On Mon, Jul 30, 2012 at 9:36 PM, Bruno Prémont wrote: > Hi, > > This series updates picoLCD driver: > - split the driver functions into separate files which get included > depending on Kconfig selection > (implementation for CIR using RC_CORE will follow later) > - drop private

Re: [PATCH V2] dma: tegra: enable/disable dma clock

2012-07-31 Thread Laxman Dewangan
On Tuesday 31 July 2012 12:18 PM, Vinod Koul wrote: On Fri, 2012-07-27 at 13:42 +0530, Laxman Dewangan wrote: Hi Vinod, Is there any thing remaining from my side here? Nope, I will take care of it Thanks for taking care. Is it possible to make it for K3.6? Nope 3.6 is released, too late

Re: [PATCH RESEND v3] mmc: core: Remove bounce buffer in mmc_send_cxd_data()

2012-07-31 Thread S, Venkatraman
On Tue, Jul 31, 2012 at 7:30 AM, Kyungsik Lee wrote: > It is expected that Extended CSD register(the size of this register > is larger than CID/CSD) will be referenced more frequently as more > fields have been added to Extended CSD and it seems that it is not > a good option to double the memory

[GIT PULL] s390 patches for the 3.6 merge window #2

2012-07-31 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the second batch of s390 patches for the 3.6 merge window. Included is enablement for two common code changes, killable page faults and sorted exception

Re: [PATCH can-next v3 1/2] can: add tx/rx LED trigger support

2012-07-31 Thread Marc Kleine-Budde
On 07/31/2012 08:57 AM, Fabio Baltieri wrote: > Hi Marc, > > On Mon, Jul 30, 2012 at 11:17:53PM +0200, Marc Kleine-Budde wrote: >> On 07/30/2012 09:20 PM, Fabio Baltieri wrote: >>> This patch implements the functions to add two LED triggers, named >>> -tx and -rx, to a canbus device driver. >>>

Re: [PATCH 1/5] user_hooks: New user hooks subsystem

2012-07-31 Thread Ingo Molnar
* Frederic Weisbecker wrote: > On Mon, Jul 30, 2012 at 05:08:12PM +0200, Peter Zijlstra wrote: > > On Fri, 2012-07-27 at 17:40 +0200, Frederic Weisbecker wrote: > > > +++ b/kernel/user_hooks.c > > > @@ -0,0 +1,56 @@ > > > +#include > > > +#include > > > +#include > > > +#include > > > + > >

Re: drm/nouveau: crash regression in 3.5

2012-07-31 Thread Ortwin Glück
Yes, as far as I can tell. I didn't do anything different this time. The date on the kernel file looks ok. Just did a fresh make && make install again, and got the same behaviour. When is that number after the hash sign upped? Marcin Slusarz wrote: >Are you sure you boot the correct kernel?

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Clemens Ladisch
Karl Beldan wrote: > To tx a chunk of data from the SoC => network device, we : > - prepare a buffer with a leading header embedding a pattern, > - trigger the xfer and wait for an irq > // The device updates the pattern and then triggers an irq > - upon irq we check the pattern for the xfer

Re: [GPIO] Crashed when not using

2012-07-31 Thread Felipe Balbi
Hi, On Tue, Jul 31, 2012 at 10:23:16AM +0530, Poddar, Sourav wrote: > The device tree data for acquiring the above GPIO interrupt line looks > like this. > > +++ linux-omap-storage/arch/arm/boot/dts/omap5-evm.dts 2012-07-30 > 14:11:08.931694001 +0530 > @@ -42,7

Re: [PATCH can-next v3 1/2] can: add tx/rx LED trigger support

2012-07-31 Thread Fabio Baltieri
Hi Marc, On Mon, Jul 30, 2012 at 11:17:53PM +0200, Marc Kleine-Budde wrote: > On 07/30/2012 09:20 PM, Fabio Baltieri wrote: > > This patch implements the functions to add two LED triggers, named > > -tx and -rx, to a canbus device driver. > > > > Triggers are called from specific handlers by

Re: [PATCH 1/1] block/nbd: micro-optimization in nbd request completion

2012-07-31 Thread Jens Axboe
On 07/30/2012 05:02 PM, chetan loke wrote: > On Wed, Jun 6, 2012 at 1:20 PM, Paul Clements > wrote: >> Makes sense. Looks good to me. >> >> Acked-by: paul.cleme...@steeleye.com >> >> On Wed, Jun 6, 2012 at 10:15 AM, Chetan Loke wrote: >>> >>> Add in-flight cmds to the tail. That way while

Re: [PATCH V2] dma: tegra: enable/disable dma clock

2012-07-31 Thread Vinod Koul
On Fri, 2012-07-27 at 13:42 +0530, Laxman Dewangan wrote: > On Tuesday 24 July 2012 10:30 AM, Laxman Dewangan wrote: > > On Tuesday 24 July 2012 10:38 AM, Vinod Koul wrote: > >> On Fri, 2012-07-20 at 13:31 +0530, Laxman Dewangan wrote: > >>> Enable the DMA clock when allocating channel and > >>>

Re: [PATCH] uprobes: mmap_region() corrupts mm->mm_rb if uprobe_mmap() fails

2012-07-31 Thread Srikar Dronamraju
> > If mmap_region()->uprobe_mmap() fails, unmap_and_free_vma path > does unmap_region() but does not remove the soon-to-be-freed vma > from rb tree (actually there are more problems). > > Perhaps we could do do_munmap() + return in this case, but in fact > it is simply wrong to abort if

Re: [GPIO] Crashed when not using

2012-07-31 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 01:36:47PM -0700, Kevin Hilman wrote: > >>> The device tree data for acquiring the above GPIO interrupt line looks > >>> like this. > >>> > >>> +++ linux-omap-storage/arch/arm/boot/dts/omap5-evm.dts 2012-07-30 > >>> 14:11:08.931694001 +0530 > >>> @@ -42,7 +42,8 @@

Re: [PATCH 1/1] ARM: dove: DT support for sdhci-dove

2012-07-31 Thread Andrew Lunn
+++ b/Documentation/devicetree/bindings/mmc/sdhci-dove.txt @@ -0,0 +1,12 @@ +* Marvell sdhci-dove controller + +Required properties: +- compatible: Should be "marvell,dove-sdhci". + +Example: + +sdio0: sdio@92000 { + compatible = "marvell,dove-sdhci"; + reg = <0x92000 0x100>; +

Re: [PATCH] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-07-31 Thread Vinod Koul
On Mon, 2012-07-30 at 14:38 +0200, javier Martin wrote: > On 30 July 2012 13:31, javier Martin wrote: > > Hi, > > > > On 27 July 2012 13:37, Fabio Estevam wrote: > >> On Fri, Jul 27, 2012 at 12:17 AM, Vinod Koul > >> wrote: > >> > Reported-by: Javier Martin > Signed-off-by: Fabio

Re: [PATCH 0/2] serial: sh-sci: fix compilation breakage (3.6)

2012-07-31 Thread Vinod Koul
On Tue, 2012-07-31 at 15:07 +0900, Paul Mundt wrote: > On Mon, Jul 30, 2012 at 09:28:18PM +0200, Guennadi Liakhovetski wrote: > > Hi all > > > > as has been reported in this > > > > http://thread.gmane.org/gmane.linux.kernel/1294256/focus=16001 > > > > thread, currently sh-sci doesn't comiple

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Karl Beldan
Hi, (This is an email originally addressed to the linux-kernel mailing-list.) On our board we've got an MV78200 and a network device between which we xfer memory chunks via the ddram with an external dma controller. To handle these xfers we're using the dma API. To tx a chunk of data from the

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-31 Thread xufeng zhang
Sorry, please ignore the above patch, there was an paste error. Please check the following patch. I'm wondering if the below solution is fine to you which is based on your changes. BTW, I have verified this patch and it works ok for all the situation,

RE: [2/3][PATCH][v2] TDM Framework

2012-07-31 Thread Singh Sandeep-B37400
-Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Monday, July 30, 2012 9:16 PM To: Francois Romieu Cc: Singh Sandeep-B37400; de...@driverdev.osuosl.org; linuxppc-...@lists.ozlabs.org; ga...@kernel.crashing.org; linux-arm-ker...@lists.infradead.org;

[PATCH 3/5] clk: mmp: add clock definition for pxa910

2012-07-31 Thread Chao Xie
From: Chao Xie Initialize the clocks for pxa910 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-pxa910.c | 249 ++ 2 files changed, 250 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH v2 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-31 Thread Sascha Hauer
On Fri, Jul 27, 2012 at 01:47:51PM -0300, Fabio Estevam wrote: > Adapt clocks to the new i.mx clock framework and fix the following warning: > > Cc: Theodore Ts'o > Cc: Herbert Xu > Cc: > Signed-off-by: Fabio Estevam Both: Acked-by: Sascha Hauer Sascha > --- > Changes since v1: > -

[PATCH 4/5] clk: mmp: add clock definition for mmp2

2012-07-31 Thread Chao Xie
From: Chao Xie Initialize the clocks for mmp2 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-mmp2.c | 337 2 files changed, 338 insertions(+), 0 deletions(-) create mode 100644 drivers/clk/mmp/clk-mmp2.c

[PATCH 2/5] clk: mmp: add clock definition for pxa168

2012-07-31 Thread Chao Xie
From: Chao Xie Initialize the clocks for pxa168 Signed-off-by: Chao Xie --- drivers/clk/mmp/Makefile |2 + drivers/clk/mmp/clk-pxa168.c | 268 ++ 2 files changed, 270 insertions(+), 0 deletions(-) create mode 100644

[PATCH 1/5] clk: mmp: add mmp specific clocks

2012-07-31 Thread Chao Xie
From: Chao Xie add mmp specific clocks including apbc cloks, apmu clocks, and pll2, fraction clocks Signed-off-by: Chao Xie --- drivers/clk/Makefile |3 + drivers/clk/mmp/Makefile |5 ++ drivers/clk/mmp/clk-apbc.c | 141 +++

RE: [2/3][PATCH][v2] TDM Framework

2012-07-31 Thread Singh Sandeep-B37400
-Original Message- From: John Stoffel [mailto:j...@stoffel.org] Sent: Monday, July 30, 2012 7:40 PM To: Singh Sandeep-B37400 Cc: John Stoffel; linuxppc-...@lists.ozlabs.org; linux-arm-ker...@lists.infradead.org; ga...@kernel.crashing.org; linux-kernel@vger.kernel.org;

[PATCH 2/2] [RFC] time: Limit time values that would overflow ktime_t

2012-07-31 Thread John Stultz
We could observe unexpected behavior if the time is set to a value large enough to overflow a 64bit ktime_t (which is something larger then the year 2264). So check timekeeping inputs to make sure we don't set the time to a value that overflows ktime_t. Note: This does not protect from setting

[PATCH 1/2] [RFC] time: Fix problem with large timespecs & ktime_get_update_offsets

2012-07-31 Thread John Stultz
There's currently a slight difference in ktime_get_update_offsets() vs ktime_get() which can result in boot time crashes when booting with insane CMOS clock values larger then ~2264. ktime_get() does basically the following: return timespec_to_ktime(timespec_add(xtime, wall_to_monotonic))

[PATCH 0/2][RFC] Better handling of insane CMOS values

2012-07-31 Thread John Stultz
So CAI Qian noticed recent boot trouble on a machine that had its CMOS clock configured for the year 8200. See: http://lkml.org/lkml/2012/7/29/188 While running with a crazy CMOS clock isn't advised, and a simple "don't do that" might be reasonable, the behavior has in effect regressed recently

[PATCH] mmc: sdhci: fix the clock APIs for pxav2 and pxav3 driver

2012-07-31 Thread Chao Xie
From: Chao Xie Signed-off-by: Chao Xie --- drivers/mmc/host/sdhci-pxav2.c |6 +++--- drivers/mmc/host/sdhci-pxav3.c |8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav2.c b/drivers/mmc/host/sdhci-pxav2.c index dbb75bf..4d10159 100644

[PATCH] i2c: pxa: fix the clock APIs

2012-07-31 Thread Chao Xie
From: Chao Xie Signed-off-by: Chao Xie --- drivers/i2c/busses/i2c-pxa.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index a997c7d..0a57f3e 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++

Re: linux-next: build failure after merge of the akpm tree

2012-07-31 Thread Stephen Rothwell
Hi Michel, On Mon, 30 Jul 2012 22:45:46 -0700 Michel Lespinasse wrote: > > There is a good chance that this is the right fix, if ceph doesn't use > the RB_CLEAR_NODE / RB_EMPTY_NODE macros or try to directly access the > rb_node fields. I wanted to grab the ceph tree to make sure, however > the

Re: [RFC/PATCH] Use kernel supplied MMU info for kvm tool

2012-07-31 Thread Pekka Enberg
On Wed, 18 Jul 2012, Michael Ellerman wrote: > It occurred to me overnight that I forgot to mention that in order to > build the new code you need the headers from a 3.5-rc1 era kernel (for > the ioctl & KVM_CAP definitions). > > The easiest way to do that is to merge linus' tree into kvmtool. >

Re: [PATCH 1/2] onewire: w1-gpio: add ext_pullup_enable pin in platform data

2012-07-31 Thread Daniel Mack
On 31.07.2012 02:59, Ville Syrjälä wrote: > On Mon, Jul 30, 2012 at 10:12:39PM +0400, Evgeniy Polyakov wrote: >> Hi >> >> Sorry for long delay >> [resend with fixed Greg's address :)] >> >> On Wed, Jul 25, 2012 at 10:54:29PM +0200, Daniel Mack (zon...@gmail.com) >> wrote: >>> In the process of

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-07-31 Thread Xufeng Zhang
I'm wondering if the below solution is fine to you which is based on your changes. BTW, I have verified this patch and it works ok for all the situation, but only one problem persists: there is a potential that commands will exceeds SCTP_MAX_NUM_COMMANDS which happens during sending lots of small

[PATCH] sched: Document schedule() entry points

2012-07-31 Thread Pekka Enberg
This patch adds a comment on top of the schedule() function to explain to scheduler newbies how the main scheduler function is entered. Explained-by: Ingo Molnar Explained-by: Peter Zijlstra Signed-off-by: Pekka Enberg --- kernel/sched/core.c | 34 ++ 1 files

Re: [PATCH 0/2] serial: sh-sci: fix compilation breakage (3.6)

2012-07-31 Thread Paul Mundt
On Mon, Jul 30, 2012 at 09:28:18PM +0200, Guennadi Liakhovetski wrote: > Hi all > > as has been reported in this > > http://thread.gmane.org/gmane.linux.kernel/1294256/focus=16001 > > thread, currently sh-sci doesn't comiple in the mainline and in -next if > CONFIG_SERIAL_SH_SCI_DMA is

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-31 Thread Pekka Enberg
On Mon, 30 Jul 2012, David Rientjes wrote: > So much for compromise, I thought we had agreed that at least some of the > checks for !name, in_interrupt() or bad size values should be moved out > from under the #ifdef CONFIG_DEBUG_VM, but this wasn't done. This > discussion would be irrelevent

Re: [PATCH TRIVIAL] mm: Fix build warning in kmem_cache_create()

2012-07-31 Thread Pekka Enberg
On Mon, 30 Jul 2012, David Rientjes wrote: So much for compromise, I thought we had agreed that at least some of the checks for !name, in_interrupt() or bad size values should be moved out from under the #ifdef CONFIG_DEBUG_VM, but this wasn't done. This discussion would be irrelevent if

Re: [PATCH 0/2] serial: sh-sci: fix compilation breakage (3.6)

2012-07-31 Thread Paul Mundt
On Mon, Jul 30, 2012 at 09:28:18PM +0200, Guennadi Liakhovetski wrote: Hi all as has been reported in this http://thread.gmane.org/gmane.linux.kernel/1294256/focus=16001 thread, currently sh-sci doesn't comiple in the mainline and in -next if CONFIG_SERIAL_SH_SCI_DMA is enabled. This

[PATCH] sched: Document schedule() entry points

2012-07-31 Thread Pekka Enberg
This patch adds a comment on top of the schedule() function to explain to scheduler newbies how the main scheduler function is entered. Explained-by: Ingo Molnar mi...@kernel.org Explained-by: Peter Zijlstra a.p.zijls...@chello.nl Signed-off-by: Pekka Enberg penb...@kernel.org ---

Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-31 Thread Xufeng Zhang
I'm wondering if the below solution is fine to you which is based on your changes. BTW, I have verified this patch and it works ok for all the situation, but only one problem persists: there is a potential that commands will exceeds SCTP_MAX_NUM_COMMANDS which happens during sending lots of small

Re: [PATCH 1/2] onewire: w1-gpio: add ext_pullup_enable pin in platform data

2012-07-31 Thread Daniel Mack
On 31.07.2012 02:59, Ville Syrjälä wrote: On Mon, Jul 30, 2012 at 10:12:39PM +0400, Evgeniy Polyakov wrote: Hi Sorry for long delay [resend with fixed Greg's address :)] On Wed, Jul 25, 2012 at 10:54:29PM +0200, Daniel Mack (zon...@gmail.com) wrote: In the process of porting boards to

Re: [RFC/PATCH] Use kernel supplied MMU info for kvm tool

2012-07-31 Thread Pekka Enberg
On Wed, 18 Jul 2012, Michael Ellerman wrote: It occurred to me overnight that I forgot to mention that in order to build the new code you need the headers from a 3.5-rc1 era kernel (for the ioctl KVM_CAP definitions). The easiest way to do that is to merge linus' tree into kvmtool. Are

Re: linux-next: build failure after merge of the akpm tree

2012-07-31 Thread Stephen Rothwell
Hi Michel, On Mon, 30 Jul 2012 22:45:46 -0700 Michel Lespinasse wal...@google.com wrote: There is a good chance that this is the right fix, if ceph doesn't use the RB_CLEAR_NODE / RB_EMPTY_NODE macros or try to directly access the rb_node fields. I wanted to grab the ceph tree to make sure,

[PATCH] i2c: pxa: fix the clock APIs

2012-07-31 Thread Chao Xie
From: Chao Xie chao@marvell.com Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/i2c/busses/i2c-pxa.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index a997c7d..0a57f3e 100644 ---

[PATCH] mmc: sdhci: fix the clock APIs for pxav2 and pxav3 driver

2012-07-31 Thread Chao Xie
From: Chao Xie chao@marvell.com Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/mmc/host/sdhci-pxav2.c |6 +++--- drivers/mmc/host/sdhci-pxav3.c |8 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mmc/host/sdhci-pxav2.c

[PATCH 0/2][RFC] Better handling of insane CMOS values

2012-07-31 Thread John Stultz
So CAI Qian noticed recent boot trouble on a machine that had its CMOS clock configured for the year 8200. See: http://lkml.org/lkml/2012/7/29/188 While running with a crazy CMOS clock isn't advised, and a simple don't do that might be reasonable, the behavior has in effect regressed recently

[PATCH 1/2] [RFC] time: Fix problem with large timespecs ktime_get_update_offsets

2012-07-31 Thread John Stultz
There's currently a slight difference in ktime_get_update_offsets() vs ktime_get() which can result in boot time crashes when booting with insane CMOS clock values larger then ~2264. ktime_get() does basically the following: return timespec_to_ktime(timespec_add(xtime, wall_to_monotonic))

[PATCH 2/2] [RFC] time: Limit time values that would overflow ktime_t

2012-07-31 Thread John Stultz
We could observe unexpected behavior if the time is set to a value large enough to overflow a 64bit ktime_t (which is something larger then the year 2264). So check timekeeping inputs to make sure we don't set the time to a value that overflows ktime_t. Note: This does not protect from setting

RE: [2/3][PATCH][v2] TDM Framework

2012-07-31 Thread Singh Sandeep-B37400
-Original Message- From: John Stoffel [mailto:j...@stoffel.org] Sent: Monday, July 30, 2012 7:40 PM To: Singh Sandeep-B37400 Cc: John Stoffel; linuxppc-...@lists.ozlabs.org; linux-arm-ker...@lists.infradead.org; ga...@kernel.crashing.org; linux-kernel@vger.kernel.org;

[PATCH 1/5] clk: mmp: add mmp specific clocks

2012-07-31 Thread Chao Xie
From: Chao Xie chao@marvell.com add mmp specific clocks including apbc cloks, apmu clocks, and pll2, fraction clocks Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/Makefile |3 + drivers/clk/mmp/Makefile |5 ++ drivers/clk/mmp/clk-apbc.c | 141

[PATCH 2/5] clk: mmp: add clock definition for pxa168

2012-07-31 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for pxa168 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |2 + drivers/clk/mmp/clk-pxa168.c | 268 ++ 2 files changed, 270 insertions(+), 0 deletions(-)

[PATCH 4/5] clk: mmp: add clock definition for mmp2

2012-07-31 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for mmp2 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-mmp2.c | 337 2 files changed, 338 insertions(+), 0 deletions(-) create

Re: [PATCH v2 1/2] hw_random: mxc-rnga: Adapt clocks to new i.mx clock framework

2012-07-31 Thread Sascha Hauer
On Fri, Jul 27, 2012 at 01:47:51PM -0300, Fabio Estevam wrote: Adapt clocks to the new i.mx clock framework and fix the following warning: Cc: Theodore Ts'o ty...@mit.edu Cc: Herbert Xu herb...@gondor.apana.org.au Cc: linux-kernel@vger.kernel.org Signed-off-by: Fabio Estevam

[PATCH 3/5] clk: mmp: add clock definition for pxa910

2012-07-31 Thread Chao Xie
From: Chao Xie chao@marvell.com Initialize the clocks for pxa910 Signed-off-by: Chao Xie xiechao.m...@gmail.com --- drivers/clk/mmp/Makefile |1 + drivers/clk/mmp/clk-pxa910.c | 249 ++ 2 files changed, 250 insertions(+), 0 deletions(-)

RE: [2/3][PATCH][v2] TDM Framework

2012-07-31 Thread Singh Sandeep-B37400
-Original Message- From: Mark Brown [mailto:broo...@opensource.wolfsonmicro.com] Sent: Monday, July 30, 2012 9:16 PM To: Francois Romieu Cc: Singh Sandeep-B37400; de...@driverdev.osuosl.org; linuxppc-...@lists.ozlabs.org; ga...@kernel.crashing.org; linux-arm-ker...@lists.infradead.org;

Re: [PATCH] sctp: Make Invalid Stream Identifier ERROR follows SACK when bundling

2012-07-31 Thread xufeng zhang
Sorry, please ignore the above patch, there was an paste error. Please check the following patch. I'm wondering if the below solution is fine to you which is based on your changes. BTW, I have verified this patch and it works ok for all the situation,

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Karl Beldan
Hi, (This is an email originally addressed to the linux-kernel mailing-list.) On our board we've got an MV78200 and a network device between which we xfer memory chunks via the ddram with an external dma controller. To handle these xfers we're using the dma API. To tx a chunk of data from the

Re: [PATCH 0/2] serial: sh-sci: fix compilation breakage (3.6)

2012-07-31 Thread Vinod Koul
On Tue, 2012-07-31 at 15:07 +0900, Paul Mundt wrote: On Mon, Jul 30, 2012 at 09:28:18PM +0200, Guennadi Liakhovetski wrote: Hi all as has been reported in this http://thread.gmane.org/gmane.linux.kernel/1294256/focus=16001 thread, currently sh-sci doesn't comiple in the mainline

Re: [PATCH] dma: imx-dma: Fix kernel crash due to missing clock conversion

2012-07-31 Thread Vinod Koul
On Mon, 2012-07-30 at 14:38 +0200, javier Martin wrote: On 30 July 2012 13:31, javier Martin javier.mar...@vista-silicon.com wrote: Hi, On 27 July 2012 13:37, Fabio Estevam feste...@gmail.com wrote: On Fri, Jul 27, 2012 at 12:17 AM, Vinod Koul vinod.k...@linux.intel.com wrote:

Re: [PATCH 1/1] ARM: dove: DT support for sdhci-dove

2012-07-31 Thread Andrew Lunn
+++ b/Documentation/devicetree/bindings/mmc/sdhci-dove.txt @@ -0,0 +1,12 @@ +* Marvell sdhci-dove controller + +Required properties: +- compatible: Should be marvell,dove-sdhci. + +Example: + +sdio0: sdio@92000 { + compatible = marvell,dove-sdhci; + reg = 0x92000 0x100; +

Re: [GPIO] Crashed when not using

2012-07-31 Thread Felipe Balbi
Hi, On Mon, Jul 30, 2012 at 01:36:47PM -0700, Kevin Hilman wrote: little trimming The device tree data for acquiring the above GPIO interrupt line looks like this. +++ linux-omap-storage/arch/arm/boot/dts/omap5-evm.dts 2012-07-30 14:11:08.931694001 +0530 @@ -42,7 +42,8 @@

Re: [PATCH] uprobes: mmap_region() corrupts mm-mm_rb if uprobe_mmap() fails

2012-07-31 Thread Srikar Dronamraju
If mmap_region()-uprobe_mmap() fails, unmap_and_free_vma path does unmap_region() but does not remove the soon-to-be-freed vma from rb tree (actually there are more problems). Perhaps we could do do_munmap() + return in this case, but in fact it is simply wrong to abort if uprobe_mmap()

Re: [PATCH V2] dma: tegra: enable/disable dma clock

2012-07-31 Thread Vinod Koul
On Fri, 2012-07-27 at 13:42 +0530, Laxman Dewangan wrote: On Tuesday 24 July 2012 10:30 AM, Laxman Dewangan wrote: On Tuesday 24 July 2012 10:38 AM, Vinod Koul wrote: On Fri, 2012-07-20 at 13:31 +0530, Laxman Dewangan wrote: Enable the DMA clock when allocating channel and disable clock

Re: [PATCH 1/1] block/nbd: micro-optimization in nbd request completion

2012-07-31 Thread Jens Axboe
On 07/30/2012 05:02 PM, chetan loke wrote: On Wed, Jun 6, 2012 at 1:20 PM, Paul Clements paul.cleme...@steeleye.com wrote: Makes sense. Looks good to me. Acked-by: paul.cleme...@steeleye.com On Wed, Jun 6, 2012 at 10:15 AM, Chetan Loke loke.che...@gmail.com wrote: Add in-flight cmds to

Re: [PATCH can-next v3 1/2] can: add tx/rx LED trigger support

2012-07-31 Thread Fabio Baltieri
Hi Marc, On Mon, Jul 30, 2012 at 11:17:53PM +0200, Marc Kleine-Budde wrote: On 07/30/2012 09:20 PM, Fabio Baltieri wrote: This patch implements the functions to add two LED triggers, named ifname-tx and ifname-rx, to a canbus device driver. Triggers are called from specific handlers by

Re: [GPIO] Crashed when not using

2012-07-31 Thread Felipe Balbi
Hi, On Tue, Jul 31, 2012 at 10:23:16AM +0530, Poddar, Sourav wrote: The device tree data for acquiring the above GPIO interrupt line looks like this. +++ linux-omap-storage/arch/arm/boot/dts/omap5-evm.dts 2012-07-30 14:11:08.931694001 +0530 @@ -42,7 +42,8 @@ tsl2771@39 {

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Clemens Ladisch
Karl Beldan wrote: To tx a chunk of data from the SoC = network device, we : - prepare a buffer with a leading header embedding a pattern, - trigger the xfer and wait for an irq // The device updates the pattern and then triggers an irq - upon irq we check the pattern for the xfer completion

Re: drm/nouveau: crash regression in 3.5

2012-07-31 Thread Ortwin Glück
Yes, as far as I can tell. I didn't do anything different this time. The date on the kernel file looks ok. Just did a fresh make make install again, and got the same behaviour. When is that number after the hash sign upped? Marcin Slusarz marcin.slus...@gmail.com wrote: Are you sure you boot

Re: [PATCH 1/5] user_hooks: New user hooks subsystem

2012-07-31 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: On Mon, Jul 30, 2012 at 05:08:12PM +0200, Peter Zijlstra wrote: On Fri, 2012-07-27 at 17:40 +0200, Frederic Weisbecker wrote: +++ b/kernel/user_hooks.c @@ -0,0 +1,56 @@ +#include linux/user_hooks.h +#include linux/rcupdate.h

Re: [PATCH can-next v3 1/2] can: add tx/rx LED trigger support

2012-07-31 Thread Marc Kleine-Budde
On 07/31/2012 08:57 AM, Fabio Baltieri wrote: Hi Marc, On Mon, Jul 30, 2012 at 11:17:53PM +0200, Marc Kleine-Budde wrote: On 07/30/2012 09:20 PM, Fabio Baltieri wrote: This patch implements the functions to add two LED triggers, named ifname-tx and ifname-rx, to a canbus device driver.

[GIT PULL] s390 patches for the 3.6 merge window #2

2012-07-31 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the second batch of s390 patches for the 3.6 merge window. Included is enablement for two common code changes, killable page faults and sorted exception

Re: [PATCH RESEND v3] mmc: core: Remove bounce buffer in mmc_send_cxd_data()

2012-07-31 Thread S, Venkatraman
On Tue, Jul 31, 2012 at 7:30 AM, Kyungsik Lee kyungsik@lge.com wrote: It is expected that Extended CSD register(the size of this register is larger than CID/CSD) will be referenced more frequently as more fields have been added to Extended CSD and it seems that it is not a good option to

<    2   3   4   5   6   7   8   9   10   11   >