Re: [PATCH] sparc: perf: Add support M7 processor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: David Ahern <david.ahern@xxxxxxxxxx>
Date: Mon, 13 Apr 2015 11:53:03 -0600

> T7-4 showed no problems with the patch that was accepted. Through
> several 'perf record -- make -j 1024' sessions (make clean in between)
> and with a perf-top running in a separate window for a long period of
> time, all sessions continued to see samples.
> 
> I changed the T4 write_pmc handler to use the m7 variant:
> 
> +static void sparc_m7_write_pmc(int idx, u64 val);
> 
>  static const struct sparc_pmu niagara4_pmu = {
>         .event_map      = niagara4_event_map,
>         .cache_map      = &niagara4_cache_map,
>         .max_events     = ARRAY_SIZE(niagara4_perfmon_event_map),
>         .read_pmc       = sparc_vt_read_pmc,
> -       .write_pmc      = sparc_vt_write_pmc,
> +       .write_pmc      = sparc_m7_write_pmc,
>         .upper_shift    = 5,
>         .lower_shift    = 5,
>         .event_mask     = 0x7ff,
> 
> and a T4-1 showed no problems either (-j 64 for this one).

Fair enough.  I'll run the same test and if I can't replicate the
problems I ran into way-back-when, let's just use the same routine
for all of these chips.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux