[Skiboot] [PATCH V2] NX: Add NX coprocessor init opal call

Stewart Smith stewart at linux.vnet.ibm.com
Tue Jun 5 14:09:50 AEST 2018

Haren Myneni <haren at linux.vnet.ibm.com> writes:
> The read offset (4:11) in Receive FIFO control register is incremented
> by FIFO size whenever CRB read by NX. But the index in RxFIFO has to
> match with the corresponding entry in FIFO maintained by VAS in kernel.
> VAS entry is reset to 0 when opening the receive window during driver
> initialization. So when NX842 is reloaded or in kexec boot, possibility
> of mismatch between RxFIFO control register and VAS entries in kernel.
> It could cause CRB failure / timeout from NX.
> This patch adds nx_coproc_init opal call for kernel to initialize
> readOffset (4:11) and Queued (15:23) in RxFIFO control register.
> Signed-off-by: Haren Myneni <haren at us.ibm.com>

Please also add:

Fixes: 3b3c5962f432 ("NX: Add P9 NX support for 842 compression engine")
CC: stable # v5.8+

as this should go to stable trees.

Stewart Smith
OPAL Architect, IBM.

More information about the Skiboot mailing list