Skip to content

Instantly share code, notes, and snippets.

View smccarney's full-sized avatar

Shawn McCarney smccarney

  • IBM
  • Rochester, MN, USA
View GitHub Profile
@smccarney
smccarney / test_plan.md
Last active June 5, 2024 21:13
Test plan for "pseq: Switch to new pgood isolation support"

Test Plan

Automated Tests

  • Verify all automated tests build and run successfully

Manual Tests

Tests based on code changes in this commit

  • src/power_control.hpp
@smccarney
smccarney / test_plan.md
Last active May 30, 2024 22:27
Test plan for DeviceFinder

Test Plan

Automated Tests

  • Verify all automated tests run successfully

Manual Tests

  • DeviceFinder::DeviceFinder()
    • Verify callback is stored and can be called later
    • Verify DBusInterfacesFinder is set up correctly and calls interfaceFoundCallback()
  • DeviceFinder::interfaceFoundCallback()
@smccarney
smccarney / test_plan.md
Created May 30, 2024 19:31
Test plan for CompatibleSystemTypesFinder

Test Plan

Automated Testing

  • Verify all automated tests run successfully

Manual Testing

  • CompatibleSystemTypesFinder::CompatibleSystemTypesFinder()
    • Verify callback is stored and can be called later
  • Verify DBusInterfacesFinder is set up correctly and calls interfaceFoundCallback()
@smccarney
smccarney / test_plan.md
Created May 25, 2024 07:28
pseq: Test plan for DBusInterfacesFinder

Test Plan

Automated Tests

  • Verify all automated tests run successfully

Manual Tests

  • DBusInterfacesFinder::DBusInterfacesFinder()
    • Verify InterfacesAdded signal handler is installed
  • Verify existing interfaces are found via ObjectMapper
@smccarney
smccarney / test_plan.md
Created February 7, 2024 00:36
pseq: Test plan for Services class hierarchy

pseq: Test plan for Services class hierarchy

Automated tests

  • Run all automated tests and verify they pass

Manual tests

  • BMCServices
    • BMCServices(sdbusplus::bus_t& bus)
  • Verify bus can be obtained from getBus() and used successfully
@smccarney
smccarney / README.md
Created December 16, 2023 04:34
README.md
@smccarney
smccarney / gpio.md
Created December 16, 2023 04:34
gpio.md

gpio

Description

A General Purpose Input/Output (GPIO) that can be read to obtain the pgood status of a voltage rail.

GPIO values are read using the libgpiod interface.

Properties

@smccarney
smccarney / rail.md
Created December 16, 2023 04:33
rail.md

rail

Description

A voltage rail that is enabled or monitored by the power sequencer device.

The "check_status_vout", "compare_voltage_to_limits", and "gpio" properties specify how to obtain the pgood status of the rail. You can specify more than one of these properties if necessary.

@smccarney
smccarney / config_file.md
Created December 16, 2023 04:32
config_file.md

config_file

Description

The root (outer-most) object in the configuration file.

Properties

Name Required Type Description
@smccarney
smccarney / pgood_iso_design.md
Last active December 4, 2023 23:02
Design for improved power sequencer pgood failure isolation

High level design of pgood isolation enhancements

Contents

  • Obtain pgood status for rails connected to analog pins
  • Enhance JSON file format
  • Enhance pgood failure isolation algorithm for UCD 90XXX devices
  • Update existing JSON files to conform to the new syntax

Obtain pgood status for rails connected to analog pins