Prevent disabling of the D-cache on Cortex-A53. Other OS_MMUControl 0 fixes.
Jeffrey Lee authored
Detail:
  On Cortex-A53, a load/store exclusive instruction will abort if it targets non-cacheable memory or if the D-cache is disabled. Since the correct operation of these instructions is important to the OS and apps, it makes sense to prevent *Cache Off / OS_MMUControl 0 from being able to disable the D-cache on such systems.
  hdr/OSMisc, s/ARMops - Add new OS_PlatformFeatures 0 flag to indicate when disabling of the D-cache isn't allowed
  s/VMSAv6 - Update MMUControl_ModifyControl to force the D-cache to always be on when the "unsafe to disable D-cache" PlatformFeatures flag is set. Also, disallow mismatched I+D cache settings if we have an L2 cache (causes issues due to IMB ops only flushing to PoU), and fix dangerous D-cache invalidation when it's only the I-cache which is being disabled
  s/ARM600 - Clean up MMUControl_ModifyControl a bit so that it's a closer match to the VMSAv6 version, and fix the dangerous D-cache invalidation.
Admin:
  Tested on ARM11, Cortex-A7, Cortex-A53


Version 5.62. Tagged as 'Kernel-5_62'
d7299988
Name Last commit Last update
Dev Delete lots of old switches
Doc Kernel merged
Docs Fix wrong XCBTable being used for pre-rev T StrongARMs. Update HAL UART API docs.
Resources/UK Add support for shareable pages and additional access privileges
TestSrc Delete pre-HAL and 26bit code
h Header defs for Pi Compute module and IIC
hdr Prevent disabling of the D-cache on Cortex-A53. Other OS_MMUControl 0 fixes.
o Clean reimport of hdr.RISCOS (real commit date 2008-03-28 by bavison), without any of the 3rd party allocations.
rm Clean reimport of hdr.RISCOS (real commit date 2008-03-28 by bavison), without any of the 3rd party allocations.
s Prevent disabling of the D-cache on Cortex-A53. Other OS_MMUControl 0 fixes.
.gitattributes Added 'UnConv' error (see also HdrSrc).
BlackLog Initial revision
Changes Import from cleaned 360 CD
HelpStrs Adoption of *CONFIGURE/STATUS CACHE commands
LICENSE Clean reimport of hdr.RISCOS (real commit date 2008-03-28 by bavison), without any of the 3rd party allocations.
Makefile Add support for shareable pages and additional access privileges
MkClean,fd7 Mostly device stuff.
MkExport,fd7 Import from cleaned 360 CD
MkInstall,fd7 Added a disc install phase as an analogue of the export phase
MkRom,fd7 Makefile recreated from fragments
Version Delete STB code
VersionASM Prevent disabling of the D-cache on Cortex-A53. Other OS_MMUControl 0 fixes.
VersionNum Prevent disabling of the D-cache on Cortex-A53. Other OS_MMUControl 0 fixes.