From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>, Adrian Bunk <bunk@kernel.org>,
Alexey Starikovskiy <astarikovskiy@suse.de>,
tglx@linutronix.de, linux-kernel@vger.kernel.org
Subject: Re: Voyager phys_cpu_present_map compile error
Date: Mon, 21 Apr 2008 18:08:52 -0500 [thread overview]
Message-ID: <1208819332.3640.56.camel@localhost.localdomain> (raw)
In-Reply-To: <20080421200330.GJ8770@elte.hu>
On Mon, 2008-04-21 at 22:03 +0200, Ingo Molnar wrote:
> * James Bottomley <James.Bottomley@HansenPartnership.com> wrote:
>
> > > > i ended up excluding Voyager configs from our test space some time
> > > > ago (and VISWS as well - there's one more visws fix in x86.git),
> > > > that's how this broke. These subarchitectures seem not to be used
> > > > at all and the code wont boot on normal PCs. We could mark it
> > > > BROKEN but the fix seems simple in any case.
> >
> > I did actually try to avoid these problems by booting the -mc tree on
> > voyager, but I note that none of these issues showed up in that tree
> > the last time I did this (admittedly about 3 weeks ago because of
> > various conferences etc).
>
> btw., any chance to turn it into a quirk space thing? Voyagers are
> almost-PCs, right? Most of the Voyager specialities appears to be
> abstracted away already via smp_ops. I.e. we could have Voyager support
> in a plain x86 kernel, if CONFIG_X86_VOYAGER is turned on.
Almost, but not quite. Voyager needs some clickmap work on boot.
However, it should be possible to separate quite a bit of stuff out
using smp ops.
Voyager isn't at all like a PC, I'm afraid. It's an old unix system
that can emulate a uniprocessor PC when necessary. The voyager SMP
stuff is incredibly non-PC like, when you get into it.
The boot path for a combined architecture would be boot as PC (UP) and
then detect voyager do the clickmap setup and flip SMP ops before
bringing up the CPUs. I can think about this for one or two kernel
release cycles down the road.
> quirks we can let survive almost forever - we've still got the math-emu
> code for example. It's the subarch code we'd like to eliminate
> eventually. (there are much better abstractions for achieving the same
> thing: quirks and the genapic code)
>
> OTOH, i just had a look at it, and it seems a rather special thing - it
> tries to do like a PC but without actually being a PC. Almost as if it
> had no or just a little bit of BIOS - the whole Voyager kernel seems to
> run on the bare metal. Not much point in upsetting that code base i
> suspect.
It has no bios ... it has something called SUS (Start Up System); it's
actually a RTOS running on a separate 386 processor on the motherboard
to configure things. SUS can emulate some bios calls, but not very
many. The BIOS it emulates is an old one, which is why it gets swept
out of the way to configure "advanced" things (like up to 4GB memory).
> let us know if you run into any difficulties with making it to boot
> again ... nothing truly fundamental should have changed to break it,
> other that this moving around of SMP code.
It's not actually booting at the moment. It looks like some issue in
smp_cpus_done.
James
next prev parent reply other threads:[~2008-04-21 23:09 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-21 0:02 Voyager phys_cpu_present_map compile error Adrian Bunk
2008-04-21 8:53 ` Adrian Bunk
2008-04-21 12:00 ` Ingo Molnar
2008-04-21 12:55 ` H. Peter Anvin
2008-04-21 14:10 ` Status of SGI 320/540 (Visual Workstation) support? Adrian Bunk
2008-04-22 6:19 ` Andrey Panin
2008-04-22 13:29 ` Voyager phys_cpu_present_map compile error Andrew Morton
2008-04-22 15:25 ` Andy Whitcroft
2008-04-21 13:00 ` H. Peter Anvin
2008-04-21 15:42 ` James Bottomley
2008-04-21 20:03 ` Ingo Molnar
2008-04-21 23:08 ` James Bottomley [this message]
2008-04-21 19:55 ` Ingo Molnar
2008-04-21 20:03 ` H. Peter Anvin
2008-04-21 20:11 ` Ingo Molnar
2008-04-21 20:10 ` H. Peter Anvin
2008-04-23 8:53 ` Pavel Machek
2008-04-21 13:27 ` Adrian Bunk
2008-04-21 20:14 ` Ingo Molnar
2008-04-21 21:57 ` James Bottomley
2008-04-25 14:50 ` James Bottomley
2008-04-25 16:17 ` Adrian Bunk
2008-04-25 16:33 ` James Bottomley
2008-04-28 17:59 ` Ingo Molnar
2008-04-28 19:09 ` James Bottomley
2008-04-21 15:58 ` James Bottomley
2008-04-21 19:51 ` Ingo Molnar
2008-04-21 20:09 ` Adrian Bunk
2008-04-21 20:13 ` Ingo Molnar
2008-04-21 20:26 ` Adrian Bunk
2008-04-21 20:29 ` Ingo Molnar
2008-04-21 21:02 ` Adrian Bunk
2008-04-21 22:31 ` Ingo Molnar
2008-04-26 7:43 ` Pavel Machek
2008-04-27 0:44 ` H. Peter Anvin
2008-04-27 1:06 ` Adrian Bunk
2008-04-27 1:45 ` H. Peter Anvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1208819332.3640.56.camel@localhost.localdomain \
--to=james.bottomley@hansenpartnership.com \
--cc=astarikovskiy@suse.de \
--cc=bunk@kernel.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox