Re: [PATCH 3/6] ARM: sa1100: include asm/io.h in hackkit leds code

2012-08-08 Thread Russell King - ARM Linux
On Wed, Aug 08, 2012 at 02:54:50PM +0200, Arnd Bergmann wrote: > The sa1100 definition of the io_p2v macro has changed in v3.6, and this one > file stopped working because of that. > > Without this patch, building hackkit_defconfig results in: > > arch/arm/mach-sa1100/leds-hackkit.c: In function

Re: [PATCH 01/22] ARM: add mechanism for late code patching

2012-08-08 Thread Russell King - ARM Linux
On Wed, Aug 08, 2012 at 09:55:12AM -0400, Nicolas Pitre wrote: > On Wed, 8 Aug 2012, Cyril Chemparathy wrote: > > Neat macro magic. Are you thinking that we build this in as a self test in > > the code? > > For such things, this is never a bad idea to have some test alongside > with the main cod

Re: [PATCH 09/10] ARM: rpc: Fix building RiscPC

2012-08-09 Thread Russell King - ARM Linux
On Wed, Aug 08, 2012 at 11:27:57PM +0200, Arnd Bergmann wrote: > ARMv3 support was removed in 357c9c1f07 "ARM: Remove support for ARMv3 > ARM610 and ARM710 CPUs", which explicitly left parts of the CPU32v3 > support in place for building RiscPC. However, this does not actually > build in my test se

Re: [PATCH 04/10] ARM: pass -marm to gcc by default

2012-08-09 Thread Russell King - ARM Linux
On Thu, Aug 09, 2012 at 05:12:58PM -0400, Nicolas Pitre wrote: > CFLAGS_THUMB2 should probably be renamed to something more appropriate > in this case, e.g. CFLAGS_MODE. CFLAGS_ISA would be more relevant to it, because it's selecting the instruction set. -- To unsubscribe from this list: send the

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-08-10 Thread Russell King - ARM Linux
On Fri, Aug 10, 2012 at 10:41:58AM +0200, Linus Walleij wrote: > On Fri, Aug 10, 2012 at 10:35 AM, Thierry Reding > wrote: > >> Consult the following article on LWN: > >> http://lwn.net/Articles/470820/ > >> > >> Then grep your gitlog and you'll see we got rid of it from ARM. > > > > Then why is t

Re: [UPDATED v2][PATCH 0/6] regulator: voltage and current regulator framework

2008-02-21 Thread Russell King - ARM Linux
On Wed, Feb 20, 2008 at 05:08:46PM +, Liam Girdwood wrote: > This patch series provides a generic framework to allow device drivers > to control voltage and current regulators on SoC based devices (e.g. > phones, gps, media players). Note that I'm explicitly avoiding commenting on this as far

Re: [PATCH 09/10] ARM: rpc: Fix building RiscPC

2012-08-13 Thread Russell King - ARM Linux
On Fri, Aug 10, 2012 at 11:03:58AM +, Arnd Bergmann wrote: > On Thursday 09 August 2012, Russell King - ARM Linux wrote: > > On Wed, Aug 08, 2012 at 11:27:57PM +0200, Arnd Bergmann wrote: > > > ARMv3 support was removed in 357c9c1f07 "ARM: Remove support for ARMv3 >

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

2012-08-16 Thread Russell King - ARM Linux
On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote: > This patch fixes the following when compiling a driver module that uses > amba-pl08x: > > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_slc.ko] undefined! > ERROR: "pl08x_filter_id" [drivers/mtd/nand/lpc32xx_mlc.ko] undefined! >

Re: [PATCH/HP7XX] - Add combined LCD / BL driver for platform HP Jornada 7xx handhelds

2008-02-06 Thread Russell King - ARM Linux
On Wed, Feb 06, 2008 at 05:33:41PM +0100, Kristoffer Ericson wrote: > Oki, here is attempt #2 (btw, new mail or just keep thread?) Probably better to keep the thread. More comments 8) > +struct jornada_bllcd_device { > + struct backlight_device *jorn_backlight_device; > + struct lcd_devi

Re: [PATCH/HP7XX] - Add combined LCD / BL driver for platform HP Jornada 7xx handhelds

2008-02-06 Thread Russell King - ARM Linux
On Wed, Feb 06, 2008 at 08:21:28PM +0100, Kristoffer Ericson wrote: > Oh, and thanks for all the feedback people! (and for doing it nicely) I'm afraid you missed one - and there's a better fix for one of the other points I made... 8) > +static int jornada_bl_probe(struct platform_device *pdev) >

Re: [PATCH/HP7XX] - Add combined LCD / BL driver for platform HP Jornada 7xx handhelds

2008-02-06 Thread Russell King - ARM Linux
On Wed, Feb 06, 2008 at 08:43:40PM +0100, Kristoffer Ericson wrote: > ATTEMPT #4. > --- > Fixed issues as suggested by Russell below. Great, I'm happy now. > Doh, right. Do you use a different checkpatch? I mean it doesn't react on > that for me. No, all of the comments I've given were

Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

2008-02-07 Thread Russell King - ARM Linux
On Thu, Feb 07, 2008 at 01:38:05PM +0100, Hans-Jürgen Koch wrote: > From: Hans J Koch <[EMAIL PROTECTED]> > To: linux-kernel@vger.kernel.org > Cc: [EMAIL PROTECTED] > Cc: Greg KH <[EMAIL PROTECTED]> > Subject: arch/arm/Kconfig: Make UIO available on ARM architecture > > Source drivers/uio/Kconfig

Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

