From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH][RESEND] PV drivers for HVM guests Date: Tue, 24 Oct 2006 16:26:35 +0100 Message-ID: <1161703595.22514.59.camel@localhost.localdomain> References: <4535F8F5.E57C.0030.0@novell.com> Your message of Wed, 18 Oct 2006 07:51:45 -0600. <4535F8F5.E57C.0030.0@novell.com> <200610182356.k9INuAF03840@photon.sky.yk.fujitsu.co.jp> <45374AE9.E57C.0030.0@novell.com> Your message of Thu, 19 Oct 2006 07:53:42 -0600. <45374AE9.E57C.0030.0@novell.com> <200610201012.k9KACIF29714@photon.sky.yk.fujitsu.co.jp> <45389CA5.E57C.0030.0@novell.com> <200610230145.k9N1jGF01307@photon.sky.yk.fujitsu.co.jp> <453D8055.4030509@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <453D8055.4030509@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: DOI Tsunehisa Cc: Ky Srinivasan , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, 2006-10-24 at 11:54 +0900, DOI Tsunehisa wrote: > Hi all, > > "Ky Srinivasan" wrote: > > I am enclosing the patch I have been working on. I have tested this on > > sles9 (2.6.5) and RHEL 4 (2.6.9). The patch applies cleanly on > > ChangeSet 11635. This patch was cleaned up based on Ian's and DOI's > > work. > > I merged Srinivasan's work and a part of modification for IA64 > platform. Thank you. I am just in the process of cleaning up the patch and breaking it into manageable chunks. I've incorporated changes from your patches and added both your signed-off-by's to the bits you've signed off on. > I tested only compiling on RHEL4 Update 2. OK, I'm boot testing on sles9sp3 and rhel4.4. Perhaps that explains some of the extra bits you seem to have which I don't seem to need? Or perhaps they are IA64 specific? I've left the bits that I've quoted below out for now since I didn't need them for the releases I'm testing. Once I've committed the first batch we can revisit these as well as anything I've dropped by mistake. Cheers, Ian. > --- /dev/null Thu Jan 01 00:00:00 1970 +0000 > +++ b/unmodified_drivers/linux-2.6/compat-include/compat.h Tue Oct 24 11:00:08 2006 +0900 > +#if defined(__LINUX_COMPILER_H) && !defined(__nocast) > +#define __nocast > +#endif > +#if defined(_LINUX_SCHED_H) && !defined(__sched) > +#define __sched > +#endif > +#if defined(_LINUX_TYPES_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14) > +typedef unsigned __nocast gfp_t; > +#endif > +#if defined(_LINUX_ERR_H) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12) > +#define IS_ERR_VALUE(x) unlikely((x) > (unsigned long)-1000L) > +#endif > +#if defined(__ia64__) && LINUX_VERSION_CODE < KERNEL_VERSION(2,6,11) > +#include > +#endif