All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@codeaurora.org>
To: Vipul Gandhi <vgandhi@codeaurora.org>,
	Shanker Donthineni <shankerd@codeaurora.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, kvm@vger.kernel.org
Subject: [PATCH 1/2] arm64: qcom: Add define for ARMv8 implementer (MIDR)
Date: Fri, 12 Jun 2015 16:57:42 -0500	[thread overview]
Message-ID: <1434146263-30972-1-git-send-email-timur@codeaurora.org> (raw)

From: Shanker Donthineni <shankerd@codeaurora.org>

This patch adds define for Qualcomm Technologies ARMv8 CPU
implementer ID 0x51 and part number for Kryo in asm/cputype.h.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
---
 arch/arm64/include/asm/cputype.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h
index a84ec60..6978764 100644
--- a/arch/arm64/include/asm/cputype.h
+++ b/arch/arm64/include/asm/cputype.h
@@ -64,6 +64,7 @@
 
 #define ARM_CPU_IMP_ARM		0x41
 #define ARM_CPU_IMP_APM		0x50
+#define ARM_CPU_IMP_QCOM	0x51
 
 #define ARM_CPU_PART_AEM_V8	0xD0F
 #define ARM_CPU_PART_FOUNDATION	0xD00
@@ -84,6 +85,9 @@
 #define SCTLR_EL1_CP15BEN	(0x1 << 5)
 #define SCTLR_EL1_SED		(0x1 << 8)
 
+#define QCOM_CPU_PART_MASK	0xF00
+#define QCOM_CPU_PART_KRYO	0x200
+
 #ifndef __ASSEMBLY__
 
 /*
-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.

WARNING: multiple messages have this Message-ID (diff)
From: timur@codeaurora.org (Timur Tabi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] arm64: qcom: Add define for ARMv8 implementer (MIDR)
Date: Fri, 12 Jun 2015 16:57:42 -0500	[thread overview]
Message-ID: <1434146263-30972-1-git-send-email-timur@codeaurora.org> (raw)

From: Shanker Donthineni <shankerd@codeaurora.org>

This patch adds define for Qualcomm Technologies ARMv8 CPU
implementer ID 0x51 and part number for Kryo in asm/cputype.h.

Signed-off-by: Shanker Donthineni <shankerd@codeaurora.org>
Signed-off-by: Timur Tabi <timur@codeaurora.org>
---
 arch/arm64/include/asm/cputype.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm64/include/asm/cputype.h b/arch/arm64/include/asm/cputype.h
index a84ec60..6978764 100644
--- a/arch/arm64/include/asm/cputype.h
+++ b/arch/arm64/include/asm/cputype.h
@@ -64,6 +64,7 @@
 
 #define ARM_CPU_IMP_ARM		0x41
 #define ARM_CPU_IMP_APM		0x50
+#define ARM_CPU_IMP_QCOM	0x51
 
 #define ARM_CPU_PART_AEM_V8	0xD0F
 #define ARM_CPU_PART_FOUNDATION	0xD00
@@ -84,6 +85,9 @@
 #define SCTLR_EL1_CP15BEN	(0x1 << 5)
 #define SCTLR_EL1_SED		(0x1 << 8)
 
+#define QCOM_CPU_PART_MASK	0xF00
+#define QCOM_CPU_PART_KRYO	0x200
+
 #ifndef __ASSEMBLY__
 
 /*
-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project.

             reply	other threads:[~2015-06-12 21:57 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-12 21:57 Timur Tabi [this message]
2015-06-12 21:57 ` [PATCH 1/2] arm64: qcom: Add define for ARMv8 implementer (MIDR) Timur Tabi
2015-06-12 21:57 ` [PATCH 2/2] arm64: KVM: Add VCPU support for Qualcomm Technologies Kryo ARMv8 CPU Timur Tabi
2015-06-12 21:57   ` Timur Tabi
2015-06-16 13:32   ` Marc Zyngier
2015-06-16 13:32     ` Marc Zyngier
2015-06-15 10:59 ` [PATCH 1/2] arm64: qcom: Add define for ARMv8 implementer (MIDR) Catalin Marinas
2015-06-15 10:59   ` Catalin Marinas
2015-06-19 22:28   ` Timur Tabi
2015-06-19 22:28     ` Timur Tabi
2015-06-22 11:09     ` Catalin Marinas
2015-06-22 11:09       ` Catalin Marinas
2015-06-22 12:36       ` Timur Tabi
2015-06-22 12:36         ` Timur Tabi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434146263-30972-1-git-send-email-timur@codeaurora.org \
    --to=timur@codeaurora.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=shankerd@codeaurora.org \
    --cc=vgandhi@codeaurora.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.