Page MenuHomeFreeBSD

bcm2835_sdhci: improve busdma usage
AbandonedPublic

Authored by kevans on Nov 9 2019, 3:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 5 2024, 3:29 PM
Unknown Object (File)
Jan 3 2024, 7:23 AM
Unknown Object (File)
Dec 30 2023, 10:44 PM
Unknown Object (File)
Nov 20 2023, 10:14 PM
Unknown Object (File)
Aug 13 2023, 7:53 AM
Unknown Object (File)
Jul 22 2023, 1:34 AM
Unknown Object (File)
Jun 10 2023, 10:46 AM
Unknown Object (File)
Apr 22 2023, 12:50 AM
Subscribers

Details

Reviewers
gonzo
bz
ian
Summary

Currently, the busdma(9) tag is created with maxsize=512, nsegs=512, magsegsize=512, meaning (if I interpret this correctly) we will only ever load exactly one segment despite clearly expecting at most two. As such, we end up remapping like it's going out of style every 512 bytes.

I suspect this will have a decent impact on mmc performance.

Test Plan

Ask other people to test, because I'm still working out how to cope with addressing restrictions on the rpi4 and don't have functional sdhci+dma at the moment.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 27409