On Wed, 15 Apr 2009 09:55:08 -0400
David Boyes <[email protected]> wrote:

> On 4/15/09 5:49 AM, "Heiko Carstens" <[email protected]> wrote:
> >
> > How about the patch below?
> > Since I would expect that this is going to happen a lot of times as
> > soon as some distro starts to compile the kernel with e.g. only z9-109
> > and higher support we indeed need a magic number here.
> > Otherwise we can't tell immediately what's going wrong.
>
> Rather than testing for specific model numbers, why don't you test for
> specific capabilities that you need/want? That way you get a exception that
> you can handle and actually issue a useful message or load a specific PSW
> (similar to the way things work on other OSes), rather than just dying in a
> cryptic way.

I agree that it would be better to emit a message to the console. But
the code that emits the message must be written completely in assembler
to prevent the compiler from generating instructions that wouldn't work
on older machines.
So currently we have this piece of code which is simple and with a
magic PSW it should be sufficient.
We might change it, but no promises.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to