All of lore.kernel.org
 help / color / mirror / Atom feed
* dma_get_required_mask for ARM64
@ 2014-06-06 16:00 Suravee Suthikulanit
  2014-06-06 21:27 ` Catalin Marinas
  0 siblings, 1 reply; 2+ messages in thread
From: Suravee Suthikulanit @ 2014-06-06 16:00 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* dma_get_required_mask for ARM64
  2014-06-06 16:00 dma_get_required_mask for ARM64 Suravee Suthikulanit
@ 2014-06-06 21:27 ` Catalin Marinas
  0 siblings, 0 replies; 2+ messages in thread
From: Catalin Marinas @ 2014-06-06 21:27 UTC (permalink / raw)
  To: linux-arm-kernel

On 6 Jun 2014, at 17:00, Suravee Suthikulanit <suravee.suthikulpanit@amd.com> wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-06 21:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-06 16:00 dma_get_required_mask for ARM64 Suravee Suthikulanit
2014-06-06 21:27 ` Catalin Marinas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.