Page MenuHomeFreeBSD

simplebus: add support for reading 'dma-ranges' property
AcceptedPublic

Authored by mmel on Wed, Jul 8, 11:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 15, 9:03 AM
Unknown Object (File)
Wed, Jul 15, 1:26 AM
Unknown Object (File)
Wed, Jul 15, 1:22 AM
Unknown Object (File)
Tue, Jul 14, 10:04 PM
Unknown Object (File)
Tue, Jul 14, 8:31 PM
Unknown Object (File)
Mon, Jul 13, 8:41 PM
Unknown Object (File)
Mon, Jul 13, 3:15 AM
Unknown Object (File)
Sun, Jul 12, 11:25 PM
Subscribers

Details

Reviewers
manu
andrew
Group Reviewers
arm64
Summary

Parse the "dma-ranges" device tree property on simplebus nodes
(analogous to the existing "ranges" support).

The parsed DMA ranges will be used for automatic BUSDMA(9) tag
creation in the future.

MFC after: 2 weeks

Diff Detail

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

Event Timeline

mmel requested review of this revision.Wed, Jul 8, 11:36 AM
andrew added a subscriber: andrew.
andrew added inline comments.
sys/dev/fdt/simplebus.c
271

Is this needed? Both callers already set it to NULL

This revision is now accepted and ready to land.Wed, Jul 8, 12:53 PM