Skip to content

ensure ehci and ohci compatibility #4

@stefanklug

Description

@stefanklug

Zerocopy should also be supported for ehci controllers. At least ehci and ohci controllers must be detected and ensured that everything still works on these devices.

Idea:
check if devices's dma_mask is > physical memory of the system. If yes, we can unconditionally use any memory from userspace. Otherwise we disable zerocopy completely for this device. This way we don't have to switch between copying and zerocopy based on the buffer we got from userspace. And newer controllers should support dma to the whole physical memory anyway.

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