Re: [PATCH v3] sparc: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE

From: David Miller
Date: Mon Jun 01 2015 - 01:46:22 EST


From: Khalid Aziz <khalid.aziz@xxxxxxxxxx>
Date: Wed, 27 May 2015 10:00:46 -0600

> sparc: Resolve conflict between sparc v9 and M7 on usage of bit 9 of TTE
>
> Bit 9 of TTE is CV (Cacheable in V-cache) on sparc v9 processor while
> the same bit 9 is MCDE (Memory Corruption Detection Enable) on M7
> processor. This creates a conflicting usage of the same bit. Kernel
> sets TTE.cv bit on all pages for sun4v architecture which works well
> for sparc v9 but enables memory corruption detection on M7 processor
> which is not the intent. This patch adds code to determine if kernel
> is running on M7 processor and takes steps to not enable memory
> corruption detection in TTE erroneously.
>
> Signed-off-by: Khalid Aziz <khalid.aziz@xxxxxxxxxx>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/