Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hw-mgmt: services: sysfs monitor and fast boot indication #1615

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bspguy
Copy link
Collaborator

@bspguy bspguy commented Feb 20, 2025

Added support for:

  1. Provide trigger event to signal all sysfs attributes are ready.
  2. Provide fast boot indication for specific sysfs attributes.
  3. Provide fast boot optimizations for specific devices.

Added support for:
1. Provide trigger event to signal all sysfs attributes are ready.
2. Provide fast boot indication for specific sysfs attributes.
3. Provide fast boot optimizations for specific devices.

Signed-off-by: Roy Cohen <[email protected]>
@sw-r2d2-bot
Copy link
Collaborator

Can one of the admins verify this patch?

# EEPROM
SUBSYSTEM=="i2c", KERNEL=="*-005[0-7]", ACTION=="add", RUN+="/usr/bin/hw-management-chassis-events.sh add eeprom %S %p"
SUBSYSTEM=="i2c", KERNEL=="*-005[0-7]", ACTION=="remove", RUN+="/usr/bin/hw-management-chassis-events.sh rm eeprom %S %p"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is common rule for all EEPROMS, not just for VPD don't remove it.
If you want to avoid error for duplicated attempt to connect system VPD - filter out it connect/discobbect functions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved this rule into 49-hw-management-fast-events.rules file.
This way it will squeeze some more time when loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants