Sitelet https://github.com/Microsemi/switchtec-kernel/issues/93
Skip to content

Inputs needed : failure to allocate coherent buffer #93

Description

@dusane

With 1.2rc3 driver i am trying to allocate 128 M of coherent memory using dma_alloc_coherent. which fails, even 64M allocation fails - at swiotlb buffer full.. (32 M works though). I have tried combos of following configs CMA configs (CONFIG_CMA_SIZE_MBYTES = 256, CONFIG_CMA_ALIGNMENT=12), high value of swiotlb=65535 in cmdline. tried explicitely setting dma_coherent_mask. But still i hit the failure. Any suggestion what i am missing ? This is with 4.4.36

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions