From d31107d11027db34c758e1fa43a38427b2314b5e Mon Sep 17 00:00:00 2001 From: "Kanangot Balakrishnan, Bindhiya" Date: Mon, 20 Jan 2025 14:45:27 -0600 Subject: [PATCH] SWDEV-457845: Fix Linux VM clean_local_data error on set Corrected clean_local_data error in Linux VM's while doing amd-smi set without args. Signed-off-by: Bindhiya Kanangot Balakrishnan [ROCm/amdsmi commit: 834993e1c34bc54779db3a9f43108d1a99a4770c] --- projects/amdsmi/amdsmi_cli/amdsmi_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py index 5f378c5fdf..6ad7ea6699 100644 --- a/projects/amdsmi/amdsmi_cli/amdsmi_commands.py +++ b/projects/amdsmi/amdsmi_cli/amdsmi_commands.py @@ -4559,7 +4559,7 @@ class AMDSMICommands(): command = " ".join(sys.argv[1:]) raise AmdSmiRequiredCommandException(command, self.logger.format) else: - if not any([args.clean_local_data]): + if not any([args.process_isolation is not None, args.clk_limit is not None]): command = " ".join(sys.argv[1:]) raise AmdSmiRequiredCommandException(command, self.logger.format)