Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751895AbeAPKXi (ORCPT + 1 other); Tue, 16 Jan 2018 05:23:38 -0500 Received: from foss.arm.com ([217.140.101.70]:52456 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbeAPKXh (ORCPT ); Tue, 16 Jan 2018 05:23:37 -0500 From: Suzuki K Poulose To: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, catalin.marinas@arm.com, mark.rutland@arm.com, will.deacon@arm.com, marc.zyngier@arm.com, Suzuki K Poulose Subject: [PATCH 0/3] arm64: Enable work around for Cortex-A55 erratum 1024718 Date: Tue, 16 Jan 2018 10:23:20 +0000 Message-Id: <20180116102323.3470-1-suzuki.poulose@arm.com> X-Mailer: git-send-email 2.13.6 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: Arm Cortex-A55 suffers from erratum 1024718, where update of DBM/AP bits without a break-before-make sequence might result in an incorrect update of the hardware dirty bit. The work around is to disable the DBM feature on the affected cores. The kernel can cope with CPUs running with and without the feature. So to avoid the complications of handling secondary CPUs brought up later (e.g, userspace) do not tie this to arm64_cpu_capability framework. Instead, add a check in the early CPU boot before we enabel the TCR bits. Suzuki K Poulose (3): arm64: Update MIDR definitions for Arm Cortex-A cores arm64: Add assembly helpers for MIDR range check arm64: Add work around for Arm Cortex-A55 Erratum 1024718 Documentation/arm64/silicon-errata.txt | 1 + arch/arm64/Kconfig | 14 ++++++++++++ arch/arm64/include/asm/assembler.h | 41 ++++++++++++++++++++++++++++++++++ arch/arm64/include/asm/cputype.h | 4 ++++ arch/arm64/mm/proc.S | 5 +++++ 5 files changed, 65 insertions(+) -- 2.13.6