Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RM 6661: Revert "RM 6641: Temporary implementation of dma_alloc_coherent() on STM32H7 SOM" #3

Merged

Conversation

av-dyachenko
Copy link
Collaborator

@av-dyachenko av-dyachenko commented Jun 6, 2023

Design

This hack is not required as soon as the appropriate DMA memory pool is defined in the device tree:

        reserved-memory {
                ...
                /* The DMA memory pool is needed by Ethernet driver
                   to allocate buffer descriptors using the standard DMA API */
                dmapool@d0300000 {
                        compatible = "shared-dma-pool";
                        reg = <0xd0300000 0x100000>;
                        no-map;
                        linux,dma-default;
                };

Test

Refer to the U-Boot PR: https://gitlab.com/emcraft/STM32H7/u-boot-upstream/-/merge_requests/6

@vladimirkhusainov-emcraft vladimirkhusainov-emcraft merged commit 75b7979 into v5.15-stm32mp Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants