Re: [net PATCH] octeontx2-af: Unlock contexts in the queue context cache in case of fault detection

From: Paolo Abeni
Date: Thu Feb 23 2023 - 04:53:24 EST


On Wed, 2023-02-22 at 12:29 +0530, Sai Krishna wrote:
> From: Suman Ghosh <sumang@xxxxxxxxxxx>
>
> NDC caches contexts of frequently used queue's (Rx and Tx queues)
> contexts. Due to a HW errata when NDC detects fault/poision while
> accessing contexts it could go into an illegal state where a cache
> line could get locked forever. To makesure all cache lines in NDC
> are available for optimum performance upon fault/lockerror/posion
> errors scan through all cache lines in NDC and clear the lock bit.
>
> Fixes: 4a3581cd5995 ("octeontx2-af: NPA AQ instruction enqueue support")
> Signed-off-by: Suman Ghosh <sumang@xxxxxxxxxxx>
> Signed-off-by: Sunil Kovvuri Goutham <sgoutham@xxxxxxxxxxx>
> Signed-off-by: Sai Krishna <saikrishnag@xxxxxxxxxxx>

After the net-next merge, this does not apply cleanly to net anymore.

Please rebase and re-post, thanks!

Paolo