[v2 PATCH 10/14] spi/atmel_spi: correct 16 bits transfers using PIO

2012-12-03 Thread Wenyou Yang
From: Richard Genoud Signed-off-by: Richard Genoud Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 46 +- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/drivers/spi/spi-atmel.c

[v2 PATCH 08/14] spi/atmel_spi: add dmaengine support

2012-12-03 Thread Wenyou Yang
From: Nicolas Ferre Add dmaengine support. The has_dma_support to select DMA as the SPI xfer mode. Signed-off-by: Nicolas Ferre [wenyou.y...@atmel.com: add has_dma_support to select DMA as the SPI xfer mode] [wenyou.y...@atmel.com: add support NPCS1,2,3 chip select other than NPCS0]

[v2 PATCH 09/14] spi/atmel_spi: Fix spi-atmel driver to adapt to slave_config changes

2012-12-03 Thread Wenyou Yang
From: Richard Genoud This is the following of the patch e2b35f3dbfc080f15b72834d08f04f0269dbe9be Signed-off-by: Richard Genoud [wenyou.y...@atmel.com: fix DMA: when enable both spi0 and spi1, spi0 doesn't work] Signed-off-by: Wenyou Yang Cc: grant.lik...@secretlab.ca Cc:

[v2 PATCH 06/14] spi/atmel_spi: add flag to controller data for lock operations

2012-12-03 Thread Wenyou Yang
From: Nicolas Ferre Will allow to drop the lock during DMA operations. Signed-off-by: Nicolas Ferre Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c | 31 +++ 1 file changed, 19 insertions(+), 12 deletions(-)

[v2 PATCH 07/14] spi/atmel_spi: add DT support

2012-12-03 Thread Wenyou Yang
From: Jean-Christophe PLAGNIOL-VILLARD The atmel_spi use only gpio for chip select. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [wenyou.y...@atmel.com: Add driver data and compatible "atmel,at91sam9260-spi", "atmel,at91sam9x5-spi"] Signed-off-by: Wenyou Yang Cc:

[v2 PATCH 05/14] spi/atmel_spi: status information passed through controller data

2012-12-03 Thread Wenyou Yang
From: Nicolas Ferre The status of transfer is stored in controller data structure so that it can be used not only by atmel_spi_msg_done() function. This will be useful for upcoming dmaengine enabled driver. Signed-off-by: Nicolas Ferre Cc: grant.lik...@secretlab.ca Cc:

[v2 PATCH 04/14] spi/atmel_spi: call unmapping on transfers buffers

2012-12-03 Thread Wenyou Yang
From: Nicolas Ferre Signed-off-by: Nicolas Ferre Cc: grant.lik...@secretlab.ca Cc: spi-devel-gene...@lists.sourceforge.net --- drivers/spi/spi-atmel.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index

Re: [PATCH 1/5] asm-generic/mmu.h: Remove unused vmlist field from mm_context_t

2012-12-03 Thread Lars-Peter Clausen
On 12/04/2012 12:54 AM, Arnd Bergmann wrote: > On Thursday 01 November 2012, Lars-Peter Clausen wrote: >> Nothing is using the vmlist field in mm_context_t anymore. It has been >> removed >> from the non-generic versions over 3 years ago 8feae1311 ("NOMMU: Make VMAs >> per >> MM as for MMU-mode

[v2 PATCH 01/14] of: add dma-mask binding

2012-12-03 Thread Wenyou Yang
From: Jean-Christophe PLAGNIOL-VILLARD This will allow each device to specify its dma-mask for this we use the coherent_dma_mask as pointer. By default the dma-mask will be set to DMA_BIT_MASK(32). The microblaze architecture hook is drop Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc:

[v2 PATCH 00/14] atmel SPI controller with dmaengine and device tree support

2012-12-03 Thread Wenyou Yang
Hi All, This set of patches is to add dmaengine and device tree support for atmel spi. The work is based on Jean-Christophe, Nicolas and Richard's work. I tested it on at91sam9x5ek, at91sam9m10g45ek. It is based on v3.7-rc8. Changelog: v2: 1./ Remove the patch :PATCH]mtd: m25p80: change

Re: [PATCH -next 0/9] tty: Fix buffer work access-after-free

2012-12-03 Thread Ilya Zykov
On 04.12.2012 11:07, Peter Hurley wrote: > This patch series addresses the causes of flush_to_ldisc accessing > the tty after freeing. > I think, it is have sense only if you can take effect, with this patch or something like. I can't. :) Signed-off-by: Ilya Zykov --- diff --git

Re: [net-next rfc v7 2/3] virtio_net: multiqueue support

2012-12-03 Thread Michael S. Tsirkin
On Mon, Dec 03, 2012 at 06:30:49PM +0800, Jason Wang wrote: > On 12/03/2012 06:14 PM, Michael S. Tsirkin wrote: > > On Tue, Nov 27, 2012 at 06:15:59PM +0800, Jason Wang wrote: > >> > -if (!try_fill_recv(>rq, GFP_KERNEL)) > >> > -schedule_delayed_work(>rq.refill, 0); > >> >

Re: [PATCH 1/2] Input: xpad - Minor coding style errors fixed.

2012-12-03 Thread Guillermo A. Amaral
On Mon, Dec 03, 2012 at 09:24:00PM -0800, Dmitry Torokhov wrote: > On Sat, Dec 01, 2012 at 11:36:19PM -0800, Guillermo A. Amaral wrote: > > From: "Guillermo A. Amaral" > > > > Fixed a few minor coding style issues in xpad driver. > > Applied both, thanks Guillermo. Thanks! Sorry about the

Re: [YASB] Re: Linux 3.7-rc7

2012-12-03 Thread Andreas Mohr
Hi, On Mon, Dec 03, 2012 at 08:48:17PM +0100, Andreas Mohr wrote: > Will try script to unload half of all drivers etc. > (heavy amounts of bisection wouldn't be joyful on this box). > > > I failed to mention the effects: > Suspend starts, disk does spin down, yet display backlight stays > until

Re: [RFC v2] Support volatile range for anon vma

2012-12-03 Thread Minchan Kim
On Mon, Dec 03, 2012 at 04:57:20PM -0800, John Stultz wrote: > On 12/03/2012 04:00 PM, Minchan Kim wrote: > >On Wed, Nov 28, 2012 at 08:18:01PM -0800, John Stultz wrote: > >>On 11/21/2012 04:36 PM, John Stultz wrote: > >>>2) Being able to use this with tmpfs files. I'm currently trying > >>>to

Re: [PATCH v3 1/7] mfd: max8925: add irqdomain for dt

2012-12-03 Thread Haojian Zhuang
On Thu, Nov 29, 2012 at 11:29 AM, Qing Xu wrote: > From: Qing Xu > > Add irqdomains for max8925's main irq, wrap irq register operations > into irqdomain's map func. it is necessary for dt support. > > Also, add dt support for max8925 driver. > > Signed-off-by: Qing Xu > --- >

Re: [PATCH 0/7] mfd: update on max8925 for DT support

2012-12-03 Thread Haojian Zhuang
On Thu, Nov 29, 2012 at 1:54 PM, Qing Xu wrote: > On 11/23/2012 05:09 PM, Haojian Zhuang wrote: >> >> On Tue, Nov 6, 2012 at 3:35 PM, Qing Xu wrote: >>> >>> From: Qing Xu >>> >>> 1. add irqdomain for max8925, it is necessary for dt support >>> 2. bug fix in max8925 mfd devices'irq base and

[PATCH -next 0/9] tty: Fix buffer work access-after-free

2012-12-03 Thread Peter Hurley
This patch series addresses the causes of flush_to_ldisc accessing the tty after freeing. The most common cause stems from the n_tty_close() path spuriously scheduling buffer work, when the ldisc has already been halted. This is fixed in 'tty: Don't reschedule buffer work while closing' The

[PATCH -next 4/9] tty: Refactor wait for ldisc refs out of tty_ldisc_hangup()

2012-12-03 Thread Peter Hurley
Refactor tty_ldisc_hangup() to extract standalone function, tty_ldisc_hangup_wait_idle(), to wait for ldisc references to be released. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 54 - 1 file changed, 36 insertions(+), 18

Re: [PATCH] Documentation: add docs for max8925 dt

2012-12-03 Thread Haojian Zhuang
On Thu, Nov 29, 2012 at 1:52 PM, Qing Xu wrote: > From: Qing Xu > > add docs for dt of max8925-mfd, max8925-backlight, and > max8925-battery > > Signed-off-by: Qing Xu > --- > Documentation/devicetree/bindings/mfd/max8925.txt | 64 > >

Re: Linux 3.7-rc8

2012-12-03 Thread Romain Francoise
Hi, Linus Torvalds writes: > Does that fix the printk's for you too? Yep, works for me, thanks! Tested-by: Romain Francoise -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH -next 7/9] tty: Strengthen no-subsequent-use guarantee of tty_ldisc_halt()

2012-12-03 Thread Peter Hurley
In preparation for destructing and freeing the tty, the line discipline must first be brought to an inactive state before it can be destructed. This line discipline shutdown must: - disallow new users of the ldisc - wait for existing ldisc users to finish - only then, cancel/flush their

Re: [PATCH v4 7/7] mfd: max8925: add dts

2012-12-03 Thread Haojian Zhuang
On Thu, Nov 29, 2012 at 11:35 AM, Qing Xu wrote: > From: Qing Xu > > add max8925 dts support into mmp2 brownstone platform > > Signed-off-by: Qing Xu > --- > arch/arm/boot/dts/mmp2-brownstone.dts | 158 > + > arch/arm/boot/dts/mmp2.dtsi |4 +- >

[PATCH -next 9/9] tty: Halt both ldiscs concurrently

2012-12-03 Thread Peter Hurley
The pty driver does not obtain an ldisc reference to the linked tty when writing. When the ldiscs are sequentially halted, it is possible for one ldisc to be halted, and before the second ldisc can be halted, a concurrent write schedules buffer work on the first ldisc. This can lead to an

[PATCH -next 6/9] tty: Fix ldisc halt sequence on hangup

2012-12-03 Thread Peter Hurley
Flip buffer work cannot be cancelled until all outstanding ldisc references have been released. Convert the ldisc ref wait into a full ldisc halt with buffer work cancellation. Note that the legacy mutex is not held while cancelling. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 40

[PATCH -next 8/9] tty: Remove unnecessary buffer work flush

2012-12-03 Thread Peter Hurley
In order to safely call tty_ldisc_flush_works(), the ldisc must already have been halted, so any pending buffer work has already been cancelled or flushed as part of the halt. Signed-off-by: Peter Hurley --- drivers/tty/tty_ldisc.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH -next 5/9] tty: Remove unnecessary re-test of ldisc ref count

2012-12-03 Thread Peter Hurley
Since the tty->ldisc is prevented from being changed by tty_set_ldisc() when a tty is being hung up, re-testing the ldisc user count is unnecessary -- ie, it cannot be a different ldisc and the user count cannot have increased (assuming the caller meets the precondition that TTY_LDISC flag is

[PATCH -next 3/9] tty: Don't reschedule buffer work while closing

2012-12-03 Thread Peter Hurley
Prevent buffer work scheduling when called from n_tty_close(). Since the ldisc has been halted and the tty soon-to-be-destructed, pending work would be accessing an invalid tty and ldisc state. Fixes this: [ 38.05] [ cut here ] [ 38.052113] WARNING: at

[PATCH -next 2/9] tty: Add diagnostic for halted line discipline

2012-12-03 Thread Peter Hurley
Flip buffer work must not be scheduled after the line discipline has been halted; issue warning. Signed-off-by: Peter Hurley --- drivers/tty/n_tty.c | 6 ++ drivers/tty/tty_buffer.c | 3 +++ drivers/tty/tty_ldisc.c | 45 +

[PATCH -next 1/9] tty: WARN if buffer work racing with tty free

2012-12-03 Thread Peter Hurley
Signed-off-by: Peter Hurley --- drivers/tty/tty_io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/tty/tty_io.c b/drivers/tty/tty_io.c index 78c3000..3d2b6d7 100644 --- a/drivers/tty/tty_io.c +++ b/drivers/tty/tty_io.c @@ -1511,6 +1511,8 @@ static void

Re: [PATCH 3/4] rtc: pxa: add pxa95x rtc support

2012-12-03 Thread Haojian Zhuang
On Thu, Nov 29, 2012 at 10:21 AM, Chao Xie wrote: > the pxa95x rtc need access PBSR register before write to > RTTR, RCNR, RDCR, and RYCR registers. > > Signed-off-by: Chao Xie > --- > drivers/rtc/rtc-pxa.c | 97 > +++-- > 1 files changed, 85

Re: [PATCH 1/4] rtc: sa1100: enable/disable rtc when probe/remove the device

2012-12-03 Thread Haojian Zhuang
On Tuesday, December 4, 2012, Chao Xie wrote: > > On Mon, Dec 3, 2012 at 5:48 PM, Russell King - ARM Linux > wrote: > > On Mon, Dec 03, 2012 at 10:53:07AM +0800, Chao Xie wrote: > >> I want to correct what i said. For the irq register/unregister i think > >> can be done at open/release. But for

Re: [linux-keystone] [PATCH v2] drivers: cma: fix addressing on PAE machines

2012-12-03 Thread Santosh Shilimkar
On Monday 03 December 2012 09:16 PM, Vitaly Andrianov wrote: This patch fixes a couple of bugs that otherwise impair CMA functionality on PAE machines: - alignment must be a 64-bit type when running on systems with 64-bit physical addresses. If this is not the case, the limit

RE: [PATCH] da8xx: Fix revision check on the da8xx driver

2012-12-03 Thread Manjunathappa, Prakash
Hi Tomi, On Wed, Oct 31, 2012 at 09:21:35, Manjunathappa, Prakash wrote: > On Wed, Oct 31, 2012 at 21:26:24, Pantelis Antoniou wrote: > > The revision check fails for the beaglebone; Add new revision ID. > > > > Signed-off-by: Pantelis Antoniou > > --- > > drivers/video/da8xx-fb.c | 1 + > > 1

[PATCH RFT] spi: spi-xcomm: Fix wrong setting for SPI_XCOMM_SETTINGS_CPHA

2012-12-03 Thread Axel Lin
The logic of setting SPI_XCOMM_SETTINGS_CPHA bit is reversed. Signed-off-by: Axel Lin --- Hi Lars, The logic of setting SPI_XCOMM_SETTINGS_CPHA bit looks wrong to me. Can you check if this patch works? Thanks, Axel drivers/spi/spi-xcomm.c |4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH v5 7/8] fat (exportfs): rebuild directory-inode if fat_dget() fails

2012-12-03 Thread Namjae Jeon
2012/12/3, OGAWA Hirofumi : > Namjae Jeon writes: > >> From: Namjae Jeon >> >> This patch enables rebuilding of directory inodes which are not present >> in the cache.This is done by traversing the disk clusters to find the >> directory entry of the parent directory and using its i_pos to build

Re: [PATCH v5 8/8] Documentation: update nfs option in filesystem/vfat.txt

2012-12-03 Thread Namjae Jeon
2012/12/3, OGAWA Hirofumi : > Namjae Jeon writes: > >> From: Namjae Jeon >> >> update nfs option in filesystem/vfat.txt >> >> Signed-off-by: Namjae Jeon >> Signed-off-by: Ravishankar N >> Signed-off-by: Amit Sahrawat >> --- >> Documentation/filesystems/vfat.txt | 23 ++-

Re: [PATCH v5 5/8] fat: restructure export_operations

2012-12-03 Thread Namjae Jeon
2012/12/3, OGAWA Hirofumi : > Namjae Jeon writes: > >> +if (MSDOS_SB(inode->i_sb)->options.nfs == FAT_NFS_NOSTALE_RO) { >> +/* Use i_pos for ino. This is used as fileid of nfs. */ >> +stat->ino = fat_i_pos_read(MSDOS_SB(inode->i_sb), inode); > > BTW, what number is

Why a host not ping-able?

2012-12-03 Thread Woody Wu
Hi, list I am not sure this has something with kernel. But the system I just generated cannot be reached from ping. It can ping outside, but if I ping it from outside, I just get "Destination Host Unreachable". I think there is not firewall in between, and the two host in the test are in the

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-03 Thread Terje Bergström
On 03.12.2012 23:03, Thierry Reding wrote: > What's really difficult to follow is if an ops structure is accessed via > some global macro. It also breaks encapsulation because you have a > global ops structure. That may even work fine for now, but it will break > once you have more than a single

linux-next: build failure after merge of the final tree (ext4 tree related)

2012-12-03 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: fs/ocfs2/built-in.o: In function `.walk_page_buffers': (.text+0x2c104): multiple definition of `.walk_page_buffers' fs/ext4/built-in.o:(.text+0x10c1c): first defined here fs/ocfs2/built-in.o:

Re: [RFC PATCH v3] Add rcu user eqs exception hooks for async page fault

2012-12-03 Thread Li Zhong
On Tue, 2012-12-04 at 07:11 +0200, Gleb Natapov wrote: > On Tue, Dec 04, 2012 at 10:36:02AM +0800, Li Zhong wrote: > > On Mon, 2012-12-03 at 11:57 +0200, Gleb Natapov wrote: > > > Please regenerate the patch against > > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git queue. > > > > Done. > > > >

linux-next: manual merge of the akpm tree with the rr-fixes tree

2012-12-03 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in include/linux/kernel.h between commit cbdbf2abb784 ("linux/kernel.h: define SYMBOL_PREFIX") from the rr-fixes tree and commit "mm: use IS_ENABLED(CONFIG_COMPACTION) instead of COMPACTION_BUILD" from the akpm tree. I fixed it

[PATCH v3] backlight: corgi_lcd: Use gpio_set_value_cansleep() to avoid WARN_ON

2012-12-03 Thread Jingoo Han
From: Marko Katic Changing backlight intensity on an Akita (Sharp Zaurus C-1000) triggers WARN_ON message: WARNING: at drivers/gpio/gpiolib.c:1672 __gpio_set_value+0x38/0xa4() Modules linked in: Backtrace: [] (dump_backtrace+0x0/0x110) from [] (dump_stack+0x18/0x1c) r6:c0158fc8 r5:0009

Re: [PATCH 1/2] Input: xpad - Minor coding style errors fixed.

2012-12-03 Thread Dmitry Torokhov
On Sat, Dec 01, 2012 at 11:36:19PM -0800, Guillermo A. Amaral wrote: > From: "Guillermo A. Amaral" > > Fixed a few minor coding style issues in xpad driver. Applied both, thanks Guillermo. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH -next] powerpc/82xx: use for_each_compatible_node() macro

2012-12-03 Thread Wei Yongjun
From: Wei Yongjun Use for_each_compatible_node() macro instead of open coding it. Signed-off-by: Wei Yongjun --- arch/powerpc/platforms/82xx/pq2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/platforms/82xx/pq2.c b/arch/powerpc/platforms/82xx/pq2.c

[PATCH -next] TTY: hvsi: use for_each_compatible_node() macro

2012-12-03 Thread Wei Yongjun
From: Wei Yongjun Use for_each_compatible_node() macro instead of open coding it. Signed-off-by: Wei Yongjun --- drivers/tty/hvc/hvsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/tty/hvc/hvsi.c b/drivers/tty/hvc/hvsi.c index 5b95b4f..70e0ef7 100644 ---

[PATCH -next] Drivers: hv: remove unused variable in vmbus_recvpacket_raw()

2012-12-03 Thread Wei Yongjun
From: Wei Yongjun The variable userlen is initialized but never used otherwise, so remove the unused variable. Signed-off-by: Wei Yongjun --- drivers/hv/channel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/hv/channel.c b/drivers/hv/channel.c index 773a2f2..3148d80 100644 ---

Re: [PATCH 2/2] i2c-s3c2410: Add bus arbitration implementation

2012-12-03 Thread Naveen Krishna Ch
On 4 December 2012 05:41, Olof Johansson wrote: > On Sat, Dec 1, 2012 at 5:26 AM, Mark Brown > wrote: >> On Thu, Nov 29, 2012 at 10:14:58PM -0800, Olof Johansson wrote: >>> On Thu, Nov 29, 2012 at 6:13 PM, Simon Glass wrote: >> >>> > It was originally done separately but I think it was felt

Re: [RFC PATCH v3] Add rcu user eqs exception hooks for async page fault

2012-12-03 Thread Gleb Natapov
On Tue, Dec 04, 2012 at 10:36:02AM +0800, Li Zhong wrote: > On Mon, 2012-12-03 at 11:57 +0200, Gleb Natapov wrote: > > Please regenerate the patch against > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git queue. > > Done. > > By the way, the included file is replaced with > in latest next

[PATCH -next] mn10300: use for_each_pci_dev to simplify the code

2012-12-03 Thread Wei Yongjun
From: Wei Yongjun Use for_each_pci_dev to simplify the code. Signed-off-by: Wei Yongjun --- arch/mn10300/unit-asb2305/pci-irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mn10300/unit-asb2305/pci-irq.c b/arch/mn10300/unit-asb2305/pci-irq.c index 91212ea..77439da

Re: [GIT PULL] linux-firmware: cx23885: update to Version 2.06.139

2012-12-03 Thread Ben Hutchings
On Mon, 2012-12-03 at 11:13 -0700, Tim Gardner wrote: > Ben - what is your policy on extracting firmware from Windows drivers? I suppose the policy should be that the driver's licence must allow extracting and then distributing the result. Which I wouldn't expect ever to be the case, in

Re: [RFC v2 PATCH 2.1] sched: Use Per-Entity-Load-Tracking metric for load balancing

2012-12-03 Thread Preeti U Murthy
sched: Use Per-Entity-Load-Tracking metric for load balancing From: Preeti U Murthy Currently the load balancer weighs a task based upon its priority,and this weight consequently gets added up to the weight of the run queue that it is on.It is this weight of the runqueue that sums up to a

[PATCH 3/3] perf diff: Use internal rb tree for compute resort

2012-12-03 Thread Namhyung Kim
From: Namhyung Kim There's no reason to run hists_compute_resort() using output tree. Convert it to use internal tree so that it can remove unnecessary _output_resort. Also move position computation below the resort since it changes the output ordering. Cc: Jiri Olsa Cc: Stephane Eranian

[PATCH 2/3] perf hists: Link hist entries before inserting to an output tree

2012-12-03 Thread Namhyung Kim
From: Namhyung Kim For matching and/or linking hist entries, they need to be sorted by given sort keys. However current hists__match/link did this on the output trees, so that the entries in the output tree need to be resort before doing it. This looks not so good since we have trees for

[PATCH 0/3] perf hists: Changes on hists__{link,match}

2012-12-03 Thread Namhyung Kim
Hi Arnaldo, This is what I talked to Jiri yesterday, and it can be a common basis of both event group and multiple diff patchset. The point is using internal input or collapsed rb tree to sort hist entries rather than output tree with unnessary resort. Please take a look. Thanks, Namhyung

[PATCH 1/3] perf hists: Exchange order of comparing items when collapsing hists

2012-12-03 Thread Namhyung Kim
From: Namhyung Kim When comparing entries for collapsing put the given entry first, and then the iterated entry. This is not the case of hist_entry__cmp() when called if given sort keys don't require collapsing. So change the order for the sake of consistency. It will be required for matching

linux-next: manual merge of the arm-soc tree with the iommu tree

2012-12-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-omap2/clock44xx_data.c between commit 298ea44f211d ("ARM: OMAP4: hwmod data: ipu and dsp to use parent clocks instead of leaf clocks") from the iommu tree and commit 13a5b6228679 ("ARM: OMAP44xx: clock: drop

Re: [net-next rfc v7 1/3] virtio-net: separate fields of sending/receiving queue from virtnet_info

2012-12-03 Thread Rusty Russell
Jason Wang writes: > On Monday, December 03, 2012 12:25:42 PM Rusty Russell wrote: >> > + >> > + /* Work struct for refilling if we run low on memory. */ >> > + struct delayed_work refill; >> >> I can't really see the justificaiton for a refill per queue. Just have >> one work iterate all the

Re: [PATCH 2/2] New driver: Xillybus generic interface for FPGA (programmable logic)

2012-12-03 Thread Greg KH
On Sun, Dec 02, 2012 at 07:26:27PM +0200, Eli Billauer wrote: > On 11/30/2012 06:32 PM, Greg KH wrote: > > >>+static struct class *xillybus_class; > >Why not just use the misc interface instead of your own class? > >>> When Xillybus is used, the whole system's mission is usually around

RE: [PATCH 01/11] watchdog/at91sam9_wdt: remove the file_operations struct

2012-12-03 Thread Yang, Wenyou
Hi JC, > -Original Message- > From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] > Sent: 2012年11月16日 21:54 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; w...@iguana.be; > linux-watch...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; >

Re: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-12-03 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2012 at 02:55:14AM +, Peng, Tao wrote: > > -Original Message- > > From: Peng, Tao > > Sent: Saturday, December 01, 2012 11:47 PM > > To: Myklebust, Trond; Greg Kroah-Hartman; Ben Hutchings > > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; > >

RE: [PATCH 00/11] watchdog/at91sam9_wdt: use watchdog framework, support DT

2012-12-03 Thread Yang, Wenyou
Hi JC > -Original Message- > From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] > Sent: 2012年11月16日 21:51 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; w...@iguana.be; > linux-watch...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; >

