Page MenuHomeFreeBSD

sdhci: add sysctls to dump sdhci registers and capabilites
ClosedPublic

Authored by bag_semihalf.com on Aug 4 2021, 8:11 AM.
Tags
None
Referenced Files
F133622380: D31406.id93435.diff
Mon, Oct 27, 2:24 AM
Unknown Object (File)
Sun, Oct 26, 4:27 AM
Unknown Object (File)
Sun, Oct 26, 1:30 AM
Unknown Object (File)
Fri, Oct 24, 4:02 AM
Unknown Object (File)
Fri, Oct 17, 6:51 PM
Unknown Object (File)
Thu, Oct 16, 6:04 PM
Unknown Object (File)
Sun, Oct 12, 6:50 AM
Unknown Object (File)
Thu, Oct 9, 3:55 PM

Details

Summary

Add sysctls dev.sdhci.X.slotY.dumpregs and dev.sdhci.X.slotY.dumpcaps
which dumps sdhci registers or capabilities.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

bag_semihalf.com created this revision.

LGTM + tested on MacchiatoBin/CN913x-DB/CN913x-CEx7-Evaluation board

This revision is now accepted and ready to land.Aug 13 2021, 3:14 PM

How about moving those sysctls under a dev.sdhci.X.slotY.debug parent node? This way we can add more debug tunables in the future.

This revision now requires review to proceed.Aug 18 2021, 8:25 AM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 13 2021, 8:02 AM
This revision was automatically updated to reflect the committed changes.