Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>, linux-mips@linux-mips.org
Subject: Re: [PATCH 0/2] cpu-features.h rename
Date: Tue, 14 Mar 2017 09:29:06 +0100	[thread overview]
Message-ID: <20170314082906.GG26432@linux-mips.org> (raw)
In-Reply-To: <be773311-fb5b-949e-378e-09db2baa8cd4@imgtec.com>

On Tue, Mar 14, 2017 at 08:40:21AM +0100, Marcin Nowakowski wrote:

> On 13.03.2017 18:08, Florian Fainelli wrote:
> > On 03/13/2017 06:33 AM, Marcin Nowakowski wrote:
> > > Since the introduction of GENERIC_CPU_AUTOPROBE
> > > (https://patchwork.linux-mips.org/patch/15395/) we've got 2 very similarily
> > > named headers: cpu-features.h and cpufeature.h.
> > > Since the latter is used by all platforms that implement
> > > GENERIC_CPU_AUTOPROBE functionality, it's better to rename the MIPS-specific
> > > cpu-features.h.
> > > 
> > > Marcin Nowakowski (2):
> > >   MIPS: mach-rm: Remove recursive include of cpu-feature-overrides.h
> > >   MIPS: rename cpu-features.h -> cpucaps.h
> > 
> > That's a lot of churn that could cause some good headaches in
> > backporting stable changes affecting cpu-feature-overrides.h.
> > 
> > Can we just do the cpu-features.h -> cpucaps.h rename and keep
> > cpu-feature-overrides.h around?
> 
> That's of course possible, but I think it would make the naming quite
> confusing as well, as it would be very unclear for any reader as to why a
> 'cpu-feature-overrides' overrides 'cpucaps'.
> 
> I've looked at the change history of these files and most receive very
> little updates (which is hardly surprising given the changes are done mostly
> during initial integration of a new cpu or soon after), and none of the
> changes in those files were marked for stable. I think it's safe to assume
> that this pattern is not likely to change, would you agree?

I've noticed the same pattern - and it's a little concerning.  Not adding
values for later features means the'll probably be runtime detected
resulting in a bigger, slower kernel.

  Ralf

  parent reply	other threads:[~2017-03-14  8:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 13:33 [PATCH 0/2] cpu-features.h rename Marcin Nowakowski
2017-03-13 13:33 ` Marcin Nowakowski
2017-03-13 13:33 ` [PATCH 1/2] MIPS: mach-rm: Remove recursive include of cpu-feature-overrides.h Marcin Nowakowski
2017-03-13 13:33   ` Marcin Nowakowski
2017-04-11 11:39   ` Ralf Baechle
2017-03-13 13:33 ` [PATCH 2/2] MIPS: rename cpu-features.h -> cpucaps.h Marcin Nowakowski
2017-03-13 13:33   ` Marcin Nowakowski
2017-03-13 17:08 ` [PATCH 0/2] cpu-features.h rename Florian Fainelli
2017-03-14  7:40   ` Marcin Nowakowski
2017-03-14  7:40     ` Marcin Nowakowski
2017-03-14  8:29     ` Ralf Baechle [this message]
2017-03-14  8:45       ` Marcin Nowakowski
2017-03-14  8:45         ` Marcin Nowakowski
2017-03-15  2:04         ` Florian Fainelli
2017-03-15  2:04         ` Florian Fainelli
2017-03-15  7:24           ` Marcin Nowakowski
2017-03-15  7:24             ` Marcin Nowakowski
2017-03-15  9:27             ` Ralf Baechle
2017-03-14 20:22   ` Joshua Kinard
2017-03-15  7:06     ` Marcin Nowakowski
2017-03-15  7:06       ` Marcin Nowakowski

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=20170314082906.GG26432@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=f.fainelli@gmail.com \
    --cc=linux-mips@linux-mips.org \
    --cc=marcin.nowakowski@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