Re: [PATCH] sched_clock: add data pointer argument to read callback

2015-10-09 Thread Måns Rullgård
Russell King - ARM Linux <li...@arm.linux.org.uk> writes: > On Sat, Oct 10, 2015 at 12:48:22AM +0100, Måns Rullgård wrote: >> Russell King - ARM Linux <li...@arm.linux.org.uk> writes: >> >> > On Fri, Oct 09, 2015 at 10:57:35PM +0100, Mans Rullgard wro

Re: [PATCH] sched_clock: add data pointer argument to read callback

2015-10-09 Thread Måns Rullgård
nt. If I've missed something that makes this a stupid idea, please tell. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: RGB LED control (was Re: advanced LED controllers)

2015-03-09 Thread Måns Rullgård
to indicate the need for conversion? Some LED controllers do the right thing in hardware, so any adjustment done in the core needs to be optional. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord

Re: [PATCH] ARM: convert all mov.* pc, reg to bx reg for ARMv6+ (part1)

2014-07-01 Thread Måns Rullgård
as to make the intent clearer. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] ARM: convert all mov.* pc, reg to bx reg for ARMv6+ (part1)

2014-07-01 Thread Måns Rullgård
Russell King - ARM Linux li...@arm.linux.org.uk writes: On Tue, Jul 01, 2014 at 05:42:42PM +0100, Måns Rullgård wrote: Russell King rmk+ker...@arm.linux.org.uk writes: ARMv6 and greater introduced a new instruction (bx) which can be used to return from function calls. Recent CPUs perform

Re: [PATCH] ARM: convert all mov.* pc, reg to bx reg for ARMv6+ (part1)

2014-07-01 Thread Måns Rullgård
Will Deacon will.dea...@arm.com writes: Hi Mans, On Tue, Jul 01, 2014 at 06:24:43PM +0100, Måns Rullgård wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: As you point out, bx lr /may/ be treated specially (I've actually been Most, if not all, Cortex-A cores do

Re: new binutils needed for arm in 3.12-rc1

2013-09-26 Thread Måns Rullgård
Rob Landley r...@landley.net writes: On 09/25/2013 10:52:44 AM, Måns Rullgård wrote: Rob Landley r...@landley.net writes: On 09/24/2013 09:07:57 PM, Nicolas Pitre wrote: I'd strongly suggest you make your binutils compatible with newer instruction syntax instead of making the kernel

Re: new binutils needed for arm in 3.12-rc1

2013-09-25 Thread Måns Rullgård
new gnuisms just because they're there and nobody else is regression testing against them, not because they actually add anything. Since when is assembling the instructions correctly, as specified in the arch ref, and not in some other random way a gnuism? -- Måns Rullgård m...@mansr.com

Re: new binutils needed for arm in 3.12-rc1

2013-09-25 Thread Måns Rullgård
. We're *not* going to listen to that argument. END OF DISCUSSION (everything else is just a waste of time.) I fully agree. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info

Re: new binutils needed for arm in 3.12-rc1

2013-09-24 Thread Måns Rullgård
rarely works properly for ARM. What value is there in maintaining compatibility with a truly ancient binutils version anyway? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH] ARM: Fix errata 751472 handling on Cortex-A9 r1p*

2012-11-15 Thread Måns Rullgård
not sure they are documented. The trouble with OMAP is that the secure ROM API only allows access to a tiny subset of the registers we'd need. In part this can be explained by the important OMAP customers all using the HS chips with full access to secure mode. -- Måns Rullgård m...@mansr.com

Re: [PATCH] ARM: vfp: fix save and restore when running on pre-VFPv3 and CONFIG_VFPv3 set

2012-10-13 Thread Måns Rullgård
, then _that_ is a bug. That bit will be clear on VFPv2 (because it's not v3), and this has only 16 D registers. The high D registers are present if (vfpv3 !vfpv3d16). Pre-calculating this to avoid doing it in the context save/restore code is probably a good idea. -- Måns Rullgård m...@mansr.com

Re: AM3517 boot failure

2012-05-08 Thread Måns Rullgård
] async_continuing @ 1 after 119 usec (hangs) Are you still trying nfsroot? Since ip_auto_config failed, it will have no way of mounting the nfsroot and stop there. Do you know why ip setup failed? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux

