From patchwork Fri Jan 19 13:40:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Grall X-Patchwork-Id: 125236 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp172068ljf; Fri, 19 Jan 2018 23:14:03 -0800 (PST) X-Google-Smtp-Source: AH8x227YiHtWDXuKMBAEoqicdJctRrA+PHdButEqDMYeK+WJW4MyKqeFEWpPAbdiTLSXWzGeAOZA X-Received: by 10.36.254.4 with SMTP id w4mr798725ith.65.1516432443483; Fri, 19 Jan 2018 23:14:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516432443; cv=none; d=google.com; s=arc-20160816; b=gH51daXad0mkIeqY0IE55cuZ4nVBuAIQiMnzHxU5OMAFA5nWnkfP6DZqumlsCtEXwJ v12C+jQlSvz+5ifgoiRpQZivhYPLfVuXu9OZecnh8CvZqjOwJSLhD8hR1lhaq3M+PoNF SCyfPd3Hzc5MD79D5dpVNRaXkxcJ1p5ndK/TGfn9qf2BONLKcPifBA6EFhnqKB0A3vTq Lb6qZg5LHtzfDbf/ekI7+lUvstZ4cFuBn49BKgXLLlCt2qBRQ0oPeLco9U+7CH09NtIG r32+Eu/OeuMm3JNDyQ6Ee8N6+b2wuzydmTpI3y4P5tJuEtJK7DVVNNkYjxNJiVBSLVwA KEZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-unsubscribe:list-id :precedence:subject:cc:references:in-reply-to:message-id:date:to :from:dkim-signature:arc-authentication-results; bh=2GvU2qGJLuHZlK8YooDHDwPbZGFQyGuBLUIS1C4t3Ss=; b=Q6ZdnTYqg6CI5+LxK4Xz3NuFkkPG5kwVApxZ23+i5zBc13kIVo20N87rNRf8T0QusU xXUIayGYxcptiLyMkbm4l7FfJLSKxzP4UazxRq+wZSZxTC8Bf/OO77Hzf39/6s6WuiD6 ENMpw2dqaSSMP8zod0NrtBjr8oFkH7gtZldxcSA7dnMxEwhqoCzgAPfD/605n4jt3dGK tCmPJk9Y8Miub+7MvLLjelfO/5pVwWpG0CNG1L4tKTFDQEPw7L/M0QziVKkzDlvRtM9T U09CEbe5aRlXUr/CDBEYzwi0ALUSch9c+mYRWtprlierx7ggd7b8nFXuY42rTzOjEVS0 08lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fmmBs+tJ; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org. [192.237.175.120]) by mx.google.com with ESMTPS id z143si10798498ioe.237.2018.01.19.23.14.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jan 2018 23:14:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fmmBs+tJ; spf=pass (google.com: best guess record for domain of xen-devel-bounces@lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecnJH-0001qv-Bm; Sat, 20 Jan 2018 07:11:27 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecnJG-0001qp-IQ for xen-devel@lists.xen.org; Sat, 20 Jan 2018 07:11:26 +0000 X-Inumbo-ID: 7c5ddd44-fdb1-11e7-b0d7-9f685aff125f Received: from mail-wm0-f65.google.com (unknown [74.125.82.65]) by us1-amaz-eas1.inumbo.com (Halon) with ESMTPS id 7c5ddd44-fdb1-11e7-b0d7-9f685aff125f; Sat, 20 Jan 2018 07:14:00 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id g1so7191311wmg.2 for ; Fri, 19 Jan 2018 23:11:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rilL2LWe0XKMLAgMTUHZJpReCQZ4Bbq240zzTDisO6M=; b=fmmBs+tJD282EH6LNr0XUk2snPhcL/R27yiGuEaNFsRhFc/yMh7RGL+BL9lj0QW9oO a08IskNIXWIUTPh5X69FGtYS5HGDqewD+uS/HerJR761zdmGduY4+YumDC8jHIg7ansr 9BI/1gXo3Rr6NyCzPgTCiJgODP6RTycWB9D8c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rilL2LWe0XKMLAgMTUHZJpReCQZ4Bbq240zzTDisO6M=; b=liiOcEeonsa7E/XIDrdNoudsOXhLHzGitKky4uSjCDZKs01oHmkwoAmp92hpevZReX JMM6lXU4nfd3BBsjTWnjCIB+D3RP7iNmDWUynQAEo16nwfJ+y8+pquGydOmdKhDxylAr mA6HfIgBT7+uQZvyEnXquzZyt/Cdubw8y0cZGk8SrXNWLCgxnMeC5TeeL2zAckXZSLLy ujuTPqXJ84x+PEnyzsmq4AIGRQ1lp3ddOoTCwuYP3B3YABjBf+HQ3Z1UewhI9k0j+tVN OiljZq6B9UPD4DF7k2dsu9mRpWtoT5uKSGIhoosM8HlrRyjme5M7EfP4LnTkEWK0jZKI ToNQ== X-Gm-Message-State: AKwxyte1M1H/o+XRx6ohShUsMCZp/RZilawMJfsAFB7J6a5XI+Oo/7+M ttD5kXA+R3v0QRITTbwRViwIlS94Uuk= X-Received: by 10.28.108.4 with SMTP id h4mr7394296wmc.161.1516369267266; Fri, 19 Jan 2018 05:41:07 -0800 (PST) Received: from e108454-lin.cambridge.arm.com ([2001:41d0:1:6c23::1]) by smtp.gmail.com with ESMTPSA id s44sm5113642wrc.64.2018.01.19.05.41.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jan 2018 05:41:06 -0800 (PST) From: Julien Grall To: xen-devel@lists.xen.org Date: Fri, 19 Jan 2018 13:40:58 +0000 Message-Id: <20180119134103.3390-3-julien.grall@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180119134103.3390-1-julien.grall@linaro.org> References: <20180119134103.3390-1-julien.grall@linaro.org> Cc: sstabellini@kernel.org, andre.przywara@linaro.org Subject: [Xen-devel] [PATCH 2/7] xen/arm32: Add missing MIDR values for Cortex-A17 and A12 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Cortex-A17 and A12 MIDR will be used in a follow-up patch for hardening the branch predictor. This is part of XSA-254. Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini --- xen/include/asm-arm/processor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/include/asm-arm/processor.h b/xen/include/asm-arm/processor.h index 466da5da86..c0f79d0093 100644 --- a/xen/include/asm-arm/processor.h +++ b/xen/include/asm-arm/processor.h @@ -44,6 +44,8 @@ #define ARM_CPU_IMP_ARM 0x41 +#define ARM_CPU_PART_CORTEX_A12 0xC0D +#define ARM_CPU_PART_CORTEX_A17 0xC0E #define ARM_CPU_PART_CORTEX_A15 0xC0F #define ARM_CPU_PART_CORTEX_A53 0xD03 #define ARM_CPU_PART_CORTEX_A57 0xD07 @@ -51,6 +53,8 @@ #define ARM_CPU_PART_CORTEX_A73 0xD09 #define ARM_CPU_PART_CORTEX_A75 0xD0A +#define MIDR_CORTEX_A12 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A12) +#define MIDR_CORTEX_A17 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A17) #define MIDR_CORTEX_A15 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A15) #define MIDR_CORTEX_A53 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A53) #define MIDR_CORTEX_A57 MIDR_CPU_MODEL(ARM_CPU_IMP_ARM, ARM_CPU_PART_CORTEX_A57)