Re: [PATCH 3/3] ARM: errata 430973: move !ARCH_MULTIPLATFORM to Kconfig

From: Sebastian Reichel
Date: Mon Jul 27 2015 - 13:36:38 EST


Hi Ben,

On Mon, Jul 27, 2015 at 10:59:56AM +0100, Ben Dooks wrote:
> > I think you missed the part adding the !ARCH_MULTIPLATFORM
> > dependency in Kconfig for ARM_ERRATA_430973. I only removed the
> > check in the sourcecode, since it is no longer required with the
> > dependency being in Kconfig.
> >
> > So I guess there are 3 options now:
> >
> > 1. Add !ARCH_MULTIPLATFORM dependency to Kconfig, keep extra check
> > in the sourcecode 2. Add !ARCH_MULTIPLATFORM dependency to Kconfig,
> > remove extra check in the sourcecode 3. Remove !ARCH_MULTIPLATFORM
> > dependency alltogether
> >
> > I will send an appropriate patch, if you tell me your preferred
> > option.
>
> This isn't the only place ARM_ERRATA_430973 is used, [...]

The dependency on ARM_ERRATA_430973 has been removed from
arch/arm/mm/proc-v7-2level.S in 4.1 (commit id e748994), so
that it always flushes. The only additional places are in the
Nokia N900 boardcode and the N900 pdata-quirk, which are
removed in PATCH 1/3.

So actually it is the only place.

-- Sebastian

Attachment: signature.asc
Description: Digital signature