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)
Tue, May 7, 9:05 AM
Unknown Object (File)
Tue, May 7, 5:00 AM
Unknown Object (File)
Mon, May 6, 6:55 PM
Unknown Object (File)
Thu, Apr 25, 7:51 PM
Unknown Object (File)
Thu, Apr 25, 7:48 PM
Unknown Object (File)
Dec 22 2023, 3:58 PM
Unknown Object (File)
Dec 22 2023, 3:54 PM
Unknown Object (File)
Dec 20 2023, 1:58 AM
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.