From 678972b8ec4252906595bde4635b540f013a840e Mon Sep 17 00:00:00 2001 From: "AL Musaffar, Yazen" Date: Tue, 19 Aug 2025 18:55:33 -0500 Subject: [PATCH] [SWDEV-549789] Removed incorrect CPER AFID references (#619) * Fix for afid help * Update amdsmi_parser.py Signed-off-by: AL Musaffar, Yazen [ROCm/amdsmi commit: e84e364b35053a4783cda9347f9f2d51f85fee76] --- projects/amdsmi/amdsmi_cli/amdsmi_parser.py | 4 ++-- projects/amdsmi/docs/how-to/amdsmi-cli-tool.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/projects/amdsmi/amdsmi_cli/amdsmi_parser.py b/projects/amdsmi/amdsmi_cli/amdsmi_parser.py index 9019fded73..634b69cd2d 100644 --- a/projects/amdsmi/amdsmi_cli/amdsmi_parser.py +++ b/projects/amdsmi/amdsmi_cli/amdsmi_parser.py @@ -1495,13 +1495,13 @@ class AMDSMIParser(argparse.ArgumentParser): # Help text for RAS arguments cper_help = "Trigger current CPER data retrieval" - afid_help = "Generate an AFID (AMD Field ID) using a CPER record, which is similar to XID." + afid_help = "Generate an AFID (AMD Field ID) given a CPER record file" severity_choices = ["nonfatal-uncorrected", "fatal", "nonfatal-corrected", "all"] severity_choices_str = ", ".join(severity_choices) severity_help = f"Set the SEVERITY filters from the following:\n {severity_choices_str}" folder_help = "Folder to dump current CPER report files" file_limit_help = "Maximum number of current CPER files in target folder\n Older files beyond limit will be deleted" - cper_file_help = "Full path of a retrieved cper record file to generate the AFID" + cper_file_help = "Full path of a retrieved CPER record file to generate the AFID" follow_help = "Continuously monitor for new CPER entries" ras_parser = subparsers.add_parser("ras", help=ras_help, description=ras_description) diff --git a/projects/amdsmi/docs/how-to/amdsmi-cli-tool.md b/projects/amdsmi/docs/how-to/amdsmi-cli-tool.md index 3d5011182f..4ef283876a 100644 --- a/projects/amdsmi/docs/how-to/amdsmi-cli-tool.md +++ b/projects/amdsmi/docs/how-to/amdsmi-cli-tool.md @@ -831,12 +831,12 @@ This command accepts options only; no positional arguments are required. RAS arguments: -h, --help show this help message and exit --cper Trigger CPER data retrieval - --afid Generate an AFID (AMD Field ID) using CPER record, which is similar to XID. + --afid Generate an AFID (AMD Field ID) given a CPER record file. --severity SEVERITY [SEVERITY ...] Set the SEVERITY filters from the following: nonfatal-uncorrected, fatal, nonfatal-corrected, all --folder FOLDER Folder to dump CPER report files --file-limit FILE_LIMIT Maximum number of entries per output file - --cper-file CPER_FILE Full path of the cper record file to generate the AFID + --cper-file CPER_FILE Full path of the CPER record file to generate the AFID --follow Continuously monitor for new entries Device Arguments: