From: David Daney <ddaney.cavm@gmail.com>
To: Markos Chandras <markos.chandras@imgtec.com>
Cc: linux-mips@linux-mips.org, Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Subject: Re: [PATCH 3/6] MIPS: Add support for the proAptiv cores
Date: Mon, 11 Nov 2013 11:59:08 -0800 [thread overview]
Message-ID: <5281370C.8040707@gmail.com> (raw)
In-Reply-To: <1383844120-29601-4-git-send-email-markos.chandras@imgtec.com>
On 11/07/2013 09:08 AM, Markos Chandras wrote:
> From: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
>
> The proAptiv Multiprocessing System is a power efficient multi-core
> microprocessor for use in system-on-chip (SoC) applications.
> The proAptiv Multiprocessing System combines a deep pipeline
> with multi-issue out of order execution for improved computational
> throughput. The proAptiv Multiprocessing System can contain one to
> six MIPS32r3 proAptiv cores, system level coherence
> manager with L2 cache, optional coherent I/O port, and optional
> floating point unit.
>
> Reviewed-by: Paul Burton <paul.burton@imgtec.com>
> Reviewed-by: James Hogan <james.hogan@imgtec.com>
> Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
This patch is a big collection of small unrelated changes.
Can you break it up so that there is one patch per change?
o Add new identifiers
o Probe for them.
o Add new cpu-features.
o tlb.h change.
o All the places you add 'case CPU_PROAPTIV'
Plus...
> ---
> arch/mips/include/asm/cpu-features.h | 3 +++
> arch/mips/include/asm/cpu-type.h | 1 +
> arch/mips/include/asm/cpu.h | 5 ++++-
> arch/mips/include/asm/tlb.h | 4 +++-
> arch/mips/kernel/cpu-probe.c | 15 +++++++++++++++
> arch/mips/kernel/idle.c | 1 +
> arch/mips/kernel/spram.c | 1 +
> arch/mips/kernel/traps.c | 1 +
> arch/mips/mm/c-r4k.c | 1 +
> arch/mips/mm/sc-mips.c | 1 +
> arch/mips/mm/tlbex.c | 1 +
> arch/mips/oprofile/op_model_mipsxx.c | 4 ++++
> 12 files changed, 36 insertions(+), 2 deletions(-)
>
[...]
> diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
> index c814287..8168e29 100644
> --- a/arch/mips/kernel/cpu-probe.c
> +++ b/arch/mips/kernel/cpu-probe.c
> @@ -286,6 +286,13 @@ static inline unsigned int decode_config4(struct cpuinfo_mips *c)
> && cpu_has_tlb)
> c->tlbsize += (config4 & MIPS_CONF4_MMUSIZEEXT) * 0x40;
>
> + if (cpu_has_tlb) {
> + if (((config4 & MIPS_CONF4_IE) >> 29) == 2) {
> + c->options |= MIPS_CPU_TLBINV;
> + pr_info("TLBINV/F supported, config4=0x%0x\n", config4);
... The probing functions don't print messages, so don't add this pr_info().
> + }
> + }
> +
next prev parent reply other threads:[~2013-11-11 19:59 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-07 17:08 [PATCH 0/6] Add support for the proAptiv core Markos Chandras
2013-11-07 17:08 ` Markos Chandras
2013-11-07 17:08 ` [PATCH 1/6] MIPS: Add missing bits for Config registers Markos Chandras
2013-11-07 17:08 ` Markos Chandras
2013-11-11 20:00 ` David Daney
2013-11-07 17:08 ` [PATCH 2/6] MIPS: mm: Move UNIQUE_ENTRYHI macro to a header file Markos Chandras
2013-11-07 17:08 ` Markos Chandras
2013-11-07 17:08 ` [PATCH 3/6] MIPS: Add support for the proAptiv cores Markos Chandras
2013-11-07 17:08 ` Markos Chandras
2013-11-11 19:59 ` David Daney [this message]
2013-11-12 9:41 ` Markos Chandras
2013-11-12 9:41 ` Markos Chandras
2013-11-07 17:08 ` [PATCH 4/6] MIPS: mm: Use the TLBINVF instruction to flush the VTLB Markos Chandras
2013-11-07 17:08 ` Markos Chandras
2013-11-11 20:10 ` David Daney
2013-11-11 20:55 ` Leonid Yegoshin
2013-11-11 20:55 ` Leonid Yegoshin
2013-11-12 9:40 ` Markos Chandras
2013-11-12 9:40 ` Markos Chandras
2013-11-07 17:08 ` [PATCH 5/6] MIPS: Add support for FTLBs Markos Chandras
2013-11-07 17:08 ` Markos Chandras
2013-11-07 17:08 ` [PATCH 6/6] MIPS: Add debugfs file to print the segmentation control registers Markos Chandras
2013-11-07 17:08 ` Markos Chandras
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=5281370C.8040707@gmail.com \
--to=ddaney.cavm@gmail.com \
--cc=Leonid.Yegoshin@imgtec.com \
--cc=linux-mips@linux-mips.org \
--cc=markos.chandras@imgtec.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox