• Simon Guinot's avatar
    clk: armada-370: fix tclk frequencies · 1022c75f
    Simon Guinot authored
    This patch fixes the tclk frequency array for the Armada-370 SoC.
    This bug has been introduced by commit 6b72333d
    ("clk: mvebu: add Armada 370 SoC-centric clock init").
    
    A wrong tclk frequency affects the following drivers: mvsdio, mvneta,
    i2c-mv64xxx and mvebu-devbus. This list may be incomplete.
    
    About the mvneta Ethernet driver, note that the tclk frequency is used
    to compute the Rx time coalescence. Then, this bug harms the coalescence
    configuration and also degrades the networking performances with the
    default values.
    Signed-off-by: default avatarSimon Guinot <simon.guinot@sequanux.org>
    Cc: Andrew Lunn <andrew@lunn.ch>
    Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
    Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
    Acked-by: default avatarJason Cooper <jason@lakedaemon.net>
    Cc: stable@vger.kernel.org
    Signed-off-by: default avatarMichael Turquette <mturquette@deferred.io>
    1022c75f
armada-370.c 4.49 KB