WSL2-Linux-Kernel/drivers/crypto/nx
Haren Myneni ce29ea3540 powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr
[ Upstream commit c127d130f6 ]

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:22:43 +02:00
..
Kconfig crypto/nx: Register and unregister VAS interface on PowerVM 2021-06-20 21:58:58 +10:00
Makefile crypto/nx: Rename nx-842-pseries file name to nx-common-pseries 2021-06-20 21:58:57 +10:00
nx-842.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
nx-842.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nx-aes-cbc.c crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx-aes-ccm.c crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx-aes-ctr.c crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx-aes-ecb.c crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx-aes-gcm.c crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx-aes-xcbc.c crypto: nx - fix incorrect kernel-doc comment syntax in files 2021-03-26 20:15:58 +11:00
nx-common-powernv.c powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr 2022-06-09 10:22:43 +02:00
nx-common-pseries.c powerpc updates for 5.14 2021-07-02 12:54:34 -07:00
nx-sha256.c crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx-sha512.c crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-04-26 08:51:23 -07:00
nx.h crypto: Replace zero-length array with flexible-array member 2020-03-06 12:28:21 +11:00
nx_csbcpb.h crypto: nx - Fix numerous sparse byte-order warnings 2021-06-24 14:51:35 +08:00
nx_debugfs.c crypto: nx - Repair some kernel-doc problems 2021-03-26 20:02:36 +11:00