From: Dave Hansen <haveblue@us.ibm.com>
To: Alex Williamson <alex.williamson@hp.com>
Cc: acpi-devel@lists.sourceforge.net,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] dev_acpi: device driver for userspace access to ACPI
Date: Tue, 03 Aug 2004 10:31:11 -0700 [thread overview]
Message-ID: <1091554271.27397.5327.camel@nighthawk> (raw)
In-Reply-To: <1091552426.4981.103.camel@tdi>
On Tue, 2004-08-03 at 10:00, Alex Williamson wrote:
> This is by no means ready for release, but I wanted to get a sanity
> check. I'm still stuck on this idea that userspace needs access to ACPI
> namespace. Manageability apps might use this taking inventory of
> devices not exposed by other means, things like X can locate chipset
> components that don't live in PCI space, there's even the possibility of
> making user space drivers.
The only thing that worries me about a patch like this is that it
encourages people to write arch-specific tools that have no chance of
working on multiple platforms.
Right now, on ppc64, we have a system for making direct calls into the
firmware, as well as a copy of the firmware's device-tree exported to
userspace. This means that we have userspace applications that do very
generic things like counting CPUs, or activating memory in very
arch-specific ways.
Creating more of these interfaces encourages more of these arch-specific
applications, and what we end up with are lots of tools that only work
on Intel platforms or IBM ppc, but not Linux in general.
So, what kinds of generic, arch-independent interfaces should we
implement in the kernel that would reduce the need for something like
your driver?
-- Dave
next prev parent reply other threads:[~2004-08-03 17:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-03 17:00 [RFC] dev_acpi: device driver for userspace access to ACPI Alex Williamson
2004-08-03 17:31 ` Dave Hansen [this message]
2004-08-03 18:17 ` Alex Williamson
2004-08-03 18:34 ` Dave Hansen
2004-08-03 21:02 ` Alex Williamson
2004-08-05 4:36 ` Greg KH
2004-08-05 15:52 ` Alex Williamson
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=1091554271.27397.5327.camel@nighthawk \
--to=haveblue@us.ibm.com \
--cc=acpi-devel@lists.sourceforge.net \
--cc=alex.williamson@hp.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