From: Florian Fainelli <ffainelli@freebox.fr>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Kevin Cernekee <cernekee@gmail.com>, linux-mips@linux-mips.org
Subject: Re: [PATCH V2 3/8] MIPS: BMIPS: Add CFLAGS, Makefile entries for BMIPS
Date: Sat, 12 Nov 2011 15:11:19 +0100 [thread overview]
Message-ID: <201111121511.21175.ffainelli@freebox.fr> (raw)
In-Reply-To: <20111111172039.GA5200@linux-mips.org>
Le vendredi 11 novembre 2011 18:20:39, Ralf Baechle a écrit :
> On Fri, Nov 11, 2011 at 08:57:39AM -0800, Kevin Cernekee wrote:
> > At a high level, the CONFIG_CPU_BMIPS* settings are used to make
> > compile-time decisions that differentiate BMIPS from standard MIPS32,
> > and that differentiate the BMIPS CPUs from one another.
> >
> >
> > Present and future uses include:
> >
> > Figuring out which set of proprietary BMIPS CP0 registers / core
> > registers to use, where they are located, bit fields, etc.
> >
> > Per-BMIPS SMP operations and capabilities
> >
> > Per-BMIPS performance counter access
> >
> > cpu-feature-overrides.h
> >
> > HIGHMEM, SMP, and other basic features
> >
> > eDSP instruction set (different on each BMIPS, and BMIPS-specific)
> >
> > Cache architecture and BMIPS-specific cache optimizations
> >
> >
> > Some of these could potentially be replaced with a "switch
> > (current_cpu_type())" but others are a little trickier (i.e. they show
> > up in low-level PM resume code, exception vectors, or other sensitive
> > places).
> >
> >
> > It is true that BMIPS uses -mips32 for compilation. If the criteria
> > for adding a new CONFIG_CPU_* choice is whether it selects a new
> > instruction set or compilation flags, do you think it makes sense to
> > remove BMIPS* from the "CPU selection" menu, enable
> > CONFIG_CPU_MIPS32_R1 for BMIPS platforms, and call our options
> > something different? e.g.
> >
> > CONFIG_BMIPS
> > CONFIG_BMIPS3300
> > CONFIG_BMIPS4350
> > CONFIG_BMIPS4380
> > CONFIG_BMIPS5000
>
> Fair enough; sorting that kind of thing will need some effort across
> the tree at some point in the future.
>
> I notice there seems to be only CPU core support; are you planning
> to submit board support code as well?
BCM63xx and BCM47xx use BMIPS CPUs and can already take advantage of this core
CPU support code.
--
Florian
next prev parent reply other threads:[~2011-11-12 14:11 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-11 6:30 [PATCH V2 1/8] MIPS: BMIPS: Fix up Kconfig settings Kevin Cernekee
2011-11-11 6:30 ` [PATCH V2 2/8] MIPS: Clean up whitespace warning in hazards.h Kevin Cernekee
2011-11-11 18:03 ` Ralf Baechle
2011-11-11 6:30 ` [PATCH V2 3/8] MIPS: BMIPS: Add CFLAGS, Makefile entries for BMIPS Kevin Cernekee
2011-11-11 12:58 ` Ralf Baechle
2011-11-11 16:57 ` Kevin Cernekee
2011-11-11 17:20 ` Ralf Baechle
2011-11-12 14:11 ` Florian Fainelli [this message]
2011-11-11 18:03 ` Ralf Baechle
2011-11-11 6:30 ` [PATCH V2 4/8] MIPS: BMIPS: Add set/clear CP0 macros for BMIPS operations Kevin Cernekee
2011-11-11 18:04 ` Ralf Baechle
2011-11-11 6:30 ` [PATCH V2 5/8] MIPS: BMIPS: Introduce bmips.h Kevin Cernekee
2011-11-11 13:32 ` Ralf Baechle
2011-11-11 18:04 ` Ralf Baechle
2011-11-11 6:30 ` [PATCH V2 6/8] MIPS: Add NMI notifier Kevin Cernekee
2011-11-11 13:34 ` Ralf Baechle
2011-11-11 18:04 ` Ralf Baechle
2011-11-11 6:30 ` [PATCH V2 7/8] MIPS: Add board_ebase_setup() Kevin Cernekee
2011-11-11 18:05 ` Ralf Baechle
2011-11-11 6:30 ` [PATCH V2 8/8] MIPS: BMIPS: Add SMP support code for BMIPS43xx/BMIPS5000 Kevin Cernekee
2011-11-11 18:05 ` Ralf Baechle
2011-11-12 14:31 ` Florian Fainelli
2011-11-12 16:07 ` Kevin Cernekee
2011-11-11 18:03 ` [PATCH V2 1/8] MIPS: BMIPS: Fix up Kconfig settings Ralf Baechle
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=201111121511.21175.ffainelli@freebox.fr \
--to=ffainelli@freebox.fr \
--cc=cernekee@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox