Skip to contentSkip to conversation

dma_get_required_mask for ARM64

DISCUSSION Suravee Suthikulanit 2 participants 2 messages Jun 6, 2014

lore
Share & tools
lore
#0 lore raw

Hi Catalin/Will,

In the arch/arm64/include/asm/dma-mapping.h defines the macro "ARCH_HAS_DMA_GET_REQUIRED_MASK". However, I can't seem to find where the function "dma_get_required_mask" defined for ARM64. I got a compilation error when building one of the driver:

ERROR: "dma_get_required_mask" [drivers/scsi/mpt2sas/mpt2sas.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Is this function defined anywhere for ARM64?

Thank you,

Suravee

#1 lore raw
Quoted 10 lines · Suravee Suthikulanit

In the arch/arm64/include/asm/dma-mapping.h defines the macro "ARCH_HAS_DMA_GET_REQUIRED_MASK". However, I can't seem to find where the function "dma_get_required_mask" defined for ARM64. I got a compilation error when building one of the driver:

ERROR: "dma_get_required_mask" [drivers/scsi/mpt2sas/mpt2sas.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Is this function defined anywhere for ARM64?

No, and I don?t remember to have had a reason for this. Please send a patch removing it.

Thanks,

Catalin