• T
    habanalabs: Use single pool for CPU accessible host memory · 03d5f641
    Tomer Tayar 提交于
    The device's CPU accessible memory on host is managed in a dedicated
    pool, except for 2 regions - Primary Queue (PQ) and Event Queue (EQ) -
    which are allocated from generic DMA pools.
    Due to address length limitations of the CPU, the addresses of all these
    memory regions must have the same MSBs starting at bit 40.
    This patch modifies the allocation of the PQ and EQ to be also from the
    dedicated pool, to ensure compliance with the limitation.
    Signed-off-by: NTomer Tayar <ttayar@habana.ai>
    Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
    03d5f641
habanalabs.h 53.6 KB