Received: from multi.imgtec.com ([194.200.65.239]:43124 "EHLO multi.imgtec.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with ESMTP id S6823923Ab3KTKsKs7ZcT (ORCPT ); Wed, 20 Nov 2013 11:48:10 +0100 From: Markos Chandras Subject: [PATCH 3/3] MIPS: kernel: cpu-probe: Add support for probing interAptiv cores Date: Wed, 20 Nov 2013 10:46:02 +0000 Message-ID: <1384944362-7197-4-git-send-email-markos.chandras@imgtec.com> In-Reply-To: <1384944362-7197-1-git-send-email-markos.chandras@imgtec.com> References: <1384944362-7197-1-git-send-email-markos.chandras@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: linux-mips@linux-mips.org Cc: Leonid Yegoshin , Markos Chandras Message-ID: <20131120104602.Zvad6HhzzHw5I79dqsq2yhZcT-t2BLMt2uphR1ppqb4@z> From: Leonid Yegoshin Signed-off-by: Leonid Yegoshin Signed-off-by: Markos Chandras --- arch/mips/kernel/cpu-probe.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index 5487822..fba3709 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c @@ -809,6 +809,14 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu) c->cputype = CPU_74K; __cpu_name[cpu] = "MIPS 1074Kc"; break; + case PRID_IMP_INTERAPTIV_UP: + c->cputype = CPU_INTERAPTIV; + __cpu_name[cpu] = "MIPS interAptiv"; + break; + case PRID_IMP_INTERAPTIV_MP: + c->cputype = CPU_INTERAPTIV; + __cpu_name[cpu] = "MIPS interAptiv (multi)"; + break; case PRID_IMP_PROAPTIV_UP: c->cputype = CPU_PROAPTIV; __cpu_name[cpu] = "MIPS proAptiv"; -- 1.8.4.3