• Andrey Smirnov's avatar
    crypto: caam - drop explicit usage of struct jr_outentry · 6c5f898f
    Andrey Smirnov authored
    Using struct jr_outentry to specify the layout of JobR output ring is
    not appropriate for all 64-bit SoC, since some of them, like i.MX8MQ,
    use 32-bit pointers there which doesn't match 64-bit
    dma_addr_t. Convert existing code to use explicit helper functions to
    access any of the JobR output ring elements, so that the support for
    i.MX8MQ can be added later. 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>
    6c5f898f
intern.h 5.68 KB