From eb5bb02b73e9b7349a5bb8551e7217b989f219df Mon Sep 17 00:00:00 2001 From: Spoorthy Date: Tue, 18 Feb 2025 19:50:59 +0530 Subject: [PATCH] Power11 processor mode is added to enable vtpm and Nxgzip Vtpm version will be set according to Power10/Power11 to 2.0 and Nxgzip will be enabled Signed-off-by: Spoorthy --- testcases/MachineConfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testcases/MachineConfig.py b/testcases/MachineConfig.py index cfac37a0..a95ce93a 100755 --- a/testcases/MachineConfig.py +++ b/testcases/MachineConfig.py @@ -344,7 +344,7 @@ def LparSetup(self, lpar_config=""): log.info("System is already booted with VTPM enabled") else: proc_compat_mode = self.cv_HMC.get_proc_compat_mode() - if "POWER10" in proc_compat_mode: + if proc_compat_mode[0] in ["POWER10", "POWER11"]: self.vtpm_version = 2.0 try: self.vtpm_encryption = conf.args.vtpm_encryption @@ -406,10 +406,10 @@ def LparSetup(self, lpar_config=""): except AttributeError: self.qos_credits = 10 proc_compat_mode = self.cv_HMC.get_proc_compat_mode() - if "POWER10" in proc_compat_mode: + if proc_compat_mode[0] in ["POWER10", "POWER11"]: self.cv_HMC.configure_gzip_qos(self.qos_credits) else: - log.info("nx_gzip is supported only in Power10 mode") + log.info("nx_gzip is supported only in Power10/Power11 mode") """ If ioslots=drc_name is passed in machine_config lpar profile