OrangePi_CM5/drivers/crypto/nx
Haren Myneni 8a665c2791 powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr
[ Upstream commit c127d130f6d59fa81701f6b04023cf7cd1972fb3 ]

In init_winctx_regs(), __pa() is called on winctx->rx_fifo and this
function is called to initialize registers for receive and fault
windows. But the real address is passed in winctx->rx_fifo for
receive windows and the virtual address for fault windows which
causes errors with DEBUG_VIRTUAL enabled. Fixes this issue by
assigning only real address to rx_fifo in vas_rx_win_attr struct
for both receive and fault windows.

Reported-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/338e958c7ab8f3b266fa794a1f80f99b9671829e.camel@linux.ibm.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-09 10:20:58 +02:00
..
Kconfig
…
Makefile
…
nx-842-pseries.c crypto: nx - Fix RCU warning in nx842_OF_upd_status 2021-07-14 16:56:10 +02:00
nx-842.c
…
nx-842.h
…
nx-aes-cbc.c
…
nx-aes-ccm.c
…
nx-aes-ctr.c
…
nx-aes-ecb.c
…
nx-aes-gcm.c
…
nx-aes-xcbc.c
…
nx-common-powernv.c powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr 2022-06-09 10:20:58 +02:00
nx-sha256.c
…
nx-sha512.c
…
nx.c
…
nx.h
…
nx_csbcpb.h
…
nx_debugfs.c
…