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

2012-12-04 Thread Li Wu
This is a initial driver for STMicroelectronics multi touch capacitive touchscren FingertipK. It supports maximum 10 fingers, based on I2C interface. STMicroelectronics will maintain and update this driver regularly. Tested on Beagleboard, Android ICS. Suggested by Dmitry, rebase and squash 2 co

[PATCH] nfsd: make NFSv4 recovery client tracking options per net

2012-12-04 Thread Stanislav Kinsbursky
Pointer to client tracking operations - client_tracking_ops - have to be containerized, because different environment can support different trackers (for example, legacy tracker currently is not suported in container). Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/netns.h |2 ++ fs/n

[PATCH] megaraid: fix use of delayed work

2012-12-04 Thread Xiaotian Feng
megaraid use INIT_WORK to declare a hotplug_work, but cast the hotplug_work from work_struct to delayed_work and schedule_delayed_work on it. This is very dangerous, as other part of delayed_work might be kernel memories allocated by others. With commit 8852aac, schedule_delayed_work() will check

Re: Why a host not ping-able?

2012-12-04 Thread Rob Landley
On 12/04/2012 12:17:25 AM, Woody Wu wrote: Hi, list I am not sure this has something with kernel. It doesn't. 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". Some distributions' def

Re: [PATCH] memory: of_memory.c: remove unnecessary initialization

2012-12-04 Thread Santosh Shilimkar
On Tuesday 04 December 2012 04:56 PM, Cong Ding wrote: the initialization of variable ret is unnecessary, we can remove it while save one time "or" operation. Signed-off-by: Cong Ding --- Looks ok. Acked-by: Santosh Shilimkar -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [PATCH 2/2] Staging: android: ashmem: Add support for 32bit ashmem calls in a 64bit kernel

