]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
ARM: mm: Fix ECC mem policy printk
authorMichal Simek <michal.simek@xilinx.com>
Thu, 10 Oct 2013 09:59:46 +0000 (11:59 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 19 Nov 2013 07:04:58 +0000 (08:04 +0100)
commit9e37fe7a281d956e0d61274fa2c2d54eef4eb663
tree7051e65b10bbfe18fde6a0fa0a715dafd4de9ca6
parentfb5c0dc606a503ad284caa2d27b042ce4b6a964e
ARM: mm: Fix ECC mem policy printk

ECC policy can be applied to the whole system
when this bit is implemented by SoC vendor
(IMP - bit 9 - in L1 page table entry format).
When this bit is not implemented by SoC vendor
it doesn't mean that system has no other way
how to do ECC.
This patch ensures to show this message only when ECC
is requested via cmd line ecc=on and runs on
appropriate ARM core.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/mm/mmu.c