Skip to content

Commit

Permalink
Merge pull request #876 from spoorthys1303/power11
Browse files Browse the repository at this point in the history
Power11 processor mode is added to enable vtpm
  • Loading branch information
PraveenPenguin authored Feb 19, 2025
2 parents a852e9f + eb5bb02 commit d026251
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testcases/MachineConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d026251

Please sign in to comment.