habanalabs: remove power9 workaround for dma support
[linux-2.6-microblaze.git] / drivers / misc / habanalabs / common / pci / pci.c
index 0b5366c..a6ffa34 100644 (file)
@@ -338,10 +338,7 @@ int hl_pci_set_outbound_region(struct hl_device *hdev,
                                lower_32_bits(outbound_region_end_address));
        rc |= hl_pci_iatu_write(hdev, 0x014, 0);
 
-       if ((hdev->power9_64bit_dma_enable) && (hdev->dma_mask == 64))
-               rc |= hl_pci_iatu_write(hdev, 0x018, 0x08000000);
-       else
-               rc |= hl_pci_iatu_write(hdev, 0x018, 0);
+       rc |= hl_pci_iatu_write(hdev, 0x018, 0);
 
        rc |= hl_pci_iatu_write(hdev, 0x020,
                                upper_32_bits(outbound_region_end_address));