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.
Tags
Referenced Files
Unknown Object (File)
Thu, Oct 2, 10:47 AM
Unknown Object (File)
Sat, Sep 20, 4:01 AM
Unknown Object (File)
Wed, Sep 17, 9:29 PM
Unknown Object (File)
Jul 7 2025, 2:20 PM
Unknown Object (File)
Jul 4 2025, 2:46 PM
Unknown Object (File)
Jun 28 2025, 6:44 AM
Unknown Object (File)
Jun 20 2025, 8:45 AM
Unknown Object (File)
Jun 15 2025, 3:47 PM
Subscribers

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
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.