[3/3] ARM: socfpga: Turn on ARM errata for L2 cache

Message ID 20181004085415.12925-3-peron.clem@gmail.com
State New
Headers show
Series
  • [1/3] ARM: socfpga: Clean unused functions
Related show

Commit Message

Clément Péron Oct. 4, 2018, 8:54 a.m.
From: Dinh Nguyen <dinguyen@kernel.org>

Turn on these ARM and PL310 errata for SoCFPGA:

ARM_ERRATA_754322
ARM_ERRATA_764369
ARM_ERRATA_775420

PL310_ERRATA_588369
PL310_ERRATA_727915
PL310_ERRATA_753970
PL310_ERRATA_769419

Fixes: 387798b37c8d ("ARM: initial multiplatform support")
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 arch/arm/mach-socfpga/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Clément Péron Oct. 4, 2018, 9:24 a.m. | #1
Hi,

On Thu, 4 Oct 2018 at 11:16, Russell King - ARM Linux
<linux@armlinux.org.uk> wrote:
>
> On Thu, Oct 04, 2018 at 10:54:15AM +0200, Clément Péron wrote:
> > From: Dinh Nguyen <dinguyen@kernel.org>
> >
> > Turn on these ARM and PL310 errata for SoCFPGA:
> >
> > ARM_ERRATA_754322
> > ARM_ERRATA_764369
> > ARM_ERRATA_775420
> >
> > PL310_ERRATA_588369
> > PL310_ERRATA_727915
> > PL310_ERRATA_753970
> > PL310_ERRATA_769419
> >
> > Fixes: 387798b37c8d ("ARM: initial multiplatform support")
>
> What was broken in the referred to commit that caused this regression?
> If it's not a regression, why does it have a Fixes: line?

Sorry I'm not familiar with the "Fixes" tag, I though it was required
to be backported on the stable branch.
I will remove it in the v2

Thanks,
Clément

Patch

diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 4adb901dd5eb..a04660918d71 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -11,6 +11,13 @@  menuconfig ARCH_SOCFPGA
 	select HAVE_ARM_TWD if SMP
 	select MFD_SYSCON
 	select PCI_DOMAINS if PCI
+	select ARM_ERRATA_754322
+	select ARM_ERRATA_764369 if SMP
+	select ARM_ERRATA_775420
+	select PL310_ERRATA_588369
+	select PL310_ERRATA_727915
+	select PL310_ERRATA_753970 if PL310
+	select PL310_ERRATA_769419
 
 if ARCH_SOCFPGA
 config SOCFPGA_SUSPEND