mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Andi Kleen <ak@muc.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
	Doug Thompson <norsk5@yahoo.com>,
	akpm@osdl.org, mm-commits@vger.kernel.org, norsk5@xmission.com,
	linux-kernel@vger.kernel.org
Subject: Re: + edac-new-opteron-athlon64-memory-controller-driver.patch added to -mm tree
Date: Thu, 06 Jul 2006 13:09:35 -0600	[thread overview]
Message-ID: <m1fyhey2hc.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20060706182729.GA97717@muc.de> (Andi Kleen's message of "6 Jul 2006 20:27:29 +0200, Thu, 6 Jul 2006 20:27:29 +0200")

Andi Kleen <ak@muc.de> writes:

>
> It depends on what you do. First a large part of X's messiness
> comes from it not using the proper interfaces.
> Or it trying to do complicated things like messing with bridges. 

Yep we sometimes have to mess with complicated things.

> Then anything with MMIO or interrupts or anything dynamic 
> definitely belongs into kernel space agreed.

Yep we sometimes have to mess with MMIO.

> But at least on K8 DIMM inventory is purely reading PCI config space on
> something that doesn't change and doesn't need any locking. 
> It also doesn't need to do anything complicated, but just look
> for the right PCI ID.

Mostly.  Except for the part where you have to figure out the stepping
of the processor connected to the memory controller to properly decode
the registers.  AMD should have used the revision field in pci config
space but...

> I don't see an issue with such simple static things in user space.

I agree it should be that simple. 

But if all of your drivers are not that simple it doesn't make sense
to put half of them in user space and half of them in the kernel,
unless there is a good reason for them not to be in the kernel.

Eric

  reply	other threads:[~2006-07-06 19:10 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060701150430.GA38488@muc.de>
     [not found] ` <20060703172633.50366.qmail@web50109.mail.yahoo.com>
     [not found]   ` <20060703184836.GA46236@muc.de>
     [not found]     ` <1151962114.16528.18.camel@localhost.localdomain>
2006-07-04  9:23       ` Andi Kleen
2006-07-04 10:09         ` Alan Cox
2006-07-04 11:34           ` Andi Kleen
2006-07-05 22:08             ` Alan Cox
2006-07-05 22:04               ` Andi Kleen
2006-07-06  6:12                 ` Eric W. Biederman
2006-07-06 13:01                   ` Andi Kleen
2006-07-06 15:31                     ` Eric W. Biederman
2006-07-06 16:51                       ` Andi Kleen
2006-07-06 17:46                         ` Eric W. Biederman
2006-07-06 18:08                           ` Andi Kleen
2006-07-06 18:34                             ` Alan Cox
2006-07-06 18:27                               ` Andi Kleen
2006-07-06 19:09                                 ` Eric W. Biederman [this message]
2006-07-06 19:18                                   ` Andi Kleen
2006-07-06 19:43                                     ` Eric W. Biederman
2006-07-06 18:43                             ` Eric W. Biederman
2006-07-05 17:39         ` Doug Thompson
2006-07-05 19:39           ` Andi Kleen

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=m1fyhey2hc.fsf@ebiederm.dsl.xmission.com \
    --to=ebiederm@xmission.com \
    --cc=ak@muc.de \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@vger.kernel.org \
    --cc=norsk5@xmission.com \
    --cc=norsk5@yahoo.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

Powered by JetHome