summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/gaudi2/gaudi2_security.c
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2022-06-29 16:37:55 +0300
committerOded Gabbay <ogabbay@kernel.org>2022-07-12 09:09:30 +0300
commit1cf596c6b9ac07a94fa8489866511e76f9c7644b (patch)
tree59a4dfaf02136d00a5c4107a37c8861f73d0a606 /drivers/misc/habanalabs/gaudi2/gaudi2_security.c
parentaf2e650b36a9a0c0e127dde20c394cbbf318e729 (diff)
downloadlinux-1cf596c6b9ac07a94fa8489866511e76f9c7644b.tar.xz
habanalabs/gaudi2: configure virtual MSI-X doorbell interface
Due to a watchdog timer in the LBW path, writes to the MSI-X doorbell can return sporadic error responses. To work-around this issue, a virtual MSI-X doorbell on the HBW path is configured, using the MSI-X AXI slave interface in the PCIe controller. Upon an access to a configured HBW host address, the controller will generate MSI-X interrupt instead of treating the access as regular host memory access. This patch allocates the dedicate host memory page, and communicate the address to F/W, so it will configure the relevant address match registers in the controller, and will use this address to generate MSI-X interrupts for F/W events. Following patches will handle other initiators in the device, to move them to use the virtual MSI-X doorbell. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/gaudi2/gaudi2_security.c')
0 files changed, 0 insertions, 0 deletions