Commit 21c9db7
CKI KWF Bot
Merge: KVM: arm64: Restore PIRE0_EL1, PIR_EL1 and TCR2_EL1 registers unconditional visibility to userspace
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/1005
Upstream Status: RHEL only
JIRA: https://issues.redhat.com/browse/RHEL-89567
Test: successful migration between 10.0 and 10.1
Latest 10.1 rebase broke the migration from older rhel kernels.
This regression was introduced by the following downstream commits:
f1ca81f ("[PATCH v2 2/3] KVM: arm64: Hide TCR2_EL1 from userspace when disabled for guests")
7e64e0b ("[PATCH v2 3/3] KVM: arm64: Hide S1PIE registers from userspace")
which suddently hid three registers, PIRE0_EL1, PIR_EL1 and TCR2_EL1 when the associated
features are not supported by the guest, which is our case. So when doing a migration
from older kernel we try to migrate those 3 regs to a host that does not expose them through
KVM_GET_REG_LIST and qemu fails to migrate.
As this issue breaks all migration testing, we restore the unconditional visibility to
userspace until finding a more elegant solution to this problem that can occur again.
Identifying a clean fix for this will take time and we cannot afford breaking tests
until we get a proper solution upstreamed.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Approved-by: Sebastian Ott <sebott@redhat.com>
Approved-by: Gavin Shan <gshan@redhat.com>
Approved-by: Cornelia Huck <cohuck@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2695 | 2695 | | |
2696 | 2696 | | |
2697 | 2697 | | |
2698 | | - | |
2699 | | - | |
| 2698 | + | |
2700 | 2699 | | |
2701 | 2700 | | |
2702 | 2701 | | |
| |||
2750 | 2749 | | |
2751 | 2750 | | |
2752 | 2751 | | |
2753 | | - | |
2754 | | - | |
2755 | | - | |
2756 | | - | |
| 2752 | + | |
| 2753 | + | |
2757 | 2754 | | |
2758 | 2755 | | |
2759 | 2756 | | |
| |||
0 commit comments