Skip to content

swiotlb: CONFIG_SWIOTLB_DYNAMIC=y. Enable dynamic allocation of DMA bounce buffers. #1155

@ZvmNNoHlQjYb

Description

@ZvmNNoHlQjYb

Same-request check

Yes

Linux Distribution affected

All

Feature description

See zen-kernel/zen-kernel#393

For sw iommu CONFIG_SWIOTLB_DYNAMIC=y is an advantageous config for nearly all users.
SWIOTLB is used with generic (fallback) / Intel VT-d. It’s just AMD going HW accelerated and not using swiotlb.

See the related issue in the Zen Kernel for further IOMMU recommendations

(strict IOMMU by default instead lazy, turning AMD-Vi (amd_iommu) completely off since it’s causing page faults and restricts hardware compatibility). SW IOMMU should be the default. This means, Intel VT-d config parameters may also be kept unchanged. Intel just chose the existing solution (SW IOMMU) and extended.

IMO, the fw provided with the delivered UEFI (virtualization, IOMMU, etc.) is just basic for first setup and boot. Rely on SW implementation (Kernel, runtime, userspace) instead everytime you can.

The system runs much more stable and feels more independent.

My Favorite type(s) of frog
*

What’s this :D

My Favorite type(s) of frog

Frog

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions