From: DOI Tsunehisa <Doi.Tsunehisa@jp.fujitsu.com>
To: xen-devel@lists.xensource.com
Subject: Porting PV-on-HVM for ia64 platform (Take 3)
Date: Mon, 04 Sep 2006 17:00:33 +0900 [thread overview]
Message-ID: <44FBDD21.6090103@jp.fujitsu.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
Hi,
I will post patches for PV-on-HVM on ia64 platform.
These patch include:
* unmodified-driver.patch
+ cut off unused codes for IPF
- get_hypercall_stabs() is x86 specific function. We don't
use it, and it occurrs compile error on ia64 platform.
Thus it is cut off.
* unmodified-build.patch
+ modify build rule for IPF
- This patch appends a build rule for ia64 platform to
mkbuildtree command.
Thanks,
- Tsunehisa Doi
[-- Attachment #2: unmodified-driver.patch --]
[-- Type: text/plain, Size: 1257 bytes --]
# HG changeset patch
# User Doi.Tsunehisa@jp.fujitsu.com
# Node ID 566e35701c7dd9f2aec0af470e39054810867beb
# Parent 4a17792e0a5a05caad68244abfe09948a6f2d90d
Modify unmodified_drivers code for IPF
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
diff -r 4a17792e0a5a -r 566e35701c7d unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
--- a/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c Mon Sep 04 16:04:27 2006 +0900
+++ b/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c Mon Sep 04 16:06:31 2006 +0900
@@ -115,6 +115,7 @@ unsigned long alloc_xen_mmio(unsigned lo
return addr;
}
+#ifndef __ia64__
/* Lifted from hvmloader.c */
static int get_hypercall_stubs(void)
{
@@ -160,6 +161,7 @@ static int get_hypercall_stubs(void)
return 0;
}
+#endif /* !__ia64__ */
static int __devinit platform_pci_init(struct pci_dev *pdev,
const struct pci_device_id *ent)
@@ -201,10 +203,12 @@ static int __devinit platform_pci_init(s
platform_mmio = mmio_addr;
platform_mmiolen = mmio_len;
+#ifndef __ia64__
ret = get_hypercall_stubs();
if (ret < 0)
goto out;
+#endif /* __ia64__ */
if ((ret = init_xen_info()))
goto out;
[-- Attachment #3: unmodified-build.patch --]
[-- Type: text/plain, Size: 1022 bytes --]
# HG changeset patch
# User Doi.Tsunehisa@jp.fujitsu.com
# Node ID f1682f5c0e7d8e7778da907222a3d72bc759871b
# Parent 566e35701c7dd9f2aec0af470e39054810867beb
Modify unmodified_drivers build rule for IPF
Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
diff -r 566e35701c7d -r f1682f5c0e7d unmodified_drivers/linux-2.6/mkbuildtree
--- a/unmodified_drivers/linux-2.6/mkbuildtree Mon Sep 04 16:06:31 2006 +0900
+++ b/unmodified_drivers/linux-2.6/mkbuildtree Mon Sep 04 16:07:19 2006 +0900
@@ -42,6 +42,12 @@ i[34567]86)
ln -sf ${XL}/include/asm-i386/mach-xen/asm/synch_bitops.h include/asm
ln -sf ${XL}/include/asm-i386/mach-xen/asm/maddr.h include/asm
;;
+"ia64")
+ ln -sf ${XL}/include/asm-ia64/hypervisor.h include/asm
+ ln -sf ${XL}/include/asm-ia64/hypercall.h include/asm
+ ln -sf ${XL}/include/asm-ia64/synch_bitops.h include/asm
+ ln -sf ${XL}/include/asm-ia64/maddr.h include/asm
+ ;;
*)
echo unknown architecture $uname
exit 1
[-- Attachment #4: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2006-09-04 8:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-04 8:00 DOI Tsunehisa [this message]
2006-09-04 9:22 ` Porting PV-on-HVM for ia64 platform (Take 3) Steven Smith
2006-09-04 23:31 ` Doi.Tsunehisa
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=44FBDD21.6090103@jp.fujitsu.com \
--to=doi.tsunehisa@jp.fujitsu.com \
--cc=xen-devel@lists.xensource.com \
/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.