Message ID | 1434146263-30972-1-git-send-email-timur@codeaurora.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, Jun 12, 2015 at 04:57:42PM -0500, Timur Tabi wrote: > 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> I think this patch together with the second one could go through the kvm tree. For the core arm64 part: Acked-by: Catalin Marinas <catalin.marinas@arm.com> -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 06/15/2015 05:59 AM, Catalin Marinas wrote: > I think this patch together with the second one could go through the kvm > tree. For the core arm64 part: > > Acked-by: Catalin Marinas<catalin.marinas@arm.com> Suzuki Poulose posted a patch that adds generic support for ARMv8 KVM targets. I want to drop my second patch, so can we pick up this first patch through the ARM tree?
On Fri, Jun 19, 2015 at 05:28:53PM -0500, Timur Tabi wrote: > On 06/15/2015 05:59 AM, Catalin Marinas wrote: > >I think this patch together with the second one could go through the kvm > >tree. For the core arm64 part: > > > >Acked-by: Catalin Marinas<catalin.marinas@arm.com> > > Suzuki Poulose posted a patch that adds generic support for ARMv8 KVM > targets. I want to drop my second patch, so can we pick up this first patch > through the ARM tree? So if the second patch is no longer needed, what's using this patch? I would defer merging it until actually required in some part of the kernel.
Catalin Marinas wrote: > So if the second patch is no longer needed, what's using this patch? I > would defer merging it until actually required in some part of the > kernel. Fair enough.
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__ /*