Page MenuHomeFreeBSD

powerpc: refactor dmamap setup; free dmamap in error paths
Needs ReviewPublic

Authored by adrian on Apr 3 2026, 4:26 PM.
Referenced Files
Unknown Object (File)
Sat, May 30, 9:03 PM
Unknown Object (File)
Thu, May 14, 1:39 PM
Unknown Object (File)
Thu, May 14, 7:31 AM
Unknown Object (File)
May 11 2026, 5:38 AM
Unknown Object (File)
May 10 2026, 5:33 PM
Unknown Object (File)
May 8 2026, 3:08 AM
Unknown Object (File)
May 7 2026, 4:39 AM
Unknown Object (File)
May 5 2026, 6:00 AM

Details

Summary
  • refactor the dmamap allocation / setup path for future code changes to align with arm64 busdma code;
  • free the dmamap allocation if the dma segment list can't be allocated;
  • free the dmamap allocation during the busdma dmamem allocation path if the actual memory allocation itself fails.

Locally tested:

  • POWER9 ppc64le native boot, Raptor Engineering Blackbird
  • POWER8 ppc6le, IBM POWER S822LC

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72682
Build 69565: arc lint + arc unit