mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: "Pan, Jacob jun" <jacob.jun.pan@intel.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"H. Peter Anvin" <hpa@linux.intel.com>
Subject: Re: [PATCH 2/9] x86: introduce a set of platform feature flags
Date: Fri, 26 Jun 2009 11:45:14 +0200	[thread overview]
Message-ID: <20090626094514.GB12571@elte.hu> (raw)
In-Reply-To: <20090626101446.114edbe2@lxorguk.ukuu.org.uk>


* Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> > Whether a given platform has a 'standard PC' or some custom 
> > driver then depends on that driver's init sequence - it's not a 
> > central thing.
> 
> How exactly do you propose to handle boot memory allocation (eg 
> EBDA) with a driver ? Perhaps you can explain "driverize" as it 
> isn't in any dictionary and I'm not at all clear what you are on 
> about ?

Which bit is not clear? We've been continuously 'driverizing' the 
jumbled mess of x86 platform support code in the past ~1-2 years. 
Things like x86_quirks or struct apic and other similar code 
restructuring and cleanups. They are (of course) not classic 'driver 
core' drivers (many of the core kernel facilities are not available 
yet at this early stage), but properly abstracted, function vector 
driven approaches are still a must.

This series of patches increases the mess in that area, and that's a 
step backwards. It sprinkles the code with a fair amount of 'if 
(feature_x)' conditions instead of cleanly separating out proper 
abstractions.

	Ingo

  reply	other threads:[~2009-06-26  9:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-26  0:14 Pan, Jacob jun
2009-06-26  7:22 ` Ingo Molnar
2009-06-26  9:14   ` Alan Cox
2009-06-26  9:45     ` Ingo Molnar [this message]
2009-06-26 10:17       ` Alan Cox
2009-06-26 10:47         ` Ingo Molnar
2009-06-26 11:41           ` Alan Cox
2009-06-26 15:47 ` Ingo Molnar
2009-06-26 19:04   ` H. Peter Anvin
2009-06-26 19:13     ` Ingo Molnar
2009-06-30  6:32 ` Pavel Machek
2009-07-02 23:09   ` Pan, Jacob jun
2009-07-02 23:25     ` H. Peter Anvin

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=20090626094514.GB12571@elte.hu \
    --to=mingo@elte.hu \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=hpa@linux.intel.com \
    --cc=jacob.jun.pan@intel.com \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®