2008-02-07 Thread Russell King - ARM Linux
On Thu, Feb 07, 2008 at 07:58:24AM -0500, Christoph Hellwig wrote: > On Thu, Feb 07, 2008 at 01:38:05PM +0100, Hans-J??rgen Koch wrote: > > From: Hans J Koch <[EMAIL PROTECTED]> > > To: linux-kernel@vger.kernel.org > > Cc: [EMAIL PROTECTED] > > Cc: Greg KH <[EMAIL PROTECTED]> > > Subject: arch/arm/

Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

2008-02-07 Thread Russell King - ARM Linux
On Thu, Feb 07, 2008 at 09:23:29PM +0100, Sam Ravnborg wrote: > +# if PCMCIA is selected then we need IDE > +config ARM_PCMCIA > + depends on PCMCIA Shouldn't this be: def_bool PCMCIA ? > + select HAVE_IDE Also, should this be something ARM specific - if you have PCMCIA you cou

Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

2008-02-07 Thread Russell King - ARM Linux
On Thu, Feb 07, 2008 at 04:09:34PM +0100, Marcin Juszkiewicz wrote: > Dnia Thursday, 7 of February 2008, Sam Ravnborg napisał: > > On Thu, Feb 07, 2008 at 07:58:24AM -0500, Christoph Hellwig wrote: > > > > Any chance to make arm finally use drivers/Kconfig? It's a bit silly > > > that arm still i

Re: [RFC] Introduce HAVE_IDE to support flexible IDE per arch configuration

2008-02-07 Thread Russell King - ARM Linux
On Thu, Feb 07, 2008 at 10:42:56PM +0100, Sam Ravnborg wrote: > Following patch introduce HAVE_IDE to support flexible per > arch or even per. sub-arch configuration of IDE support. > This patch is needed to allow arm to use the generic > drivers/Kconfig file. > > Introducing HAVE_IDE so each arch

Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

2008-02-08 Thread Russell King - ARM Linux
On Fri, Feb 08, 2008 at 10:18:31AM +, David Woodhouse wrote: > But still, it's HAVE_UNALIGNED_ACCESS which we want to depend on, not a > newly-invented HAVE_MTD. And there are other places we really ought to > be depending on HAVE_UNALIGNED_ACCESS too. That would be misleading though - !CPU_CP

Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

2008-02-08 Thread Russell King - ARM Linux
On Fri, Feb 08, 2008 at 10:43:42AM +, David Woodhouse wrote: > On Fri, 2008-02-08 at 10:23 +0000, Russell King - ARM Linux wrote: > > That would be misleading though - !CPU_CP15_MMU does not mean we > > support unaligned accesses. It means that we may have no way to > &

Re: [PATCH] arch/arm/Kconfig: Make UIO available on ARM architecture

2008-02-08 Thread Russell King - ARM Linux
On Fri, Feb 08, 2008 at 09:04:13AM +, David Woodhouse wrote: > On Thu, 2008-02-07 at 21:23 +0100, Sam Ravnborg wrote: > > Both situations are trivially fixable by introducing > > HAVE_IDE and HAVE_MTD. > > See attached patch. > > HAVE_MTD is wrong. If we are serious about allowing ARM to use

Re: [PATCH 1/3] dmaengine: add TI EDMA DMA engine driver

2012-08-16 Thread Russell King - ARM Linux
On Thu, Aug 16, 2012 at 05:44:29PM -0400, Matt Porter wrote: > Add a DMA engine driver for the TI EDMA controller. This driver > is implemented as a wrapper around the existing DaVinci private > DMA implementation. This approach allows for incremental conversion > of each peripheral driver to the D

Re: [PATCH] BUG: clk_find() misses some clocks

2012-08-17 Thread Russell King - ARM Linux
Please read the comments on the function: * Find the correct struct clk for the device and connection ID. * We do slightly fuzzy matching here: * An entry with a NULL ID is assumed to be a wildcard. * If an entry has a device ID, it must match * If an entry has a connection ID, it must mat

Re: [PATCH] BUG: clk_find() misses some clocks

2012-08-17 Thread Russell King - ARM Linux
On Fri, Aug 17, 2012 at 12:23:06PM +0200, Richard Genoud wrote: > Ok, so I have to declare it like that : > CLKDEV_CON_DEV_ID(NULL, "f400.gpio", &pioAB_clk) Yes, because the wildcarding is in the clkdev tables, not in the driver. If you think about what's going on, that's the way it has to be.

[BUG] Deferred probing in driver model is racy, resulting in lost probes

2012-08-18 Thread Russell King - ARM Linux
Okay, so EPROBE_DEFER seems to work when I build everything into the kernel, but when I build a pile of ASoC drivers as modules, it fails every time I've tried booting the platform so far. This is a v3.5 based kernel, with preempt enabled. Okay, what I have is a bunch of devices already pre-regis

Re: [PATCHv6 2/2] ARM: dma-mapping: remove custom consistent dma region

2012-08-21 Thread Russell King - ARM Linux
On Tue, Aug 21, 2012 at 02:22:35PM +0300, Hiroshi Doyu wrote: > The following "__get_vm_area_node()" can take gfp_mask, it means that > this function is expected to be called from atomic context, but why > it's _NOT_ allowed _ONLY_ from interrupt context? One reason is it takes read/write locks wi

Re: Compilation problem with drivers/staging/zsmalloc when !SMP on ARM

