Page MenuHomeFreeBSD

Map CESA SRAM memory in driver attach for Armada38x
ClosedPublic

Authored by bsz_semihalf.com on May 5 2016, 10:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 1:47 PM
Unknown Object (File)
Fri, Nov 8, 12:45 PM
Unknown Object (File)
Oct 22 2024, 11:12 AM
Unknown Object (File)
Oct 22 2024, 11:11 AM
Unknown Object (File)
Oct 22 2024, 11:11 AM
Unknown Object (File)
Oct 22 2024, 11:01 AM
Unknown Object (File)
Sep 26 2024, 5:48 AM
Unknown Object (File)
Sep 18 2024, 5:12 AM
Subscribers

Details

Summary

On other platforms with CESA accelerator the SRAM memory is mapped in
early init before driver is attached. This method only works correctly
with mappings no smaller than L1 section size (1MB). There may be more
SRAM blocks and they may have smaller sizes than 1MB as is the case
for Armada38x. Instead, map SRAM memory with bus_space_map() in CESA
driver attach. Note that we can no longer assume that VA == PA for the
SRAM.

Submitted by: Michal Stanek <mst@semihalf.com
Obtained from: Semihalf
Sponsored by: Stormshield
Differential revision:
Reviewed by:

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bsz_semihalf.com retitled this revision from to Map CESA SRAM memory in driver attach for Armada38x.
bsz_semihalf.com updated this object.
bsz_semihalf.com edited the test plan for this revision. (Show Details)
bsz_semihalf.com added reviewers: ian, ARM.
bsz_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.

Any comments on this series of patches?

This revision was automatically updated to reflect the committed changes.