[PATCH v3 0/3]: ezusb FX2 support, firmware downloading support

2012-09-17 Thread Rene Buergel
Hello, this is v3 of a patches-series for controllers using the ezusb-functions. euzsb: add support for Cypress FX2LP ezusb: add functions for firmware download ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc -- René Bürgel SOHARD Embedded Systems GmbH -- To unsubscribe from thi

Re: [PATCH 4/7] dw_dmac: autoconfigure block_size or use platform data

2012-09-17 Thread viresh kumar
On Mon, Sep 17, 2012 at 1:09 PM, Andy Shevchenko wrote: > @@ -1380,6 +1370,7 @@ static int __devinit dw_probe(struct platform_device > *pdev) > boolautocfg; > unsigned intdw_params; > unsigned intnr_channels; > + unsigned i

[GIT PULL] rpmsg: a fix for 3.6

2012-09-17 Thread Ohad Ben-Cohen
Hi Linus, The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/rpmsg.git tags/rpmsg-3.6-fix for you to fetch changes up to eeb0074f36

[patch] [SCSI] lpfc: fix an '&&' vs '&' typo

2012-09-17 Thread Dan Carpenter
The intent here was clearly to do a bitwise AND similar to the others in this file. The current condition is never true. Signed-off-by: Dan Carpenter --- Only needed in linux-next. diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c index 7ffabb7..65f9fb6 100644 --- a/drivers

[GIT PULL] hwspinlock: a single fix for 3.6

2012-09-17 Thread Ohad Ben-Cohen
Hi Linus, The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43:45 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/ohad/hwspinlock.git tags/hwspinlock-3.6-fix for you to fetch changes up to

Re: 2 physical-cpu (like 2x6core) config and NUMA?

2012-09-17 Thread Jike Song
On Tue, Sep 18, 2012 at 2:00 AM, Linda Walsh wrote: > Does the kernel support scheduling based on the different speed of > memory between "on die" vs. "off die"? I was surprised to see > that it viewed my system as 1 NUMA node with all 12 on 1 node -- when > I know that it is physically organize

Re: [PATCH 2/7] dw_dmac: fill optional encoded parameters in register structure

2012-09-17 Thread Andy Shevchenko
On Tue, 2012-09-18 at 12:09 +0530, viresh kumar wrote: [snip] > > +#define dma_raw_readl(addr, name) \ > > + readl((addr) + offsetof(struct dw_dma_regs, name)) > > + > > +#define dma_raw_writel(addr, name, val) \ > > + writel((val), (addr) + offsetof(struct dw_dma_regs, name)) > > + >

[PATCH] pinctrl: imx: remove duplicated const

2012-09-17 Thread Richard Zhao
fix smatch warning: drivers/pinctrl/pinctrl-imx.c:435:21: warning: duplicate const Signed-off-by: Richard Zhao --- drivers/pinctrl/pinctrl-imx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-imx.c b/drivers/pinctrl/pinctrl-imx.c index a13b888..b3c

Re: [PATCH 3/7] dw_dmac: get number of channels from hardware if possible

2012-09-17 Thread viresh kumar
On Mon, Sep 17, 2012 at 1:09 PM, Andy Shevchenko wrote: > In case the controller has the encoded parameters feature enabled the driver > will use it to get the number of channels. In the future it will be used for > the other important parameters as well. > > Signed-off-by: Andy Shevchenko > ---

Re: [PATCH] ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS

2012-09-17 Thread Axel Lin
ep 15 2010. This patch is against current linux-next tree. I got the build error on linux-next tree (next-20120917). Regards, Axel -- 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.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [RFC v1 00/11] vfs: hot data tracking

2012-09-17 Thread Zhi Yong Wu
On Tue, Sep 18, 2012 at 2:20 PM, Dave Chinner wrote: > On Tue, Sep 18, 2012 at 10:24:55AM +0800, Zhi Yong Wu wrote: >> On Tue, Sep 18, 2012 at 5:30 AM, Dave Chinner wrote: >> > On Mon, Sep 17, 2012 at 03:18:34PM +0800, zwu.ker...@gmail.com wrote: >> >> 20 files changed, 2275 insertions(+), 1 del

Re: [tip:x86/asm] x86: Prefer TZCNT over BFS

2012-09-17 Thread Jan Beulich
>>> On 17.09.12 at 19:05, "H. Peter Anvin" wrote: > Honestly, I don't see a reason to not do this unconditionally. On > anything but (pre-686-era) extremely old CPUs the cost of the extra > prefix is zero. On the really old CPUs the cost of the BSF instruction > will dwarf the penalty cycle for

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-17 Thread Eric Miao
On Tue, Sep 18, 2012 at 1:56 PM, Haojian Zhuang wrote: > On Tue, Sep 18, 2012 at 1:43 PM, Eric Miao wrote: >> On Mon, Sep 17, 2012 at 6:56 PM, Linus Walleij >> wrote: >>> On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun wrote: >>> From: Wei Yongjun Using for_each_set_bit() to simpl

Re: [PATCH 2/7] dw_dmac: fill optional encoded parameters in register structure

