From: John V. <jvi...@re...> - 2010-11-08 16:28:46
|
Robert Richter said the following on 11/08/10 10:40: > On 07.11.10 10:38:53, Avi Gozlan wrote: > >> Is there a way to migrate support of new platforms to the source code of 2.6.18 kernel? > > Another option would be to take the sources from a RHEL5 kernel (not > sure which other distro is still using v2.6.18), but those changes may > be incomplete for the model you are using. I did most of the backport of the Oprofile changes to RHEL 5.5 kernel to support Nehalem. You could look at the RHEL 5 SRPM: ftp://ftp.redhat.com/redhat/linux/enterprise/5Server/en/os/SRPMS/kernel-2.6.18-194.el5.src.rpm I think you would want to take a look at these patches: linux-2.6-misc-support-nehalem-ex-processors-in-oprofile.patch linux-2.6-oprofile-add-support-for-nehalem-ep-processors.patch linux-2.6-x86-make-bare-metal-oprofile-recognize-other-platforms.patch linux-2.6-x86-oprofile-enable-additional-perf-counters.patch linux-2.6-x86-oprofile-fix-k8-core2-on-multiple-cpus.patch linux-2.6-x86-oprofile-support-arch-perfmon.patch linux-2.6-x86-oprofile-utilize-perf-counter-reservation.patch Good luck! John -- John Villalovos Intel Corporation on-site partner engineer at Red Hat, Inc. http://tabasco.usersys.redhat.com/ |