Page MenuHomeFreeBSD

ARM compressed boot : cachetype variables not initialized with ARMv7 architecture
Needs ReviewPublic

Authored by soutade_gmail.com on Sep 20 2016, 9:37 AM.

Details

Reviewers
manu
imp
Summary

ARMv7 architecture has severals global variables containing cache information (arm_cache_loc, arm_cache_type...). It must be initialized before any cache operation. So, it's needed to call get_cachetype_cp15() at startup. Currently, it's not the case, and cpu_idcache_wbinv_all() and cpu_l2cache_wbinv_all() doesn't properly works (or take a long time before returning).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

soutade_gmail.com retitled this revision from to ARM compressed boot : cachetype variables not initialized with ARMv7 architecture.
soutade_gmail.com updated this object.
soutade_gmail.com edited the test plan for this revision. (Show Details)
soutade_gmail.com added reviewers: manu, imp.
soutade_gmail.com set the repository for this revision to rS FreeBSD src repository - subversion.
soutade_gmail.com added a project: ARM.