powerpc/oprofile: Enable support for ppc750 processors
This patch enables oprofile for all 3 FX variants and GX variant of the 750 processor. Signed-off-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Родитель
2fb4423aa3
Коммит
7c9583a4db
|
@ -731,6 +731,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
||||||
.cpu_setup = __setup_cpu_750,
|
.cpu_setup = __setup_cpu_750,
|
||||||
.machine_check = machine_check_generic,
|
.machine_check = machine_check_generic,
|
||||||
.platform = "ppc750",
|
.platform = "ppc750",
|
||||||
|
.oprofile_cpu_type = "ppc/750",
|
||||||
|
.oprofile_type = PPC_OPROFILE_G4,
|
||||||
},
|
},
|
||||||
{ /* 750FX rev 2.0 must disable HID0[DPM] */
|
{ /* 750FX rev 2.0 must disable HID0[DPM] */
|
||||||
.pvr_mask = 0xffffffff,
|
.pvr_mask = 0xffffffff,
|
||||||
|
@ -746,6 +748,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
||||||
.cpu_setup = __setup_cpu_750,
|
.cpu_setup = __setup_cpu_750,
|
||||||
.machine_check = machine_check_generic,
|
.machine_check = machine_check_generic,
|
||||||
.platform = "ppc750",
|
.platform = "ppc750",
|
||||||
|
.oprofile_cpu_type = "ppc/750",
|
||||||
|
.oprofile_type = PPC_OPROFILE_G4,
|
||||||
},
|
},
|
||||||
{ /* 750FX (All revs except 2.0) */
|
{ /* 750FX (All revs except 2.0) */
|
||||||
.pvr_mask = 0xffff0000,
|
.pvr_mask = 0xffff0000,
|
||||||
|
@ -761,6 +765,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
||||||
.cpu_setup = __setup_cpu_750fx,
|
.cpu_setup = __setup_cpu_750fx,
|
||||||
.machine_check = machine_check_generic,
|
.machine_check = machine_check_generic,
|
||||||
.platform = "ppc750",
|
.platform = "ppc750",
|
||||||
|
.oprofile_cpu_type = "ppc/750",
|
||||||
|
.oprofile_type = PPC_OPROFILE_G4,
|
||||||
},
|
},
|
||||||
{ /* 750GX */
|
{ /* 750GX */
|
||||||
.pvr_mask = 0xffff0000,
|
.pvr_mask = 0xffff0000,
|
||||||
|
@ -776,6 +782,8 @@ static struct cpu_spec __initdata cpu_specs[] = {
|
||||||
.cpu_setup = __setup_cpu_750fx,
|
.cpu_setup = __setup_cpu_750fx,
|
||||||
.machine_check = machine_check_generic,
|
.machine_check = machine_check_generic,
|
||||||
.platform = "ppc750",
|
.platform = "ppc750",
|
||||||
|
.oprofile_cpu_type = "ppc/750",
|
||||||
|
.oprofile_type = PPC_OPROFILE_G4,
|
||||||
},
|
},
|
||||||
{ /* 740/750 (L2CR bit need fixup for 740) */
|
{ /* 740/750 (L2CR bit need fixup for 740) */
|
||||||
.pvr_mask = 0xffff0000,
|
.pvr_mask = 0xffff0000,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче