lkml.org 
[lkml]   [2017]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 07/10] ARC: [plat-eznps] disabled stall counter due to a HW bug
    Date
    From: Noam Camus <noamca@mellanox.com>

    This counter represents threshold for consecutive stall that which
    trigger HW threads scheduling.
    Low values of this counter cause downgrade in performance
    and in the worst case even a livelock.

    Signed-off-by: Noam Camus <noamca@mellanox.com>
    ---
    arch/arc/plat-eznps/mtm.c | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/arch/arc/plat-eznps/mtm.c b/arch/arc/plat-eznps/mtm.c
    index aaaaffd..e0cb36b 100644
    --- a/arch/arc/plat-eznps/mtm.c
    +++ b/arch/arc/plat-eznps/mtm.c
    @@ -119,8 +119,6 @@ void mtm_enable_core(unsigned int cpu)
    mt_ctrl.value = 0;
    mt_ctrl.hsen = 1;
    mt_ctrl.hs_cnt = MT_CTRL_HS_CNT;
    - mt_ctrl.sten = 1;
    - mt_ctrl.st_cnt = MT_CTRL_ST_CNT;
    mt_ctrl.mten = 1;
    write_aux_reg(CTOP_AUX_MT_CTRL, mt_ctrl.value);

    --
    1.7.1
    \
     
     \ /
      Last update: 2017-05-25 04:37    [W:8.728 / U:0.300 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site