Bug 249231

Summary: [PATCH] sdhci: Add DMA support for i.MX
Product: Base System Reporter: Christian Mauderer <christian.mauderer>
Component: armAssignee: freebsd-arm (Nobody) <freebsd-arm>
Status: New ---    
Severity: Affects Only Me CC: christian.mauderer, emaste
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: arm   
OS: Any   
Attachments:
Description Flags
Patch for adding DMA support to the uSDHCI of the i.MX6ULL. none

Description Christian Mauderer 2020-09-10 13:07:03 UTC
Created attachment 217869 [details]
Patch for adding DMA support to the uSDHCI of the i.MX6ULL.

Hello,

I added some workarounds to the sdhci and fsl_sdhci driver so that I can enable DMA support for the i.MX6ULL uSDHCI. NXP did something a bit other then other SDHCI controllers. But as far as I can tell, all patches should work with every normal SDHCI controller too and there shouldn't be a big performance impact.

Note that I use the FreeBSD SDHCI stack via libbsd in RTEMS. So please be aware that this patch isn't tested directly on a FreeBSD kernel but only in a RTEMS application.

Best regards

Christian Mauderer
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2022-10-17 12:35:25 UTC
Keyword: 

    patch
or  patch-ready

– in lieu of summary line prefix: 

    [patch]

* bulk change for the keyword
* summary lines may be edited manually (not in bulk). 

Keyword descriptions and search interface: 

    <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>