All of lore.kernel.org
 help / color / mirror / Atom feed
From: david mosberger <dmosberger@gmail.com>
To: linux-ia64@vger.kernel.org
Subject: Re: Xen and the Art of Linux/ia64 Virtualization
Date: Thu, 28 Jul 2005 23:13:19 +0000	[thread overview]
Message-ID: <ed5aea4305072816132b98afcf@mail.gmail.com> (raw)
In-Reply-To: <516F50407E01324991DD6D07B0531AD54FA228@cacexc12.americas.cpqcorp.net>

Hi Dan,

I was hoping someone else would bring this up, but alas....

Why do you need to split getreg into get_eflag etc?  By definition,
wherever you call get_eflag, you have a getreg(R) call with R a
constant (and, in this case, R=_IA64_REG_AR_EFLAG).  Thus, you can
just have a Xen variant of getreg() which checks if R is a constant
and, if so, redirects the call to the appropriate code for special
registers such as EFLAG.

  --david

On 7/28/05, Magenheimer, Dan (HP Labs Fort Collins)
<dan.magenheimer@hp.com> wrote:
> Revision 4.  Minor formatting change suggested by
> Christoph.  Also, no change for "symmetry" suggested
> by Christoph as Tony wanted to leave as is.
> 
> Tony I think this is now ready to apply.  If there is
> anything else needed, please let me know.
> 
> Thanks,
> Dan Magenheimer
> 
> > -----Original Message-----
> > From: Magenheimer, Dan (HP Labs Fort Collins)
> > Sent: Thursday, July 14, 2005 3:18 PM
> > To: 'linux-ia64@vger.kernel.org'
> > Subject: RE: Xen and the Art of Linux/ia64 Virtualization
> >
> > Revision 3.  Incorporates some more feedback and
> > a minor bug fix.
> >
> > Dan
> >
> > > -----Original Message-----
> > > From: Magenheimer, Dan (HP Labs Fort Collins)
> > > Sent: Wednesday, July 06, 2005 2:47 PM
> > > To: 'linux-ia64@vger.kernel.org'
> > > Subject: RE: Xen and the Art of Linux/ia64 Virtualization
> > >
> > > The patch I posted yesterday had a couple of bugs.
> > > This version applies cleanly against 2.6.12 and
> > > (when augmented with additional files from various
> > > Xen subdirectories) has been booted both on Xen/ia64
> > > and on hardware.
> > >
> > > Note that a patch to drivers/acpi/motherboard.c (that
> > > allows for acpi to be enabled on a stubbed acpi tree
> > > without a kernel null pointer dereference!) is required
> > > and has been submitted separately to the linux-acpi list.
> > >
> > > With the exception of three short CONFIG_XEN
> > > ifdefs, the vast majority of changes in this patch
> > > are code rearrangement to enable a number of routines
> > > and defines to add one level of abstraction.
> > >
> > > Comments and feedback would be much appreciated!
> > >
> > >  arch/ia64/Kconfig             |    7 +
> > >  arch/ia64/Makefile            |    1
> > >  arch/ia64/hp/sim/Makefile     |    2
> > >  arch/ia64/ia32/elfcore32.h    |    2
> > >  arch/ia64/ia32/ia32_signal.c  |    6 -
> > >  arch/ia64/ia32/ia32_support.c |    4 -
> > >  arch/ia64/kernel/entry.S      |   30 ++++---
> > >  arch/ia64/kernel/head.S       |    4 +
> > >  arch/ia64/kernel/irq_ia64.c   |   12 +--
> > >  arch/ia64/kernel/pal.S        |    5 -
> > >  arch/ia64/kernel/setup.c      |    3
> > >  include/asm-ia64/delay.h      |   53 -------------
> > >  include/asm-ia64/privop.h     |  160
> > > ++++++++++++++++++++++++++++++++++++++++++
> > >  include/asm-ia64/processor.h  |   56 --------------
> > >  include/asm-ia64/system.h     |   12 +--
> > >  15 files changed, 217 insertions(+), 140 deletions(-)
> > >
> > > > -----Original Message-----
> > > > From: Magenheimer, Dan (HP Labs Fort Collins)
> > > > Sent: Tuesday, July 05, 2005 2:21 PM
> > > > To: linux-ia64@vger.kernel.org
> > > > Subject: RE: Xen and the Art of Linux/ia64 Virtualization
> > > >
> > > > Thanks to excellent feedback from David Mosberger and
> > > > Christophe Hellwig, I have greatly cleaned up the attached
> > > > patch by using some very nice abstractions.  In fact,
> > > > most of the bulk in the attached patch results from
> > > > moving some code from asm-ia64/{delay,processor}.h to
> > > > a new file, asm-ia64/privop.h.  And the number of
> > > > CONFIG_XEN ifdefs is dramatically reduced.
> > > >
> > > > More feedback appreciated (including comments about how
> > > > close this might be to be ready for submission to Tony).
> > > >
> > > > Thanks,
> > > > Dan Magenheimer
> > > >
> > > > P.S. Anybody who is attending OLS who wants to talk about
> > > > Xen (and specifically Xen/ia64)?  I'll be there... send
> > > > me email.
> > > >
> > >
> >
> 
> 
> 


-- 
Mosberger Consulting LLC, voice/fax: 510-744-9372,
http://www.mosberger-consulting.com/
35706 Runckel Lane, Fremont, CA 94536

  parent reply	other threads:[~2005-07-28 23:13 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-29 20:16 Xen and the Art of Linux/ia64 Virtualization Magenheimer, Dan (HP Labs Fort Collins)
2005-06-29 20:22 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-04 15:24 ` Christoph Hellwig
2005-07-04 18:26 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-05 20:20 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-06 20:46 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-07 22:18 ` Gerald Pfeifer
2005-07-07 23:57 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-11 15:09 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-14 21:17 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-16  1:15 ` Christoph Hellwig
2005-07-16 12:55 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-28 22:38 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-07-28 23:13 ` david mosberger [this message]
2005-07-28 23:27 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-08-12 22:09 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-08-22 21:45 ` Arun Sharma
2005-08-22 22:02 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-08-22 22:22 ` Arun Sharma
2005-08-29 19:12 ` Magenheimer, Dan (HP Labs Fort Collins)
2005-08-31 15:52 ` Magenheimer, Dan (HP Labs Fort Collins)

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=ed5aea4305072816132b98afcf@mail.gmail.com \
    --to=dmosberger@gmail.com \
    --cc=linux-ia64@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.