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

2012-09-14 Thread Daniel Wagner
Hi Stephen, On 14.09.2012 05:17, Stephen Rothwell wrote: Hi Tejun, After merging the cgroup tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/net/tun.c: In function 'tun_alloc_skb': drivers/net/tun.c:589:2: error: implicit declaration of function 'sock_update_

Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback

2012-09-14 Thread Peter Ujfalusi
On 09/14/2012 06:24 AM, Vinod Koul wrote: > On Thu, 2012-09-13 at 16:37 +0300, Peter Ujfalusi wrote: >> Change the parameter list of device_prep_dma_cyclic() so the DMA drivers >> can receive the no_wakeup request coming from client drivers. >> This feature can be used during audio operation to dis

[PATCH 1/2] module: fix symbol waiting when module fails before init

2012-09-14 Thread Rusty Russell
We use resolve_symbol_wait(), which blocks if the module containing the symbol is still loading. However: 1) The module_wq we use is only woken after calling the modules' init function, but there are other failure paths after the module is placed in the linked list where we need to do the s

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Peter Ujfalusi
Hi, On 09/13/2012 06:27 PM, Lars-Peter Clausen wrote: > On 09/13/2012 03:37 PM, Peter Ujfalusi wrote: >> The dmaengine_prep_dma_cyclic() function primarily used by audio for cyclic >> transfer required by ALSA. >> With this new parameter it is going to be possible to enable the >> SNDRV_PCM_INFO_N

module: test code for waiting.

2012-09-14 Thread Rusty Russell
From: Rusty Russell Subject: module: dummy module to test loading race. --- kernel/Makefile |1 + kernel/test-mod.c | 21 + 2 files changed, 22 insertions(+) diff --git a/kernel/Makefile b/kernel/Makefile --- a/kernel/Makefile +++ b/kernel/Makefile @@ -131,3 +131,4 @@

[PATCH 2/2] module: wait when loading a module which is currently initializing.

2012-09-14 Thread Rusty Russell
The original module-init-tools module loader used a fnctl lock on the .ko file to avoid attempts to simultaneously load a module. Unfortunately, you can't get an exclusive fcntl lock on a read-only fd, making this not work for read-only mounted filesystems. module-init-tools has a hacky sleep-and-l

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Peter Ujfalusi
On 09/13/2012 06:38 PM, Russell King - ARM Linux wrote: > On Thu, Sep 13, 2012 at 05:27:09PM +0200, Lars-Peter Clausen wrote: >> Hm... Do you think it would work as well if we implement this by setting the >> callback for the descriptor to NULL? If the callback is NULL there is >> nothing to at the

Re: [PATCH 2/3] Add a V4L2 driver for SI476X MFD

2012-09-14 Thread Hans Verkuil
Hi Andrey! Some generic comments: sound/i2c/other/tea575x-tuner.c is a good example of how to make an AM/FM tuner driver. It's used by e.g. drivers/media/radio/radio-shark.c. This went in just yesterday, so you need to look at the latest staging/for_v3.7 branch of the media_tree.git repo. Some m

