diff options
author | Ofir Bitton <obitton@habana.ai> | 2021-04-01 13:43:40 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-04-09 14:09:25 +0300 |
commit | e5042a6fa6d4aa1168b3521298c92a53978c9d99 (patch) | |
tree | d9564efd4a26706bbd0eb5162b346a763e4e0211 /drivers/misc/habanalabs/common/mmu | |
parent | d4b1e5da54c067ca248191aaee5f531c4d30ba29 (diff) | |
download | linux-e5042a6fa6d4aa1168b3521298c92a53978c9d99.tar.xz |
habanalabs/gaudi: derive security status from pci id
As F/ security indication must be available before driver approaches
PCI bus, F/W security should be derived from PCI id rather than be
fetched during boot handshake with F/W.
Signed-off-by: Ofir Bitton <obitton@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/common/mmu')
-rw-r--r-- | drivers/misc/habanalabs/common/mmu/mmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/common/mmu/mmu.c b/drivers/misc/habanalabs/common/mmu/mmu.c index ae1778103e23..b37189956b14 100644 --- a/drivers/misc/habanalabs/common/mmu/mmu.c +++ b/drivers/misc/habanalabs/common/mmu/mmu.c @@ -591,6 +591,7 @@ int hl_mmu_if_set_funcs(struct hl_device *hdev) switch (hdev->asic_type) { case ASIC_GOYA: case ASIC_GAUDI: + case ASIC_GAUDI_SEC: hl_mmu_v1_set_funcs(hdev, &hdev->mmu_func[MMU_DR_PGT]); break; default: |