Re: [PATCHv9 3/4] ARM: socfpga: enable L2 cache ECC on startup
From: Dinh Nguyen
Date: Mon Feb 08 2016 - 14:01:06 EST
On 01/27/2016 10:13 AM, tthayer@xxxxxxxxxxxxxxxxxxxxx wrote:
> From: Thor Thayer <tthayer@xxxxxxxxxxxxxxxxxxxxx>
>
> This patch enables the ECC for L2 cache on machine startup. The ECC has to
> be enabled before data is stored in memory otherwise the ECC will fail on
> reads.
>
> Signed-off-by: Thor Thayer <tthayer@xxxxxxxxxxxxxxxxxxxxx>
> ---
> v9: Improve node put handling.
> v8: Address community suggestions for strings. Fix string based on
> maintainer feedback. Update year in header.
> v7: unmap locally scoped mapped_l2_edac_addr and add of_node_put(np)
> v6: Remove pr_debug() & update year in header.
> ---
> arch/arm/mach-socfpga/Makefile | 1 +
> arch/arm/mach-socfpga/core.h | 1 +
> arch/arm/mach-socfpga/l2_cache.c | 41 ++++++++++++++++++++++++++++++++++++++
> arch/arm/mach-socfpga/socfpga.c | 2 ++
> 4 files changed, 45 insertions(+)
> create mode 100644 arch/arm/mach-socfpga/l2_cache.c
>
Acked-by: Dinh Nguyen <dinguyen@xxxxxxxxxxxxxxxxxxxxx>