]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ArmV7Mmu: prefer non shareable memory on non-coherent hardware
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 15 Dec 2015 17:31:56 +0000 (17:31 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Tue, 15 Dec 2015 17:31:56 +0000 (17:31 +0000)
commit46ff196fde4882fca1a0210f7df9166d8832ad06
tree8ebf9ac7cfe7ee2a91f11d070c4abd9452a5fe78
parentb9f7890c47691c7eb5c66c42c775744ee813260b
ArmPkg/ArmV7Mmu: prefer non shareable memory on non-coherent hardware

Commit SVN r18778 made all mappings of normal memory (inner) shareable,
even on hardware that implements shareability as uncached accesses.
The original concerns that prompted the change, regarding coherent DMA
and virt guests migrating between CPUs, do not apply to such hardware,
so revert to the original behavior in that case.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19285 6f19259b-4bc3-4df7-8a09-765794883524
ArmPkg/Library/ArmLib/ArmV7/ArmV7Lib.h
ArmPkg/Library/ArmLib/ArmV7/ArmV7Mmu.c