]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: socfpga: Enable Arria10 L2 cache ECC on startup
authorThor Thayer <tthayer@opensource.altera.com>
Mon, 21 Mar 2016 16:01:45 +0000 (11:01 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 29 Mar 2016 08:42:34 +0000 (10:42 +0200)
commit282fd85a49417263044a9076f881f66691a18056
tree765a59dc03cb9a44d0fbd8a03ebacab4e45d637e
parenta0a166275eb6d9c798110521a7fe0a821e392221
ARM: socfpga: Enable Arria10 L2 cache ECC on startup

Enable ECC for Arria10 L2 cache on machine startup. The ECC has to be
enabled before data is stored in memory otherwise the ECC will fail on
reads.

Use DT_MACHINE to select Arria10 L2 cache function.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Acked-by: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@opensource.altera.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux@arm.linux.org.uk
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1458576106-24505-9-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/arm/mach-socfpga/core.h
arch/arm/mach-socfpga/l2_cache.c
arch/arm/mach-socfpga/socfpga.c