Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power11 processor mode is added to enable vtpm #876

Merged
merged 1 commit into from
Feb 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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