Re: AM3517 boot failure

2012-04-19 Thread Måns Rullgård
) they should. It now detects the correct PHY, so that's something. However, the IP config is still getting stuck. For reasons I don't know, the msleep(1) call in ic_open_devs() never returns. That's as far as I got. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send

Re: AM3517 boot failure

2012-04-19 Thread Måns Rullgård
Tony Lindgren t...@atomide.com writes: * Måns Rullgård m...@mansr.com [120419 08:31]: Igor Grinberg grinb...@compulab.co.il writes: On 04/19/12 05:07, Paul Walmsley wrote: Hi, just wanted to mention this on the list to see if anyone else was seeing it. I'm using a Compulab CM

Re: AM3517 boot failure

2012-04-19 Thread Måns Rullgård
Mark A. Greer mgr...@animalcreek.com writes: On Thu, Apr 19, 2012 at 04:04:42PM +0100, Måns Rullgård wrote: Igor Grinberg grinb...@compulab.co.il writes: On 04/19/12 05:07, Paul Walmsley wrote: Hi, just wanted to mention this on the list to see if anyone else was seeing

Re: oprofile and ARM A9 hardware counter

2012-01-30 Thread Måns Rullgård
-blocking. How could that be possible? Power-saving? In top, press 1 to see the statistics for the CPUs separately. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: oprofile and ARM A9 hardware counter

2012-01-27 Thread Måns Rullgård
record ...), I get a panic in armpmu_event_update() with the 'event' argument being null when called from armv7pmu_handle_irq(). [1] http://article.gmane.org/gmane.linux.ports.arm.omap/69696 -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: oprofile and ARM A9 hardware counter

2012-01-27 Thread Måns Rullgård
Will Deacon will.dea...@arm.com writes: Mans, On Fri, Jan 27, 2012 at 12:56:35PM +, Måns Rullgård wrote: Will Deacon will.dea...@arm.com writes: Did this lead anywhere in the end? It seems as though Ming Lei has a working setup but Stephane is unable to replicate it, despite

Re: oprofile and ARM A9 hardware counter

2012-01-27 Thread Måns Rullgård
Will Deacon will.dea...@arm.com writes: On Fri, Jan 27, 2012 at 01:47:01PM +, Måns Rullgård wrote: Will Deacon will.dea...@arm.com writes: Mans, On Fri, Jan 27, 2012 at 12:56:35PM +, Måns Rullgård wrote: Will Deacon will.dea...@arm.com writes: Did this lead anywhere

Re: OMAP3 L2/outer cache enabled in kernel (after being disabled by uBoot)?

2012-01-17 Thread Måns Rullgård
, and u-boot messes with this bit. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: It looks like snd-soc-rx51 only works as built-in, not as a module

2012-01-02 Thread Måns Rullgård
should load via the normal driver instantiation mechainsms and when they're all there they'll get matched together. Ok, I hope so. Does this patch change anything? http://article.gmane.org/gmane.linux.alsa.devel/89052 -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send

Re: [alsa-devel] It looks like snd-soc-rx51 only works as built-in, not as a module

2011-12-30 Thread Måns Rullgård
to platform devices. I posted patches doing the conversion a long time ago (September?). It seems they got lost somewhere. Most of them have been converted, In which tree? I haven't seen anything of the kind. but the rx51 wasn't. RX51 was done in my patch... -- Måns Rullgård m...@mansr.com

Re: [alsa-devel] It looks like snd-soc-rx51 only works as built-in, not as a module

2011-12-30 Thread Måns Rullgård
Måns Rullgård m...@mansr.com writes: Mark Brown broo...@opensource.wolfsonmicro.com writes: On Thu, Dec 29, 2011 at 10:22:31PM +, M?ns Rullg?rd wrote: Mark Brown broo...@opensource.wolfsonmicro.com writes: The reason the driver is not loaded automatically is that the OMAP machine

