1. 27 3月, 2006 2 次提交
    • C
      [PATCH] ipmi: add full sysfs support · 50c812b2
      Corey Minyard 提交于
      Add full driver model support for the IPMI driver.  It links in the proper
      bus and device support.
      
      It adds an "ipmi" driver interface that has each BMC discovered by the
      driver (as a device).  These BMCs appear in the devices/platform directory.
       If there are multiple interfaces to the same BMC, the driver should
      discover this and will only have one BMC entry.  The BMC entry will have
      pointers to each interface device that connects to it.
      
      The device information (statistics and config information) has not yet been
      ported over to the driver model from proc, that will come later.
      
      This work was based on work by Yani Ioannou.  I basically rewrote it using
      that code as a guide, but he still deserves credit :).
      
      [bunk@stusta.de: make ipmi_find_bmc_guid() static]
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NYani Ioannou <yani.ioannou@gmail.com>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      50c812b2
    • C
      [PATCH] ipmi: add generic PCI handling · b0defcdb
      Corey Minyard 提交于
      Modify the PCI hanling code for the IPMI driver to use the new method of
      tables and registering, and adds more generic PCI handling for IPMI.
      Unfortunately, this required a rather large rework of the way the driver
      did detection so it would be more event-driven.
      
      [bunk@stusta.de: make a struct static]
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Cc: Greg KH <greg@kroah.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      b0defcdb
  2. 04 2月, 2006 1 次提交
  3. 02 2月, 2006 1 次提交
  4. 12 1月, 2006 1 次提交
  5. 16 12月, 2005 1 次提交
  6. 18 11月, 2005 1 次提交
  7. 07 11月, 2005 6 次提交
    • M
      [PATCH] ipmi: use kthread API · e9a705a0
      Matt Domsch 提交于
      Convert ipmi driver thread to kthread API, only sleep when interface is
      idle.
      Signed-off-by: NMatt Domsch <Matt_Domsch@dell.com>
      Cc: Corey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e9a705a0
    • C
      [PATCH] ipmi: add timer thread · a9a2c44f
      Corey Minyard 提交于
      We must poll for responses to commands when interrupts aren't in use.  The
      default poll interval is based on using a kernel timer, which varies with HZ.
      For character-based interfaces like KCS and SMIC though, that can be way too
      slow (>15 minutes to flash a new firmware with KCS, >20 seconds to retrieve
      the sensor list).
      
      This creates a low-priority kernel thread to poll more often.  If the state
      machine is idle, so is the kernel thread.  But if there's an active command,
      it polls quite rapidly.  This decrease a firmware flash time from 15 minutes
      to 1.5 minutes, and the sensor list time to 4.5 seconds, on a Dell PowerEdge
      x8x system.
      
      The timer-based polling remains, to ensure some amount of responsiveness even
      under high user process CPU load.
      
      Checking for a stopped timer at rmmod now uses atomics and del_timer_sync() to
      ensure safe stoppage.
      Signed-off-by: NMatt Domsch <Matt_Domsch@dell.com>
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a9a2c44f
    • C
      [PATCH] ipmi: kcs error0 delay · c3e7e791
      Corey Minyard 提交于
      BMCs can get into ERROR0 state while flashing new firmware, particularly while
      the BMC is erasing the next flash block, which may take a just under 2 seconds
      on a Dell PowerEdge 2800 (1.75 seconds typical), during which time the
      single-threaded firmware may not be able to process new commands.  In
      particular, clearing OBF may not take effect immediately.
      
      We want it to delay in ERROR0 after clearing OBF a bit waiting for OBF to
      actually be clear before proceeding.
      
      This introduces a new return value from the LLDD's event loop,
      SI_SM_CALL_WITH_TICK_DELAY.  This means the calling thread/timer should
      schedule_timeout() at least 1 tick, rather than busy-wait.  This is a longer
      delay than SI_SM_CALL_WITH_DELAY, which is typically a 250us busy-wait.
      Signed-off-by: NMatt Domsch <Matt_Domsch@dell.com>
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c3e7e791
    • C
      [PATCH] ipmi: si start transaction hook · ea94027b
      Corey Minyard 提交于
      Some commands, on some system BMCs, don't respond at at all.  This is seen on
      Dell PowerEdge x6xx and x7xx systems with IPMI 1.0 BT controllers when a "Get
      SDR" command is issued, with a length field of 0x3A, which happens to be the
      length of about SDR entries.  If another length is passed, this command
      succeeds.
      
      This patch adds general infrastructure for receiving commands before they're
      passed down to the low-level drivers, such that they can be completed
      immediately, or modified, prior to being sent to ->start_transaction().
      Signed-off-by: NMatt Domsch <Matt_Domsch@dell.com>
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      ea94027b
    • C
      [PATCH] ipmi: more dell fixes · d5a2b89a
      Corey Minyard 提交于
      Make SMIC driver ignore EVT_AVAIL and SMS_ATN bits in flags register, as
      they're used by systems management interrupts, not the host OS.
      
      Make the OEM0 Data Available handler work for pre-IPMI 1.5 systems from Dell
      too.
      
      Without these two fixes, PowerEdge 2650 and other similar systems with SMIC
      may hang a process (modprobe or anything using /dev/ipmi0).
      Signed-off-by: NMatt Domsch <Matt_Domsch@dell.com>
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      d5a2b89a
    • C
      [PATCH] ipmi: various si cleanup · c4edff1c
      Corey Minyard 提交于
      A number of small changes for the various system interface drivers,
      consolidated from a number of patches from Matt Domsch.
      
      Clear B2H_ATN and drain the BMC message buffer on command timeout.  This
      prevents further commands from failing after a timeout.
      
      Add bt_debug and smic_debug module parameters, expose them in sysfs.  This
      lets you enable and disable debugging messages at runtime.
      
      Unsigned jiffies math in ipmi_si_intf.c causes a too-large value to be passed
      to ->event() after jiffies wrap-around.  The BT driver had caught this, but
      didn't know how to fix it.  Now all calls to ->event() use a sane value for
      time.
      
      Increase timeout for commands handed to the BT driver from 2 seconds to 5
      seconds.  This is necessary particularly when the previous command was a
      "Clear SEL", as that command completes, yet the BMC isn't really ready to
      handle another command yet.
      
      Silence BT debugging messages which were being printed on the console.
      
      Increase SMIC timeout form 1/10s to 2s.  This is needed on Dell PowerEdge 2650
      and PowerEdge 750 with ERA/O cards to allow commands to complete without
      timing out.
      
      Adds kcs_debug module param, to match behavior of BT and SMIC.  This also
      prevents messages from being sent to the console unless explicitly requested.
      Signed-off-by: NMatt Domsch <Matt_Domsch@dell.com>
      Signed-off-by: NCorey Minyard <minyard@acm.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      c4edff1c
  8. 11 9月, 2005 1 次提交
  9. 08 9月, 2005 5 次提交
  10. 01 9月, 2005 1 次提交
  11. 25 8月, 2005 1 次提交
  12. 28 7月, 2005 1 次提交
  13. 04 5月, 2005 1 次提交
  14. 01 5月, 2005 4 次提交
  15. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4