Re: [alsa-devel] [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Peter Ujfalusi
On 09/14/2012 06:26 AM, Vinod Koul wrote: > On Thu, 2012-09-13 at 17:27 +0200, Lars-Peter Clausen wrote: >> Hi, >> >> Hm... Do you think it would work as well if we implement this by >> setting the >> callback for the descriptor to NULL? If the callback is NULL there is >> nothing to at the end of

Re: [PATCH] pinctrl: use kasprintf() in pinmux_request_gpio()

2012-09-14 Thread Colin Cross
On Thu, Sep 13, 2012 at 10:19 PM, Joe Perches wrote: > On Thu, 2012-09-13 at 21:49 +0200, Thomas Petazzoni wrote: >> Instead of using a temporary buffer, snprintf() and kstrdup(), just >> use kasprintf() that does the same thing in just oneline. >> >> Signed-off-by: Thomas Petazzoni >> --- >> dr

Re: [PATCH] Xen backend support for paged out grant targets.

2012-09-14 Thread Ian Campbell
On Thu, 2012-09-13 at 20:45 +0100, Andres Lagar-Cavilla wrote: > On Sep 13, 2012, at 2:11 PM, Ian Campbell wrote: > > > On Thu, 2012-09-13 at 18:28 +0100, Andres Lagar-Cavilla wrote: > >> > >> * Add placeholder in array of grant table error descriptions for > >> unrelated error code we jump over.

Re: RCU lockup in the SMP idle thread, help...

2012-09-14 Thread Linus Walleij
On Thu, Sep 13, 2012 at 6:58 PM, Paul E. McKenney wrote: > On Thu, Sep 13, 2012 at 09:49:14AM -0700, John Stultz wrote: >> I saw this once as well testing the fix to Daniel's deep idle hang >> issue (also on 32 bit). John, what system was this? If it's not Snowball/ux500 we can atleast conclude t

Re: [RFC 00/11] VFS: hot data tracking

2012-09-14 Thread Zhi Yong Wu
hi, all maintainers. ping? any comments are appreciated, thanks. On Wed, Sep 12, 2012 at 10:31 PM, Zhi Yong Wu wrote: > Sorry, forgot CCed to Ted. > > On Tue, Sep 11, 2012 at 10:27 PM, wrote: >> From: Zhi Yong Wu >> >> HI, folks >> I have pushed the patchset to my kernel dev git tree: >> g.

linux-next: Tree for Sept 14

2012-09-14 Thread Stephen Rothwell
Hi all, Changes since 201209013: The pci tree lost its conflicts. The i2c tree lost its conflict. The net-next tree gained conflicts against the net tree. The cgroup tree gained a build failure so I used the version from next-20120913. The workqueues tree gained a conflict against the net tre

Re: [PATCH 1/9] drivers/block/aoe/aoecmd.c: Remove useless kfree

2012-09-14 Thread Peter Senna Tschudin
On Thu, Sep 13, 2012 at 4:42 PM, Dan Carpenter wrote: > On Thu, Sep 13, 2012 at 04:13:07PM +0200, walter harms wrote: >> > diff --git a/drivers/block/aoe/aoecmd.c b/drivers/block/aoe/aoecmd.c >> > index 5461faa..cbb0521 100644 >> > --- a/drivers/block/aoe/aoecmd.c >> > +++ b/drivers/block/aoe/aoec

[RFC] [PATCH 0/2] leds: use workqueue in led_set_brightness() API internally

2012-09-14 Thread Bryan Wu
LED class drivers use duplicated workqueue method to implement .brightness_set() and some of them forget to use workqueue, since workqueue is required by .brightness_set() in atomic context. This patchset add workqueue into API function led_set_brightness(). So class drivers don't need to worry ab

[PATCH 1/2] leds: use workqueue in led_set_brightness() API internally

2012-09-14 Thread Bryan Wu
The API function led_set_brightness() and __led_set_brightness will call .brightness_set() function provided by led class drivers. So .brightness_set() function will run in atomic context, which requires led class drivers use workqueue in .brightness_set(). Finally, all the led class driver implem

[PATCH 2/2] leds-gpio: remove workqueue in .brightness_set()

2012-09-14 Thread Bryan Wu
LED core use workqueue internally now, need to use it in the class driver. Signed-off-by: Bryan Wu --- drivers/leds/leds-gpio.c | 43 ++- 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c ind

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

2012-09-14 Thread Samuel Ortiz
Hi Stephen, On Wed, Sep 12, 2012 at 04:07:19PM +1000, Stephen Rothwell wrote: > Hi Greg, > > After merging the staging tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/hid/hid-sensor-hub.c: In function 'sensor_hub_probe': > drivers/hid/hid-sensor-hub.c:599:3:

Re: [PATCH] staging: nvec: adjust for mfd_add_devices() API change

2012-09-14 Thread Samuel Ortiz
Hi Stephen, On Wed, Sep 12, 2012 at 10:26:00AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit 6607bad "mfd: core: Push irqdomain mapping out into devices" > added a new parameter to mfd_add_devices(), but missed updating the > nvec driver in staging. > > Cc: Mark Brown > Cc: Ma

Re: [PATCH 1/2] ARM: SoC: convert MSM SMP to SoC descriptor

2012-09-14 Thread Arnd Bergmann
On Thursday 13 September 2012, David Brown wrote: > Olof wanted me to try and split the msm-for-3.7 into a few branches, > so I'm going to work on that this morning. I'm not quite sure how > well it will work, since, for example, most of the cleanups are > preparing the tree for the devicetree cha

ARM Development Platform

2012-09-14 Thread davi
Hi, To get used to develop for ARM, do you think I should focus on Linux kernel development or on Android project development? Would a Cortex-A* chip be valid as development platform? If so I will buy the "Exynos4 Quad Mobile Development Platform" at hardkernel.com. http://www.hardkernel.com

Re: [PATCH 1/1] Input: ab8500-ponkey: Make the distinction between DT and non-DT boots

2012-09-14 Thread Lee Jones
On Thu, Sep 13, 2012 at 11:35:43AM +0200, Linus Walleij wrote: > On Mon, Aug 6, 2012 at 2:32 PM, Lee Jones wrote: > > > If we're booting with Device Tree enabled, we want the IRQ numbers to > > be taken and translated from the Device Tree binary. If not, they > > should be taken from the resource

Re: Implement devicetree support for AB8500 Btemp

2012-09-14 Thread Arnd Bergmann
On Friday 14 September 2012, Anton Vorontsov wrote: > Power supply subsystem's supplied_to describes not just how driver > should notify other devices, supplied_to is more generic stuff, in terms > that it describes power supply hierarchy. It's like a directed graph, > e.g.: > >supplied_to

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Lars-Peter Clausen
On 09/14/2012 05:26 AM, Vinod Koul wrote: > On Thu, 2012-09-13 at 17:27 +0200, Lars-Peter Clausen wrote: >> Hi, >> >> Hm... Do you think it would work as well if we implement this by >> setting the >> callback for the descriptor to NULL? If the callback is NULL there is >> nothing to at the end of

Re: [PATCH 18/19] gpio: Provide the tc3589x GPIO expander driver with an IRQ domain

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 06:10:59AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > In preparation for Device Tree enablement all IRQ controllers > > should control their own IRQ domain. This patch provides just > > that for the tc3589x GPIO expander. > > > > C

Re: [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-14 Thread Jonathan Cameron
On 14/09/12 07:00, Patil, Rachna wrote: On Thu, Sep 13, 2012 at 17:43:30, Jonathan Cameron wrote: On 13/09/12 11:40, Patil, Rachna wrote: This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried o

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 04:42:36AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > Each I2C device can be correctly probed already using Device Tree, > > but the sub-devices still have to be registered by calls to > > i2c_register_board_info(). After this patc

Re: [PATCH 2/2] iio: inkern: add error case in iio_channel_get()

2012-09-14 Thread Jonathan Cameron
On 14/09/12 01:59, Kim, Milo wrote: On 10/09/12 09:02, Kim, Milo wrote: The datasheet name is defined in the IIO driver. On the other hand, the adc_channel_label is configured in the platform machine side. If the datasheet name is not matched with any adc_channel_label, the iio_ch

Re: ARM Development Platform

2012-09-14 Thread Felipe Balbi
Hi, On Fri, Sep 14, 2012 at 08:55:29AM +0100, d...@gnu.org wrote: > To get used to develop for ARM, do you think I should focus on Linux kernel > development or on Android project development? it really depends on what you actually wanna do. These days there are many, as Linus once said, "throw-

Re: [PATCH] at24: make module parameters changeable via sysfs

2012-09-14 Thread Jean Delvare
Hi Uwe, On Wed, 12 Sep 2012 11:43:32 +0200, Uwe Kleine-König wrote: > The respective values are evaluated at each read/write, so no further > action is required than to change the perm argument to module_param. > > Note there is no sanity check so root can make the driver effectively > unusable b

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-09-14 Thread Lee Jones
On Wed, Sep 12, 2012 at 12:52:02PM +0200, Wolfram Sang wrote: > On Mon, Sep 10, 2012 at 04:42:36AM -0700, Linus Walleij wrote: > > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > > > Each I2C device can be correctly probed already using Device Tree, > > > but the sub-devices still have to

Re: [PATCH 14/19] ARM: ux500: Apply tc3589x's GPIO/IRQ properties to HREF's DT

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 05:58:41AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > This patch ensures the tc3589x and tc3598x-gpio devices are > > rightfully given interrupt controller status. We also describe > > the tc3598x-gpio GPIO expander in full and spe

Re: [PATCH v5] iio: adc: add new lp8788 adc driver

2012-09-14 Thread Lars-Peter Clausen
On 09/14/2012 02:33 AM, Kim, Milo wrote: >> Hi, >> >> One issue and a couple of nitpicks inline. > > I really appreciate it. > Please see my questions below. > >>> + switch (mask) { >>> + case IIO_CHAN_INFO_RAW: >>> + ret = lp8788_get_adc_result(adc, id, val) ? -EIO : >> IIO_VAL_INT

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-09-14 Thread Wolfram Sang
Hi, > > First, I'd like to have this patch squashed with "i2c: nomadik: Add > > Device Tree support to the Nomadik I2C driver". I wanted to do this on > > my own, but the patches do not apply to 3.6-rc5 (with or without > > regulator removal patch from Linus)? > > I'm really not keen on squashing

[PATCH 3/3] perf ui/browser: Fix stale output of sorted result

2012-09-14 Thread Namhyung Kim
From: Namhyung Kim The hist_entry__sort_snprintf() can return 0 if all of the sort keys are elided. In this case a buffer which used for the function would contain old message or a garbage and printed like below: $ perf record -g -e cycles:u abc $ perf --report -s comm -c abc (...) + 10

[PATCH 1/3] perf tools: Add sort__has_sym

2012-09-14 Thread Namhyung Kim
From: Namhyung Kim The sort__has_sym variable is for checking whether the sort_list includes 'symbol' as a sort key. It will be used for later patch. Signed-off-by: Namhyung Kim --- tools/perf/util/sort.c | 5 + tools/perf/util/sort.h | 1 + 2 files changed, 6 insertions(+) diff --git a/

[PATCH 2/3] perf report: Enable itegrated annotation only if possible

2012-09-14 Thread Namhyung Kim
From: Namhyung Kim The integrated annotation feature is supported only in TUI mode. Also it should be enabled with 'symbol' sort key otherwise resulting hist entry doesn't need to have same symbol as of a sample so that it can fail on hist_entry__inc_addr_samples with -ERANGE. You can easily se

Re: [PATCH 11/19] ARM: ux500: Add all known I2C sub-device nodes to the HREF DT

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 04:34:15AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > Here we add the skeleton nodes for each of the known I2C sub-devices > > currently registered on ST-Ericsson's HREF Development Platform. We > > will fill these nodes in turn as

Re: [PATCH] Add 2-level GPUVM pagetables support to radeon driver.

2012-09-14 Thread Christian König
On 13.09.2012 20:42, Jerome Glisse wrote: On Thu, Sep 13, 2012 at 2:37 PM, Alex Deucher wrote: On Thu, Sep 13, 2012 at 2:17 PM, Jerome Glisse wrote: On Thu, Sep 13, 2012 at 10:13 AM, Dmitry Cherkasov wrote: PDE/PTE update code uses CP ring for memory writes. All page table entries are preal

Re: [PATCH v2 1/5] fat: allocate persistent inode numbers

2012-09-14 Thread Namjae Jeon
2012/9/14, OGAWA Hirofumi : > "J. Bruce Fields" writes: > >>> > Current -mm means the best-effort work only if inode cache is not >>> > evicted. I.e. if there is no inode cache anymore on server, server >>> > would return ESTALE. So I guess the behavior would not be stable >>> > relatively. >>> H

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Vinod Koul
On Fri, 2012-09-14 at 10:13 +0200, Lars-Peter Clausen wrote: > On 09/14/2012 05:26 AM, Vinod Koul wrote: > > On Thu, 2012-09-13 at 17:27 +0200, Lars-Peter Clausen wrote: > >> Hi, > >> > >> Hm... Do you think it would work as well if we implement this by > >> setting the > >> callback for the descri

Re: [PATCH 1/3 v2] mm: Batch unmapping of file mapped pages in shrink_page_list

2012-09-14 Thread Mel Gorman
On Thu, Sep 13, 2012 at 09:06:10AM -0700, Tim Chen wrote: > On Tue, 2012-09-11 at 12:05 +0100, Mel Gorman wrote: > > > > > One *massive* change here that is not called out in the changelog is that > > the reclaim path now holds the page lock on multiple pages at the same > > time waiting for them

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-09-14 Thread Lee Jones
> > > First, I'd like to have this patch squashed with "i2c: nomadik: Add > > > Device Tree support to the Nomadik I2C driver". I wanted to do this on > > > my own, but the patches do not apply to 3.6-rc5 (with or without > > > regulator removal patch from Linus)? > > > > I'm really not keen on s

Re: [RFC] cgroup TODOs

2012-09-14 Thread Mike Galbraith
On Thu, 2012-09-13 at 13:58 -0700, Tejun Heo wrote: > 7. Misc issues > * Extract synchronize_rcu() from user interface? Exporting grace periods to userspace isn't wonderful for dynamic launchers. -Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

Re: [PATCH 10/19] ARM: ux500: Remove redundant #gpio-cell properties from HREF and Snowball DT

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 04:12:23AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > These properties have no place here as the populated nodes are > > not related to GPIO Controllers. > > > > Signed-off-by: Lee Jones > > Squash this into the previous patch ad

Re: [RFC] cgroup TODOs

2012-09-14 Thread Daniel P. Berrange
On Thu, Sep 13, 2012 at 01:58:27PM -0700, Tejun Heo wrote: > 5. I CAN HAZ HIERARCHIES? > > The cpu ones handle nesting correctly - parent's accounting includes > children's, parent's configuration affects children's unless > explicitly overridden, and children's limits nest inside parent's.

Re: [RFC] cgroup TODOs

2012-09-14 Thread Li Zefan
>> >> 2. memcg's __DEPRECATED_clear_css_refs >> >> This is a remnant of another weird design decision of requiring >> synchronous draining of refcnts on cgroup removal and allowing >> subsystems to veto cgroup removal - what's the userspace supposed to >> do afterwards? Note that this also

Re: [PATCH 09/19] ARM: ux500: Enable SSP (SPI) for HREF when booting Device Tree

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 04:11:10AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > Here we add a new SSP node to the HREF's Device Tree file which > > activates the generic one found in the .dtsi file. This will > > allow probing of the SSP driver when Device

[PATCH] v4l: change path of video drivers

2012-09-14 Thread Prabhakar Lad
From: Lad, Prabhakar due to structure change for video drivers, change the description with correct path. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Cc: Mauro Carvalho Chehab Cc: Hans Verkuil Cc: Laurent Pinchart Cc: Sakari Ailus Cc: Rob Landley --- Documentation/video4

Re: [PATCH] strings: helper for maximum decimal encoding of an unsigned integer

2012-09-14 Thread Bernd Petrovitsch
On Mon, 2012-09-10 at 08:19 +0200, Jan Engelhardt wrote: > On Tuesday 2012-08-21 23:29, J. Bruce Fields wrote: [...] > >+/* > >+ * length of the decimal representation of an unsigned integer. Just an > >+ * approximation, but it's right for types of size 1 to 36 bytes: > >+ */ > >+#define base10le

Re: [PATCH 07/19] ARM: ux500: Add all encompassing sound node to the HREF Device Tree

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 02:56:20AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > This is where we link together all of the SoC sound components for > > a given platform. This all encompassing sound node is only found > > in the very lowest hierarchical DTS f

[PATCH 1/1] drivers: bus: Move the OMAP interconnect driver to drivers/bus/

2012-09-14 Thread Santosh Shilimkar
OMAP interconnect drivers are used for the interconnect error handling. Since they are bus driver, lets move it to newly created drivers/bus. Cc: Arnd Bergmann Cc: Tony Lindgren Tested-by: Lokesh Vutla Signed-off-by: Santosh Shilimkar --- Patch just moves OMAP interconnect drivers as is to the

include/linux/cgroup.h:553 suspicious rcu_dereference_check() usage!

2012-09-14 Thread Jiri Slaby
Hi, with current -next trees and LDEP enabled, I'm getting: === [ INFO: suspicious RCU usage. ] 3.6.0-rc5-next-20120913+ #42 Not tainted --- /home/latest/linux/include/linux/cgroup.h:553 suspicious rcu_dereference_check() usage! other info t

Re: [PATCH 06/19] ARM: ux500: Add nodes for the MSP into the HREF Device Tree

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 02:53:45AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > This patch enables the two important MSP devices for ST-Ericsson's > > hardware reference development board. > > > > Signed-off-by: Lee Jones > > --- > > arch/arm/boot/dts/hre

[PATCH] arm: tegra: dt: Add pinmux entries for Vbus regulator controls

2012-09-14 Thread Venu Byravarasu
Adding pinmux entries for PI4 and PH7 to enable Vbus for USB1 and USB3 controllers on Cardhu A02 board. Signed-off-by: Venu Byravarasu --- arch/arm/boot/dts/tegra30-cardhu-a02.dts | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/tegr

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

2012-09-14 Thread Vinod Koul
when allocating a channel the dmaengine finds first channel that matches the mask and calls filter function In slave dmaengine model, there already exists a mapping, either hardwired in SoC or thru a configurable mux. So we typically need channel from controller X and in same cases a partcular chan

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Peter Ujfalusi
Hi, On 09/14/2012 11:50 AM, Vinod Koul wrote: >> Well, the idea was that the driver would disable interrupts if there is no >> callback to call, since there would be nothing to do in the interrupt >> handler anyway. But I guess the flags approach should work fine as well. > Yes we _could_ do that,

Re: [PATCH 14/16] X.509: Add an ASN.1 decoder

2012-09-14 Thread Alan Cox
On Fri, 14 Sep 2012 00:50:05 +0100 David Howells wrote: > Add an ASN.1 BER/DER/CER decoder. This uses the bytecode from the ASN.1 > compiler in the previous patch to inform it as to what to expect to find in > the > encoded byte stream. The output from the compiler also tells it what > functi

Re: Implement devicetree support for AB8500 Btemp

2012-09-14 Thread Rajanikanth HV
On Friday 14 September 2012 01:39 PM, Arnd Bergmann wrote: > On Friday 14 September 2012, Anton Vorontsov wrote: >> Power supply subsystem's supplied_to describes not just how driver >> should notify other devices, supplied_to is more generic stuff, in terms >> that it describes power supply hiera

Re: [PATCH 01/19] ARM: ux500: Add skeleton Device Tree for the HREF reference board

2012-09-14 Thread Lee Jones
On Mon, Sep 10, 2012 at 01:47:09AM -0700, Linus Walleij wrote: > On Fri, Sep 7, 2012 at 1:14 PM, Lee Jones wrote: > > > First commit applying the new Device Tree for ST-Ericsson's u8500 > > based hardware reference board. > > > > Signed-off-by: Lee Jones > > > +/dts-v1/; > > +/include/ "dbx5x0.

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-09-14 Thread Wolfram Sang
> Ah, sorry. That's my fault for rushing though my ridiculously bloated post- > vacation inbox. :) > > all the infos I got. Some more context would have been helpful. Is there > > a branch somewhere with all the things collected? > > There will be. I'm currently just Ack collecting. > > In fa

[PATCH] cgroup: fix invalid rcu dereference

2012-09-14 Thread Jiri Slaby
Commit "device_cgroup: convert device_cgroup internally to policy + exceptions" removed rcu locks which are needed in task_devcgroup called in this chain: devcgroup_inode_mknod OR __devcgroup_inode_permission -> __devcgroup_inode_permission -> task_devcgroup -> task_subsys_state -> task_subsys_stat

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Vinod Koul
On Fri, 2012-09-14 at 12:28 +0300, Peter Ujfalusi wrote: > Hi, > > On 09/14/2012 11:50 AM, Vinod Koul wrote: > >> Well, the idea was that the driver would disable interrupts if there is no > >> callback to call, since there would be nothing to do in the interrupt > >> handler anyway. But I guess t

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

2012-09-14 Thread Russell King - ARM Linux
On Fri, Sep 14, 2012 at 03:03:09PM +0530, Vinod Koul wrote: > +/*called under lock held */ > +static struct dma_chan *dmaengine_get_slave_channel(char *requestor, > dma_cap_mask_t *mask) > +{ > + > + struct dma_device *device, *_d; > + struct dma_chan *chan = NULL; > + int err; > + > +

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

2012-09-14 Thread Vinod Koul
On Fri, 2012-09-14 at 15:03 +0530, Vinod Koul wrote: Sorry, this is a RFC, and not a PATCH yet. > when allocating a channel the dmaengine finds first channel that matches the > mask and calls filter function > In slave dmaengine model, there already exists a mapping, either hardwired in > SoC or

tulip Ethernet driver messes up USB keyboard

2012-09-14 Thread Marti Raudsepp
Hi lists, After installing an old 100Mbit PCI Ethernet card to my machine, it has complained a few times about spurious interrupts ("nobody cared") at a random time of the day. After the oops is reported, my USB keyboard (HP smart card keyboard) stops working properly -- it has lots of delay, it m

Re: [PATCH RESEND] memory hotplug: fix a double register section info bug

2012-09-14 Thread Mel Gorman
On Fri, Sep 14, 2012 at 11:43:27AM +0800, qiuxishi wrote: > There may be a bug when registering section info. For example, on > my Itanium platform, the pfn range of node0 includes the other nodes, > so other nodes' section info will be double registered, and memmap's > page count will equal to 3.

[PATCH v2 0/5] KVM: MMU: fix release pfn in mmu code

2012-09-14 Thread Xiao Guangrong
Release pfn in the mmu code is little special for we allow no-slot pfn go to spte walk on page fault path, that means, on page fault fail path, we can not directly call kvm_release_pfn_clean. This patchset fixes the bug which release no-slot pfn on fail path and clean up all the paths where kvm_re

Re: [PATCH 07/17] Documentation: Define the MSP Driver Device Tree bindings

2012-09-14 Thread Lee Jones
On Tue, Sep 11, 2012 at 11:08:22AM +0200, Ola Lilja wrote: > On 09/10/2012 06:43 PM, Lee Jones wrote: > > > Ola poke. > > > > On Fri, Aug 24, 2012 at 03:01:43PM +0100, Lee Jones wrote: > >> Here we add the required documentation for the new Device Tree > >> bindings pertaining to the MSP CPU-side

Re: [GIT] Digital signature library bugfix

2012-09-14 Thread Kasatkin, Dmitry
On Thu, Sep 13, 2012 at 7:53 AM, James Morris wrote: > On Thu, 13 Sep 2012, Linus Torvalds wrote: > >> On Wed, Sep 12, 2012 at 6:22 PM, Kasatkin, Dmitry >> wrote: >> > >> > But I will re-send updated patch in a moment. >> >> Ok, I took that updated patch instead of the pull request, since I >> li

[PATCH v2 1/5] KVM: MMU: release noslot pfn on the fail path properly

2012-09-14 Thread Xiao Guangrong
We can not directly call kvm_release_pfn_clean to release the pfn since we can meet noslot pfn which is used to cache mmio info into spte Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c |6 -- arch/x86/kvm/paging_tmpl.h |6 -- 2 files changed, 8 insertions(+), 4 dele

[PATCH v2 2/5] KVM: MMU: do not release pfn in mmu_set_spte

2012-09-14 Thread Xiao Guangrong
It helps us to cleanup release pfn in the later patches Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 29 ++--- arch/x86/kvm/paging_tmpl.h | 18 +++--- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/arch/x86/kvm/mmu.c b/a

[PATCH v2 3/5] KVM: MMU: cleanup FNAME(page_fault)

2012-09-14 Thread Xiao Guangrong
Let it return emulate state instead of spte like __direct_map Signed-off-by: Xiao Guangrong --- arch/x86/kvm/paging_tmpl.h | 28 ++-- 1 files changed, 10 insertions(+), 18 deletions(-) diff --git a/arch/x86/kvm/paging_tmpl.h b/arch/x86/kvm/paging_tmpl.h index 92f466c..

[PATCH v2 4/5] KVM: MMU: introduce page_fault_start and page_fault_end

2012-09-14 Thread Xiao Guangrong
Wrap the common operations into these two functions Signed-off-by: Xiao Guangrong --- arch/x86/kvm/mmu.c | 53 +++ arch/x86/kvm/paging_tmpl.h | 16 + 2 files changed, 39 insertions(+), 30 deletions(-) diff --git a/arch/x86/kvm/mmu.

[PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte)

2012-09-14 Thread Xiao Guangrong
The only different thing between FNAME(update_pte) and FNAME(pte_prefetch) is that the former is allowed to prefetch gfn from dirty logged slot, so introduce a common function to prefetch spte Signed-off-by: Xiao Guangrong --- arch/x86/kvm/paging_tmpl.h | 50 ---

Re: [PATCH] usb: gadget: lpc32xx_udc: Disable setup request error message

2012-09-14 Thread Roland Stigge
On 12/09/12 22:33, Alexandre Pereira da Silva wrote: > This message is an debugging message. It's useful for finding protocol > details but it's not necessarily an error. > > Signed-off-by: Alexandre Pereira da Silva Acked-by: Roland Stigge Yes, the Kevin Wells at NXP confirmed this some time

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-14 Thread Russell King - ARM Linux
On Fri, Sep 14, 2012 at 12:28:28PM +0300, Peter Ujfalusi wrote: > I'm not sure about which flags should ASoC set for the two case we are going > to have. I think it should be something like this: > > unsigned long flags = DMA_CTRL_ACK; > > if (!substream->runtime->no_period_wakeup) > flags

Re: [PATCH 06/17] Documentation: Define the MOP500 Audio Machine Driver Device Tree bindings

2012-09-14 Thread Lee Jones
On Tue, Sep 11, 2012 at 11:06:00AM +0200, Ola Lilja wrote: > On 09/10/2012 06:44 PM, Lee Jones wrote: > > > Ola poke. > > > > On Fri, Aug 24, 2012 at 03:01:42PM +0100, Lee Jones wrote: > >> Here we add the required documentation for the new Device Tree > >> bindings pertaining to the MOP500 Audio

Re: [PATCH v2 4/4]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-14 Thread Sebastian Andrzej Siewior
On Fri, Sep 14, 2012 at 08:52:58AM +0200, Rene Buergel wrote: > > Git should show this as a move, not as a "add a file and remove a > > file" > > type patch. Are you generating it properly? > > Whats the proper way to do this? I did a git mv, git commit and than git diff > on that commit hash.

Re: [PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-14 Thread Wolfram Sang
On Mon, Sep 03, 2012 at 11:23:22PM +0300, Aaro Koskinen wrote: > Add i2c driver to enable access to devices behind CBUS on Nokia Internet > Tablets. > > The patch also adds CBUS I2C configuration for N8x0 which is one of the > users of this driver. > > Cc: linux-...@vger.kernel.org > Acked-by: Fe

Re: [PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte)

2012-09-14 Thread Xiao Guangrong
On 09/14/2012 05:59 PM, Xiao Guangrong wrote: > + return FNAME(prefetch_gpte)(vcpu, sp, spte, gptep[i], true); Sorry, this was wrong. Update this patch. [PATCH v2 5/5] KVM: MMU: introduce FNAME(prefetch_gpte) The only different thing between FNAME(update_pte) and FNAME(pte_prefetch)

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

2012-09-14 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

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

2012-09-14 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 | 14 +- 1 file changed, 9

Re: [PATCH 12/19] i2c-nomadik: Register sub-devices when passed via Device Tree

2012-09-14 Thread Lee Jones
> > Now there is: > > git://git.linaro.org/people/ljones/linux-3.0-ux500.git preview-for-next > > OK from having a glimpse, I'd prefer to squash (or have squashed) > > i2c: nomadik: Add Device Tree support to the Nomadik I2C driver > i2c-nomadik: Register sub-devices when passed via

Re: [PATCH 1/4] i2c: introduce i2c-cbus driver

2012-09-14 Thread Jean Delvare
On Fri, 14 Sep 2012 12:08:06 +0200, Wolfram Sang wrote: > OK, I found the short paragrahp about CBUS in the I2C spec, so I2C might > be an appropriate place. Still, before deciding if it should rather be > in the core directory, I still have a few questions. > > Also, does anybody know of a generi

[git pull] drm fixes

2012-09-14 Thread Dave Airlie
I realise this a bit bigger than I would want at this point, exynos is a large chunk, I got them to half what they wanted already, and hey its ARM based, so not going to hurt many people, radeon has only two fixes, but the PLL fixes were a bit bigger, but required for a lot of scenarios, the f

Re: [PATCH] pcmcia: synclink_cs: fix potential tty NULL dereference

2012-09-14 Thread Alan Cox
On Fri, 14 Sep 2012 01:30:06 +0400 Alexey Khoroshilov wrote: > tty_port_tty_get() can return NULL after port hangup that may happen anytime. > The patch adds checks that tty_port_tty_get() returns nonNULL around places > where tty is actually used. I don't believe you can simply skip the process

Re: Implement devicetree support for AB8500 Btemp

2012-09-14 Thread Rajanikanth HV
On Thursday 13 September 2012 08:07 PM, Arnd Bergmann wrote: > On Thursday 13 September 2012, Rajanikanth HV wrote: >> On Wednesday 12 September 2012 09:06 PM, Arnd Bergmann wrote:> > >>> If this is true, I don't understand what makes the 'supplied-to' >>> properties you list in the device tree

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

2012-09-14 Thread Vinod Koul
On Fri, 2012-09-14 at 10:41 +0100, Russell King - ARM Linux wrote: > On Fri, Sep 14, 2012 at 03:03:09PM +0530, Vinod Koul wrote: > > +/*called under lock held */ > > +static struct dma_chan *dmaengine_get_slave_channel(char *requestor, > > dma_cap_mask_t *mask) > > +{ > > + > > + struct dma_devi

[PATCH] ARM: ux500: 8500: use hsit_a_2 group for HSI

2012-09-14 Thread Linus Walleij
From: Patrice Chotard Due to specific constraint, pin HSIT_ACWAKE0_a is not driven by HSI block but as a GPIO. Cc: a...@kernel.org Signed-off-by: Patrice Chotard Signed-off-by: Linus Walleij --- ARM SoC maintainers - I'll take this fixup through the pinctrl tree if you don't mind. --- arch/ar

Re: [PATCH RESEND] memory hotplug: fix a double register section info bug

2012-09-14 Thread Yasuaki Ishimatsu
HiXishi, 2012/09/14 12:43, qiuxishi wrote: There may be a bug when registering section info. For example, on my Itanium platform, the pfn range of node0 includes the other nodes, so other nodes' section info will be double registered, and memmap's page count will equal to 3. node0: start_pfn=0x

[patch] [SCSI] cleanup some calls to strncmp()

2012-09-14 Thread Dan Carpenter
The main motivation for this patch is that for the first strncmp() we do 'strncmp(src, "-", 20)' but "src" is a 15 character buffer not 20. Also since we know that "-" is only two characters, the compare isn't going to go further than 2 characters into src before deciding that it doesn't match. T

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread OGAWA Hirofumi
OGAWA Hirofumi writes: > Fengguang Wu writes: > >> On Wed, Sep 12, 2012 at 03:28:42AM +0900, OGAWA Hirofumi wrote: >>> >>> If bdi has BDI_CAP_NO_WRITEBACK, bdi_forker_thread() doesn't start >>> writeback thread. This means there is no consumer of work item made >>> by bdi_queue_work(). >>> >>>

[PATCH v4 02/24] xen/arm: hypercalls

2012-09-14 Thread Stefano Stabellini
Use r12 to pass the hypercall number to the hypervisor. We need a register to pass the hypercall number because we might not know it at compile time and HVC only takes an immediate argument. Among the available registers r12 seems to be the best choice because it is defined as "intra-procedure ca

[PATCH v4 10/24] xen/arm: compile and run xenbus

2012-09-14 Thread Stefano Stabellini
bind_evtchn_to_irqhandler can legitimately return 0 (irq 0): it is not an error. If Linux is running as an HVM domain and is running as Dom0, use xenstored_local_init to initialize the xenstore page and event channel. Changes in v4: - do not xs_reset_watches on dom0. Changes in v2: - refacto

[PATCH v4 06/24] docs: Xen ARM DT bindings

2012-09-14 Thread Stefano Stabellini
Add a doc to describe the Xen ARM device tree bindings Changes in v4: - "xen,xen" should be last as it is less specific; - update reg property using 2 address-cells and 2 size-cells. Signed-off-by: Stefano Stabellini CC: devicetree-disc...@lists.ozlabs.org CC: David Vrabel CC: Rob Herring C

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-14 Thread Fengguang Wu
> >> @@ -120,6 +120,9 @@ __bdi_start_writeback(struct backing_dev > >> { > >>struct wb_writeback_work *work; > >> > >> + if (!bdi_cap_writeback_dirty(bdi)) > >> + return; > > > > Will someone in the current kernel actually call > > __bdi_start_writeback() on a BDI_CAP_NO_WRITEBACK

[PATCH v4 01/24] arm: initial Xen support

2012-09-14 Thread Stefano Stabellini
- Basic hypervisor.h and interface.h definitions. - Skeleton enlighten.c, set xen_start_info to an empty struct. - Make xen_initial_domain dependent on the SIF_PRIVILIGED_BIT. The new code only compiles when CONFIG_XEN is set, that is going to be added to arch/arm/Kconfig in patch #11 "xen/arm: in

[PATCH v4 03/24] xen/arm: page.h definitions

2012-09-14 Thread Stefano Stabellini
ARM Xen guests always use paging in hardware, like PV on HVM guests in the X86 world. Changes in v3: - improve comments. Signed-off-by: Stefano Stabellini Acked-by: Konrad Rzeszutek Wilk --- arch/arm/include/asm/xen/page.h | 82 +++ 1 files changed, 82 in

  1   2   3   4   5   6   >