audk/ArmPkg
Ard Biesheuvel 713aea3486 ArmPkg/ArmMmuLib ARM: remove cache maintenance of block mapping contents
Peculiarly enough, the current page table manipulation code takes it
upon itself to write back and invalidate the memory contents covered
by page and section mappings when their memory attributes change. It
is not generally the case that data must be written back when such a
change occurs, even when switching from cacheable to non-cacheable
attributes, and in some cases, it is actually causing problems. (The
cache maintenance is also performed on the PCIe MMIO regions as they
get mapped by the PCI bus driver, and under virtualization, each
cache maintenance operation on an emulated MMIO region triggers a
round trip to the host and back)

So let's just drop this code.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2018-06-21 16:09:22 +02:00
..
Drivers ArmPkg: Fix bug in Generic Watchdog driver 2018-04-30 11:38:54 +02:00
Filesystem/SemihostFs ArmPkg/SemihostFs: eliminate calls to deprecated string functions 2016-10-28 12:04:04 +01:00
Include ArmPkg/ArmMtlLib: fix prototype inconsistency in MtlWaitUntilChannelFree 2018-06-18 21:49:39 +02:00
Library ArmPkg/ArmMmuLib ARM: remove cache maintenance of block mapping contents 2018-06-21 16:09:22 +02:00
ArmPkg.dec ArmPkg/ArmSmcPsciResetSystemLib: implement fallback for warm reboot 2018-06-15 18:18:37 +02:00
ArmPkg.dsc ArmPkg/ArmPkg.dsc: enable NOOPT build target 2018-06-18 19:35:23 +02:00