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

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

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

[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

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

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:

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

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

[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

[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

[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

[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

[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

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

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

[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

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.

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

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

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

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

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

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/

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

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 >

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

[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

[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

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

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

[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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

[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

[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 (...) +

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

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

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

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

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,

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

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

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

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

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

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

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.

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

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:

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:

[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

[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

[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

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

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

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

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

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

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

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

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

[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

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

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

[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

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

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

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

2012-09-14 Thread Rene Buergel
> Also, why move it? Are there other modules that need to use it? Fullquote from Aug, 24: > > > > - Although i removed the dependency from ezusb to usb_serial, > > > > ezusb.c still resides in drivers/usb/serial. > > > > Can you give me a hint, where to put it instead? > > > > I would like

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

2012-09-14 Thread Rene Buergel
> 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. > Also, why move it? Are there other modules that need to use it? > >

[patch v2] gcov: add a kfree() on error to new_node()

2012-09-14 Thread Dan Carpenter
We should free "node->loaded_info" on this error path. We'd never care in real life but it makes the static checkers happy. Signed-off-by: Dan Carpenter --- v2: some style changes. diff --git a/kernel/gcov/fs.c b/kernel/gcov/fs.c index 9bd0934..7ba47f7 100644 --- a/kernel/gcov/fs.c +++

Re: [PATCH 1/2] mm: refactor out __alloc_contig_migrate_alloc

2012-09-14 Thread Wen Congyang
At 09/12/2012 09:43 AM, Minchan Kim Wrote: > __alloc_contig_migrate_alloc can be used by memory-hotplug so > refactor out(move + rename as a common name) it into > page_isolation.c. > > Cc: Kamezawa Hiroyuki > Cc: Yasuaki Ishimatsu > Cc: Michal Nazarewicz > Cc: Marek Szyprowski > Cc: Wen

Re: [PATCH 1/3] Add a core driver for SI476x MFD

2012-09-14 Thread Hans Verkuil
Hi Andrey! Thanks for posting this driver. One request for the future: please split this patch up in smaller pieces: one for each c source for example. That makes it easier to review. On Fri September 14 2012 00:40:11 Andrey Smirnov wrote: > This patch adds a core driver for Silicon Laboratories

linux-next: manual merge of the dma-mapping tree with the libata tree

2012-09-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in arch/arm/boot/dts/highbank.dts between commit 8996b89d6bc9 ("ata: add platform driver for Calxeda AHCI controller") from the libata tree and commit 33e4628cc333 ("ARM: highbank: add coherent DMA setup") from the

linux-next: manual merge of the dma-mapping tree with the libata tree

2012-09-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in Documentation/devicetree/bindings/ata/ahci-platform.txt between commit 8996b89d6bc9 ("ata: add platform driver for Calxeda AHCI controller") from the tree and commit 33e4628cc333 ("ARM: highbank: add coherent DMA setup")

Re: [PATCH 1/1] leds: Add new LED driver for lm3642 chips

2012-09-14 Thread Bryan Wu
On Wed, Sep 12, 2012 at 8:05 PM, G.Shark Jeong wrote: > From: "G.Shark Jeong" > > This driver is a general version for LM642 led chip of TI. > > LM3642 : > The LM3642 is a 4MHz fixed-frequency synchronous boost > converter plus 1.5A constant current driver for a high-current > white LED. > The

Re: memory-hotplug : possible circular locking dependency detected

2012-09-14 Thread Yasuaki Ishimatsu
Hi Wen, 2012/09/14 15:02, Wen Congyang wrote: > At 09/13/2012 02:19 PM, Yasuaki Ishimatsu Wrote: >> When I offline a memory on linux-3.6-rc5, "possible circular >> locking dependency detected" messages are shown. >> Are the messages known problem? > > It is a known problem, but it doesn't cause

[tip:core/locking] locking: Adjust spin lock inlining Kconfig options

2012-09-14 Thread tip-bot for Jan Beulich
Commit-ID: 4fe84fb8c6b5081f7364af63aee8e118a665b966 Gitweb: http://git.kernel.org/tip/4fe84fb8c6b5081f7364af63aee8e118a665b966 Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 13:01:16 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:56:13 +0200 locking: Adjust spin lock

[tip:x86/build] x86/Kconfig: Clean up Kconfig defaults

2012-09-14 Thread tip-bot for Jan Beulich
Commit-ID: 3120e25efdc0834c88e1c0f8394e2087444f8c19 Gitweb: http://git.kernel.org/tip/3120e25efdc0834c88e1c0f8394e2087444f8c19 Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 12:41:45 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:45:33 +0200 x86/Kconfig: Clean up

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

2012-09-14 Thread tip-bot for Jan Beulich
Commit-ID: 5870661c091e827973674cc3469b50c959008c2b Gitweb: http://git.kernel.org/tip/5870661c091e827973674cc3469b50c959008c2b Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 12:24:43 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:44:01 +0200 x86: Prefer TZCNT over BFS

[tip:x86/asm] x86/64: Adjust types of temporaries used by ffs()/ fls()/fls64()

2012-09-14 Thread tip-bot for Jan Beulich
Commit-ID: 1edfbb4153bd29bcf8d2236676238d5237972be1 Gitweb: http://git.kernel.org/tip/1edfbb4153bd29bcf8d2236676238d5237972be1 Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 12:04:16 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:43:58 +0200 x86/64: Adjust types of

[tip:timers/urgent] time: Fix timeekeping_get_ns overflow on 32bit systems

2012-09-14 Thread tip-bot for John Stultz
Commit-ID: ec145babe754f9ea1079034a108104b6001e001c Gitweb: http://git.kernel.org/tip/ec145babe754f9ea1079034a108104b6001e001c Author: John Stultz AuthorDate: Tue, 11 Sep 2012 19:26:03 -0400 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:39:14 +0200 time: Fix

<    1   2   3   4   5   6   7   8   9   10   >