In PPC arch HPAGE_SHIFT is an unexported, variable (because huge page sizes are different there). The huge pages patch needs to reference this value (through HPAGE_SIZE).
-----Original Message----- From: Jack Morgenstein [mailto:[email protected]] Sent: Tuesday, July 07, 2009 2:14 PM To: Or Gerlitz; Eli Cohen Cc: [email protected]; [email protected] Subject: Re: [ofa-general] Write combining support in OFED 1.5 Adding Eli Cohen (author of the huge-page support patch). Eli, what is missing on the PPC regarding huge page support? -Jack On Tuesday 07 July 2009 13:54, Or Gerlitz wrote: > Jack Morgenstein wrote: > > Yes, see kernel_patches/fixes/mlx4_0010_add_wc.patch. With OFED 1.5, I am trying to use the kernel-based WC support, and eliminate the patch. To do this, I need 2 things: > > 1. macro pgprot_writecombine to be defined for PPC/PPC64 under the > > arch directory (file arch/powerpc/include/asm/pgtable.h) > > 2. A way of determining (via the standard kernel) if write-combining is available on a given platform (to allow disabling use of ConnectX blueflame in userspace if WC is not available). > > > It seems that none of the issues are IB specific, correct? As for PPC > guys I think we have another open issue with them, regarding huge > pages support, a patch which isn't mainline. Maybe you can use the > opportunity to set > http://lists.openfabrics.org/pipermail/general/2009-January/056812.htm > l > as well... > > Or. > > > _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