2012-12-04 Thread Dan Carpenter
I don't understand this, and I'm going to embarrass myself by displaying my ignorance for all to see. Why is this code so different from all the other 32 bit compat code that we have in the kernel? On Tue, Dec 04, 2012 at 10:44:14AM +, Serban Constantinescu wrote: > -static int set_name(struc

Re: [RFC PATCH 0/6] kvm: Growable memory slot array

2012-12-04 Thread Gleb Natapov
On Mon, Dec 03, 2012 at 04:39:05PM -0700, Alex Williamson wrote: > Memory slots are currently a fixed resource with a relatively small > limit. When using PCI device assignment in a qemu guest it's fairly > easy to exhaust the number of available slots. I posted patches > exploring growing the nu

Re: [PATCH v3] i2c-hid: introduce HID over i2c specification implementation

2012-12-04 Thread Benjamin Tissoires
On Tue, Dec 4, 2012 at 11:31 AM, Jiri Kosina wrote: > On Mon, 3 Dec 2012, Benjamin Tissoires wrote: > >> >> I know that it already have been used by one Nvidia team and by Elan >> >> for internal tests. So I don't know if it's possible to change it now >> >> (though it's not a big deal). >> > >> >

RE: [PATCH 3/4 v5] iommu/fsl: Add iommu domain attributes required by fsl PAMU driver.

2012-12-04 Thread Sethi Varun-B16395
> -Original Message- > From: Wood Scott-B07421 > Sent: Monday, December 03, 2012 10:34 PM > To: Sethi Varun-B16395 > Cc: Joerg Roedel; linux-kernel@vger.kernel.org; iommu@lists.linux- > foundation.org; Wood Scott-B07421; linuxppc-...@lists.ozlabs.org; Tabi > Timur-B04825 > Subject: Re: [P

Re: Regression in 3.7-rc8: block device size

2012-12-04 Thread Jens Axboe
On 2012-12-04 10:40, Meelis Roos wrote: > This is on a couple of different Sun sparc64 machines with pata_ali IDE > controller. These machines work with no warnings in 3.7-rc7 and the same > userspace. On 3.7-rc8, I get warning about trying to access beyond end > of device: > > [ 65.219323] s

[PATCH 3/5] arcmsr: Support MSI and MSI-X

2012-12-04 Thread NickCheng
From: Nick Cheng Support MSI or MSI-X for whole series of RAID controllers. Meanwhile correct the register access as iowrite32/ioread32 Signed-off-by: Nick Cheng --- patch3 Description: Binary data

[PATCH 5/5] arcmsr: Modify ARC-1214 Inband Messages Behavior

2012-12-04 Thread NickCheng
From: Nick Cheng Modify ARC-1214 inband messages behavior to make up for HW seldom malfunction. Signed-off-by: Nick Cheng --- patch5 Description: Binary data

Re: perf user tool precise attribute broken in 3.5rc1+

2012-12-04 Thread Hassan Salehe Matar
Andi Kleen firstfloor.org> writes: > > > Hmm, the problem disappeared after a make clean. > Sorry for the noise. > > -Andi > Andi, I am using your hsw_pmu 3.6 kernel and the perf it comes with. However, I experience the same problem you addressed here. Could you elaborate how you solved the

[PATCH 2/5] arcmsr: Support Hibernation

2012-12-04 Thread NickCheng
From: Nick Cheng Support hibernation for whole series of RAID controllers Signed-off-by: Nick Cheng --- patch2 Description: Binary data

RE: [PATCH 4/4 v6] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-12-04 Thread Sethi Varun-B16395
> -Original Message- > From: Tabi Timur-B04825 > Sent: Tuesday, December 04, 2012 1:33 AM > To: Sethi Varun-B16395 > Cc: joerg.roe...@amd.com; io...@lists.linux-foundation.org; linuxppc- > d...@lists.ozlabs.org; linux-kernel@vger.kernel.org; Wood Scott-B07421 > Subject: Re: [PATCH 4/4 v6]

Re: Regression in 3.7-rc8: block device size

2012-12-04 Thread Meelis Roos
> Most likely Linus' shuffle of code in there. For ease of debugging, can > you a bisect of fs/ between rc7 and rc8? Just do; Already found the discussion and patch in 3.7-rc8 thread. Linus's patch worked fine for me too. -- Meelis Roos (mr...@linux.ee) -- To unsubscribe from this list: send th

Re: Regression in 3.7-rc8: block device size

2012-12-04 Thread Jens Axboe
On 2012-12-04 13:13, Meelis Roos wrote: >> Most likely Linus' shuffle of code in there. For ease of debugging, can >> you a bisect of fs/ between rc7 and rc8? Just do; > > Already found the discussion and patch in 3.7-rc8 thread. Linus's patch > worked fine for me too. Even better! Thanks. --

[PATCH] SUNRPC: remove redundant "linux/nsproxy.h" includes

2012-12-04 Thread Stanislav Kinsbursky
This is a cleanup patch. Signed-off-by: Stanislav Kinsbursky --- net/sunrpc/rpcb_clnt.c |1 - net/sunrpc/svc.c |1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index a70acae..109a67a 100644 --- a/net/sunrpc/rpcb_cl

Re: [Patch v4 08/12] memory-hotplug: remove memmap of sparse-vmemmap

2012-12-04 Thread Jianguo Wu
Hi Tang, Thanks for your review and comments, Please see below for my reply. On 2012/12/4 17:13, Tang Chen wrote: > Hi Wu, > > Sorry to make noise here. Please see below. :) > > On 12/03/2012 10:23 AM, Jianguo Wu wrote: >> Signed-off-by: Jianguo Wu >> Signed-off-by: Jiang Liu >> --- >> inclu

Re: [PATCH 4/4 v6] iommu/fsl: Freescale PAMU driver and IOMMU API implementation.

2012-12-04 Thread Tabi Timur-B04825
Sethi Varun-B16395 wrote: > This would in any case change with the new LIODN allocation scheme. I > intend on introducing the new scheme as a separate patch. At the very least, you should detect when an LIODN is too large and print an error message. -- Timur Tabi Linux kernel developer at Free

Re: [PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-12-04 Thread Linus Walleij
On Tue, Dec 4, 2012 at 10:12 AM, Lee Jones wrote: > On Sat, 01 Dec 2012, Linus Walleij wrote: > >> On Fri, Nov 30, 2012 at 4:24 PM, Lee Jones wrote: >> >> > When the STMPE IRQ is triggered to be active high level-sensitive, the >> > Nomadik GPIO controller it uses complains, although it still wor

Re: [PATCH 1/3] net: stmmac: change GMAC control register for SGMII

2012-12-04 Thread Giuseppe CAVALLARO
On 11/28/2012 11:57 AM, Byungho An wrote: On 11/26/2012 07:31 PM, Giuseppe CABALLARO wrote: On 11/23/2012 10:04 AM, Byungho An wrote: This patch changes GMAC control register (TC(Transmit Configuration) and PS(Port Selection) bit for SGMII. In case of SGMII, TC bit is '1' and PS bit is 0. IM

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Heinz Diehl
On 04.12.2012, Daniel Vetter wrote: > Yeah, if anyone can somewhat reliably reproduce this Ok, I see. So the beginning would be to reliably reproduce the the hang. I have encountered it in any possbile situasjon, both when watching videos on Youtube and right after booting the machine and doing

Re: [PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-12-04 Thread Tommi Rantala
2012/10/9 Mel Gorman : > commit 00442ad04a5eac08a98255697c510e708f6082e2 upstream. > > Commit cc9a6c877661 ("cpuset: mm: reduce large amounts of memory barrier > related damage v3") introduced a potential memory corruption. > shmem_alloc_page() uses a pseudo vma and it has one significant unique >

Re: [net-next RFC] pktgen: don't wait for the device who doesn't free skb immediately after sent

2012-12-04 Thread Jason Wang
On Monday, December 03, 2012 08:01:11 AM Stephen Hemminger wrote: > On Mon, 03 Dec 2012 14:45:46 +0800 > > Jason Wang wrote: > > On Tuesday, November 27, 2012 08:49:19 AM Stephen Hemminger wrote: > > > On Tue, 27 Nov 2012 14:45:13 +0800 > > > > > > Jason Wang wrote: > > > > On 11/27/2012 01:37

Re: i915 freakout with latest 3.7 git

2012-12-04 Thread Daniel Vetter
On Tue, Dec 04, 2012 at 01:35:22PM +0100, Heinz Diehl wrote: > On 04.12.2012, Daniel Vetter wrote: > > > Yeah, if anyone can somewhat reliably reproduce this > > Ok, I see. So the beginning would be to reliably reproduce the the > hang. I have encountered it in any possbile situasjon, both when

Re: switcheroo registration vs switching race...

2012-12-04 Thread Daniel J Blueman
On 4 December 2012 01:10, Takashi Iwai wrote: > At Tue, 4 Dec 2012 00:50:56 +0800, > Daniel J Blueman wrote: >> >> On 4 December 2012 00:23, Takashi Iwai wrote: >> > At Mon, 3 Dec 2012 23:08:28 +0800, >> > Daniel J Blueman wrote: >> >> >> >> On 3 December 2012 22:40, Takashi Iwai wrote: >> >> >

checkpatch.pl and assembly #defines

2012-12-04 Thread Paul E. McKenney
Hello, Andy, The current checkpatch.pl complains about cpp macros defined as follows: #define callit call my_function Of course, if you do put parentheses around the definition, your assembler will complain. Could this complaint be downgraded to a warning? Or is there some way to recognize ass

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

2012-12-04 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: [linux-keystone] [PATCH v2] drivers: cma: fix addressing on PAE machines

2012-12-04 Thread Michal Nazarewicz
> 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 li

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

2012-12-04 Thread Tao Ma
Hi Stephen, Thanks for the report. the corresponding fix is already sent to Ted in the patch named "ext4: Fix inline data build warning found by kernel build testing.", but it seems that Ted hasn't pushed it into ext4dev yet. Thanks Tao On 12/04/2012 02:13 PM, Stephen Rothwell wro

[PATCH] tty: Correct tty buffer flush.

2012-12-04 Thread Ilya Zykov
The root of problem is carelessly zeroing pointer(in function __tty_buffer_flush()), when another thread can use it. It can be cause of "NULL pointer dereference". Main idea of the patch, this is never free last (struct tty_buffer) in the active buffer. Only flush the data for ldisc(tty->buf.

[GIT PULL rcu/next] One more RCU commit for 3.8

2012-12-04 Thread Paul E. McKenney
Hello, Ingo, Could you please pull one more commit? This is an update to Frederic Weisbecker's context-tracking subsystem that is another stepping stone towards adaptive-idle and tickless userspace execution. This has been subjected to -next testing. It does give two checkpatch.pl errors, but t

Re: [PATCH v5 1/2] ARM: davinci: dm365: add support for v4l2 video display

2012-12-04 Thread Sekhar Nori
On 12/3/2012 1:51 PM, Prabhakar Lad wrote: > From: Manjunath Hadli > > Create platform devices for various video modules like venc,osd, > vpbe and v4l2 driver for dm365. > > Signed-off-by: Manjunath Hadli > Signed-off-by: Lad, Prabhakar > --- > arch/arm/mach-davinci/board-dm365-evm.c |4 +

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

2012-12-04 Thread Rob Herring
On 12/04/2012 01:53 AM, Wenyou Yang wrote: > 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 >

RE: [PATCH v2 3/3] mtd: nand: omap2: Support for hardware BCH error correction

2012-12-04 Thread Philip, Avinash
On Fri, Nov 30, 2012 at 17:58:00, Artem Bityutskiy wrote: > On Wed, 2012-10-31 at 12:38 +0530, Philip, Avinash wrote: > > +static int erased_sector_bitflips(u_char *data, u_char *oob, > > + struct omap_nand_info *info) > > +{ > > + int flip_bits = 0, i; > > + > > + for (i

Re: [PATCH] smsc: RFC: Workaround for problems with lan8710 phy auto MDI-X

2012-12-04 Thread Peter Turczak
On Nov 30, 2012, at 4:23 PM, Jiri Kosina wrote: > I am not sure whether compile-time option for something like this is > appropriate. Kernel module parameter, perhaps? > > Of course it'd be far better if faulty hardware can be autodetected in > runtime. Thanks for the input. Currently only th

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

2012-12-04 Thread Michael S. Tsirkin
I found some bugs, see below. Also some style nitpicking, this is not mandatory to address. On Tue, Dec 04, 2012 at 07:07:57PM +0800, Jason Wang wrote: > This addes multiqueue support to virtio_net driver. In multiple queue modes, > the > driver expects the number of queue paris is equal to the

RE: [PATCH v2 0/3] mtd: nand: OMAP: ELM error correction support for BCH ecc

2012-12-04 Thread Philip, Avinash
On Fri, Nov 30, 2012 at 17:58:18, Artem Bityutskiy wrote: > On Thu, 2012-11-22 at 14:37 +, Philip, Avinash wrote: > > Idea here is to make faster scanning of erased page without bit flips. > > For omap nand driver ecc reported by hardware is non-zero and non > > 0xff. > > So comparing with the

Re: [PATCH v5 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2012-12-04 Thread Sekhar Nori
On 12/3/2012 1:51 PM, Prabhakar Lad wrote: > From: Manjunath Hadli > > add support for V4L2 video display to DM365 EVM. > Support for SD and ED modes is provided, along with Composite > and Component outputs. > > Signed-off-by: Manjunath Hadli > Signed-off-by: Lad, Prabhakar > --- > arch/arm/

Re: switcheroo registration vs switching race...

2012-12-04 Thread Takashi Iwai
At Tue, 4 Dec 2012 20:58:55 +0800, Daniel J Blueman wrote: > > On 4 December 2012 01:10, Takashi Iwai wrote: > > At Tue, 4 Dec 2012 00:50:56 +0800, > > Daniel J Blueman wrote: > >> > >> On 4 December 2012 00:23, Takashi Iwai wrote: > >> > At Mon, 3 Dec 2012 23:08:28 +0800, > >> > Daniel J Bluema

Re: next: ext4 build failure

2012-12-04 Thread Theodore Ts'o
On Tue, Dec 04, 2012 at 10:29:00AM +0100, Jiri Slaby wrote: > Hi, > > commit a7b0168d4a9bb78535827ddaf9c055963f5bd7aa > Author: Tao Ma > Date: Sun Dec 2 20:30:52 2012 -0500 > > ext4: let fallocate handle inline data correctly > > added > > static int int ext4_convert_inline_data(struct i

Re: next: ext4 build failure

2012-12-04 Thread Jiri Slaby
On 12/04/2012 02:27 PM, Theodore Ts'o wrote: > On Tue, Dec 04, 2012 at 10:29:00AM +0100, Jiri Slaby wrote: >> Hi, >> >> commit a7b0168d4a9bb78535827ddaf9c055963f5bd7aa >> Author: Tao Ma >> Date: Sun Dec 2 20:30:52 2012 -0500 >> >> ext4: let fallocate handle inline data correctly >> >> added

Re: next: ext4 build failure

2012-12-04 Thread Tao Ma
Hi Ted, On 12/04/2012 09:27 PM, Theodore Ts'o wrote: > On Tue, Dec 04, 2012 at 10:29:00AM +0100, Jiri Slaby wrote: >> Hi, >> >> commit a7b0168d4a9bb78535827ddaf9c055963f5bd7aa >> Author: Tao Ma >> Date: Sun Dec 2 20:30:52 2012 -0500 >> >> ext4: let fallocate handle inline data correctly >> >

Re: next: ext4 build failure

2012-12-04 Thread Tao Ma
On 12/04/2012 09:40 PM, Tao Ma wrote: > Hi Ted, > On 12/04/2012 09:27 PM, Theodore Ts'o wrote: >> On Tue, Dec 04, 2012 at 10:29:00AM +0100, Jiri Slaby wrote: >>> Hi, >>> >>> commit a7b0168d4a9bb78535827ddaf9c055963f5bd7aa >>> Author: Tao Ma >>> Date: Sun Dec 2 20:30:52 2012 -0500 >>> >>> ext

Re: [ 06/37] x86-32: Fix invalid stack address while in softirq

2012-12-04 Thread Herton Ronaldo Krzesinski
On Fri, Nov 30, 2012 at 10:45:53AM -0800, Greg Kroah-Hartman wrote: > 3.0-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Robert Richter > > commit 1022623842cb72ee4d0dbf02f6937f38c92c3f41 upstream. > > In 32 bit the stack address provid

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

2012-12-04 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 04, 2012 at 01:44:23PM +0900, Namhyung Kim escreveu: > 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 chang

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

2012-12-04 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 04, 2012 at 01:44:25PM +0900, Namhyung Kim escreveu: > 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

Re: [PATCH net-next 3/3] virtio-net: change the number of queues through ethtool

2012-12-04 Thread Michael S. Tsirkin
On Tue, Dec 04, 2012 at 07:07:58PM +0800, Jason Wang wrote: > This patch implement the ethtool_{set|get}_channels method of ethool to allow > user to change the number of queues dymaically when the device is running. > This > would let the user to configure it on demand. > > Signed-off-by: Jason

BUG: wait_task_zombie NULL dereference

2012-12-04 Thread Bill Huey (hui)
I'm hitting this under a heavy scheduler test load with SCHED_RR tasks exiting normally after completion and the parent exiting with some of the pthreads still running: (gdb) bt #0 no_context (regs=0x880018c55d58, error_code=0, address=4, signal=signal@entry=11, si_code=si_code@entry=1966

[PATCH 2/6] nfsd: pass net to nfsd_startup() and nfsd_shutdown()

2012-12-04 Thread Stanislav Kinsbursky
Precursor patch. Hard-coded "init_net" will be replaced by proper one in future. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfssvc.c | 15 ++- 1 files changed, 6 insertions(+), 9 deletions(-) diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 9fd8496..21cba3d 100644 --- a

[PATCH 3/6] nfsd: pass net to nfsd_create_serv()

2012-12-04 Thread Stanislav Kinsbursky
Precursor patch. Hard-coded "init_net" will be replaced by proper one in future. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfsctl.c |4 ++-- fs/nfsd/nfsd.h |2 +- fs/nfsd/nfssvc.c |5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/fs/nfsd/nfsctl.c b/fs/n

[PATCH 4/6] nfsd: pass net to nfsd_svc()

2012-12-04 Thread Stanislav Kinsbursky
Precursor patch. Hard-coded "init_net" will be replaced by proper one in future. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfsctl.c |4 +++- fs/nfsd/nfsd.h |2 +- fs/nfsd/nfssvc.c |3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fs/nfsd/nfsctl.c b/fs/nfs

[PATCH 5/6] nfsd: pass net to nfsd_set_nrthreads()

2012-12-04 Thread Stanislav Kinsbursky
Precursor patch. Hard-coded "init_net" will be replaced by proper one in future. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfsctl.c |3 ++- fs/nfsd/nfsd.h |2 +- fs/nfsd/nfssvc.c |3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd

[PATCH 6/6] nfsd: pass net to __write_ports() and down

2012-12-04 Thread Stanislav Kinsbursky
Precursor patch. Hard-coded "init_net" will be replaced by proper one in future. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfsctl.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/fs/nfsd/nfsctl.c b/fs/nfsd/nfsctl.c index 58f0ae4..8536100 100644 ---

Re: [RFC] Capabilities still can't be inherited by normal programs

2012-12-04 Thread Serge E. Hallyn
Quoting Andy Lutomirski (l...@amacapital.net): > >> d) If I really wanted, I could emulate execve without actually doing > >> execve, and capabilities would be inherited. > > > > If you could modify the executable properties of the binary that has > > the privilege to wield a privilege then you are

[PATCH 0/6] nfsd: cleanup "init_net" references

2012-12-04 Thread Stanislav Kinsbursky
Hard-coded "init_net" pointer is widely used in NFSd code. This patch replaces "init_net" references by passed struct net pointer where requied. In future, proper network namespace context will be taken from NFSd file system superblock private data or, where it's impossible, from current. The foll

[PATCH 1/6] nfsd: pass net to nfsd_init_socks()

2012-12-04 Thread Stanislav Kinsbursky
Precursor patch. Hard-coded "init_net" will be replaced by proper one in future. Signed-off-by: Stanislav Kinsbursky --- fs/nfsd/nfssvc.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/nfsd/nfssvc.c b/fs/nfsd/nfssvc.c index 9beace6..9fd8496 100644 --- a/fs/nfs

Re: [PATCH 12/18] perf ui/hist: Add support for event group view

2012-12-04 Thread Arnaldo Carvalho de Melo
Em Tue, Dec 04, 2012 at 06:16:59PM +0900, Namhyung Kim escreveu: > On Fri, Nov 30, 2012 at 10:52 PM, Arnaldo Carvalho de Melo wrote: > Ah, I missed your point. Just got it now, will try this approach. So > you want to see no "0.00%" for a dummy entry, right? That wasn't the point, and perhaps p

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

2012-12-04 Thread Jiri Olsa
On Tue, Dec 04, 2012 at 01:44:22PM +0900, Namhyung Kim wrote: > 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 > outpu

Re: [PATCH] memory: of_memory.c: remove unnecessary initialization

2012-12-04 Thread Grant Likely
On Tue, Dec 4, 2012 at 11:44 AM, Santosh Shilimkar wrote: > On Tuesday 04 December 2012 04:56 PM, Cong Ding wrote: >> >> the initialization of variable ret is unnecessary, we can remove it while >> save >> one time "or" operation. >> >> Signed-off-by: Cong Ding >> --- > > Looks ok. > Acked-by: Sa

Re: switcheroo registration vs switching race...

2012-12-04 Thread Takashi Iwai
At Tue, 04 Dec 2012 14:23:05 +0100, Takashi Iwai wrote: > > At Tue, 4 Dec 2012 20:58:55 +0800, > Daniel J Blueman wrote: > > > > On 4 December 2012 01:10, Takashi Iwai wrote: > > > At Tue, 4 Dec 2012 00:50:56 +0800, > > > Daniel J Blueman wrote: > > >> > > >> On 4 December 2012 00:23, Takashi Iw

Re: [ 09/56] x86-32: Fix invalid stack address while in softirq

2012-12-04 Thread Herton Ronaldo Krzesinski
On Fri, Nov 30, 2012 at 10:55:01AM -0800, Greg Kroah-Hartman wrote: > 3.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Robert Richter > > commit 1022623842cb72ee4d0dbf02f6937f38c92c3f41 upstream. > > In 32 bit the stack address provid

Re: [PATCH 1/1] ARM: ux500: Change IRQ from low-to-high edge triggered to high-to-low

2012-12-04 Thread Lee Jones
On Tue, 04 Dec 2012, Linus Walleij wrote: > On Tue, Dec 4, 2012 at 10:12 AM, Lee Jones wrote: > > On Sat, 01 Dec 2012, Linus Walleij wrote: > > > >> On Fri, Nov 30, 2012 at 4:24 PM, Lee Jones wrote: > >> > >> > When the STMPE IRQ is triggered to be active high level-sensitive, the > >> > Nomadik

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

2012-12-04 Thread Peter Hurley
On Tue, 2012-12-04 at 08:54 +, Alan Cox wrote: > On Tue, 4 Dec 2012 02:07:36 -0500 > Peter Hurley wrote: > > > This patch series addresses the causes of flush_to_ldisc accessing > > the tty after freeing. > > Looks good to me. Would be nice to keep a copy of the test that shows > it up in t

[PATCH v2 0/3] Fix fixed regulators support

2012-12-04 Thread Marek Szyprowski
Hello, Commit f0f98b19e23d4426ca185e3d4ca80e6aff5ef51b revealed that the support for fixed regulators in SDHCI driver was working only by pure luck. My previous patch set for fixing this issue resulted in a discussion, which has been concluded that this issue should by fixed by extending regulator

[PATCH 2/3] mmc: use regulator_can_change_voltage() instead of regulator_count_voltages() hacks

2012-12-04 Thread Marek Szyprowski
mmc_regulator_set_ocr() depends on the ability of regulator to change the voltage value. When regulator cannot change its voltage output, some code is skipped to avoid reporting false errors on some boards, which use MMC hosts with fixed regulators (example: Samsung Goni and UniversalC210 boards).

[PATCH 1/3] regulators: add regulator_can_change_voltage() function

2012-12-04 Thread Marek Szyprowski
Introduce a regulator_can_change_voltage() function for the subsytems or drivers which might check if applying voltage change is possible and use special workaround code when the driver is used with fixed regulators or regulators with disabled ability to change the voltage. Signed-off-by: Marek Sz

[PATCH 3/3] mmc: sdhci: check voltage range only on regulators aware of voltage value

2012-12-04 Thread Marek Szyprowski
Some regulators don't report any voltage values, so checking supported voltage range results in disabling all SDHCI_CAN_VDD_* flags and registration failure. This patch finally provides a correct fix for the registration of SDHCI driver with all possible voltage regulators: dummy, fixed and regulat

[char-misc-next 01/15] mei: drop redundant length paramter from mei_write_message function

2012-12-04 Thread Tomas Winkler
The length is already part of the message header and it is validated before the function call Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c|6 ++ drivers/misc/mei/init.c |7 +++ drivers/misc/mei/interface.c | 24 +++- drivers/misc/mei/i

[char-misc-next 04/15] mei: extarct device dependent constants into hw-mei.h

2012-12-04 Thread Tomas Winkler
Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw-mei.h | 118 drivers/misc/mei/hw.h | 98 drivers/misc/mei/mei_dev.h |2 + 3 files changed, 120 insertions(+), 98 deletions(-) create mode 100644 dri

[char-misc-next 08/15] mei: mei_me_client is not hw API move to mei_dev.h

2012-12-04 Thread Tomas Winkler
Remove struct mei_me_client from hw.h as it is not part of of the hardware API. Also it doesn't have to be packed Add kdoc for this structure Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw.h |6 -- drivers/misc/mei/mei_dev.h | 13 + 2 files changed, 13 insertions

[char-misc-next 10/15] mei: move host bus message handling to hbm.c

2012-12-04 Thread Tomas Winkler
for sake of more layered desing we move to the new hbm.c file Signed-off-by: Tomas Winkler --- drivers/misc/mei/Makefile|1 + drivers/misc/mei/hbm.c | 440 ++ drivers/misc/mei/init.c | 111 --- drivers/misc/mei/interface.c |

[char-misc-next 11/15] mei: drop non existent function prototype

2012-12-04 Thread Tomas Winkler
mei_amthif_read_message prototype was not dropped in one of the movinig/renaming patches Signed-off-by: Tomas Winkler --- drivers/misc/mei/mei_dev.h |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 4d065ad..b

[char-misc-next 15/15] mei: move hbm responses from interrupt.c to hbm.c

2012-12-04 Thread Tomas Winkler
add common prefix mei_hbm_ to all handlers and made them static drop now useless function same_flow_addr Signed-off-by: Tomas Winkler --- drivers/misc/mei/hbm.c | 189 +- drivers/misc/mei/interrupt.c | 208 -- d

[char-misc-next 09/15] mei: move hw dependent constructs to interface.c

2012-12-04 Thread Tomas Winkler
Signed-off-by: Tomas Winkler --- drivers/misc/mei/init.c |3 +- drivers/misc/mei/interface.c | 92 +- drivers/misc/mei/interrupt.c | 24 +-- drivers/misc/mei/mei_dev.h | 71 ++-- 4 files changed, 97 inser

[char-misc-next 12/15] mei: simplify preparing client host bus messages

2012-12-04 Thread Tomas Winkler
Define a new parrent type mei_hbm_cl_cmd for hbm command that are send on behalf of specific client Now we can compat boilerplate code using mei_hbm_cl_hdr function Signed-off-by: Tomas Winkler --- drivers/misc/mei/hbm.c | 110 +++ drivers/misc/mei/hw

[char-misc-next 03/15] mei: move internal host clients ids to mei_dev.h from hw.h

2012-12-04 Thread Tomas Winkler
Internal clients numbers are implementation detail and not hardware defined Signed-off-by: Tomas Winkler --- drivers/misc/mei/hw.h |5 - drivers/misc/mei/mei_dev.h |6 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/

[char-misc-next 07/15] mei: use wrietl/readl instead of io wrappers

2012-12-04 Thread Tomas Winkler
on intel registers are alwasy memory mapped so drop the overhead of iowrite32 and ioread32 Signed-off-by: Tomas Winkler --- drivers/misc/mei/mei_dev.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei_dev.h index 92a5d9a

[char-misc-next 13/15] mei: use structured buffer for write buffer

2012-12-04 Thread Tomas Winkler
We can drop useless castings and use proper types Modify mei_hbm_hdr as casting is not necessary anymore Add mei_hbm_stop_request_prepare function that utilize the new structure Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c| 25 drivers/misc/mei/hbm.c | 134 +++

[char-misc-next 14/15] mei: add common prefix to hbm function

2012-12-04 Thread Tomas Winkler
1. use mei_hbm_ for basic host bus message function 2. use mei_hbm_cl prefix for host bus messages that operation on behalf of a client Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c|7 +++-- drivers/misc/mei/hbm.c | 56 -- driv

Re: [PATCH] tty: Correct tty buffer flush.

2012-12-04 Thread Alan Cox
On Tue, 04 Dec 2012 17:10:57 +0400 Ilya Zykov wrote: > The root of problem is carelessly zeroing pointer(in function > __tty_buffer_flush()), > when another thread can use it. It can be cause of "NULL pointer dereference". > Main idea of the patch, this is never free last (struct tty_buffer)

[char-misc-next 06/15] mei: kill not used BAR0 length and base variables

2012-12-04 Thread Tomas Winkler
1. mem_base and mem_lenght are not used so we can delete them 2. add kdoc for mem_addr member of mei_device Signed-off-by: Tomas Winkler --- drivers/misc/mei/mei_dev.h |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/misc/mei/mei_dev.h b/drivers/misc/mei/mei

Re: FW: [PATCH v2] mmc: sdhci: apply voltage range check only for non-fixed regulators

2012-12-04 Thread Marek Szyprowski
Hello, On 11/30/2012 5:48 PM, Chris Ball wrote: On Tue, Nov 20 2012, Marek Szyprowski wrote: > The problem with dummy regulator is the fact that it can be enabled only > globally for all devices in the system. I think that the best solution > would be to introduce regulator_can_change_voltage()

[char-misc-next 02/15] mei: use unified format for printing mei message header

2012-12-04 Thread Tomas Winkler
Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c|3 +-- drivers/misc/mei/interface.c |4 +--- drivers/misc/mei/interrupt.c | 14 ++ drivers/misc/mei/main.c |5 +++-- drivers/misc/mei/mei_dev.h |5 + 5 files changed, 16 insertions(+), 15 delet

[char-misc-next 05/15] mei: inlude local headers after the system ones

2012-12-04 Thread Tomas Winkler
first include linux/mei.h then only local headers to avoid possible false dependencies Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c|3 +-- drivers/misc/mei/init.c |4 ++-- drivers/misc/mei/interface.c |3 ++- drivers/misc/mei/interrupt.c |4 ++-- drivers/mi

Re: regression in linux 3.7 - fan speed at 100% after suspend/resume at 100%

2012-12-04 Thread Zhang Rui
Hi, Roberto, please attach the acpidump output. On Tue, 2012-12-04 at 13:57 +0100, Roberto Oppedisano wrote: > Hello, > with recent kernels after a suspend/resume cycle on my laptop (HP > 6730b) the fans stays at full speed. does the fan keep running at full speed after resume? please atta

[PATCH] HDA: Add PCI device prefix for clarity

2012-12-04 Thread Daniel J Blueman
When printing, use a prefix of the PCI domain, bus, device and function as in other drivers, to differentiate multiple devices. Important for reporting and debugging. Signed-off-by: Daniel J Blueman --- sound/pci/hda/hda_intel.c | 110 +++-- 1 file chang

Re: [ 06/37] x86-32: Fix invalid stack address while in softirq

2012-12-04 Thread Robert Richter
On 04.12.12 11:42:58, Herton Ronaldo Krzesinski wrote: > Hi, this makes build fail with oprofile on i386 on 3.0.54: > ERROR: "kernel_stack_pointer" [arch/x86/oprofile/oprofile.ko] undefined! > > The following commit should address this failure: > > commit cb57a2b4cff7edf2a4e32c0163200e9434807e0a

[GIT PULL] UBI changes for 3.7-rc9

2012-12-04 Thread Artem Bityutskiy
Hi Linus, it is nice that you decided to postpone 3.8, because we found a couple of bad bugs in UBI. Please, pull the fixes. The following changes since commit 9489e9dcae718d5fde988e4a684a0f55b5f94d17: Linux 3.7-rc7 (2012-11-25 17:59:19 -0800) are available in the git repository at: git://

Re: [PATCH] SUNRPC: connect to UNIX sockets synchronously

2012-12-04 Thread Eric Paris
On Tue, Dec 4, 2012 at 6:10 AM, Stanislav Kinsbursky wrote: > But there should be noted, that such implementation introduces limitation > (Trond's quote): > "That approach can fall afoul of the selinux restrictions on the process > context. Processes that are allowed to write data, may not be all

Re: [PATCH 5/5] mempolicy: fix a memory corruption by refcount imbalance in alloc_pages_vma()

2012-12-04 Thread Mel Gorman
On Tue, Dec 04, 2012 at 02:54:08PM +0200, Tommi Rantala wrote: > 2012/10/9 Mel Gorman : > > commit 00442ad04a5eac08a98255697c510e708f6082e2 upstream. > > > > Commit cc9a6c877661 ("cpuset: mm: reduce large amounts of memory barrier > > related damage v3") introduced a potential memory corruption. >

Re: [PATCH] HDA: Add PCI device prefix for clarity

2012-12-04 Thread Takashi Iwai
At Tue, 4 Dec 2012 22:11:04 +0800, Daniel J Blueman wrote: > > When printing, use a prefix of the PCI domain, bus, device and function > as in other drivers, to differentiate multiple devices. > > Important for reporting and debugging. > > Signed-off-by: Daniel J Blueman > --- > sound/pci/hda

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

2012-12-04 Thread Alan Cox
> I assume you mean somewhere other than ml archives: > https://lkml.org/lkml/2012/12/1/57 Putting in the commit message would be idea given how short it is. > > Setting up a mini-testsuite is good idea. As I noted in that email > though, that test jig is a derivative work that I'd want a ok fro

Re: [char-misc-next 07/15] mei: use wrietl/readl instead of io wrappers

2012-12-04 Thread Alan Cox
On Tue, 4 Dec 2012 16:04:36 +0200 Tomas Winkler wrote: > on intel registers are alwasy memory mapped so drop > the overhead of iowrite32 and ioread32 > > Signed-off-by: Tomas Winkler > --- > drivers/misc/mei/mei_dev.h |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff -

[PATCH 1/2] xen-blkback: implement safe iterator for the list of persistent grants

2012-12-04 Thread Roger Pau Monne
Change foreach_grant iterator to a safe version, that allows freeing the element while iterating. Also move the free code in free_persistent_gnts to prevent freeing the element before the rb_next call. Reported-by: Dan Carpenter Signed-off-by: Roger Pau Monné Cc: Konrad Rzeszutek Wilk Cc: xen-d

[PATCH 2/2] xen-blkfront: implement safe version of llist_for_each_entry

2012-12-04 Thread Roger Pau Monne
Implement a safe version of llist_for_each_entry, and use it in blkif_free. Previously grants where freed while iterating the list, which lead to dereferences when trying to fetch the next item. Reported-by: Dan Carpenter Signed-off-by: Roger Pau Monné Cc: Konrad Rzeszutek Wilk Cc: xen-de...@li

[PATCH 0/6 v7] cpufreq: add support for Calxeda ECX-1000 (highbank)

2012-12-04 Thread Mark Langsdorf
This patch series adds cpufreq support for the Calxeda ECX-1000 (highbank) SoCs. The EnergyCore Management Engine (ECME) on the ECX-1000 manages the voltage for the part and communications with Linux through a pl320 mailbox. clk notifications are used to control when to send messages to the ECME.

[PATCH 1/6 v7] arm: use devicetree to get smp_twd clock

2012-12-04 Thread Mark Langsdorf
From: Rob Herring Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf --- Changes from v4, v5, v6 None. Changes from v3 No longer setting *clk to NULL in twd_get_clock(). Changes from v2 Turned the check for the node pointer into an if-then-else statement. R

[PATCH 2/6 v7] clk, highbank: Prevent glitches in non-bypass reset mode

2012-12-04 Thread Mark Langsdorf
The highbank clock will glitch with the current code if the clock rate is reset without relocking the PLL. Program the PLL correctly to prevent glitches. Signed-off-by: Mark Langsdorf Signed-off-by: Rob Herring Acked-by: Mike Turquette --- Changes from v6 None. Changes from v5 A

<    1   2   3   4   5   >