Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1316158

ipmi_si feature request: SMBIOS-based autoloading

From Andy Lutomirski <luto@kernel.org>
Newsgroups linux.kernel
Subject ipmi_si feature request: SMBIOS-based autoloading
Date 2016-01-25 02:50 +0100
Message-ID <qUEs2-4Xi-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


ipmi_si doesn't autoload on systems where it's found via SMBIOS.
Could that be fixed?

If I were doing it, I'd suggest rigging up some code that's compiled
in to the main kernel even if ipmi_si is a module that creates the
platform device if the dmi device is there and then set up a modalias
so that the platofrm device causes ipmi_si to load.

(In general, having the same driver create the platform device and
register the platform driver means that autoloading is unlikely to
work right.  See arch/x86/kernel/pmem.c for an example of a weird
legacy device that gets this right.)

Alternatively, maybe /sys/firmware/dmi could learn how to advertise
modaliases.  But that might be a giant mess to solve a tiny problem.

--Andy

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

ipmi_si feature request: SMBIOS-based autoloading Andy Lutomirski <luto@kernel.org> - 2016-01-25 02:50 +0100
  Re: ipmi_si feature request: SMBIOS-based autoloading Corey Minyard <minyard@acm.org> - 2016-01-26 15:40 +0100
    Re: [Openipmi-developer] ipmi_si feature request: SMBIOS-based  autoloading Corey Minyard <minyard@acm.org> - 2016-01-26 15:50 +0100
      Re: [Openipmi-developer] ipmi_si feature request: SMBIOS-based autoloading Andy Lutomirski <luto@amacapital.net> - 2016-01-26 18:30 +0100

csiph-web