habanalabs: Dissociate RAZWI info from event types
authorTomer Tayar <ttayar@habana.ai>
Thu, 28 Feb 2019 08:46:10 +0000 (10:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2019 12:04:59 +0000 (13:04 +0100)
commit60b7dcca4570817cc0244a8487246d6899407b44
treed932cf712b11db0d38f7e2cbbf0301d57ba2d651
parentf699f9f9ac87f0c774cbf3b9d4b8f336221f3a88
habanalabs: Dissociate RAZWI info from event types

This patch provides a workaround for a H/W bug in the RAZWI logger in
Goya. The logger doesn't recognize the initiator correctly and as a
result, accesses from one initiator are reported that were coming from a
different initiator.

The WA is to print the error information from the event entries we receive
without looking at the RAZWI logger at all.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/habanalabs/goya/goya.c