RE: [PATCH 03/11] watchdog/at91sam9_wdt: change the wdt_read and wdt_write macro to the inline function

2012-12-03 Thread Yang, Wenyou
Hi JC, > -Original Message- > From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagn...@jcrosoft.com] > Sent: 2012年11月16日 21:49 > To: Yang, Wenyou > Cc: linux-arm-ker...@lists.infradead.org; w...@iguana.be; > linux-watch...@vger.kernel.org; linux-kernel@vger.kernel.org; Ferre, Nicolas; >

Re: sigaltstack fun

2012-12-03 Thread David Miller
From: Al Viro Date: Mon, 26 Nov 2012 05:15:44 + > On Mon, Nov 26, 2012 at 05:10:02AM +, Al Viro wrote: >> On Sun, Nov 18, 2012 at 10:27:24PM -0500, David Miller wrote: >> > > Cc: sta...@vger.kernel.org >> > > Signed-off-by: Al Viro >> > >> > Applied, thanks. >> >> Hmm... There's

Re: sigaltstack fun

2012-12-03 Thread David Miller
From: Al Viro Date: Mon, 26 Nov 2012 05:10:02 + > On Sun, Nov 18, 2012 at 10:27:24PM -0500, David Miller wrote: >> > Cc: sta...@vger.kernel.org >> > Signed-off-by: Al Viro >> >> Applied, thanks. > > Hmm... There's something odd going on with {rt_,}sigaction on sparc - > we *do* have

