diff options
author | Omer Shpigelman <oshpigelman@habana.ai> | 2020-12-30 07:05:18 +0100 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-09-14 14:00:03 +0200 |
commit | 3e08f157c2587fc7ada93abed41aae19bcbf8a6b (patch) | |
tree | f0da615bb9ab65d7b7754f3e668db72724aec3a9 /drivers/misc/habanalabs/include | |
parent | habanalabs: fix kernel OOPs related to staged cs (diff) | |
download | linux-3e08f157c2587fc7ada93abed41aae19bcbf8a6b.tar.xz linux-3e08f157c2587fc7ada93abed41aae19bcbf8a6b.zip |
habanalabs/gaudi: use direct MSI in single mode
Due to FLR scenario when running inside a VM, we must not use indirect
MSI because it might cause some issues on VM destroy.
In a VM we use single MSI mode in contrary to multi MSI mode which is
used in bare-metal.
Hence direct MSI should be used in single MSI mode only.
Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/include')
-rw-r--r-- | drivers/misc/habanalabs/include/gaudi/asic_reg/gaudi_regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/include/gaudi/asic_reg/gaudi_regs.h b/drivers/misc/habanalabs/include/gaudi/asic_reg/gaudi_regs.h index ffdfbd9b3220..1a6576666794 100644 --- a/drivers/misc/habanalabs/include/gaudi/asic_reg/gaudi_regs.h +++ b/drivers/misc/habanalabs/include/gaudi/asic_reg/gaudi_regs.h @@ -308,6 +308,8 @@ #define mmPCIE_AUX_FLR_CTRL 0xC07394 #define mmPCIE_AUX_DBI 0xC07490 +#define mmPCIE_CORE_MSI_REQ 0xC04100 + #define mmPSOC_PCI_PLL_NR 0xC72100 #define mmSRAM_W_PLL_NR 0x4C8100 #define mmPSOC_HBM_PLL_NR 0xC74100 |