• Andrey Smirnov's avatar
    crypto: caam - don't hardcode inpentry size · dff36801
    Andrey Smirnov authored
    Using dma_addr_t for elements of JobR input ring is not appropriate on
    all 64-bit SoCs, some of which, like i.MX8MQ, use only 32-bit wide
    pointers there. Convert all of the code to use explicit helper
    function that can be later extended to support i.MX8MQ. No functional
    change intended.
    Signed-off-by: default avatarAndrey Smirnov <andrew.smirnov@gmail.com>
    Cc: Chris Spencer <christopher.spencer@sea.co.uk>
    Cc: Cory Tusar <cory.tusar@zii.aero>
    Cc: Chris Healy <cphealy@gmail.com>
    Cc: Lucas Stach <l.stach@pengutronix.de>
    Cc: Horia Geantă <horia.geanta@nxp.com>
    Cc: Aymen Sghaier <aymen.sghaier@nxp.com>
    Cc: Leonard Crestez <leonard.crestez@nxp.com>
    Cc: linux-crypto@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    dff36801
jr.c 14.9 KB