Re: [RESEND PATCH] ARM: errata: Workaround for Cortex-A12 erratum 818325

From: Arnd Bergmann
Date: Tue Nov 03 2015 - 03:46:32 EST


On Tuesday 03 November 2015 16:10:09 Caesar Wang wrote:
>
> + /* Cortex-A12 Errata */
> + ldr r10, =0x00000c0d @ Cortex-A12 primary part number
> + teq r0, r10
> + bne 5f
> +#ifdef CONFIG_ARM_ERRATA_818325
> + teq r6, #0x00 @ present in r0p0
> + teqne r6, #0x01 @ present in r0p1-00lac0-rc11
> + mrceq p15, 0, r10, c15, c0, 1 @ read diagnostic register
> + orreq r10, r10, #1 << 12 @ set bit #12
> + mcreq p15, 0, r10, c15, c0, 1 @ write diagnostic register
> + isb
> +#endif
> /* Cortex-A15 Errata */
>

Does this still build? You seem to have lost the '5:' label.

Arnd
--
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/