lkml.org 
[lkml]   [2011]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/34] System Firmware Interface
On Mon, 18 Jul 2011 17:43:08 -0700
Andi Kleen <andi@firstfloor.org> wrote:

> Prarit Bhargava <prarit@redhat.com> writes:
>
> Wow that's a cc list from hell. Cut down to linux-kernel.

Which meant I very nearly missed it so you very nearly missed your answer
8)

> > This patch introduces a general System Firmware interface to the kernel, called
> > sysfw.
>
> Could you expand somewhat WHY you want this. What is wrong with the
> current code?

See the previous discussions

> As for user space access on x86 "dmidecode"/libdmi works for nearly everyone,
> doesn't it?

"on x86" (and on PC only generally)

There are three core problems

1. DMI in this sense is basically an x86 PC class device hack
2. It is obsoleted and at some point it'll vanish even on PC
3. Every other platform without DMI would benefit from the
interface being generic

So either we carry on hacking other interfaces (often more informative
ones) into our dmi glue, and trying to keep up the fakery for every case,
or we do what I should have done originally and made the interface a
generic way to query firmware/board information that can be extended
nicely.

We'll still need a spot of fakery for userspace I suspect.


\
 
 \ /
  Last update: 2011-07-19 11:05    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog