Skip to content
  1. Apr 03, 2023
  2. Apr 01, 2023
  3. Mar 29, 2023
  4. Mar 21, 2023
  5. Mar 20, 2023
  6. Mar 13, 2023
  7. Mar 09, 2023
    • Mike Maslenkin's avatar
      IpmiFeaturePkg: refine GetSelfTest function · 95b58f71
      Mike Maslenkin authored
      
      
      Use predefined type while accessing IPMI command returned data
      instead of raw byte array.
      
      Signed-off-by: default avatarMike Maslenkin <mike.maslenkin@gmail.com>
      Cc: Isaac Oram <isaac.w.oram@intel.com>
      Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
      Cc: Liming Gao <gaoliming@byosoft.com.cn>
      Reviewed-by: default avatarIsaac Oram <isaac.w.oram@intel.com>
      95b58f71
    • Mike Maslenkin's avatar
      IpmiFeaturePkg: remove buffer temporary buffer from BMC instance structure · 3bf27fbd
      Mike Maslenkin authored
      
      
      There is no point to have temporary buffer in BMC instance data
      used only for synchronous IPMI command as a transfer buffer.
      Using local variables make things much simpler.
      
      Signed-off-by: default avatarMike Maslenkin <mike.maslenkin@gmail.com>
      Cc: Isaac Oram <isaac.w.oram@intel.com>
      Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
      Cc: Liming Gao <gaoliming@byosoft.com.cn>
      Reviewed-by: default avatarIsaac Oram <isaac.w.oram@intel.com>
      3bf27fbd
    • Mike Maslenkin's avatar
      IpmiFeaturePkg: fix IPMI GetSelfTest command response parsing · cd48b146
      Mike Maslenkin authored
      
      
      Byte 0 of a response contains completion code for the command.
      So, the examined data starts from byte 1. It's easy to make a mistake
      here since specification counts response data from 1.
      
      For the "Get Self Test Results" command Intelligent Platform Management
      Interface Specification v2.0 rev 1.1 paragraph 20.4 defines response as:
      +-----+---------------------------------------------------------------+
      |byte | data field                                                    |
      +-----+---------------------------------------------------------------+
      | 1   | Completion Code                                               |
      |     |                                                               |
      | 2   | 55h =  No error. All Self Tests Passed.                       |
      |     | 56h = Self Test function not implemented in this controller.  |
      |     | 57h = Corrupted or inaccessible data or devices               |
      |     | 58h = Fatal hardware error                                    |
      |     |                                                               |
      | 3   | For byte 2 = 55h, 56h, FFh: 00h                               |
      |     | For byte 2 = 58h, all other: Device-specific                  |
      |     | For byte 2 = 57h: self-test error bitfield.                   |
      +-----+---------------------------------------------------------------+
      
      Signed-off-by: default avatarMike Maslenkin <mike.maslenkin@gmail.com>
      Cc: Isaac Oram <Isaac.w.oram@intel.com>
      Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
      Cc: Liming Gao <gaoliming@byosoft.com.cn>
      Reviewed-by: default avatarIsaac Oram <Isaac.w.oram@intel.com>
      cd48b146
  8. Mar 08, 2023
  9. Mar 02, 2023
  10. Feb 24, 2023
  11. Feb 21, 2023
  12. Feb 17, 2023
  13. Feb 15, 2023
  14. Feb 10, 2023
Loading