RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2151892 - Add Genoa Certificates to sev/sevctl
Summary: Add Genoa Certificates to sev/sevctl
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sevctl
Version: 9.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 9.2
Assignee: Tyler Fanelli
QA Contact: zixchen
URL:
Whiteboard:
Depends On: 2222104
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-08 13:38 UTC by John Ferlan
Modified: 2023-07-26 07:53 UTC (History)
6 users (show)

Fixed In Version: sevctl-0.4.1-2.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-07-26 07:52:55 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-141673 0 None None None 2022-12-08 13:42:27 UTC

Description John Ferlan 2022-12-08 13:38:57 UTC
Description of problem:

From https://bugzilla.redhat.com/show_bug.cgi?id=2103630#c15 Larry Dewey notes that the Genoa certificates were added to sev. We should backport this into sevctl for the current release. So let's include

https://github.com/virtee/sev/pull/50

after we've completed the rebase bug 2135744

Comment 1 John Ferlan 2023-02-14 21:15:09 UTC
Given some issues building a backported patch, we'll just move this to 9.3.0 for now and have it addressed by rebase. If something changes, we can always move it back to 9.2.0.

Comment 3 Tyler Fanelli 2023-07-05 15:00:58 UTC
@zixchen Hello. Yes, I'm planning to rebase sevctl on 9.3 within the week. This issue would be fixed with this rebase.

Comment 4 John Ferlan 2023-07-11 19:54:20 UTC
Moving to POST making dependent upon rebase bug 2222104

Comment 7 zixchen 2023-07-26 07:47:20 UTC
Verify genoa cert fix with sevctl-0.4.1-2.el9.x86_64, no issue on this feature. 

Version:
sevctl-0.4.1-2.el9.x86_64

Steps:
https://bugzilla.redhat.com/show_bug.cgi?id=2222104#c13 verifies the new sevctl functions on Genoa. 
Regression test on Genoa: https://beaker-archive.hosts.prod.psi.bos.redhat.com/beaker-logs/2023/07/80876/8087612/14257789/163096533/taskout.log, failed cases is discussed on rebase bug bz2222104
Enable SNP on a Genoa host.
# sevctl ok
[ PASS ] - AMD CPU
[ PASS ]   - Microcode support
[ PASS ]   - Secure Memory Encryption (SME)
[ PASS ]   - Secure Encrypted Virtualization (SEV)
[ PASS ]     - Encrypted State (SEV-ES)
[ PASS ]     - Secure Nested Paging (SEV-SNP)
[ PASS ]       - VM Permission Levels
[ PASS ]         - Number of VMPLs: 4
[ PASS ]     - Physical address bit reduction: 5
[ PASS ]     - C-bit location: 51
[ PASS ]     - Number of encrypted guests supported simultaneously: 509
[ PASS ]     - Minimum ASID value for SEV-enabled, SEV-ES disabled guest: 100
[ PASS ]     - SEV enabled in KVM: enabled
[ PASS ]     - SEV-ES enabled in KVM: enabled
[ PASS ]     - Reading /dev/sev: /dev/sev readable
[ PASS ]     - Writing /dev/sev: /dev/sev writable
[ PASS ]   - Page flush MSR: ENABLED
[ PASS ] - KVM supported: API version: 12
[ PASS ] - Memlock resource limit: Soft: 8388608 | Hard: 8388608

Comment 8 zixchen 2023-07-26 07:52:55 UTC
Since rebase bug includes all commits needed in this bug, close this as CURRENTRELEASE


Note You need to log in before you can comment on or make changes to this bug.