Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-07 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [100906 10:56]: * Russell King - ARM Linux li...@arm.linux.org.uk [100906 03:36]: Here's my latest patch (which is combined from two patches.) Tony, could you follow up with patches for anything which is still required - I think there's two things you've

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-06 Thread Catalin Marinas
On Thu, 2010-09-02 at 17:16 +0100, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [100902 06:29]: On Mon, Aug 30, 2010 at 03:55:27PM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [100820 04:59]: * Russell King - ARM Linux li...@arm.linux.org.uk

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-06 Thread Russell King - ARM Linux
On Mon, Sep 06, 2010 at 10:28:53AM +0100, Catalin Marinas wrote: I haven't followed your patches closely but can we restrict the ARMv6 SMP/UP support to only those cores that have TEX remapping (most of them probably)? We don't support TEX remapping on ARMv6. -- To unsubscribe from this list:

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-06 Thread Russell King - ARM Linux
On Mon, Sep 06, 2010 at 10:38:30AM +0100, Catalin Marinas wrote: On Mon, 2010-09-06 at 10:34 +0100, Russell King - ARM Linux wrote: On Mon, Sep 06, 2010 at 10:28:53AM +0100, Catalin Marinas wrote: I haven't followed your patches closely but can we restrict the ARMv6 SMP/UP support to only

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-06 Thread Russell King - ARM Linux
Here's my latest patch (which is combined from two patches.) Tony, could you follow up with patches for anything which is still required - I think there's two things you've addressed which this currently misses: 1. not initializing twd_base (I'm not convinced this is safe - rather making

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-06 Thread Catalin Marinas
Russell, On Mon, 2010-09-06 at 11:44 +0100, Russell King - ARM Linux wrote: +#ifdef CONFIG_SMP_ON_UP +__fixup_smp: + mov r7, #0x0007 + orr r6, r7, #0xff00 @ mask 0xff07 + orr r7, r7, #0x4100 @ val 0x4107 + and r0, r9, r6 +

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-06 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100906 03:36]: Here's my latest patch (which is combined from two patches.) Tony, could you follow up with patches for anything which is still required - I think there's two things you've addressed which this currently misses: 1. not

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-02 Thread Russell King - ARM Linux
On Mon, Aug 30, 2010 at 03:55:27PM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [100820 04:59]: * Russell King - ARM Linux li...@arm.linux.org.uk [100819 13:13]: On Thu, Aug 19, 2010 at 12:57:06PM +0300, Tony Lindgren wrote: Looks like something is not quite right with

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-02 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100902 06:29]: On Mon, Aug 30, 2010 at 03:55:27PM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [100820 04:59]: * Russell King - ARM Linux li...@arm.linux.org.uk [100819 13:13]: On Thu, Aug 19, 2010 at 12:57:06PM +0300,

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-09-02 Thread Bryan Wu
On Fri, Sep 3, 2010 at 12:16 AM, Tony Lindgren t...@atomide.com wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [100902 06:29]: On Mon, Aug 30, 2010 at 03:55:27PM -0700, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [100820 04:59]: * Russell King - ARM Linux

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-30 Thread Tony Lindgren
* Will Deacon will.dea...@arm.com [100823 09:51]: Hi Tony, Hi all, Here are some experimental patches to allow booting ARMv7 SMP kernel on UP to some extent. Posting these early in case it is of any help as I know at least Bryan Wu is working on similar issues. The patches are

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-30 Thread Tony Lindgren
* Tony Lindgren t...@atomide.com [100820 04:59]: * Russell King - ARM Linux li...@arm.linux.org.uk [100819 13:13]: On Thu, Aug 19, 2010 at 12:57:06PM +0300, Tony Lindgren wrote: Looks like something is not quite right with smp_on_up part of __fixup_smp, returning early before

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-19 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100817 18:33]: On Tue, Aug 17, 2010 at 05:12:11PM +0300, Tony Lindgren wrote: Great, will give it a try hopefully tomorrow. Sounds like that's the way to deal with fixing up things when booting up older UP ARMv6 without the 32v6 support :)

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-19 Thread Bryan Wu
On 08/19/2010 03:38 PM, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [100817 18:33]: On Tue, Aug 17, 2010 at 05:12:11PM +0300, Tony Lindgren wrote: Great, will give it a try hopefully tomorrow. Sounds like that's the way to deal with fixing up things when booting up

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-19 Thread Tony Lindgren
* Bryan Wu bryan...@canonical.com [100819 12:31]: On 08/19/2010 03:38 PM, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [100817 18:33]: On Tue, Aug 17, 2010 at 05:12:11PM +0300, Tony Lindgren wrote: Great, will give it a try hopefully tomorrow. Sounds like that's

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-19 Thread Russell King - ARM Linux
On Thu, Aug 19, 2010 at 12:57:06PM +0300, Tony Lindgren wrote: Looks like something is not quite right with smp_on_up part of __fixup_smp, returning early before smp_on_up does not produce that. It's probably overwriting some register it shouldn't be. I might be able to look at this sometime

[PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-17 Thread Tony Lindgren
Hi all, Here are some experimental patches to allow booting ARMv7 SMP kernel on UP to some extent. Posting these early in case it is of any help as I know at least Bryan Wu is working on similar issues. The patches are very much work in progress, and does not quite boot to init yet so there's

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-17 Thread Russell King - ARM Linux
On Tue, Aug 17, 2010 at 01:53:12PM +0300, Tony Lindgren wrote: Here are some experimental patches to allow booting ARMv7 SMP kernel on UP to some extent. Posting these early in case it is of any help as I know at least Bryan Wu is working on similar issues. I think these are compeltely the

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-17 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [100817 16:44]: On Tue, Aug 17, 2010 at 01:53:12PM +0300, Tony Lindgren wrote: Here are some experimental patches to allow booting ARMv7 SMP kernel on UP to some extent. Posting these early in case it is of any help as I know at least Bryan

Re: [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7

2010-08-17 Thread Russell King - ARM Linux
On Tue, Aug 17, 2010 at 05:12:11PM +0300, Tony Lindgren wrote: Great, will give it a try hopefully tomorrow. Sounds like that's the way to deal with fixing up things when booting up older UP ARMv6 without the 32v6 support :) What I've also been debating about is adding another word to the