Re: It looks like snd-soc-rx51 only works as built-in, not as a module

2011-12-29 Thread Måns Rullgård
were saying above about the ordering of module loading. The reason the driver is not loaded automatically is that the OMAP machine drivers have not been converted to platform devices. I posted patches doing the conversion a long time ago (September?). It seems they got lost somewhere. -- Måns

Re: problem with undefined instruction

2011-04-30 Thread Måns Rullgård
32ece: fffe e92d vtbl.8 d30, {d14-d15}, d29 00032ed0 _IO_vfprintf: 32ed0: e92d 4ff0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, fp, lr} 32ed4: ed2d 8b02 vpush {d8} Your userland appears to be built with Thumb2. Make sure CONFIG_THUMB is enabled in your kernel. -- Måns

Re: problem with undefined instruction

2011-04-30 Thread Måns Rullgård
Santosh Shilimkar santosh.shilim...@ti.com writes: On 4/30/2011 10:14 PM, Måns Rullgård wrote: Sebastian Reichels...@debian.org writes: [..] 32ecc: 9cd0ldr r4, [sp, #832] ; 0x340 32ece: fffe e92d vtbl.8 d30, {d14-d15}, d29 00032ed0_IO_vfprintf: 32ed0

Re: OMAP4: IRQ line of CortexA9 performance monitor

2011-02-21 Thread Måns Rullgård
interrupt is routed through the CTI, which needs to be properly configured. Unfortunately, the CTI is not documented in the public TRM, and nobody has seen fit to submit a patch suitable for upstream. Some dirty hacks have been posted, though. -- Måns Rullgård m...@mansr.com -- To unsubscribe from

Re: [PATCH] ARM: Thumb-2: Make CONFIG_THUMB2_KERNEL depend on !CPU_V6

2010-12-08 Thread Måns Rullgård
today) ... not impossibility. The architecture being uncommon is not in my opinion cause to make life harder than necessary for whomever might some day want to add support for it. Does the patch solve any real problem today? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send

Re: OMAP:DSS: possible bug in WAITFOR_VSYNC ioctl

2010-12-01 Thread Måns Rullgård
like it. Can Go bit is cleared by SW? No. And does each overlay(FB) have its own Go bit? No. There is one GO bit per video output, i.e. one each for LCD and TV. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

Re: OMAP:DSS: possible bug in WAITFOR_VSYNC ioctl

2010-11-26 Thread Måns Rullgård
and doesn't make sense to standardize it. Atleast I am not aware of any other architecture having GO bit. Naming is minor detail. Feel free to suggest a better one. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message

Re: [PATCH 2/5] omap4: l2x0: Construct the AUXCTRL value using defines

2010-11-22 Thread Måns Rullgård
Is this OMAP specific, or is this ARM generic? The bit fields are generic PL310. It has to be set from OMAP code due to the ROM call. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 5/5] omap4: l2x0: Enable early BRESP bit

2010-11-19 Thread Måns Rullgård
, if any? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] omap4: enable L2 prefetching

2010-11-15 Thread Måns Rullgård
mode, but the TI ROM authors neglected to include this. Testing with FFmpeg showed a speedup of 10% with this patch in some cases. -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

Re: [PATCH D 01/11] OMAP: Add clk_get_parent() for OMAP2/3

2009-01-31 Thread Måns Rullgård
Russell King - ARM Linux li...@arm.linux.org.uk writes: On Sat, Jan 31, 2009 at 03:07:06PM +, Måns Rullgård wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: Great, thanks. However, I'd forgotten that one of my patches completely removes clk_get_parent() since it's unused

Re: [PATCH D 01/11] OMAP: Add clk_get_parent() for OMAP2/3

2009-01-31 Thread Måns Rullgård
Russell King - ARM Linux li...@arm.linux.org.uk writes: On Sat, Jan 31, 2009 at 03:39:07PM +, Måns Rullgård wrote: Russell King - ARM Linux li...@arm.linux.org.uk writes: On Sat, Jan 31, 2009 at 03:07:06PM +, Måns Rullgård wrote: Russell King - ARM Linux li...@arm.linux.org.uk

Re: mmci-omap regressions

2009-01-19 Thread Måns Rullgård
? -- Måns Rullgård m...@mansr.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 1/2] OMAP: Make dpll4_m4_ck programmable with clk_set_rate()

2008-12-05 Thread Måns Rullgård
is in my git tree. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Setting dss1_alwon_fck

2008-10-20 Thread Måns Rullgård
this clock programmable through clk_set_rate(). This is needed to give omapfb control over the dss1_alwon_fck rate. :100644 100644 161da12... 876eb13... M arch/arm/mach-omap2/clock34xx.h I'll send the patches as replies to this mail for easier reference. -- Måns Rullgård [EMAIL PROTECTED

Re: [PATCH] OMAP 2/3 V4L2 display driver on video planes

2008-10-06 Thread Måns Rullgård
are replaced by pixels from the video stream. That's what the current API does. The OMAP3 hardware supports both type of keying, but not simultaneously. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL

Re: [PATCH] OMAP3: Fix 34xx/35xx revision check

2008-09-30 Thread Måns Rullgård
); + system_rev = 0x34300034 | (rev 12); out: switch (system_rev) { Forget this. A fix was already in the tree, but not merged to my branch. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More

Re: OMAP support in mainline?

2008-09-19 Thread Måns Rullgård
compile? It doesn't match my patch, which is simply a diff between the original l-o tree and what went upstream, and there that last line looks like this: + musb-xceiv = *xceiv; -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap

Re: [PATCH] OMAP: USB EHCI: Support final revision of USB board

2008-09-18 Thread Måns Rullgård
in a day. :) In my experience, writing code properly to begin with takes less time than writing it badly first, and cleaning it up later. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More

Re: [PREVIEW] New display subsystem for OMAP2/3

2008-09-17 Thread Måns Rullgård
Tomi Valkeinen [EMAIL PROTECTED] writes: On Mon, 2008-09-15 at 20:27 +0100, ext Måns Rullgård wrote: Tomi Valkeinen [EMAIL PROTECTED] writes: On Sat, 2008-09-13 at 22:47 +0100, ext Måns Rullgård wrote: Koen Kooi [EMAIL PROTECTED] writes: What I don't like about the patch posted is its

Re: [PATCH] omapfb: setting GOLCD bit for shadow registers to make effect

2008-09-09 Thread Måns Rullgård
Daniel Stone wrote: On Mon, Sep 08, 2008 at 09:02:56PM +0100, ext Måns Rullgård wrote: arun c [EMAIL PROTECTED] writes: + while (dispc_read_reg(DISPC_CONTROL) (1 5)) + continue; + MOD_REG_FLD(DISPC_CONTROL, 1 5, 1 5); + return height * screen_width * bpp / 8

Re: [PATCH] omapfb: setting GOLCD bit for shadow registers to make effect

2008-09-08 Thread Måns Rullgård
good. However, the same thing is needed in omap_dispc_enable_plane() as well. Placing the loop+set in a function (go_lcd()?) would make sense. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED

Re: musb broken, was [RFC 0/2] McBSP and ASoC OMAP update patches for 2430 and 34xx

2008-09-07 Thread Måns Rullgård
a clue what should go in them. -- Måns Rullgård [EMAIL PROTECTED] -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: musb broken, was [RFC 0/2] McBSP and ASoC OMAP update patches for 2430 and 34xx

2008-09-07 Thread Måns Rullgård
Steve Sakoman [EMAIL PROTECTED] writes: On Sun, Sep 7, 2008 at 10:37 AM, David Brownell [EMAIL PROTECTED] wrote: On Sunday 07 September 2008, Måns Rullgård wrote: I've also had to revert the usb: musb: pass configuration specifics via pdata commits