This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-ia64-devel] Re: [Xen-devel] XenLinux/IA64 domU forward port

To: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Re: [Xen-devel] XenLinux/IA64 domU forward port
From: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Date: Thu, 14 Feb 2008 16:09:57 +0900
Delivery-date: Wed, 13 Feb 2008 23:10:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080208053949.GA7416%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20080207085042.GB4842%yamahata@xxxxxxxxxxxxx> <1202420163.23562.178.camel@bling> <20080208053949.GA7416%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
I uploaded the updated patch at

which is for
git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6.git release
commit 10d0aa3c0a03dd04227ab3a4958563d84276d02e
Author: Tony Luck <tony.luck@xxxxxxxxx>
Date:   Mon Feb 11 13:23:46 2008 -0800

    [IA64] Fix build for sim_defconfig

- It includes binary patching functionality.
  I newly implemented psr.i related operations in assembly
  for binary patching and cleaned it up much.
- The patch is still the jumbo single patch.
- some clean up

Now the patch includes all functionalities which would be necessary
for domU. So my next step is to split it up into
  - XenLinux portability fix
    This kind of patches can be pushed to upstream independently.
  - some preliminary patches
    including import paravirt functionality
  - domU part
    - CPU paravirtualization
    - irq/iosapic
    - xen machine vector
    - time accounting
    - vDSO paravirtualization
    - fsys paravirtualization
  - other part unnecessary for domU (mainly dom0)
    This is just to keep modifications for later dom0 merge.
    - dma api, pci, ioremap, mca, kexec/kdump, xenoprof etc...

Eddie, I haven't forgotten your discussion.
I think it is necessary to get linux-ia64 people involved for 
the discussion. The concrete patch is needed.
Once I split the patch up, I'll post them to linux-ia64 so that we can start
the discussion with them.
My vague idea is as follows.
- For neutral paravirtualization api, some kind of ABI is necessary.
- It would need some kind of static calling convention.
- Currently the nearest standard is PAL static calling convention.
  So far I agree with you.
- PAL static calling convention uses banked registers(r16-r31) as arguments.
  However it would be suboptimal or unsuitable for paravirtualization ABI.
  Static and non-banked registers are desirable.(at least for Xen) so
  that r9-r11, r14-r15 are desirable.


Xen-ia64-devel mailing list