lkml.org 
[lkml]   [2017]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.9 053/130] powerpc/perf: Fix PM_BRU_CMPL event code for power9
    Date
    4.9-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>

    commit d89f473ff6f84872e761419f7233d6e00f99c340 upstream.

    Use 0x10012 event code for PM_BRU_CMPL event in power9 event list
    instead of current 0x40060.

    Fixes: 34922527a2bcb ('powerpc/perf: Add power9 event list macros for generic and cache events')
    Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
    Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/powerpc/perf/power9-events-list.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/arch/powerpc/perf/power9-events-list.h
    +++ b/arch/powerpc/perf/power9-events-list.h
    @@ -16,7 +16,7 @@ EVENT(PM_CYC, 0x0001e)
    EVENT(PM_ICT_NOSLOT_CYC, 0x100f8)
    EVENT(PM_CMPLU_STALL, 0x1e054)
    EVENT(PM_INST_CMPL, 0x00002)
    -EVENT(PM_BRU_CMPL, 0x40060)
    +EVENT(PM_BRU_CMPL, 0x10012)
    EVENT(PM_BR_MPRED_CMPL, 0x400f6)

    /* All L1 D cache load references counted at finish, gated by reject */

    \
     
     \ /
      Last update: 2017-01-24 09:01    [W:3.037 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site