Repository navigation
sb: rb: add svs function and modified setting value - #2771
khoung76642 wants to merge 13 commits into
Conversation
|
This pull request has been imported. If you are a Meta employee, you can view this in D118091297. (Because this pull request was imported automatically, there will not be any future comments.) |
|
common/service/pldm/pldm_firmware_update.c:1780:4:The buffer 'data' may not be null-terminated after the call to strncpy().
Therefore, we would like to keep the existing common code unchanged. |
jagpalgill
left a comment
There was a problem hiding this comment.
@khoung76642 Please address the following cpp check failures on this patch -
Checking common/service/sensor/sensor.c: ENABLE_RAA228249...
Checking common/service/sensor/sensor.c: ENABLE_RS31380R...
Checking common/service/sensor/sensor.c: ENABLE_RTQ6056...
Checking common/service/sensor/sensor.c: ENABLE_S54SS4P180PMDCF...
Checking common/service/sensor/sensor.c: ENABLE_TMP421...
Checking common/service/sensor/sensor.c: ENABLE_U50SU4P180PMDAFC...
Checking common/service/sensor/sensor.c: ENABLE_VISTARA...
Checking common/service/sensor/sensor.c: ENABLE_XDP710...
Checking common/service/sensor/sensor.c: MORE_THAN_ONE_ADM1272...
20/20 files checked 100% done
Errors Found:
common/service/pldm/pldm_firmware_update.c:1780:4:The buffer 'data' may not be null-terminated after the call to strncpy().
common/service/pldm/pldm_firmware_update.c:1102:19:Condition 'check_result!=PLDM_SUCCESS' is always false
|
Hi @jagpalgill, common/service/pldm/pldm_firmware_update.c:1780:4:The buffer 'data' may not be null-terminated after the call to strncpy().
Therefore, we would like to keep the existing common code unchanged. |
jagpalgill
left a comment
There was a problem hiding this comment.
@khoung76642 These checks are merge blockers. I can understand they are not in your change set but they are in the same file as your change set, so they are being prompted as land blockers. Please see - https://github.com/facebook/OpenBIC/actions/runs/33364950526/job/99403675288?pr=2771
|
@khoung76642 has updated the pull request. You must reimport the pull request before landing. |
Summary: - change polling rate to match item (7) MEDHA0/1_VDD = 2ms, VDDQC = 10ms, OWL_E/W_VDD/HAMSA=100ms - change the following default time windows - MEDHA0/1 LV1 = 100us - MEDHA0/1 LV2 = 100ms - MEDHA0/1 LV3 = 1000ms - change the following default thresholds - MEDHA0/1 LV1 = 1200A - MEDHA0/1 LV2 = 1523W - MEDHA0/1 LV3 = 1025W Test Plan: - Build code: Pass
Summary: - add "voltage svs_apply_offset" cli cmd and default is set to 1 (enabled). - voltage svs_apply_offset get - voltage svs_apply_offset set <1:enable / 0:disable> - add new command "voltage svs_asic_voltage" and default value is 1 (apply). - voltage svs_asic_voltage get - voltage svs_asic_voltage set <1:apply / 0:block> - modified when DC off, I3C_RAINBOW_ALERT_R_N will set to 1 - change fw update EID data from mctp to eeprom - change clock status CLK_GEN_100M_U86 from check LOSEVENT to check apll_lock_sts - add clock status 312.5MHz APLL lock status - modified pldm "get status" will not show in the log Test Plan: - Build code: Pass
Summary: - add "iris_smbus" temp sensor. - sensor polling add "iris_smbus" - sensor polling remove "VR vin" Test Plan: - Build code: Pass
Summary: - Add plat_ubc_otw_otp_init() to initialize UBC OTW/OTP related settings on EVT2 boards. - For supported UBC modules (DELTA/LUXSHARE), iterate UBC temp sensors and program: - reg 0x10 to remove protection - reg 0x51 (OTW/OWL) - reg 0x4F (OTP/OFL) - Skip initialization on non-EVT2 board revisions and unsupported UBC modules. Test Plan: - Build Code: Pass - Function check: Pass
Summary: - Version commit for sb-rb-20262301 Test Plan: - Build code: Pass
55614f2 to
42fde36
Compare
|
@khoung76642 has updated the pull request. You must reimport the pull request before landing. |
|
Hi @jagpalgill, Currently, only one Cpp check fails. This failure has already been explained above; making changes will affect other projects, and it's not a true Cpp error. This is a Cppcheck false positive, not a runtime logic error. Thanks! |
Summary:
Test Plan: