This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
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 2016966 - amd/x86: Advertise NullSelectClearsBase on Rome and Milan
Summary: amd/x86: Advertise NullSelectClearsBase on Rome and Milan
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Li Xiaohui
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-25 10:04 UTC by Dr. David Alan Gilbert
Modified: 2023-09-22 13:40 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-09-22 13:40:08 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   RHEL-7132 0 None Migrated None 2023-09-22 13:40:04 UTC
Red Hat Issue Tracker RHELPLAN-100606 0 None None None 2021-10-25 10:10:35 UTC

Description Dr. David Alan Gilbert 2021-10-25 10:04:52 UTC
Description of problem:
There's a new CPUId bit 80000021/bit 6
'NullSelectClearsBase - Null segment selector loads also clear the destination segment register base and limit'
guests currently detect this behaviour at run time, but  there's an upstream fix that starts using this bit and bz 2016959/2016961 request backports; once we start using this bit we should advertise if the cpu has it.
Milan apparently does.
Rome doesn't advertise the bit but is believed to have actually fixed it but not advertise it.

We should advertise the bit in the Milan and Rome models.


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Dr. David Alan Gilbert 2021-10-25 10:07:22 UTC
Wei:
  Can you point to something that confirms Rome's behaviour on this?

Comment 2 John Ferlan 2021-11-03 19:27:07 UTC
Assigned to Amnon for initial triage per bz process and age of bug created or assigned to virt-maint without triage.

Comment 3 WEI HUANG 2021-11-15 19:16:55 UTC
Babu is looking into this. Could you open access to BZ2016959/BZ2016961 to AMD?

Comment 4 Dr. David Alan Gilbert 2021-11-16 10:11:16 UTC
(In reply to WEI HUANG from comment #3)
> Babu is looking into this. Could you open access to BZ2016959/BZ2016961 to
> AMD?

Done.

Comment 5 Babu Moger 2022-01-10 14:57:50 UTC
Hi David, 
The CPUID feature NullSelectClearsBase (Function 80000021/bit 6) is available on Milan and future products. I will plan to add this bit in EPYC-Milan.

However, this feature is not available in Rome platform. So, we cannot add it in EPYC-Rome.

Thanks
Babu

Comment 10 liunana 2023-04-24 10:11:58 UTC
Hi Bandan,

Is this one RFE bug according to Commen 0 and Comment 5?
If so pleae help add the FutureFeature keywords. Thanks.



Best regards
Nana

Comment 11 Li Xiaohui 2023-04-24 10:28:15 UTC
Hi Nitesh, Bandan, 
According to this bug's Description,
'NullSelectClearsBase - Null segment selector loads also clear the destination segment register base and limit'

When migrating VM (specify the cpu to be EPYC) from Rome/Milan to Naples, do you know what migration issue would happen?

Comment 12 Bandan Das 2023-04-24 14:49:14 UTC
(In reply to Li Xiaohui from comment #11)
> Hi Nitesh, Bandan, 
> According to this bug's Description,
> 'NullSelectClearsBase - Null segment selector loads also clear the
> destination segment register base and limit'
> 
> When migrating VM (specify the cpu to be EPYC) from Rome/Milan to Naples, do
> you know what migration issue would happen?

First, to respond to Nana, it looks more like a bug fix to me.

Regarding migration, I am not entirely sure but from the kernel patch, the assumption is 
that guest wouldn't be able to detect the virtual cpuid bit when migrating to Naples and 
so would be aware of the X86_BUG_NULL_SEG bug. Maybe Juan is aware of 
this ?

Comment 13 RHEL Program Management 2023-04-25 07:28:19 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 15 Juan Quintela 2023-05-09 17:20:48 UTC
Hi
I redirect this one to Leonardo, he is the one that have looked at CPUid's and AMD machines in recent times.

Leonardo?

Comment 16 Babu Moger 2023-05-09 17:30:02 UTC
This series addresses this problem for Milan and Genoa processors.
https://lore.kernel.org/kvm/20230504205313.225073-1-babu.moger@amd.com/#r
Paolo is planning to pull this series for the next release.

Comment 20 RHEL Program Management 2023-09-22 13:39:05 UTC
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug.

Comment 21 RHEL Program Management 2023-09-22 13:40:08 UTC
This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there.

Due to differences in account names between systems, some fields were not replicated.  Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information.

To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer.  You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like:

"Bugzilla Bug" = 1234567

In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information.


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