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

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

[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 3ee7

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 thread

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

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 confli

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 disa

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 concurren

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 desi

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 041/27

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 REQ_FU

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 sa_re

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 somet

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; > Li

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; > Lin,

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; > > kernel-t...@lis

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; > Li

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

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 obsol

[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

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

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

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

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 sched

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 practice.

[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: [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 tree(

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 that

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

[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 --- a/dri

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

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 mes

[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 r4:0

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 u

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

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 ho

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 sa

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 used

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

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

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

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 calculatio

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 cl

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 insert

[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 queue_release_one_tty(struc

[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 + include/linux/tty

[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 /home/peter/s

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

[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 a/drivers/tty/t

[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 access-af

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 +- > 2

[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 pending/

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 http://vger.kern

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 > > .../bindings/power_supply/max8925_

[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 deletions(-)

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 devic

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

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 > --- > drivers/mfd/max89

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 bett

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

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(&vi->rq, GFP_KERNEL)) > >> > -schedule_delayed_work(&vi->rq.refill, 0);

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 a/drivers/tty/t

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

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

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 l

[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 2e040be..

[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: spi-devel-gene...@lists.s

[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(-) d

[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: devicetree-disc...@lists.o

[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] [wenyou.y..

[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: spi-devel-gene...@lis

[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

<    1   2   3   4   5   6