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)
Thu, Apr 11, 7:34 PM
Unknown Object (File)
Feb 24 2024, 4:20 AM
Unknown Object (File)
Nov 13 2023, 1:37 PM
Unknown Object (File)
Oct 25 2023, 9:59 AM
Unknown Object (File)
Oct 13 2023, 9:31 AM
Unknown Object (File)
Oct 13 2023, 9:22 AM
Unknown Object (File)
Oct 13 2023, 9:22 AM
Unknown Object (File)
Oct 12 2023, 5:03 PM
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.