Re: [PATCH v4 16/31] loop: use aio to perform io on the underlying file

2012-12-03 Thread Dave Kleikamp
On 12/03/2012 08:52 PM, Dave Chinner wrote: > On Mon, Dec 03, 2012 at 10:59:39AM -0600, Dave Kleikamp wrote: >> On 11/22/2012 05:06 PM, Dave Chinner wrote: >>> And this extra fsync is now not done in the aio path. I.e. the AIO >>> completion path needs to issue the fsync to maintain correct

RE: [PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-12-03 Thread Peng, Tao
> -Original Message- > From: Peng, Tao > Sent: Saturday, December 01, 2012 11:47 PM > To: Myklebust, Trond; Greg Kroah-Hartman; Ben Hutchings > Cc: linux-kernel@vger.kernel.org; sta...@vger.kernel.org; > kernel-t...@lists.ubuntu.com; Herton Ronaldo > Krzesinski > Subject: RE: [PATCH

Re: [PATCH 2/4] rtc: pxa: fix rtc caculation issue

2012-12-03 Thread Chao Xie
On Mon, Dec 3, 2012 at 10:40 AM, Chao Xie wrote: > On Fri, Nov 30, 2012 at 4:04 AM, Robert Jarzmik > wrote: >> Chao Xie writes: >> >> Hi Chao Xie, >> >> First of all, could you please send patches from rtc-pxa to me also, as I'm >> maintaining that driver ? >> >> Second point, the original

Re: [PATCH v4 16/31] loop: use aio to perform io on the underlying file

2012-12-03 Thread Dave Chinner
On Mon, Dec 03, 2012 at 10:59:39AM -0600, Dave Kleikamp wrote: > On 11/22/2012 05:06 PM, Dave Chinner wrote: > > On Wed, Nov 21, 2012 at 04:40:56PM -0600, Dave Kleikamp wrote: > >> From: Zach Brown > >> > >> This uses the new kernel aio interface to process loopback IO by > >> submitting

Re: [PATCH 1/4] rtc: sa1100: enable/disable rtc when probe/remove the device

2012-12-03 Thread Chao Xie
On Mon, Dec 3, 2012 at 5:48 PM, Russell King - ARM Linux wrote: > On Mon, Dec 03, 2012 at 10:53:07AM +0800, Chao Xie wrote: >> I want to correct what i said. For the irq register/unregister i think >> can be done at open/release. But for clock enable/disable, i do not >> think so. If clock is

Re: [RFC PATCH v3] Add rcu user eqs exception hooks for async page fault

2012-12-03 Thread Li Zhong
On Mon, 2012-12-03 at 11:57 +0200, Gleb Natapov wrote: > Please regenerate the patch against > git://git.kernel.org/pub/scm/virt/kvm/kvm.git queue. Done. By the way, the included file is replaced with in latest next tree(91d1aa43 from rcu tree). Seems if they are merged, there won't be

[ PATCH] Add rcu user eqs exception hooks for async page fault

2012-12-03 Thread Li Zhong
This patch adds user eqs exception hooks for async page fault page not present code path, to exit the user eqs and re-enter it as necessary. Async page fault is different from other exceptions that it may be triggered from idle process, so we still need rcu_irq_enter() and rcu_irq_exit() to exit

Re: [patch,v2] bdi: add a user-tunable cpu_list for the bdi flusher threads

2012-12-03 Thread Dave Chinner
On Mon, Dec 03, 2012 at 01:53:39PM -0500, Jeff Moyer wrote: > Hi, > > In realtime environments, it may be desirable to keep the per-bdi > flusher threads from running on certain cpus. This patch adds a > cpu_list file to /sys/class/bdi/* to enable this. The default is to tie > the flusher

[PATCH] regulator: gpio-regulator: Add ifdef CONFIG_OF guard for regulator_gpio_of_match

2012-12-03 Thread Axel Lin
Use of_match_ptr and add ifdef CONFIG_OF guard for regulator_gpio_of_match. Signed-off-by: Axel Lin --- drivers/regulator/gpio-regulator.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/gpio-regulator.c b/drivers/regulator/gpio-regulator.c index

[PATCH] dev_change_net_namespace: send a KOBJ_REMOVED/KOBJ_ADD

2012-12-03 Thread Serge Hallyn
When a new nic is created in namespace ns1, the kernel sends a KOBJ_ADD uevent to ns1. When the nic is moved to ns2, we only send a KOBJ_MOVE to ns2, and nothing to ns1. This patch changes that behavior so that when moving a nic from ns1 to ns2, we send a KOBJ_REMOVED to ns1 and KOBJ_ADD to ns2.

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-03 Thread Mark Zhang
On 12/04/2012 05:03 AM, Thierry Reding wrote: [...] > > One other thing that such a design can help with is refactoring common > code or parameterizing code. Maybe newer generations are not compatible > but can easily be made to work with existing code by introducing a > variable such as register

Re: [RFC v2 1/8] video: tegra: Add nvhost driver

2012-12-03 Thread Mark Zhang
On 12/04/2012 05:03 AM, Thierry Reding wrote: [...] >> I think there's room for letting Terje's complete knowledge of future >> chips guide the design of the current code that's sent upstream. >> Certainly we shouldn't add a ton of unnecessary abstraction layers >> right now that aren't needed for

Re: Linux 3.7-rc8

2012-12-03 Thread Linus Torvalds
On Mon, Dec 3, 2012 at 3:40 PM, Linus Torvalds wrote: > > Yup, I can reproduce it with that. > > I'll shut the printk up some way. In the meantime, you can ignore it. Here's a patch to handle the "buffer head crosses the end of the disk" case. It works for me, and in fact it should allow us to

[PATCH] watchdog: store the watchdog sample period as a variable

2012-12-03 Thread Chuansheng Liu
Currently getting the sample period is always thru complex calculation: get_softlockup_thresh() * ((u64)NSEC_PER_SEC / 5). But just like the watchdog_thresh, which is not changed often. So we can store the sample period as a variable, and set it as __read_mostly type. Signed-off-by: liu

[PATCH 7/7] aoe: update internal version number to 81

2012-12-03 Thread Ed Cashin
This version number is printed to the console on module initialization and is available in sysfs, which is where the userland aoe-version tool looks for it. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoe.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

[PATCH 6/7] aoe: identify source of runt AoE packets

2012-12-03 Thread Ed Cashin
This change only affects experimental AoE storage networks. It modifies the console message about runt packets detected so that the AoE major and minor addresses of the AoE target that generated the runt are mentioned. Signed-off-by: Ed Cashin --- drivers/block/aoe/aoecmd.c | 10 +++---

Re: [RFC v2 8/8] drm: tegra: Add gr2d device

2012-12-03 Thread Mark Zhang
On 12/03/2012 05:40 PM, Daniel Vetter wrote: > On Mon, Dec 3, 2012 at 10:30 AM, Mark Zhang wrote: >> I'm new in kernel development. Could you tell me or give me some >> materials to read that why we need to align the size of IOCTL structures >> to 64bit? I can understand if we're working in a

[PATCH 5/7] aoe: allow comma separator in aoe_iflist value

2012-12-03 Thread Ed Cashin
By default, the aoe driver uses any ethernet interface for AoE, but the aoe_iflist module parameter provides a convenient way to limit AoE traffic to a specific list of local network interfaces. This change allows a list to be specified using the comma character as a separator. For example,

[PATCH 4/7] aoe: allow user to disable target failure timeout

2012-12-03 Thread Ed Cashin
With this change, the aoe driver treats the value zero as special for the aoe_deadsecs module parameter. Normally, this value specifies the number of seconds during which the driver will continue to attempt retransmits to an unresponsive AoE target. After aoe_deadsecs has elapsed, the aoe driver

Re: [patch,v3,repost 07/10] megaraid_sas: use scsi_host_alloc_node

2012-12-03 Thread adam radford
On Tue, Nov 27, 2012 at 8:46 AM, Jeff Moyer wrote: > > Signed-off-by: Jeff Moyer > --- > drivers/scsi/megaraid/megaraid_sas_base.c |5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c >

[PATCH 3/7] aoe: use dynamic number of remote ports for AoE storage target

2012-12-03 Thread Ed Cashin
Many AoE targets have four or fewer network ports, but some existing storage devices have many, and the AoE protocol sets no limit. This patch allows the use of more than eight remote MAC addresses per AoE target, while reducing the amount of memory used by the aoe driver in cases where there are

Re: [PATCH 1/1] Input: STMicroelectronics multi touch capacitive touchscreen ftk

2012-12-03 Thread Dmitry Torokhov
Hi Li, On Tue, Dec 04, 2012 at 08:32:05AM +0800, Li Wu wrote: > Thanks Felipe for the nice comments. > > I have consolidated most of your comments to a new version, but I am not > sure how should I send it out. > > I am using git send-email from shell command, then shall I just send out > the

[PATCH 2/7] aoe: avoid races between device destruction and discovery

2012-12-03 Thread Ed Cashin
This change avoids a race that could result in a NULL pointer derference following a WARNing from kobject_add_internal, "don't try to register things with the same name in the same directory." The problem was found with a test that forgets and discovers an aoe device in a loop: while test ! -r

[PATCH 1/7] aoe: improve handling of misbehaving network paths

2012-12-03 Thread Ed Cashin
An AoE target can have multiple network ports used for AoE, and in the aoe driver, those are tracked by the aoetgt struct. These changes allow the aoe driver to handle network paths, or aoetgts, that are not working well, compared to the others. Paths that do not get responses despite the

[PATCH] X86/acpi: remove redundant logic of acpi memory hotadd

2012-12-03 Thread Liu, Jinsong
Resend it, add Rafael and linux-a...@vger.kernel.org Thanks, Jinsong === >From 1d39279e45c54ce531691da5ffe261e7689dd92c Mon Sep 17 00:00:00 2001 From: Liu Jinsong Date: Wed, 14 Nov 2012 18:52:06 +0800 Subject: [PATCH] X86/acpi: remove redundant logic of acpi memory hotadd When

[PATCH 0/7] aoe: driver improvements and fixes through v81

2012-12-03 Thread Ed Cashin
This patch series applies to today's linux-next/akpm, commit a5944abc848a1b8e5329a631a84e35a3b0249ecb. Ed L. Cashin (7): aoe: improve handling of misbehaving network paths aoe: avoid races between device destruction and discovery aoe: use dynamic number of remote ports for AoE storage

Re: [PATCH] clk: factor: calculate rate by do_div

2012-12-03 Thread Haojian Zhuang
On Mon, Dec 3, 2012 at 4:14 PM, Haojian Zhuang wrote: > clk->rate = parent->rate / div * mult > > The formula is OK. But it may overflow while we do operate with > unsigned long. So use do_div instead. > > Signed-off-by: Haojian Zhuang > --- > drivers/clk/clk-fixed-factor.c |5 - > 1

[PATCH] staging: echo: remove unused variable

2012-12-03 Thread Cong Ding
the variable j isn't used in the loop Signed-off-by: Cong Ding --- drivers/staging/echo/echo.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/staging/echo/echo.c b/drivers/staging/echo/echo.c index ca87ce9..14dfd91 100644 --- a/drivers/staging/echo/echo.c +++

Re: [RFT PATCH v2 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-12-03 Thread Jiang Liu
On 2012-12-4 7:17, Andrew Morton wrote: > On Sun, 02 Dec 2012 19:55:09 + > Chris Clayton wrote: > >> >> >> On 11/29/12 10:52, Chris Clayton wrote: >>> On 11/28/12 23:52, Andrew Morton wrote: On Wed, 21 Nov 2012 23:09:46 +0800 Jiang Liu wrote: > Subject: Re: [RFT PATCH v2

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

2012-12-03 Thread Bryan Wu
Looks like this patch is based on linux-next tree, I fixed this. And I will solve the conflict when we do actually merge in next cycle. -Bryan On Fri, Nov 30, 2012 at 2:00 PM, Marek Belisko wrote: > Support added only for leds (not for gpio's). > > Signed-off-by: Marek Belisko > --- > Changes

Re: [RFC v2] Support volatile range for anon vma

2012-12-03 Thread John Stultz
On 12/03/2012 04:00 PM, Minchan Kim wrote: On Wed, Nov 28, 2012 at 08:18:01PM -0800, John Stultz wrote: On 11/21/2012 04:36 PM, John Stultz wrote: 2) Being able to use this with tmpfs files. I'm currently trying to better understand the rmap code, looking to see if there's a way to have

[patch] mm, mempolicy: Introduce spinlock to read shared policy tree

2012-12-03 Thread David Rientjes
From: Peter Zijlstra Sasha was fuzzing with trinity and reported the following problem: BUG: sleeping function called from invalid context at kernel/mutex.c:269 in_atomic(): 1, irqs_disabled(): 0, pid: 6361, name: trinity-main 2 locks held by trinity-main/6361: #0: (>mmap_sem){++}, at: []

Re: [PATCH] block: Restore /proc/partitions to not display non-partitionable removable devices

2012-12-03 Thread Andrew Morton
On Mon, 03 Dec 2012 18:40:32 -0600 Josh Hunt wrote: > On 12/03/2012 06:06 PM, Andrew Morton wrote: > > On Mon, 19 Nov 2012 18:56:49 -0800 > > Josh Hunt wrote: > > > >> We found with newer kernels we started seeing the cdrom device showing > >> up in /proc/partitions, but it was not there

Re: [PATCH] mm: protect against concurrent vma expansion

2012-12-03 Thread Andrew Morton
On Mon, 3 Dec 2012 16:35:01 -0800 Michel Lespinasse wrote: > On Mon, Dec 3, 2012 at 3:01 PM, Andrew Morton > wrote: > > On Fri, 30 Nov 2012 22:56:27 -0800 > > Michel Lespinasse wrote: > > > >> expand_stack() runs with a shared mmap_sem lock. Because of this, there > >> could be multiple

  1   2   3   4   5   6   7   8   9   10   >