2012-09-17 Thread viresh kumar
On Mon, Sep 17, 2012 at 1:09 PM, Andy Shevchenko wrote: > diff --git a/drivers/dma/dw_dmac_regs.h b/drivers/dma/dw_dmac_regs.h > index f6d92d7..4633d39 100644 > --- a/drivers/dma/dw_dmac_regs.h > +++ b/drivers/dma/dw_dmac_regs.h > @@ -82,9 +82,28 @@ struct dw_dma_regs { > DW_REG(ID); >

linux-next: Tree for Sept 18

2012-09-17 Thread Stephen Rothwell
Hi all, Changes since 201209017: Undropped tree: target-updates The arm64 tree lost its build failure. The hid tree lost its conflict. The target-updates tree lost its conflict and build failure. The sound-asoc tree gained a conflict against the v4l-dvb tree. The mfd tree lost its build fail

Re: [PATCH 1/7] dw_dmac: mark dwc_dump_chan_regs as inline

2012-09-17 Thread viresh kumar
On Mon, Sep 17, 2012 at 1:09 PM, Andy Shevchenko wrote: > Signed-off-by: Andy Shevchenko > --- > drivers/dma/dw_dmac.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dma/dw_dmac.c b/drivers/dma/dw_dmac.c > index 832538c..75ab5af 100644 > --- a/drivers/dma/dw_

Re: [PATCH] ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS

2012-09-17 Thread Bryan Wu
On Tue, Sep 18, 2012 at 11:30 AM, Axel Lin wrote: > This fixes below build error when CONFIG_LEDS_CLASS is not set. > > LD init/built-in.o > arch/arm/plat-omap/built-in.o: In function `fpga_probe': > arch/arm/plat-omap/debug-leds.c:113: undefined reference to > `led_classdev_register' > ma

Re: Re: Why blktrace didn't trace requests merge?

2012-09-17 Thread Jianpeng Ma
On 2012-09-18 13:49 Jens Axboe Wrote: >On 2012-09-18 02:30, Jianpeng Ma wrote: >> On 2012-09-18 02:27 Jens Axboe Wrote: >>> On 2012-09-17 19:55, Tejun Heo wrote: (cc'ing Jens) On Mon, Sep 17, 2012 at 09:22:28AM -0400, Steven Rostedt wrote: > On Mon, 2012-09-17 at 19:33 +0800, J

Re: [RFC v1 00/11] vfs: hot data tracking

2012-09-17 Thread Dave Chinner
On Tue, Sep 18, 2012 at 10:24:55AM +0800, Zhi Yong Wu wrote: > On Tue, Sep 18, 2012 at 5:30 AM, Dave Chinner wrote: > > On Mon, Sep 17, 2012 at 03:18:34PM +0800, zwu.ker...@gmail.com wrote: > >> 20 files changed, 2275 insertions(+), 1 deletions(-) > >> create mode 100644 fs/hot_debugfs.c > >> c

Re: [patch net] sky2: fix rx filter setup on link up

2012-09-17 Thread Jiri Pirko
Tue, Sep 18, 2012 at 02:38:52AM CEST, mlind...@marvell.com wrote: >>Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote: >>>On Mon, 17 Sep 2012 17:10:17 +0200 >>>Jiri Pirko wrote: >>> In my case I have following problem. sky2_set_multicast() sets registers GM_MC_ADDR_H[1-4]

Re: [patch net] sky2: fix rx filter setup on link up

2012-09-17 Thread Jiri Pirko
Mon, Sep 17, 2012 at 11:15:07PM CEST, shemmin...@vyatta.com wrote: >On Mon, 17 Sep 2012 22:47:24 +0200 >Jiri Pirko wrote: > >> Mon, Sep 17, 2012 at 06:12:14PM CEST, shemmin...@vyatta.com wrote: >> >On Mon, 17 Sep 2012 17:10:17 +0200 >> >Jiri Pirko wrote: >> > >> >> In my case I have following pro

Re: [PATCH 5/7] pwm: i.MX: add devicetree support

2012-09-17 Thread Thierry Reding
On Wed, Sep 12, 2012 at 11:04:58AM +0200, Sascha Hauer wrote: > On Tue, Sep 11, 2012 at 04:40:43PM +0200, Thierry Reding wrote: > > On Mon, Sep 10, 2012 at 10:59:35AM +0200, Sascha Hauer wrote: > > > From: Philipp Zabel > > > > > > At the same time remove platform based support. No user for > > >

Re: [PATCH 1/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Ryan Mallon
On 18/09/12 16:05, Shubhrajyoti wrote: > On Tuesday 18 September 2012 07:14 AM, Ryan Mallon wrote: >> On 17/09/12 23:58, Shubhrajyoti D wrote: >>> Convert the struct i2c_msg initialization to C99 format. This makes >>> maintaining and editing the code simpler. Also helps once other fields >

Re: [PATCH v4] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-17 Thread Thierry Reding
On Wed, Sep 12, 2012 at 03:31:46PM +0530, Tushar Behera wrote: > Add dummy implemention of public symbols for compilation-safe inclusion > of include/linux/pwm.h file when CONFIG_PWM is not defined. > > Reported-by: Sachin Kamat > Signed-off-by: Tushar Behera > --- > Changes since v3: > * Nitpic

Re: [PATCH 1/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti
On Tuesday 18 September 2012 07:14 AM, Ryan Mallon wrote: > On 17/09/12 23:58, Shubhrajyoti D wrote: >> Convert the struct i2c_msg initialization to C99 format. This makes >> maintaining and editing the code simpler. Also helps once other fields >> like transferred are added in future.

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-17 Thread Haojian Zhuang
On Tue, Sep 18, 2012 at 1:43 PM, Eric Miao wrote: > On Mon, Sep 17, 2012 at 6:56 PM, Linus Walleij > wrote: >> On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun wrote: >> >>> From: Wei Yongjun >>> >>> Using for_each_set_bit() to simplify the code. >>> >>> spatch with a semantic match is used to fou

[V2 -stable PATCH 1/2] workqueue: fix leak of active

2012-09-17 Thread Lai Jiangshan
try_to_grab_pending() leave LINKED tagalong in delayed queue when it deletes a work. This behavior will cause future cwq_activate_first_delayed() increase the ->nr_active wrongly, and may cause the whole cwq frozen. example: state: cwq->max_active = 1, cwq->nr_active = 1 one work in cwq->p

[V2 for-next PATCH 2/2] workqueue: remove @delayed argument from cwq_dec_nr_in_flight()

2012-09-17 Thread Lai Jiangshan
The argument @delayed is always false in all call site, we simply remove it. Signed-off-by: Lai Jiangshan --- kernel/workqueue.c | 21 - 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index 834aa62..d15d383 100644 ---

Re: [PATCH 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Julia Lawall
On Tue, 18 Sep 2012, Ryan Mallon wrote: On 18/09/12 15:40, Shubhrajyoti wrote: On Tuesday 18 September 2012 07:21 AM, Ryan Mallon wrote: Actually, I wonder if it is useful to have something like:. Read and write differ only in the flag also it will be a deviation from what $SUBJECT would warr

[PATCH v2] arm/dts: AM33XX: Add SPI device tree data

2012-09-17 Thread Philip, Avinash
Add McSPI data node to AM33XX device tree file. The McSPI module (and so as the driver) is reused from OMAP4. Signed-off-by: Philip, Avinash Tested-by: Matt Porter --- Changes since v1: - Corrected reg offset in reg DT entry. :100644 100644 ff3badb... 065fd54... M arch/arm/boot/dts/am3

Re: Why blktrace didn't trace requests merge?

2012-09-17 Thread Jens Axboe
On 2012-09-18 02:30, Jianpeng Ma wrote: > On 2012-09-18 02:27 Jens Axboe Wrote: >> On 2012-09-17 19:55, Tejun Heo wrote: >>> (cc'ing Jens) >>> >>> On Mon, Sep 17, 2012 at 09:22:28AM -0400, Steven Rostedt wrote: On Mon, 2012-09-17 at 19:33 +0800, Jianpeng Ma wrote: > Hi all: > I used

Re: [PATCH 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Ryan Mallon
On 18/09/12 15:40, Shubhrajyoti wrote: > On Tuesday 18 September 2012 07:21 AM, Ryan Mallon wrote: >> Actually, I wonder if it is useful to have something like:. > Read and write differ only in the flag also it will be a deviation from > what $SUBJECT > would warrant. So could be a separate patch.

Re: [PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-17 Thread Eric Miao
On Mon, Sep 17, 2012 at 6:56 PM, Linus Walleij wrote: > On Fri, Sep 14, 2012 at 4:36 AM, Wei Yongjun wrote: > >> From: Wei Yongjun >> >> Using for_each_set_bit() to simplify the code. >> >> spatch with a semantic match is used to found this. >> (http://coccinelle.lip6.fr/) >> >> Signed-off-by: W

Re: [PATCH 0/3] 3.2-stable timekeeping fixes merged in 3.6

2012-09-17 Thread Willy Tarreau
Hi John, On Mon, Sep 17, 2012 at 10:32:07PM -0400, John Stultz wrote: > Just wanted to send out a few timekeeping fixes that were merged > in 3.6 which are appropriate for -stable. Thank you very much, I'm adding them to your last ones. I have not released the version yet but they're not lost. I

Re: [PATCH 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti
On Tuesday 18 September 2012 07:21 AM, Ryan Mallon wrote: > Actually, I wonder if it is useful to have something like:. Read and write differ only in the flag also it will be a deviation from what $SUBJECT would warrant. So could be a separate patch. > > #define I2C_WRITE(_addr, _buf, _len)

Re: [PATCH 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Shubhrajyoti
On Tuesday 18 September 2012 07:15 AM, Ryan Mallon wrote: >> , > Putting the whole initialiser on one line is a bit ugly. Any reason not > to expand it over multiple lines as the previous patch (and majority of > other drivers) does? Will do that. -- To unsubscribe from this list: sen

Re: [PATCH part2 6/6] PCI: Claim hw/fw allocated resources in hot add path.

2012-09-17 Thread Yinghai Lu
On Mon, Sep 17, 2012 at 9:44 PM, Yinghai Lu wrote: > On Mon, Sep 17, 2012 at 5:12 PM, Bjorn Helgaas wrote: >> On Sun, Sep 2, 2012 at 3:50 PM, Yinghai Lu wrote: > >>> -static void __init pcibios_allocate_bridge_resources(struct pci_dev *dev) >>> +static void pcibios_allocate_bridge_resources(stru

Re: Re: Re: [PATCH 1/3] devfreq: core updates to support devices which can idle

2012-09-17 Thread MyungJoo Ham
> Sender : Rajagopal Venkat > Date : 2012-09-18 14:20 (GMT+09:00) > Title : Re: Re: [PATCH 1/3] devfreq: core updates to support devices which > can idle > On 17 September 2012 17:46, MyungJoo Ham wrote: > >> On 10 September 2012 14:43, 함명주 wrote: > >> >> Prepare devfreq core framework to support

Re: [PATCH v2 1/2] spi: omap2-mcspi: add pinctrl support

2012-09-17 Thread Shubhrajyoti
On Monday 17 September 2012 10:52 PM, Matt Porter wrote: > Adds pinctrl support to support OMAP platforms that boot from DT > and rely on pinctrl support to set pinmuxes. > > Signed-off-by: Matt Porter > --- looks good to me. you may want to repost with Mark in cc to review. Acked-by: Shubhrajyoti

Re: Re: [PATCH 1/3] devfreq: core updates to support devices which can idle

2012-09-17 Thread Rajagopal Venkat
On 17 September 2012 17:46, MyungJoo Ham wrote: >> On 10 September 2012 14:43, 함명주 wrote: >> >> Prepare devfreq core framework to support devices which >> >> can idle. When device idleness is detected perhaps through >> >> runtime-pm, need some mechanism to suspend devfreq load >> >> monitoring a

Re: [PATCH 0/2] Replace the obsolete preset API by timings API

2012-09-17 Thread Prabhakar Lad
Hi Mauro/Sekhar On Wed, Aug 8, 2012 at 6:00 PM, Prabhakar Lad wrote: > This first patch replaces the obsolete preset API by timings > API for davinci VPBE, appropriate chnages in machine file for > dm644x in which VPBE is enabled. And the second patch adds support for > timings API for ths7303 dr

Re: [PATCH] vpif: replace preset with the timings API.

2012-09-17 Thread Prabhakar Lad
Hi Mauro, On Wed, Aug 8, 2012 at 5:39 PM, Prabhakar Lad wrote: > From: Hans Verkuil > > Signed-off-by: Hans Verkuil > Signed-off-by: Lad, Prabhakar > Signed-off-by: Manjunath Hadli > --- > drivers/media/video/davinci/vpif.c | 16 ++-- > drivers/media/video/davinci/vpif.h |

Re: 2 physical-cpu (like 2x6core) config and NUMA?

2012-09-17 Thread Mike Galbraith
On Mon, 2012-09-17 at 11:00 -0700, Linda Walsh wrote: > I was wondering, on dual processor MB's, Intel uses dedicated memory for > > each cpu 6 memchips in the X5XXX series, and to access the memory > of the other chip's cores, the memory has to be transferred over the QPI > bus. > > So wo

Re: [PATCH] genirq: Add the IRQS_ONESHOT support for edge interrupt

2012-09-17 Thread Chuansheng Liu
Sorry, update the patch. On Tue, 2012-09-18 at 20:54 +0800, Chuansheng Liu wrote: > In handle_edge_irq(), currently do not care about the flag IRQS_ONESHOT, > but there are many edge interrupt handler with irq thread need it indeed, > so implement here. > > Signed-off-by: liu chuansheng > --- >

RE: [PATCH 2/2] iio: inkern: put the IIO device when mem alloc gets failed

2012-09-17 Thread Kim, Milo
> I can see your point, but Lars-Peter's way is the more commonly used > approach > so lets go with the ancient arguement of making it look like what those > reading the code expect to see ;) Two chained patches were sent. [PATCH 1/2] iio: inkern: put the IIO device when it fails to allocate memor

[PATCH 2/2] iio: inkern: clean up error return code

2012-09-17 Thread Kim, Milo
When the IIO consumer tries to get specific IIO channel, few error cases can be happened. (a) Memory allocation failure (b) No matched ADC channel error (c) Invalid input arguments This patch enables cleaning up error handling in case of (a) and (b). In error handling code, (a): the refere

[PATCH 1/2] iio: inkern: put the IIO device when it fails to allocate memory

2012-09-17 Thread Kim, Milo
The reference count of the IIO device is increased if the IIO map has matched consumer name. After then, it tries to allocate the iio_channel which is used by the consumer. If it fails to allocate memory, the reference count should be decreased. This patch enables restoring the reference coun

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Felipe Balbi
On Mon, Sep 17, 2012 at 01:29:44PM -0700, Tony Lindgren wrote: > Commit 7d7e1eba (ARM: OMAP2+: Prepare for irqs.h removal) broke > compile for non-omap as include plat/cpu.h was added: > > drivers/mfd/twl-core.c:49:22: fatal error: plat/cpu.h: No such file or > directory > > This header was indi

RE: [PATCH] genirq: Add the IRQS_ONESHOT support for edge interrupt

2012-09-17 Thread Liu, Chuansheng
> Just curios about the problem you are facing without this code? The issue I meet is in my calling request_threaded_irq()[edge interrupt], even with IRQS_ONESHOT, When irq thread is handling, the interrupt is still coming, and the primary handler is called, It cause possible spin recursive locks

[PATCH] staging: usbip: vhci_hcd: Fixed oops during removal of vhci_hcd

2012-09-17 Thread navin patidar
In response to "usbip detach -p [port_number]" user command,vhci_shoutdown_connection gets executed which kills tcp_tx,tcp_rx kernel threads and then vhci_device_reset resets all usb_device struct variables except kernel thread pointers. so, at the time of vhci_hcd removal vhci_shoutdown_connect

Re: [PATCH part2 6/6] PCI: Claim hw/fw allocated resources in hot add path.

2012-09-17 Thread Yinghai Lu
On Mon, Sep 17, 2012 at 5:12 PM, Bjorn Helgaas wrote: > On Sun, Sep 2, 2012 at 3:50 PM, Yinghai Lu wrote: >> -static void __init pcibios_allocate_bridge_resources(struct pci_dev *dev) >> +static void pcibios_allocate_bridge_resources(struct pci_dev *dev) > > This patch has a little too much goin

Re: [PATCH v3 1/2] PM / devfreq: add global PM QoS support

2012-09-17 Thread mark gross
On Mon, Sep 17, 2012 at 11:10:09PM +0200, Rafael J. Wysocki wrote: > On Monday, September 17, 2012, MyungJoo Ham wrote: > > Sender : Rafael J. Wysocki > > Date : 2012-09-09 07:20 (GMT+09:00) > > Title : Re: [PATCH v3 1/2] PM / devfreq: add global PM QoS support > > > On Thursday, August 30, 2012, M

Re: [PATCHv2] remoteproc: Export notification id range

2012-09-17 Thread Ohad Ben-Cohen
Hi Sjur, On Thu, Sep 13, 2012 at 9:03 PM, wrote: > From: Sjur Brændeland > > Some of the rproc drivers needs to know the range > of the notification IDs used for notifying the device. > Export a variable in struct rproc holding the > largest allocated notification id. > > Signed-off-by: Sjur Br

Re: [PATCH] spi: pl022: Add clk_{un}prepare() support in runtime PM

2012-09-17 Thread viresh kumar
On Mon, Sep 17, 2012 at 7:09 PM, Linus Walleij wrote: > This driver does clk_prepare/unprepare at probe > and removed, so I guess what you're trying to say is that > on your platform the clk_unprepare() process context call > is needed to save power? > > Please elaborate... Hi Linus, Yes, we don

Re: [PATCH] remoteproc: Add dependency to HAS_DMA

2012-09-17 Thread Ohad Ben-Cohen
Hi Sjur, On Thu, Sep 13, 2012 at 9:03 PM, wrote: > From: Sjur Brændeland > > Remoteproc relies on HAS_DMA, add this dependency in Kconfig. > > Signed-off-by: Sjur Brændeland Applied to remoteproc-next, thanks. Btw: > --- > cc: linux-kernel@vger.kernel.org > cc: Rusty Russell These should

[PATCH] staging: usbip: stub_dev: Fixed oops during removal of usbip_host

2012-09-17 Thread navin patidar
stub_device_reset should set kernel thread pointers to NULL. so that at the time of usbip_host removal stub_shoutdown_connection doesn't try to kill kernel threads which are already killed. Signed-off-by: navin patidar --- drivers/staging/usbip/stub_dev.c |7 --- 1 file changed, 4 insert

[ANNOUNCE] 3.0.43-rt65

2012-09-17 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.0.43-rt65 stable release. This release is just an update to the new stable 3.0.43 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

[PATCH] genirq: Add the IRQS_ONESHOT support for edge interrupt

2012-09-17 Thread Chuansheng Liu
In handle_edge_irq(), currently do not care about the flag IRQS_ONESHOT, but there are many edge interrupt handler with irq thread need it indeed, so implement here. Signed-off-by: liu chuansheng --- kernel/irq/chip.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git

Re: [PATCH 2/2] DMA: PL330: Check the pointer returned by kzalloc

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 15:20 +0530, Sachin Kamat wrote: > kzalloc could return NULL. Hence add a check to avoid > NULL pointer dereference. > > Signed-off-by: Sachin Kamat > --- > drivers/dma/pl330.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/drivers/dma/pl

Re: [PATCH 0/2] DMA: PL330: Clock and runtime cleanup

2012-09-17 Thread Vinod Koul
On Fri, 2012-09-07 at 12:14 +0530, Inderpal Singh wrote: > The controller clock is being managed at AMBA bus level probe/remove and > pm_runtime/suspend functions. The existing driver does the clock > enable/disable > again in the same code paths, which unneccessarily increments the usage count >

[PATCH] ARM: OMAP: OMAP_DEBUG_LEDS needs to select LEDS_CLASS

2012-09-17 Thread Axel Lin
This fixes below build error when CONFIG_LEDS_CLASS is not set. LD init/built-in.o arch/arm/plat-omap/built-in.o: In function `fpga_probe': arch/arm/plat-omap/debug-leds.c:113: undefined reference to `led_classdev_register' make: *** [vmlinux] Error 1 Signed-off-by: Axel Lin --- arch/ar

Re: [PATCH] dmaengine: use kmem_cache_zalloc instead of kmem_cache_alloc/memset

2012-09-17 Thread Vinod Koul
On Mon, 2012-08-27 at 12:40 +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Using kmem_cache_zalloc() instead of kmem_cache_alloc() and memset(). > > spatch with a semantic match is used to found this problem. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun > --- > drivers/dma

Re: [PATCH] dmaengine: add dmanegine slave map api's

2012-09-17 Thread Vinod Koul
On Mon, 2012-09-17 at 22:57 +0100, Russell King - ARM Linux wrote: > On Mon, Sep 17, 2012 at 03:20:29PM +0530, Vinod Koul wrote: > > On Mon, 2012-09-17 at 09:36 +0100, Russell King - ARM Linux wrote: > > > > > I'm not saying take the slave_id out of the map. I'm saying, let the > > > > > DMA engin

linux-next: manual merge of the mfd tree with Linus' tree

2012-09-17 Thread Stephen Rothwell
Hi Samuel, Today's linux-next merge of the mfd tree got a conflict in drivers/regulator/anatop-regulator.c between commit 3e2a928472da ("regulator: anatop: Fix wrong mask used in anatop_get_voltage_sel") from Linus' tree and commit baa64151aecc ("regulator: anatop-regulator: Convert to use syscon

Re: [PATCH part2 4/6] x86, PCI: Separate rom resource claim out

2012-09-17 Thread Yinghai Lu
On Mon, Sep 17, 2012 at 4:38 PM, Bjorn Helgaas wrote: > On Sun, Sep 2, 2012 at 3:50 PM, Yinghai Lu wrote: >> So could use it with hot-added root bus. >> >> Signed-off-by: Yinghai Lu >> --- >> arch/x86/pci/i386.c | 58 >> --- >> 1 files changed,

[PATCH v10 2/2] kvm: Add resampling irqfds for level triggered interrupts

2012-09-17 Thread Alex Williamson
To emulate level triggered interrupts, add a resample option to KVM_IRQFD. When specified, a new resamplefd is provided that notifies the user when the irqchip has been resampled by the VM. This may, for instance, indicate an EOI. Also in this mode, injection of an interrupt through an irqfd onl

[PATCH v10 1/2] kvm: Provide pre-locked setup to irq ack notifier

2012-09-17 Thread Alex Williamson
This enables better integration into irqfd setup where we can adjust our lock ordering to hold irq_lock, making these callable and avoiding irq source ID races. Signed-off-by: Alex Williamson --- include/linux/kvm_host.h |4 virt/kvm/irq_comm.c | 18 -- 2 files c

[PATCH v10 0/2] kvm: level irqfd support

2012-09-17 Thread Alex Williamson
Updated with suggestions from Michael and Avi, the OADN option is now a "resample" option. Re-working locking went surprisingly well, lockdep clean, and now allows us to use a single irq source ID for all resample irqfds. I hope we're close. Thanks, Alex --- Alex Williamson (2): kvm: Ad

[PATCH 1/3] alarmtimer: Use hrtimer per-alarm instead of per-base

2012-09-17 Thread John Stultz
Arve Hjønnevåg reported numerous crashes from the "BUG_ON(timer->state != HRTIMER_STATE_CALLBACK)" check in __run_hrtimer after it called alarmtimer_fired. It ends up the alarmtimer code was not properly handling possible failures of hrtimer_try_to_cancel, and because these faulres occur when the

[PATCH 3/3] alarmtimer: Rename alarmtimer_remove to alarmtimer_dequeue

2012-09-17 Thread John Stultz
Now that alarmtimer_remove has been simplified, change its name to _dequeue to better match its paired _enqueue function. Cc: Arve Hjønnevåg Cc: Colin Cross Cc: Thomas Gleixner Signed-off-by: John Stultz --- kernel/time/alarmtimer.c |8 1 file changed, 4 insertions(+), 4 deletion

[PATCH 2/3] alarmtimer: Remove unused helpers & defines

2012-09-17 Thread John Stultz
No one is using these alarmtimer state helpers, so yank them. Cc: Arve Hjønnevåg Cc: Colin Cross Cc: Thomas Gleixner Signed-off-by: John Stultz --- include/linux/alarmtimer.h | 28 1 file changed, 28 deletions(-) diff --git a/include/linux/alarmtimer.h b/includ

[PATCH 0/3][RFC] Alarmtimer fixes (hopefully 3.7 material)

2012-09-17 Thread John Stultz
Arve Hjønnevåg reported numerous crashes from the "BUG_ON(timer->state != HRTIMER_STATE_CALLBACK)" check in __run_hrtimer after it called alarmtimer_fired. Looking at the code, I realized much of the logic duplicated the hrtimer code, and that by multiplexing numerous alarmtimers onto a single hrt

Re: [RFC PATCH 3/3] perf tool: Allow wildcard in PMU name

2012-09-17 Thread Yan, Zheng
On 09/17/2012 11:36 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, Sep 11, 2012 at 04:27:17PM +0200, Jiri Olsa escreveu: >> On Mon, Sep 10, 2012 at 03:53:51PM +0800, Yan, Zheng wrote: >> >> Would it be possible to have all '*add_event' more obvious for usage. >> Also following code is duplicated aft

Re: [RFC][PATCH] Improving directed yield scalability for PLE handler

2012-09-17 Thread Andrew Theurer
On Sun, 2012-09-16 at 11:55 +0300, Avi Kivity wrote: > On 09/14/2012 12:30 AM, Andrew Theurer wrote: > > > The concern I have is that even though we have gone through changes to > > help reduce the candidate vcpus we yield to, we still have a very poor > > idea of which vcpu really needs to run.

Re: [PATCH v5 06/17] docs: Xen ARM DT bindings

2012-09-17 Thread Rob Herring
On 09/17/2012 12:38 PM, Stefano Stabellini wrote: > Add a doc to describe the Xen ARM device tree bindings > > > Changes in v5: > > - add a comment about the size of the grant table memory region; > - add a comment about the required presence of a GIC node; > - specify that the described propert

[ANNOUNCE] 3.2.29-rt44

2012-09-17 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.29-rt44 stable release. This release is just an update to the new stable 3.2.29 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

Re: [PATCH 0/3] 3.2-stable timekeeping fixes merged in 3.6

2012-09-17 Thread John Stultz
On 09/17/2012 07:32 PM, John Stultz wrote: Just wanted to send out a few timekeeping fixes that were merged in 3.6 which are appropriate for -stable. And I did it again. The subject of this should have been: "2.6.32-stable timekeeping fixes merged in 3.6" Apologies for any confusion. than

Re: [PATCH 0/3] 3.4-stable timekeeping fixes merged in 3.6

2012-09-17 Thread John Stultz
On 09/17/2012 06:38 PM, John Stultz wrote: Just wanted to send out a few timekeeping fixes that were merged in 3.6 which are appropriate for -stable. Manabu Ori noted that the subject here should have been: "2.6.34-stable timekeeping fixes merged in 3.6" My brain is apparently more excite

[PATCH 1/3] 2.6.32.y: time: Improve sanity checking of timekeeping inputs

2012-09-17 Thread John Stultz
This is a -stable backport of 4e8b14526ca7fb046a81c94002c1c43b6fdf0e9b Unexpected behavior could occur if the time is set to a value large enough to overflow a 64bit ktime_t (which is something larger then the year 2262). Also unexpected behavior could occur if large negative offsets are injected

[PATCH 3/3] 2.6.32.y: time: Move ktime_t overflow checking into timespec_valid_strict

2012-09-17 Thread John Stultz
This is a -stable backport of cee58483cf56e0ba355fdd97ff5e8925329aa936 Andreas Bombe reported that the added ktime_t overflow checking added to timespec_valid in commit 4e8b14526ca7 ("time: Improve sanity checking of timekeeping inputs") was causing problems with X.org because it caused timeouts l

[PATCH 2/3] 2.6.32.y: time: Avoid making adjustments if we haven't accumulated anything

2012-09-17 Thread John Stultz
This is a -stable backport of bf2ac312195155511a0f79325515cbb61929898a If update_wall_time() is called and the current offset isn't large enough to accumulate, avoid re-calling timekeeping_adjust which may change the clock freq and can cause 1ns inconsistencies with CLOCK_REALTIME_COARSE/CLOCK_MON

[PATCH 0/3] 3.2-stable timekeeping fixes merged in 3.6

2012-09-17 Thread John Stultz
Just wanted to send out a few timekeeping fixes that were merged in 3.6 which are appropriate for -stable. This queue backports the following fixes: - cee58483cf56e0ba355fdd97ff5e8925329aa936time: Move ktime_t overflow checking into timespec_valid_stric

Re: [PATCH] mfd: Fix compile for twl-core.c by removing cpu_is_omap usage

2012-09-17 Thread Tony Lindgren
* Tony Lindgren [120917 15:27]: > * Paul Walmsley [120917 15:25]: > > On Mon, 17 Sep 2012, Tony Lindgren wrote: > > > > > We need to queue this ASAP and before other patches to fix the > > > build breakage in linux next. Then you can merge in that commit > > > too, does that work for you? > > >

linux-next: manual merge of the sound-asoc tree with the v4l-dvb tree

2012-09-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the sound-asoc tree got a conflict in arch/arm/mach-imx/mach-imx27_visstrim_m10.c between commit b6c14dc29757 ("[media] Visstrim M10: Add support for Coda") from the v4l-dvb tree and commit d41789b2660e ("ASoC: mx27vis: retrieve gpio numbers from platform_data")

Re: [RFC v1 00/11] vfs: hot data tracking

2012-09-17 Thread Zhi Yong Wu
On Tue, Sep 18, 2012 at 5:30 AM, Dave Chinner wrote: > On Mon, Sep 17, 2012 at 03:18:34PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> NOTE: >> >> The patchset is currently post out mainly to make sure >> it is going in the correct direction and hope to get some >> helpful comm

[ANNOUNCE] 3.4.11-rt19

2012-09-17 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.11-rt19 stable release. This release is just an update to the new stable 3.4.11 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

Re: [PATCH v6 0/4] add syscon driver based on regmap for general registers access

2012-09-17 Thread Dong Aisheng
On Mon, Sep 17, 2012 at 09:30:54PM +0800, Samuel Ortiz wrote: > Hi Dong, > > On Mon, Sep 17, 2012 at 06:10:29PM +0800, Dong Aisheng wrote: > > Hi Samuel, > > > > On Wed, Sep 05, 2012 at 01:54:12PM +0800, Shawn Guo wrote: > > > Hi Samuel, > > > > > > The series needs to go via mfd or arm-soc tree

Re: [PATCH 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Ryan Mallon
On 17/09/12 23:58, Shubhrajyoti D wrote: > Convert the struct i2c_msg initialization to C99 format. This makes > maintaining and editing the code simpler. Also helps once other fields > like transferred are added in future. > > Signed-off-by: Shubhrajyoti D > --- > drivers/rtc/rtc-is

[PATCH] cpufreq: OMAP: Check IS_ERR() instead of NULL for omap_device_get_by_hwmod_name

2012-09-17 Thread Axel Lin
omap_device_get_by_hwmod_name() returns ERR_PTR on error. Signed-off-by: Axel Lin --- drivers/cpufreq/omap-cpufreq.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index 6e22f44..65f8e9a 100644 --- a/driv

Re: [PATCH 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Ryan Mallon
On 17/09/12 23:58, Shubhrajyoti D wrote: > Convert the struct i2c_msg initialization to C99 format. This makes > maintaining and editing the code simpler. Also helps once other fields > like transferred are added in future. > > Signed-off-by: Shubhrajyoti D > --- > drivers/rtc/rtc-is

Re: [PATCH 1/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-17 Thread Ryan Mallon
On 17/09/12 23:58, Shubhrajyoti D wrote: > Convert the struct i2c_msg initialization to C99 format. This makes > maintaining and editing the code simpler. Also helps once other fields > like transferred are added in future. > > Signed-off-by: Shubhrajyoti D > --- > drivers/rtc/rtc-ds

[PATCH 3/3] 2.6.34.y: time: Move ktime_t overflow checking into timespec_valid_strict

2012-09-17 Thread John Stultz
This is a -stable backport of cee58483cf56e0ba355fdd97ff5e8925329aa936 Andreas Bombe reported that the added ktime_t overflow checking added to timespec_valid in commit 4e8b14526ca7 ("time: Improve sanity checking of timekeeping inputs") was causing problems with X.org because it caused timeouts l

[PATCH 0/3] 3.4-stable timekeeping fixes merged in 3.6

2012-09-17 Thread John Stultz
Just wanted to send out a few timekeeping fixes that were merged in 3.6 which are appropriate for -stable. This queue backports the following fixes: - cee58483cf56e0ba355fdd97ff5e8925329aa936time: Move ktime_t overflow checking into timespec_valid_stric

[PATCH 2/3] 2.6.34.y: time: Avoid making adjustments if we haven't accumulated anything

2012-09-17 Thread John Stultz
This is a -stable backport of bf2ac312195155511a0f79325515cbb61929898a If update_wall_time() is called and the current offset isn't large enough to accumulate, avoid re-calling timekeeping_adjust which may change the clock freq and can cause 1ns inconsistencies with CLOCK_REALTIME_COARSE/CLOCK_MON

[PATCH 1/3] 2.6.34.y: time: Improve sanity checking of timekeeping inputs

2012-09-17 Thread John Stultz
This is a -stable backport of 4e8b14526ca7fb046a81c94002c1c43b6fdf0e9b Unexpected behavior could occur if the time is set to a value large enough to overflow a 64bit ktime_t (which is something larger then the year 2262). Also unexpected behavior could occur if large negative offsets are injected

Re: section mismatch for acpi_unmap_lsapic()

2012-09-17 Thread Wen Congyang
At 09/17/2012 07:07 PM, Ingo Molnar Wrote: > > * Jerry Snitselaar wrote: > >> Commit 13ad20c1 "x86 cpu_hotplug: unmap cpu2node when the cpu is >> hotremoved" in linux-next added code to acpi_unmap_lsapic() that >> causes section mismatch warnings: >> >> WARNING: vmlinux.o(.text+0x694f2): Section

Re: [PATCH 2/2] numa: don't check if node is NUMA_NO_NODE

2012-09-17 Thread Wen Congyang
At 09/05/2012 07:11 AM, Andrew Morton Wrote: > On Mon, 03 Sep 2012 16:12:12 +0800 > Wen Congyang wrote: > >> If we don't debug per_cpu maps, the cpu's node is stored in per_cpu variable >> numa_node. If node is NUMA_NO_NODE, it means the caller want to clear the >> cpu's node. So we should also c

Re: [PATCH] drivers/target/target_core_configfs.c: fix error return code

2012-09-17 Thread Nicholas A. Bellinger
On Mon, 2012-09-17 at 20:05 +0200, Peter Senna Tschudin wrote: > From: Peter Senna Tschudin > > Convert a nonnegative error return code to a negative one, as returned > elsewhere in the function. > > A simplified version of the semantic match that finds this problem is as > follows: (http://cocc

Re: [PATCH] mfd: Use devm_* APIs for mc13xxx: remove leftover kfree

2012-09-17 Thread Axel Lin
2012/9/18 Andreas Pretzsch : > commit e7c706b1e5ccf28eaaf76c7a4613e80b0ca52863 migrated the allocation > of struct mc13xxx to devm_* functions, but left a kfree(mc13xxx) in the > mc13xxx_common_init error path. Remove it to prevent memory corruption. > > Signed-off-by: Andreas Pretzsch Reviewed-b

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

2012-09-17 Thread Nicholas A. Bellinger
On Mon, 2012-09-17 at 13:41 +1000, Stephen Rothwell wrote: > Hi Nicholas, > > After merging the target-updates tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/target/target_core_transport.c: In function > 'transport_get_sense_buffer': > drivers/target/target_

  1   2   3   4   5   6   7   >