]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "arm64: Fix memory shareability attribute for ioremap_wc/cache"
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 16 Jan 2014 18:32:25 +0000 (18:32 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 16 Jan 2014 18:32:25 +0000 (18:32 +0000)
commit1c5276cac2df5731f4de16bfa6ef49943de81279
tree9467821cdd4ab8b935297e02680b3f3d6e9a1333
parent6ec0a6c1a2984217221041929d0be3b34997dc1a
Revert "arm64: Fix memory shareability attribute for ioremap_wc/cache"

This reverts commit cb79623a70f30826b15eac99302146ca2d24b04e.

The above commit breaks the mapping type for Device memory because
pgprot_default already contains a Normal memory type. pgprot_default is
also not initialised early enough for earlyprintk resulting in an
inconsistent memory mapping with 64K PAGE_SIZE configuration.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Will Deacon <will.deacon@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/io.h