2013-01-21 Thread Russell King - ARM Linux
On Fri, Jan 18, 2013 at 11:37:25PM -0500, Konrad Rzeszutek Wilk wrote: > On Fri, Jan 18, 2013 at 01:45:27PM -0800, Greg Kroah-Hartman wrote: > > On Fri, Jan 18, 2013 at 09:08:59PM +, Russell King - ARM Linux wrote: > > > On Fri, Jan 18, 2013 at 02:24:15PM -0600,

Re: [PATCH v2 06/10] spi/pxa2xx: add support for DMA engine

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 11:31:59AM +0200, Mika Westerberg wrote: > +bool dma_is_possible(size_t len) > +int map_dma_buffers(struct driver_data *drv_data) > +irqreturn_t dma_transfer(struct driver_data *drv_data) > +int dma_prepare(struct driver_data *drv_data, u32 dma_burst) > +void dma_start(struc

Re: [PATCH 02/33] ARM: Convert to devm_ioremap_resource()

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 11:08:55AM +0100, Thierry Reding wrote: > Convert all uses of devm_request_and_ioremap() to the newly introduced > devm_ioremap_resource() which provides more consistent error handling. Does this include the resource part of the handling too? -- To unsubscribe from this lis

Re: [PATCH v9 05/22] mfd: omap-usb-tll: Clean up clock handling

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 01:04:46PM +0200, Roger Quadros wrote: > Every channel has a functional clock that is similarly named. > It makes sense to use a for loop to manage these clocks as OMAPs > can come with up to 3 channels. > > Dynamically allocate and get channel clocks depending on the > num

Re: [PATCH 02/33] ARM: Convert to devm_ioremap_resource()

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 05:05:47PM +0100, Thierry Reding wrote: > On Mon, Jan 21, 2013 at 03:58:46PM +0000, Russell King - ARM Linux wrote: > > On Mon, Jan 21, 2013 at 11:08:55AM +0100, Thierry Reding wrote: > > > Convert all uses of devm_request_and_ioremap() to th

Re: Compilation problem with drivers/staging/zsmalloc when !SMP on ARM

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 10:20:38AM -0600, Matt Sealey wrote: > See previous mail to Minchan; local_tlb_flush_kernel_range calls > cpu_tlb.flush_kernel_range on SMP, but a direct function call > ("glue(_TLB, flush_kernel_range)" which resolves to > v7wbi_flush_kernel_range etc. etc.) without CONFIG_

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 08:41:17PM +, Arnd Bergmann wrote: > On Monday 21 January 2013, Matt Sealey wrote: > > > > ARM seems to be the only "major" platform not using the > > kernel/Kconfig.hz definitions, instead rolling it's own and setting > > what could be described as both reasonable and

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 01:00:15PM -0800, John Stultz wrote: > So if you can not get actual timer ticks any faster then 200 HZ on that > hardware, setting HZ higher could cause some jiffies related timer > trouble Err, no John. It's the other way around - especially on some platforms which ar

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 02:18:20PM -0800, John Stultz wrote: > So we used to have the ACTHZ code to handle error from the HZ rate > requested and the HZ rate possible given the underlying hardware. That's > been moved to the register_refined_jiffies(), but do you have a sense if > there a rea

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 10:30:07PM +, Arnd Bergmann wrote: > On Monday 21 January 2013, Matt Sealey wrote: > > So is that a bug in that it is not available to ARM right now, a bug > > in that it would be impossible for anyone on ARM to have ever tested > > this code, or a bug in that it should

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 04:20:14PM -0600, Matt Sealey wrote: > I am sorry it sounded if I was being high and mighty about not being > able to select my own HZ (or being forced by Exynos to be 200 or by > not being able to test an Exynos board, forced to default to 100). My > real "grievance" here i

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 02:36:13PM -0800, John Stultz wrote: > Well, Russell brought up a case that doesn't handle this. If a system > *can't* do HZ=100, but can do HZ=200. > > Though there are hacks, of course, that might get around this (skip > every other interrupt at 200HZ). Note: in the e

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 04:54:31PM -0600, Matt Sealey wrote: > Hmm, I think it might be appreciated for people looking at this stuff > (same as I stumbled into it) for a little comment on WHY the default > is 200. That way you don't wonder even if you know why EBSA110 has a > HZ=200 default, why Ex

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 05:23:33PM -0600, Matt Sealey wrote: > On Mon, Jan 21, 2013 at 4:42 PM, Russell King - ARM Linux > wrote: > > On Mon, Jan 21, 2013 at 04:20:14PM -0600, Matt Sealey wrote: > >> I am sorry it sounded if I was being high and mighty about not being >

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 05:30:31PM -0600, Matt Sealey wrote: > But it would effectively stop users drinking kool-aid.. if you set > your HZ to something stupid, you don't even get a kernel to build, and > certainly don't get to boot past the first 40 lines of boot messages.. > I think most people w

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-21 Thread Russell King - ARM Linux
On Mon, Jan 21, 2013 at 07:06:59PM -0600, Matt Sealey wrote: > On Mon, Jan 21, 2013 at 6:51 PM, John Stultz wrote: > > On 01/21/2013 02:54 PM, Matt Sealey wrote: > >> > >> On Mon, Jan 21, 2013 at 4:36 PM, John Stultz > >> wrote: > >>> > >>> On 01/21/2013 01:14 PM, Matt Sealey wrote: > > > > As fa

Re: One of these things (CONFIG_HZ) is not like the others..

2013-01-22 Thread Russell King - ARM Linux
On Tue, Jan 22, 2013 at 03:44:03PM +0530, Santosh Shilimkar wrote: > Sorry for not being clear enough. On OMAP, 32KHz is the only clock which > is always running(even during low power states) and hence the clock > source and clock event have been clocked using 32KHz clock. As mentioned > by RMK, wi

Re: [PATCH] clk: Add axi-clkgen driver

2013-01-23 Thread Russell King - ARM Linux
On Wed, Jan 23, 2013 at 11:00:56AM +0100, Lars-Peter Clausen wrote: > I think I read somewhere at some point that ioread{8,16,32} is preferred > over write{b,h,l} in new code. But... there's *no* point using ioread*() if you don't only use the ioremap() interface. ioread*() is there to allow PC I

Re: [PATCH] clk: Add axi-clkgen driver

2013-01-23 Thread Russell King - ARM Linux
On Wed, Jan 23, 2013 at 11:49:16AM +0100, Lars-Peter Clausen wrote: > On 01/23/2013 11:27 AM, Russell King - ARM Linux wrote: > > On Wed, Jan 23, 2013 at 11:00:56AM +0100, Lars-Peter Clausen wrote: > >> I think I read somewhere at some point that ioread{8,16,32} is preferred >

[PATCH] Remove obsolete email address for Zwane Mwaikambo

2013-02-13 Thread Russell King - ARM Linux
Zwane's arm.linux.org.uk email address has not been functional for a number of years now. It's time that all references to it were removed. I no longer have a forwarding address for Zwane, as I had assumed that my repeated requests over a number of years to Zwane to avoid use of this address had

Re: [PATCH v2 3/4] mtd: devices: elm: Low power transition support

2013-02-13 Thread Russell King - ARM Linux
On Wed, Feb 13, 2013 at 11:42:01AM +, Philip, Avinash wrote: > On Sat, Feb 09, 2013 at 15:52:44, Russell King - ARM Linux wrote: > > On Thu, Feb 07, 2013 at 06:06:57PM +0530, Philip Avinash wrote: > > > +static int elm_suspend(struct device *dev) > > > +{ &g

Re: [PATCH v2 00/13] drivers: mailbox: framework creation

2013-02-13 Thread Russell King - ARM Linux
On Wed, Feb 13, 2013 at 02:36:32PM +0100, Linus Walleij wrote: > On Tue, Feb 12, 2013 at 5:56 AM, Suman Anna wrote: > > > I have hosted the series at [3]. > > [3] https://github.com/sumananna/mailbox/commits/dbx500-prcmu-mailbox > > Suman, I suggest you ask Stepgen Rothwell to include this > bra

Re: [PATCH] driver core: add wait event for deferred probe

2013-02-14 Thread Russell King - ARM Linux
On Thu, Feb 14, 2013 at 09:56:36AM +, Arnd Bergmann wrote: > I would put it this way: With the introduction of deferred probing, the > rules for the use of __init sections have changed slightly for some > corner cases. While normal device drivers can, as before, not call > __init functions from

Re: [PATCH] ARM: net: bpf_jit: fix emit_swap16() for non ARMv6+.

2013-02-14 Thread Russell King - ARM Linux
On Thu, Feb 14, 2013 at 02:40:09PM +0100, Nicolas Schichan wrote: > On 02/13/2013 10:32 PM, Mircea Gherzan wrote: > [...] >> Acked-by: Mircea Gherzan > > Hi, > > Thanks Mircea. Russel, David, do you have any preference as to which path > this patch should take (net tree or ARM tree) ? I'm happy

Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error

2013-02-15 Thread Russell King - ARM Linux
On Thu, Feb 14, 2013 at 11:47:50PM +0100, Arnd Bergmann wrote: > Patch c08e20d24 "arm: Add v7_invalidate_l1 to cache-v7.S" > moves the v7_invalidate_l1 symbol out of imx/headsmp.S, > which seems to cause a link error because it is now > too far away from v7_cpu_resume when building an > allyesconfi

Re: [PATCH 8/9] [HACK] ARM: imx: work around v7_cpu_resume link error

2013-02-15 Thread Russell King - ARM Linux
On Fri, Feb 15, 2013 at 11:05:14AM +, Arnd Bergmann wrote: > $ size obj-tmp/vmlinux -A > obj-tmp/vmlinux : > section size addr > .head.text504 3221258240 > .text32707336 3221258752 > .text.head 8 3253966088 Inter

Re: [PATCH 2/4] dmaengine: dw_dmac: move to generic DMA binding

2013-02-16 Thread Russell King - ARM Linux
On Sat, Feb 16, 2013 at 10:07:39AM +, Arnd Bergmann wrote: > On Saturday 16 February 2013, Viresh Kumar wrote: > > On 15 February 2013 23:51, Arnd Bergmann wrote: > > > +static bool dw_dma_generic_filter(struct dma_chan *chan, void *param) > > > { > > > > > + dws->cfg_hi = 0xff

Re: [PATCH v6 3/3] ARM: mm: use static_vm for managing static mapped areas

2013-02-16 Thread Russell King - ARM Linux
On Sat, Feb 16, 2013 at 12:49:08PM +, Arnd Bergmann wrote: > 8<- > ARM: mm: remove unused variables in pci_reserve_io > > Patch "ARM: 7646/1: mm: use static_vm for managing static mapped areas" > removed code from pci_reserve_io but left variable declarations > in place that are now unused

Re: [PATCH 02/11] ARM: samsung: fix assembly syntax for new gas

2013-02-16 Thread Russell King - ARM Linux
On Thu, Feb 14, 2013 at 02:49:18PM +0100, Arnd Bergmann wrote: > Recent assembler versions complain about extraneous > whitespace inside [] brackets. This fixes all of > these instances for the samsung platforms. We should > backport this to all kernels that might need to > be built with new binuti

Re: [PATCH 2/2] of: use platform_device_add

2013-02-17 Thread Russell King - ARM Linux
On Sun, Feb 17, 2013 at 03:43:20PM +0800, Shawn Guo wrote: > It also breaks all of_amba_device users. > > of_amba_device_create() --> amba_device_add() --> request_resource() > and fails. Presumably that's because we no longer know what the parent resource is supposed to be? -- To unsubscribe fro

Re: DEBUG_STACKOVERFLOW issue on ARM

2012-10-11 Thread Russell King - ARM Linux
On Thu, Oct 11, 2012 at 01:09:46PM +0530, vaibhav shinde wrote: > Hi Russel, > > On Fri, Oct 5, 2012 at 2:01 PM, Russell King - ARM Linux > wrote: > > > > On Wed, Oct 03, 2012 at 05:18:56PM +0530, trisha yad wrote: > > > I wish to know how can I support this

Re: [PATCH v2 5/8] clk: don't mark clkdev_add_table as init

2012-10-12 Thread Russell King - ARM Linux
On Tue, Oct 09, 2012 at 10:13:55PM +0200, Arnd Bergmann wrote: > s3c2440_clk_add is a subsys_interface method and calls clkdev_add_table, > which means we might be calling it after the __init section is > discarded. > > Without this patch, building mini2440_defconfig results in: > > WARNING: vmli

Re: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-10-12 Thread Russell King - ARM Linux
On Fri, Oct 12, 2012 at 02:45:42PM +0100, Lee Jones wrote: > That's odd. I get: > > root@ME:/ cat sys/boottime/bootloader > 0 > > root@ME:/ cat sys/boottime/kernel > 4276 > > root@ME:/ cat /sys/kernel/debug/boottime/summary > kernel: 4276 msecs > total: 4276 msecs > > root@ME:/ cat /sys/kern

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-10-12 Thread Russell King - ARM Linux
On Fri, Oct 12, 2012 at 09:35:54AM -0700, Kevin Hilman wrote: > Sourav writes: > > diff --git a/drivers/tty/serial/omap-serial.c > > b/drivers/tty/serial/omap-serial.c > > index 6ede6fd..3fbc7f7 100644 > > --- a/drivers/tty/serial/omap-serial.c > > +++ b/drivers/tty/serial/omap-serial.c > > @@ -14

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-10-12 Thread Russell King - ARM Linux
On Fri, Oct 12, 2012 at 05:29:55PM +, Poddar, Sourav wrote: > Hi Russell, > > From: Russell King - ARM Linux [li...@arm.linux.org.uk] > Sent: Friday, October 12, 2012 10:12 PM > To: Kevin Hilman > Cc: Poddar, Sourav; Paul Walmsley;

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-10-12 Thread Russell King - ARM Linux
On Fri, Oct 12, 2012 at 10:59:22AM -0700, Kevin Hilman wrote: > Russell King - ARM Linux writes: > > > On Fri, Oct 12, 2012 at 09:35:54AM -0700, Kevin Hilman wrote: > >> Sourav writes: > >> > diff --git a/drivers/tty/serial/omap-serial.c > >> > b/

Re: [git pull] signals pile 3

2012-10-14 Thread Russell King - ARM Linux
On Sun, Oct 14, 2012 at 05:35:23PM +0200, Daniel Mack wrote: > I rebased my ARM development branch and figured that your patch 9fff2fa > ("arm: switch to saner kernel_execve() semantics") breaks the boot on my > board right after init is invoked via NFS: Ok, I'm not going to assign blame to Al's c

Re: [git pull] signals pile 3

2012-10-14 Thread Russell King - ARM Linux
Okay, here's the post-mortem diagnosis. What's happening is as follows (I'm very certain of this.) We come through the usual init, and issue (see init/main.c): kernel_thread(kernel_init, NULL, CLONE_FS | CLONE_SIGHAND); This creates a new thread, which falls through to the ret_from_fork

Re: [git pull] signals pile 3

2012-10-14 Thread Russell King - ARM Linux
On Mon, Oct 15, 2012 at 12:39:40AM +0200, Daniel Mack wrote: > Tested-by: Daniel Mack > > Many thanks for the very prompt response! Thanks Daniel. I've also tested this on my OMAP4430 board running in ARM mode, so that still works - we've covered the possibilities between us here between ARM mo

Re: [Linaro-mm-sig] [RFC 0/2] DMA-mapping & IOMMU - physically contiguous allocations

2012-10-16 Thread Russell King - ARM Linux
On Tue, Oct 16, 2012 at 09:04:34AM +0300, Hiroshi Doyu wrote: > In addition to those contiguous/discontiguous page allocation, is > there any way to _import_ anonymous pages allocated by a process to be > used in dma-mapping API later? > > I'm considering the following scenario, an user process al

Re: [Linaro-mm-sig] [RFC 0/2] DMA-mapping & IOMMU - physically contiguous allocations

2012-10-16 Thread Russell King - ARM Linux
On Tue, Oct 16, 2012 at 07:12:49PM +0900, Inki Dae wrote: > Hi Hiroshi, > > I'm not sure I understand what you mean but we had already tried this > way and for this, you can refer to below link, > > http://www.mail-archive.com/dri-devel@lists.freedesktop.org/msg22555.html > > but

Re: [Linaro-mm-sig] [RFC 0/2] DMA-mapping & IOMMU - physically contiguous allocations

2012-10-16 Thread Russell King - ARM Linux
On Tue, Oct 16, 2012 at 12:27:55PM +0200, Hiroshi Doyu wrote: > Hi Russell, > > Russell King - ARM Linux wrote @ Tue, 16 Oct 2012 > 10:59:28 +0200: > > > On Tue, Oct 16, 2012 at 09:04:34AM +0300, Hiroshi Doyu wrote: > > > In addition to those contiguous/dis

Re: [git pull] signals pile 3

2012-10-16 Thread Russell King - ARM Linux
On Tue, Oct 16, 2012 at 04:04:14PM +0200, Uwe Kleine-König wrote: > I used: > movne r0, r4 > - movne lr, pc > - movne pc, r5 > + blxne r5 > get_thread_info tsk > > but I assume Russell's patch is better. (Probably because blx doesn't > exist everywhere?!) Correct.

Re: [PATCH] genirq: provide means to retrigger parent

2012-10-16 Thread Russell King - ARM Linux
On Tue, Oct 16, 2012 at 03:07:49PM -0700, Kevin Hilman wrote: > From: Thomas Gleixner > > Attempts to retrigger nested threaded IRQs currently fail because they > have no primary handler. In order to support retrigger of nested > IRQs, the parent IRQ needs to be retriggered. > > To fix, when an

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Russell King - ARM Linux
On Wed, Nov 21, 2012 at 07:24:07PM -0800, Mike Turquette wrote: > Looks right to me. Just need to remove the select from IMX as well. Then you don't understand HAVE_CLK_PREPARE. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Russell King - ARM Linux
On Wed, Nov 21, 2012 at 12:54:24PM -0800, Dmitry Torokhov wrote: > On Wed, Nov 21, 2012 at 12:43:24PM -0800, Mike Turquette wrote: > > Quoting Viresh Kumar (2012-11-20 02:13:55) > > > On 20 November 2012 14:52, Dmitry Torokhov > > > wrote: > > > > We'll need to invoke clk_unprepare() via a pointe

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Russell King - ARM Linux
On Thu, Nov 22, 2012 at 09:30:33AM +, Russell King - ARM Linux wrote: > On Wed, Nov 21, 2012 at 06:17:50PM -0800, Dmitry Torokhov wrote: > > > You've checked non-ARM architectures too? > > > > Yes: > > > > [dtor@dtor-d630 linux-next]$ grep -r

Re: [PATCH 1/1] ARM: cache-l2x0: Fix compile time warnings when !CONFIG_OF

2012-11-22 Thread Russell King - ARM Linux
I assume you're working with an old kernel... this has already been fixed. On Thu, Nov 22, 2012 at 12:07:47PM +, Lee Jones wrote: > Introduced by: > 07bd005ed2457876f653fda12981708d737543df > ARM: 7547/1: cache-l2x0: add support for Aurora L2 cache ctrl > > arch/arm/mm/cache-l2x0.c:37:12: war

Re: [PATCH 1/3] CLK: uninline clk_prepare() and clk_unprepare()

2012-11-22 Thread Russell King - ARM Linux
On Wed, Nov 21, 2012 at 06:17:50PM -0800, Dmitry Torokhov wrote: > > You've checked non-ARM architectures too? > > Yes: > > [dtor@dtor-d630 linux-next]$ grep -r HAVE_CLK_PREPARE . > ./arch/arm/Kconfig: select HAVE_CLK_PREPARE > Binary file > ./.git/objects/pack/pack-7dad5ee164f601f1327dc7864

Re: [PATCH v2 1/3] CLK: get rid of HAVE_CLK_PREPARE

2012-11-22 Thread Russell King - ARM Linux
On Wed, Nov 21, 2012 at 09:34:40PM -0800, Dmitry Torokhov wrote: > HAVE_CLK_PREPARE is automatically selected by COMMON_CLK and the only > platform that explicitly selects HAVE_CLK_PREPARE is MXS which has been > switched to common clk framework, so we can delete this option now. > > As part of th

Re: [PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-10 Thread Russell King - ARM Linux
On Thu, Jan 10, 2013 at 05:18:40PM +0100, Frederic Weisbecker wrote: > 2013/1/10 Russell King - ARM Linux : > > On Thu, Jan 10, 2013 at 09:02:15AM -0500, Don Zickus wrote: > >> On Wed, Jan 09, 2013 at 05:57:39PM -0800, Colin Cross wrote: > >> > Emulate NMIs on system

Re: [PATCH 1/4 v10] arm: use devicetree to get smp_twd clock

2013-01-10 Thread Russell King - ARM Linux
Mark, Rafael just asked me to look at this patch, though I guess these comments should be directed to Rob who was the original patch author. On Fri, Jan 04, 2013 at 10:35:43AM -0600, Mark Langsdorf wrote: > diff --git a/arch/arm/kernel/smp_twd.c b/arch/arm/kernel/smp_twd.c > index 49f335d..dad2d8

Re: [PATCH] cpsw: Add support to read cpu MAC address

2013-01-11 Thread Russell King - ARM Linux
On Fri, Jan 11, 2013 at 04:15:02PM +0100, Michal Bachraty wrote: > + if (!request_mem_region(priv->conf_res->start, > + resource_size(priv->conf_res), ndev->name)) { > + dev_err(priv->dev, "failed request i/o region\n"); > + ret = -ENXIO; > +

Re: [PATCH] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-11 Thread Russell King - ARM Linux
On Fri, Jan 11, 2013 at 03:13:31PM +0900, Chanho Min wrote: > In DMA support, Received data is not triggered until the DMA buffer is filled. > In order to actually use Rx DMA, We would like to suggest the use of the timer > for polling DMA buffer. It makes possible character-level trigger. > In our

Re: [PATCH 07/14] usb: ehci-omap: Instantiate PHY devices if required

2013-01-11 Thread Russell King - ARM Linux
On Fri, Jan 11, 2013 at 06:03:21PM +0200, Roger Quadros wrote: > diff --git a/include/linux/platform_data/usb-omap.h > b/include/linux/platform_data/usb-omap.h > index d63eb7d..927b8a1 100644 > --- a/include/linux/platform_data/usb-omap.h > +++ b/include/linux/platform_data/usb-omap.h > @@ -38,6 +3

Re: [PATCH 04/14] usb: phy: nop: Handle power supply regulator for the PHY

2013-01-11 Thread Russell King - ARM Linux
On Thu, Jan 10, 2013 at 06:51:24PM +0200, Roger Quadros wrote: > We use "vcc" as the supply name for the PHY's power supply. > The power supply will be enabled during .init() and disabled > during .shutdown() > > Signed-off-by: Roger Quadros > --- > drivers/usb/otg/nop-usb-xceiv.c | 18 +++

Re: [PATCH RFT 3/3] ARM: tegra: dts: seaboard: enable keyboard

2013-01-11 Thread Russell King - ARM Linux
On Fri, Jan 11, 2013 at 04:09:59PM -0700, Stephen Warren wrote: > On 01/11/2013 06:33 AM, Laxman Dewangan wrote: > > kbc->clk = clk_get(&pdev->dev, NULL); > > if (IS_ERR(kbc->clk)) { > > dev_err(&pdev->dev, "failed to get keyboard clock\n"); > > err = PTR_ERR(kbc->cl

Re: [PATCH RFT 3/3] ARM: tegra: dts: seaboard: enable keyboard

2013-01-11 Thread Russell King - ARM Linux
On Fri, Jan 11, 2013 at 04:27:07PM -0700, Stephen Warren wrote: > On 01/11/2013 04:24 PM, Russell King - ARM Linux wrote: > > On Fri, Jan 11, 2013 at 04:09:59PM -0700, Stephen Warren wrote: > >> On 01/11/2013 06:33 AM, Laxman Dewangan wrote: > >>> kbc->clk = clk_

Re: [PATCH RFT 3/3] ARM: tegra: dts: seaboard: enable keyboard

2013-01-12 Thread Russell King - ARM Linux
On Sat, Jan 12, 2013 at 04:04:28PM +0530, Laxman Dewangan wrote: > Going through clock driver, the clk_get() should return error pointer or > valid pointer, atleast not NULL. No. clk_get() will return whatever value the 'clk' pointer found in the clk_lookup structure contains. Or it will retur

Re: [PATCH] ARM: PL011: Add support for Rx DMA buffer polling

2013-01-13 Thread Russell King - ARM Linux
On Mon, Jan 14, 2013 at 01:04:58AM +0100, Linus Walleij wrote: > At some point we reasoned that we may actually be saved > by the reverse phenomena - if single request is *NOT* > connected, there will very often be some characters in the > FIFO, and that's enough to trigger the RTIM IRQ, and we get

Re: [PATCH 3/4] serial: vt8500: UART uses gated clock rather than 24Mhz reference

2013-01-14 Thread Russell King - ARM Linux
On Mon, Jan 14, 2013 at 03:04:18PM +1300, Tony Prisk wrote: > - if (vt8500_port->clk) { > - vt8500_port->uart.uartclk = clk_get_rate(vt8500_port->clk); > - } else { > - /* use the default of 24Mhz if not specified and warn */ > - pr_warn("%s: serial clock

Re: [PATCH 04/14] usb: phy: nop: Handle power supply regulator for the PHY

2013-01-14 Thread Russell King - ARM Linux
On Mon, Jan 14, 2013 at 11:54:42AM +0200, Roger Quadros wrote: > On 01/11/2013 07:17 PM, Russell King - ARM Linux wrote: > > On Thu, Jan 10, 2013 at 06:51:24PM +0200, Roger Quadros wrote: > >> We use "vcc" as the supply name for the PHY's power supply. > >&g

Re: [PATCH 04/14] usb: phy: nop: Handle power supply regulator for the PHY

2013-01-14 Thread Russell King - ARM Linux
On Mon, Jan 14, 2013 at 01:51:07PM +0200, Roger Quadros wrote: > On 01/14/2013 01:25 PM, Russell King - ARM Linux wrote: > > Also consider... is dev_err() appropriate for an "error", for which you > > print a message and continue as if nothing went wrong. To me that sound

Re: [PATCH RFT 3/3] ARM: tegra: dts: seaboard: enable keyboard

2013-01-14 Thread Russell King - ARM Linux
On Mon, Jan 14, 2013 at 09:45:52AM -0700, Stephen Warren wrote: > On 01/12/2013 03:34 AM, Laxman Dewangan wrote: > ... > > Which is the tree on which Prashant changes are applied. I can debug > > from that tree. > > git://nv-tegra.nvidia.com/user/swarren/linux-2.6 test-ccf-rework-v4 > > But as I

Re: [PATCH] arm: kernel/perf_event_cpu.c: fix error null pointer dereference check

2013-01-14 Thread Russell King - ARM Linux
On Mon, Jan 14, 2013 at 05:18:53PM +, Cong Ding wrote: > the pointer cpu_pmu is used without null pointer dereference check, and is > checked after the using of it, so we move the null pointer check to before the > first use. The NULL pointer check is not necessary. cpu_pmu_init() is called a

Re: [PATCH RESEND 0/6 v10] gpio: Add block GPIO

2012-12-15 Thread Russell King - ARM Linux
On Sat, Dec 15, 2012 at 12:49:57AM +0100, Roland Stigge wrote: > Without having an AT91 available right now, I guess the hardware > interface of this GPIO chip is different from the GPIO block API. While > the hardware has clear and set registers, the val parameter of > at91_gpiolib_set_block() sho

Re: [PATCH 2/3] CLK: uninline clk_prepare_enable() and clk_disable_unprepare()

2012-12-16 Thread Russell King - ARM Linux
On Sun, Dec 16, 2012 at 05:10:36PM +0530, Viresh Kumar wrote: > On 20 November 2012 14:52, Dmitry Torokhov wrote: > > We'll need to invoke clk_disable_unprepare() via a pointer in our devm_* > > conversion so let's uninline the pair. > > > > Signed-off-by: Dmitry Torokhov > > Mike, are you takin

Re: [PATCH 2/3] CLK: uninline clk_prepare_enable() and clk_disable_unprepare()

2012-12-16 Thread Russell King - ARM Linux
On Sun, Dec 16, 2012 at 05:50:44PM +0530, Viresh Kumar wrote: > On 16 December 2012 17:27, Russell King - ARM Linux > wrote: > > On Sun, Dec 16, 2012 at 05:10:36PM +0530, Viresh Kumar wrote: > >> On 20 November 2012 14:52, Dmitry Torokhov > >> wrot

Re: [PATCH 2/3] CLK: uninline clk_prepare_enable() and clk_disable_unprepare()

2012-12-16 Thread Russell King - ARM Linux
On Sun, Dec 16, 2012 at 06:35:24PM +0530, Viresh Kumar wrote: > On 16 December 2012 18:10, Russell King - ARM Linux > wrote: > > Well, there's my comment against patch 2 which never got a reply: > > > > "Again, what about stuff not using drivers/clk/clk.c

Re: [PATCH RESEND 0/6 v10] gpio: Add block GPIO

2012-12-17 Thread Russell King - ARM Linux
On Mon, Dec 17, 2012 at 12:51:32PM +0100, Wolfgang Grandegger wrote: > +static void at91_gpiolib_set_block(struct gpio_chip *chip, unsigned long > mask, unsigned long val) > +{ > + struct at91_gpio_chip *at91_gpio = to_at91_gpio_chip(chip); > + void __iomem *pio = at91_gpio->regbase; > +

Re: [PATCH] spi: remove check for bits_per_word on transfer

2012-12-17 Thread Russell King - ARM Linux
On Mon, Dec 17, 2012 at 11:21:57PM +0530, Laxman Dewangan wrote: > When spi client does the spi transfer and does not sets > the bits_per_word for each transfer then set it as default > of spi device in spi core before calling low level transfer. Err, sorry? To me, the above doesn't make too much

Re: [BUG] Deferred probing in driver model is racy, resulting in lost probes

2012-09-26 Thread Russell King - ARM Linux
On Wed, Sep 26, 2012 at 01:08:33PM -0700, Greg Kroah-Hartman wrote: > On Sun, Sep 16, 2012 at 09:24:43PM +0800, Ming Lei wrote: > > diff --git a/drivers/base/bus.c b/drivers/base/bus.c > > index 181ed26..17d7437 100644 > > --- a/drivers/base/bus.c > > +++ b/drivers/base/bus.c > > @@ -714,12 +714,12

Re: [PATCH] pinctrl/nomadik: allocate IRQ descriptors dynamically

2012-09-27 Thread Russell King - ARM Linux
On Wed, Sep 26, 2012 at 07:18:07PM +0200, Linus Walleij wrote: > + irq_start = NOMADIK_GPIO_TO_IRQ(pdata->first_gpio); > + irq_base = irq_alloc_descs(irq_start, 0, NMK_GPIO_PER_CHIP, > +numa_node_id()); > + if (IS_ERR_VALUE(irq_base)) { commit 07ab67c8d0

Re: [BUG] Deferred probing in driver model is racy, resulting in lost probes

2012-09-27 Thread Russell King - ARM Linux
On Thu, Sep 27, 2012 at 07:47:46AM +0800, Ming Lei wrote: > On Thu, Sep 27, 2012 at 4:23 AM, Russell King - ARM Linux > wrote: > > To be honest, I've not bothered to test the above patch, and now when I > > look at it, I notice it's broken - in that on error it will

Re: [BUG] Deferred probing in driver model is racy, resulting in lost probes

2012-09-27 Thread Russell King - ARM Linux
On Thu, Sep 27, 2012 at 02:58:09PM +0100, Russell King - ARM Linux wrote: > On Thu, Sep 27, 2012 at 07:47:46AM +0800, Ming Lei wrote: > > On Thu, Sep 27, 2012 at 4:23 AM, Russell King - ARM Linux > > wrote: > > > To be honest, I've not bothered to test the above pat

Re: [PATCH v2 1/2] usb: phy: add a new driver for usb3 phy

2012-09-27 Thread Russell King - ARM Linux
On Thu, Sep 27, 2012 at 07:34:07PM +0530, Kishon Vijay Abraham I wrote: > +static int omap5_usb_phy_power(struct omap_usb *phy, bool on) > +{ > + u32 val; > + unsigned long rate; > + struct clk *sys_clk; > + > + sys_clk = clk_get(NULL, "sys_clkin"); > + if (IS_ERR(sys_clk)) { >

<    3   4   5   6   7   8   9   10   11   12   >