Re: [PATCH] powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr

2022-05-24 Thread Michael Ellerman
On Sat, 09 Apr 2022 01:44:16 -0700, Haren Myneni wrote: > 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

[PATCH] powerpc/powernv/vas: Assign real address to rx_fifo in vas_rx_win_attr

2022-04-09 Thread Haren Myneni
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 enable