Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752693AbbKCJEv (ORCPT ); Tue, 3 Nov 2015 04:04:51 -0500 Received: from mail-pa0-f66.google.com ([209.85.220.66]:34668 "EHLO mail-pa0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752671AbbKCJEb (ORCPT ); Tue, 3 Nov 2015 04:04:31 -0500 Subject: Re: [RESEND PATCH] ARM: errata: Workaround for Cortex-A12 erratum 818325 To: Arnd Bergmann , linux-arm-kernel@lists.infradead.org References: <1446538209-13490-1-git-send-email-wxt@rock-chips.com> <1446538209-13490-2-git-send-email-wxt@rock-chips.com> <7094999.meGITi6gTu@wuerfel> Cc: Huang Tao , Thomas Petazzoni , Russell King , hl@rock-chips.com, Nadav Haklai , Ard Biesheuvel , sjg@chromium.org, Stephen Boyd , linux-kernel@vger.kernel.org, dianders@chromium.org, Kever Yang , linux-rockchip@lists.infradead.org, cwz@rock-chips.com, Jonathan Stone , Gregory CLEMENT , Caesar Wang , Heiko Stuebner From: Caesar Wang Message-ID: <56387890.2090802@gmail.com> Date: Tue, 3 Nov 2015 17:04:16 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <7094999.meGITi6gTu@wuerfel> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1691 Lines: 60 在 2015年11月03日 16:45, Arnd Bergmann 写道: > 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 beq __ca15_errata: >> +#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. No, I didn't have build in next kernel. Yup, the patch need a bit change from the message. commit 17e7bf86690eaad4906d2295f0bd171cc194633b Author: Russell King Date: Sat Apr 4 21:34:33 2015 +0100 ARM: proc-v7: move CPU errata out of line ----- Original patch: https://patchwork.kernel.org/patch/4735341/ Applied and verified on kernel V3.14. > > Arnd > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel -- Thanks, Caesar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/