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)
Mon, Oct 20, 2:37 PM
Unknown Object (File)
Mon, Oct 20, 2:37 PM
Unknown Object (File)
Mon, Oct 20, 12:59 AM
Unknown Object (File)
Wed, Oct 15, 10:31 AM
Unknown Object (File)
Thu, Oct 2, 10:47 AM
Unknown Object (File)
Sep 20 2025, 4:01 AM
Unknown Object (File)
Sep 17 2025, 9:29 PM
Unknown Object (File)
Jul 7 2025, 2:20 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.