habanalabs/gaudi2: capture RAZWI information
Added function to calculate possible engines which caused RAZWI (read-only zero, write ignored), from a given router id or module index. When getting RAZWI via PSOC IP, first the router id is calculated and then the possible engines that caused the RAZWI are calculated. There is a possibility that the RAZWI initiator is not an engine. In that case, it will not be included in possible engines as it doesn't have an engine id. RAZWI information is captured when receiving event from engine or via PSOC IP. Signed-off-by: Dani Liberman <dliberman@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
committed by
Oded Gabbay
parent
17f3f42af2
commit
15ac503cdc
@@ -597,6 +597,10 @@ enum gaudi2_engine_id {
|
||||
GAUDI2_ENGINE_ID_NIC10_1,
|
||||
GAUDI2_ENGINE_ID_NIC11_0,
|
||||
GAUDI2_ENGINE_ID_NIC11_1,
|
||||
GAUDI2_ENGINE_ID_PCIE,
|
||||
GAUDI2_ENGINE_ID_PSOC,
|
||||
GAUDI2_ENGINE_ID_ARC_FARM,
|
||||
GAUDI2_ENGINE_ID_KDMA,
|
||||
GAUDI2_ENGINE_ID_SIZE
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user