Skip to content
Commit daf93dd5 authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] fix VIPT/VIVT macro optimisations, add comments



cacheflush.h was doing:

... VIVT only stuff
... VIPT only stuff
... VIVT or VIPT stuff

which is clearly bogus - we would only ever use the "VIVT or VIPT" case
when both VIVT and VIPT are not selected.  Fix this.

Add comments to each case, including noting the impossibility of
correctly detecting the cache type of ARM926 and ARMv6 cores from
the cache type register in the "VIVT or VIPT" case.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 6cab4860
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment