WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

[Xen-ia64-devel] Re: [Xen-devel][PATCH][RESEND] PV drivers for HVM guest

To: "Ian Campbell" <Ian.Campbell@xxxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Re: [Xen-devel][PATCH][RESEND] PV drivers for HVM guests
From: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>
Date: Fri, 27 Oct 2006 10:52:05 +0900
Cc: xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 26 Oct 2006 18:52:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: <4535F8F5.E57C.0030.0@xxxxxxxxxx> Your message of Wed, 18 Oct 2006 07:51:45 -0600. <4535F8F5.E57C.0030.0@xxxxxxxxxx><200610182356.k9INuAF03840@xxxxxxxxxxxxxxxxxxxxxxxxxxx><45374AE9.E57C.0030.0@xxxxxxxxxx> Your message of Thu, 19 Oct 2006 07:53:42 -0600. <45374AE9.E57C.0030.0@xxxxxxxxxx><200610201012.k9KACIF29714@xxxxxxxxxxxxxxxxxxxxxxxxxxx><45389CA5.E57C.0030.0@xxxxxxxxxx><200610230145.k9N1jGF01307@xxxxxxxxxxxxxxxxxxxxxxxxxxx><453D8055.4030509@xxxxxxxxxxxxxx><1161703595.22514.59.camel@xxxxxxxxxxxxxxxxxxxxx><200610242354.k9ONsIF02543@xxxxxxxxxxxxxxxxxxxxxxxxxxx><200610250311.k9P3BwF04686@xxxxxxxxxxxxxxxxxxxxxxxxxxx><1161774212.22514.86.camel@xxxxxxxxxxxxxxxxxxxxx><200610260013.k9Q0DuF16474@xxxxxxxxxxxxxxxxxxxxxxxxxxx><200610260358.k9Q3w4F20001@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1161872106.22514.170.camel@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Ian Campbell,

My name is Takanori Kasai, work for FUJITSU.

My current patch is below, it cross-compiles for IA64 without warnings
against RHEL4.4 and SLES9sp3. Could you let me know if it works for you?
If so would you mind submitting the ia64 bits via the ia64 maintainer.
I'll apply the unmodified_drivers bits.

I confirmed this patch. (cs:12004)
However, it failed in the compile of linux-sparse.

BTW, We try to port it for RHEL4U4.
We appended typedef gfp_t, because it is not defined in linux2.6.16.
But it has already been defined in RHEL4U4.
We made patch compiling for RHEL4U4.
How do you think of this patch?

My best regards.

-
Takanori Kasai


As follows:
------------------------------------------------------------------------------
 CC      drivers/input/joydev.o
In file included from include/asm/page.h:268,
                from include/asm/ptrace.h:86,
                from include/asm/hypervisor.h:59,
                from include/asm/io.h:69,
                from drivers/input/joydev.c:13:
include/asm/maddr.h: In function `pfn_to_mfn_for_dma':
include/asm/maddr.h:33: warning: implicit declaration of function `HYPERVISOR_phystomach'
include/asm/maddr.h: In function `mfn_to_pfn_for_dma':
include/asm/maddr.h:53: warning: implicit declaration of function `HYPERVISOR_machtophys'
In file included from include/asm/hypervisor.h:60,
                from include/asm/io.h:69,
                from drivers/input/joydev.c:13:
include/asm/hypercall.h: At top level:
include/asm/hypercall.h:322: error: conflicting types for 'HYPERVISOR_phystomach' include/asm/maddr.h:33: error: previous implicit declaration of 'HYPERVISOR_phystomach' was here include/asm/hypercall.h:339: error: conflicting types for 'HYPERVISOR_machtophys' include/asm/maddr.h:53: error: previous implicit declaration of 'HYPERVISOR_machtophys' was here
make[6]: *** [drivers/input/joydev.o] Error 1
make[5]: *** [drivers/input] Error 2
make[4]: *** [drivers] Error 2
make[4]: Leaving directory `/xen/source/xen-ia64-unstable.hg-12004-Ian/linux-2.6.16.29-xen'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/xen/source/xen-ia64-unstable.hg-12004-Ian'
make[2]: *** [linux-2.6-xen-install] Error 2
make[2]: Leaving directory `/xen/source/xen-ia64-unstable.hg-12004-Ian'
make[1]: *** [install-kernels] Error 1
make[1]: Leaving directory `/xen/source/xen-ia64-unstable.hg-12004-Ian'
make: *** [world] Error 2
------------------------------------------------------------------------------



----- Original Message ----- From: "Kasai Takanori" <kasai.takanori@xxxxxxxxxxxxxx>
To: "xen-ia64-devel" <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Sent: Thursday, October 26, 2006 9:06 PM
Subject: [Xen-ia64-devel] [Patch] PV-on-HVM backport patch for IPF


Hi All,

We've ported PV-on-HVM drivers for IPF.
I post a part of PV-on-HVM backport patch for IPF.
We tested compiling and simple test on RHEL4U2.

BTW, We try to port it for RHEL4U4.
We appended typedef gfp_t, because it is not defined in linux2.6.9.
But it has already been defined in RHEL4U4.
We made pv-RHEL4U4-ia64.patch compiling for RHEL4U4.
However, we don't think that this idea is so good.
Do you have any idea for cleanup to switch of version?
And I found insmod to RHEL4U4 is always fail.
I still investigating it.

pv-backport-ia64.patch:
 - Add infrastructure for a compatibility shim on IPF
 - Append IS_ERR_VALUE to hypercall.h for backport
 - Append to include pgtable-nopud.h for linux-2.6.11 before
 - Append pud_bad macro for linux-2.6.11 before

pv-RHEL4U4-ia64.patch(preliminary):
 - Modify build rule for RHEL4_U4 specific
 - Append typedef gfp_t to xencomm.h for linux-2.6.14 before
 - we tested only compiling.

My best regards.

-
Takanori Kasai

Attachment: pv-backport-ia64.patch
Description: Binary data

Attachment: pv-RHEL4U4-ia64.patch
Description: Binary data

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>