Oded Gabbay 2a51558c8c habanalabs: remove DMA mask hack for Goya
This patch removes the non-standard DMA mask setting for Goya. Now that
the device CPU goes through the MMU, we are not limited to allocating the
CPU accessible memory area in the address space of under 39 bits.
Therefore, we don't need to set the DMA masking twice during
initialization, a practice that is not working on POWER architecture.

The patch sets the DMA mask to 48 bits once during the initialization. The
address of the CPU accessible memory area is configured to the MMU and the
matching VA is given to the device CPU.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2019-05-29 17:58:38 +03:00
..
2019-06-23 09:23:33 +02:00
2019-06-23 09:23:33 +02:00
2019-06-09 09:11:21 +02:00
2019-06-09 09:11:21 +02:00
2019-06-23 09:23:33 +02:00
2019-06-09 09:11:21 +02:00
2019-06-06 15:16:00 +02:00
2019-07-03 09:51:08 +02:00
2019-07-03 09:51:08 +02:00