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

fby4: sd: pldm sensors: remove threshold of FIO temperature #2151

Closed

Conversation

SaraLin-wiwynn
Copy link
Contributor

Description:

Remove threshold of FIO temperature sensors.

Motivation:

Remove threshold of MB_FIO_TEMP_C since the sensor will be calibrated in virtual sensor service in BMC.

Test plan:

Check that there is no threshold interface in MB_FIO_TEMP_C.

Test logs:

  • Check that there is no threshold interface in MB_FIO_TEMP_C. root@bmc:~# busctl introspect xyz.openbmc_project.PLDM /xyz/openbmc_project/sensors/temperature/SENTINEL_DOME_SLOT_1_MB_FIO_TEMP_C
    NAME TYPE SIGNATURE RESULT/VALUE FLAGS
    org.freedesktop.DBus.Introspectable interface - - -
    .Introspect method - s -
    org.freedesktop.DBus.Peer interface - - -
    .GetMachineId method - s -
    .Ping method - - -
    org.freedesktop.DBus.Properties interface - - -
    .Get method ss v -
    .GetAll method s a{sv} -
    .Set method ssv - -
    .PropertiesChanged signal sa{sv}as - -
    xyz.openbmc_project.Association.Definitions interface - - -
    .Associations property a(sss) 1 "chassis" "all_sensors" "/xyz/openbmc… emits-change writable
    xyz.openbmc_project.Sensor.Value interface - - -
    .MaxValue property d 0 emits-change writable
    .MinValue property d 0 emits-change writable
    .Unit property s "xyz.openbmc_project.Sensor.Value.Unit.… emits-change writable
    .Value property d 27 emits-change writable
    xyz.openbmc_project.State.Decorator.Availability interface - - -
    .Available property b true emits-change writable
    xyz.openbmc_project.State.Decorator.OperationalStatus interface - - -
    .Functional property b true emits-change writable

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 2, 2025
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

@wangx6f
Copy link

wangx6f commented Jan 2, 2025

Looks like the clang-format has error, please fix it and put up a new patch.

Description:
Remove threshold of FIO temperature sensors.

Motivation:
Remove threshold of MB_FIO_TEMP_C since the sensor will be
calibrated in virtual sensor service in BMC.

Test plan:
Check that there is no threshold interface in MB_FIO_TEMP_C.

Test logs:
- Check that there is no threshold interface in MB_FIO_TEMP_C.
root@bmc:~# busctl introspect xyz.openbmc_project.PLDM  /xyz/openbmc_project/sensors/temperature/SENTINEL_DOME_SLOT_1_MB_FIO_TEMP_C
NAME                                                  TYPE      SIGNATURE RESULT/VALUE                             FLAGS
org.freedesktop.DBus.Introspectable                   interface -         -                                        -
.Introspect                                           method    -         s                                        -
org.freedesktop.DBus.Peer                             interface -         -                                        -
.GetMachineId                                         method    -         s                                        -
.Ping                                                 method    -         -                                        -
org.freedesktop.DBus.Properties                       interface -         -                                        -
.Get                                                  method    ss        v                                        -
.GetAll                                               method    s         a{sv}                                    -
.Set                                                  method    ssv       -                                        -
.PropertiesChanged                                    signal    sa{sv}as  -                                        -
xyz.openbmc_project.Association.Definitions           interface -         -                                        -
.Associations                                         property  a(sss)    1 "chassis" "all_sensors" "/xyz/openbmc… emits-change writable
xyz.openbmc_project.Sensor.Value                      interface -         -                                        -
.MaxValue                                             property  d         0                                        emits-change writable
.MinValue                                             property  d         0                                        emits-change writable
.Unit                                                 property  s         "xyz.openbmc_project.Sensor.Value.Unit.… emits-change writable
.Value                                                property  d         27                                       emits-change writable
xyz.openbmc_project.State.Decorator.Availability      interface -         -                                        -
.Available                                            property  b         true                                     emits-change writable
xyz.openbmc_project.State.Decorator.OperationalStatus interface -         -                                        -
.Functional                                           property  b         true                                     emits-change writable
@RickyWu-wiwynn RickyWu-wiwynn force-pushed the Ricky/yv4_sd/remove_fio_thres branch from 7131fd7 to d1c82ee Compare January 3, 2025 02:45
@facebook-github-bot
Copy link
Contributor

@SaraLin-wiwynn has updated the pull request. You must reimport the pull request before landing.

@RickyWu-wiwynn
Copy link
Collaborator

Hi @wangx6f,
Force updated to fix the clang-format error. Thanks.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fc63b01.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants