Skip to contentSkip to conversation

Xen 4.15 release schedule - feature freeze now in effect

ANNOUNCE Ian Jackson 5 participants 11 messages Feb 1, 2021 – Feb 5, 2021

lore
Share & tools
lore
#0 lore raw

Thanks everyone for your hard work so far. We are now in feature freeze, as of the end of Friday. No new features should be committed to xen.git#staging.

You may continue to commit straightforward bugfixes, docs changes, and new tests, without a release-ack. Anything involving reorganisation or refactoring should get a release ack. If in doubt please ask me and I will grant (or withhold) permission.

Codefreeze will occur on the 12th of February as planned.

As a reminder, here is the release schedule:
(unchanged information indented with spaces):

Friday 15th January Last posting date

Patches adding new features should be posted to the mailing list by this cate, although perhaps not in their final version.

Friday 29th January Feature freeze

Patches adding new features should be committed by this date. Straightforward bugfixes may continue to be accepted by maintainers.

+ Friday 12th February Code freeze

Bugfixes only, all changes to be approved by the Release Manager.

Week of 12th March **tentative** Release
(probably Tuesday or Wednesday)

Any patches containing substantial refactoring are to treated as new features, even if they intent is to fix bugs.

Freeze exceptions will not be routine, but may be granted in exceptional cases for small changes on the basis of risk assessment. Large series will not get exceptions. Contributors *must not* rely on getting, or expect, a freeze exception.

New or improved tests (supposing they do not involve refactoring, even build system reorganisation), and documentation improvements, will generally be treated as bugfixes.

The release dates is provisional and will be adjusted in the light of apparent code quality etc.

Thanks,
Ian.

#1 lore raw

[ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

Although there are a few things outstanding, we are now firmly into the bugfixing phase of the Xen 4.15 release.

I searched my email (and my memory) and found four open blockers which I have listed below, and one closed blocker.

I feel there are probably more issues out there, so please let me know, in response to this mail, of any other significant bugs you are aware of.

Ian.

OPEN ISSUES
-----------

A. HPET/PIT issue on newer Intel systems

Information from
Andrew Cooper <[email protected]>

| This has had literally tens of reports across the devel and users
| mailing lists, and prevents Xen from booting at all on the past two
| generations of Intel laptop.  I've finally got a repro and posted a
| fix to the list, but still in progress.

I think Andrew is still on the case here.

B. "scheduler broken" bugs.

Information from
Andrew Cooper <[email protected]>
Dario Faggioli <[email protected]>

Quoting Andrew Cooper

| We've had 4 or 5 reports of Xen not working, and very little
| investigation on whats going on.  Suspicion is that there might be
| two bugs, one with smt=0 on recent AMD hardware, and one more
| general "some workloads cause negative credit" and might or might
| not be specific to credit2 (debugging feedback differs - also might
| be 3 underlying issue).

I reviewed a thread about this and it is not clear to me where we are with this.

C. Fallout from MSR handling behavioral change.

Information from
Jan Beulich <[email protected]>

I am lacking an extended desxcription of this. What are the bug(s), and what is the situation ?

D. Use-after-free in the IOMMU code

Information from
Julien Grall <[email protected]>
References
[PATCH for-4.15 0/4] xen/iommu: Collection of bug fixes for IOMMU teadorwn <[email protected]>

Quoting the 0/:

| This series is a collection of bug fixes for the IOMMU teardown code.
| All of them are candidate for 4.15 as they can either leak memory or
| lead to host crash/host corruption.

AFAIT these patches are not yet in-tree.

CLOSED ISSUES
=============

E. zstd support

Information from
Andrew Cooper <[email protected]>
Jan Beulich <[email protected]>
git

Needed to unbreak Fedora. Needs support for both dom0 and domU.

AFAICT this seems to be in-tree as of 8169f82049ef "libxenguest: support zstd compressed kernels"

#2 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

Quoted 8 lines · Ian Jackson

OPEN ISSUES
-----------

A. HPET/PIT issue on newer Intel systems

Information from
Andrew Cooper <[email protected]>

Quoted 6 lines
| This has had literally tens of reports across the devel and users
| mailing lists, and prevents Xen from booting at all on the past two
| generations of Intel laptop.  I've finally got a repro and posted a
| fix to the list, but still in progress.

I think Andrew is still on the case here.

Fixed.  c/s e1de4c196a from a week ago.

Quoted 7 lines

C. Fallout from MSR handling behavioral change.

Information from
Jan Beulich <[email protected]>

I am lacking an extended desxcription of this. What are the bug(s), and what is the situation ?

Still WIP and on my TODO list.  In addition to Jan's report, there is a separate report from Boris against Solaris.  Also I need to revert a patch of mine from early in the release and do the same thing differently.

Bugs are "VMs which boot on earlier releases don't boot on 4.15 at the moment".

~Andrew

#3 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

Andrew Cooper writes ("Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs"):

Quoted 5 lines · Ian Jackson
Quoted 4 lines

OPEN ISSUES
-----------

A. HPET/PIT issue on newer Intel systems

...

Quoted 5 lines
Quoted 1 line

I think Andrew is still on the case here.

Fixed.  c/s e1de4c196a from a week ago.

Quoted 1 line

C. Fallout from MSR handling behavioral change.

...

Quoted 6 lines

Still WIP and on my TODO list.  In addition to Jan's report, there is a separate report from Boris against Solaris.  Also I need to revert a patch of mine from early in the release and do the same thing differently.

Bugs are "VMs which boot on earlier releases don't boot on 4.15 at the moment".

Thanks for this information, which I have noted.

Ian.

#4 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

In reply to Ian Jackson
Quoted 14 lines · Ian Jackson

B. "scheduler broken" bugs.

Information from
  Andrew Cooper <[email protected]>
  Dario Faggioli <[email protected]>

Quoting Andrew Cooper

Quoted 6 lines

We've had 4 or 5 reports of Xen not working, and very little investigation on whats going on.  Suspicion is that there might be two bugs, one with smt=0 on recent AMD hardware, and one more general "some workloads cause negative credit" and might or might not be specific to credit2 (debugging feedback differs - also might be 3 underlying issue).

Quoted 3 lines

I reviewed a thread about this and it is not clear to me where we are with this.

Ok, let me try to summarize the current status.

- BUG: credit=sched2 machine hang when using DRAKVUF

https://lists.xen.org/archives/html/xen-devel/2020-05/msg01985.html
https://lists.xenproject.org/archives/html/xen-devel/2020-10/msg01561.html
https://bugzilla.opensuse.org/show_bug.cgi?id=1179246

99% sure that it's a Credit2 scheduler issue. I'm actively working on it.
"Seems a tricky one; I'm still in the analysis phase"

Manifests only with certain combination of hardware and workload. I'm not reproducing, but there are multiple reports of it (see above). I'm investigating and trying to come up at least with debug patches that one of the reporter should be able and willing to test.

- Null scheduler and vwfi native problem

https://lists.xenproject.org/archives/html/xen-devel/2021-01/msg01634.html

RCU issues, but manifests due to scheduler behavior (especially NULL scheduler, especially on ARM).
I'm actively working on it.

Patches that should solve the issue for ARM posted already. They will need to be slightly adjusted to cover x86 as well. Waiting a couple days more for a confirmation from the reporter that the patches do help, at least on ARM.

- Xen crash after S3 suspend - Xen 4.13

https://lists.xen.org/archives/html/xen-devel/2020-03/msg01251.html
https://lists.xen.org/archives/html/xen-devel/2021-01/msg02620.html

S3 suspend issue, but root cause seems to be in the scheduler.

Marek is, as usual, providing good info and feedback. It comes as third in my list (below the two above, basically), but I will look into it.

- Ryzen 4000 (Mobile) Softlocks/Micro-stutters

https://lists.xenproject.org/archives/html/xen-devel/2020-10/msg00966.html

Seems could be scheduling, but amount of info is limited.

What we know is that with dom0_max_vcpus=1 dom0_vcpus_pin, all schedulers seem to work fine. Without those params, Credit2 is the "least bad", although not satisfactory. Other schedulers don't even boot.
Fact is, it is reported to occure on QubesOS, which has its own downstream patches, plus there are no logs.
There's a feeling that this (together with others) hints at SMT off having issues on AMD (Ryzen?), but again, it's not crystal clear to me whether this is the issue (or an issue at all) and, if yes, in what subsystem the problem lays.
I can try to have a look, mostly for trying to understand whether or not it is really the case that some AMDs have issues with SMT=off. But that probably will be after I'll be done with the other issues I've mentioned before (above) this one.

- Recent upgrade of 4.13 -> 4.14 issue

https://lists.xenproject.org/archives/html/xen-devel/2020-10/msg01800.html

To my judgment, It's not at all clear whether or not this is a scheduler issue. And at least with the amount of info that we have so far, I'd lean toward "no, it's not". I'm happy to help with it anyway, of course, but it comes after the others.

So, Ian, was this any helpful?

If not, help me understand how I can help you. :-P

Thanks and Regards

Signature · 6 lines
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)
#5 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

Quoted 41 lines · Dario Faggioli
Quoted 14 lines · Ian Jackson

B. "scheduler broken" bugs.

Information from
Andrew Cooper <[email protected]>
Dario Faggioli <[email protected]>

Quoting Andrew Cooper

Quoted 6 lines

We've had 4 or 5 reports of Xen not working, and very little investigation on whats going on. Suspicion is that there might be two bugs, one with smt=0 on recent AMD hardware, and one more general "some workloads cause negative credit" and might or might not be specific to credit2 (debugging feedback differs - also might be 3 underlying issue).

Quoted 3 lines

I reviewed a thread about this and it is not clear to me where we are with this.

Ok, let me try to summarize the current status.

- BUG: credit=sched2 machine hang when using DRAKVUF

https://lists.xen.org/archives/html/xen-devel/2020-05/msg01985.html
https://lists.xenproject.org/archives/html/xen-devel/2020-10/msg01561.html
https://bugzilla.opensuse.org/show_bug.cgi?id=1179246

99% sure that it's a Credit2 scheduler issue. I'm actively working on it.
"Seems a tricky one; I'm still in the analysis phase"

Manifests only with certain combination of hardware and workload. I'm not reproducing, but there are multiple reports of it (see above). I'm investigating and trying to come up at least with debug patches that one of the reporter should be able and willing to test.

- Null scheduler and vwfi native problem

https://lists.xenproject.org/archives/html/xen-devel/2021-01/msg01634.html

Quoted 9 lines

RCU issues, but manifests due to scheduler behavior (especially NULL scheduler, especially on ARM).
I'm actively working on it.

Patches that should solve the issue for ARM posted already. They will need to be slightly adjusted to cover x86 as well. Waiting a couple days more for a confirmation from the reporter that the patches do help, at least on ARM.

I've run into null-scheduler causing CPU lockups as well on x86. Required physical machine reboot. Seems to be triggered with domain destruction when destroying fork vms. Happens only intermittently.

Tamas

#6 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

Quoted 20 lines · Tamas K Lengyel
Quoted 8 lines · Dario Faggioli
Quoted 1 line · Ian Jackson

B. "scheduler broken" bugs.

- Null scheduler and vwfi native problem

https://lists.xenproject.org/archives/html/xen-devel/2021-01/msg01634.html

Quoted 9 lines

  RCU issues, but manifests due to scheduler behavior (especially NULL scheduler, especially on ARM).
  I'm actively working on it.

  Patches that should solve the issue for ARM posted already. They will need to be slightly adjusted to cover x86 as well. Waiting a couple days more for a confirmation from the reporter that the patches do help, at least on ARM.

Quoted 4 lines

I've run into null-scheduler causing CPU lockups as well on x86. Required physical machine reboot. Seems to be triggered with domain destruction when destroying fork vms. Happens only intermittently.

Yes, we know that it's generic and not ARM-only. It's just that on ARM is easier (or I should say deterministic) to trigger it.

Thanks for reporting, though.

I'll add you in Cc when I send the updated version of the patches that covers x86 as well, in case you want to test. :-)

Regards

Signature · 6 lines
Dario Faggioli, Ph.D
http://about.me/dario.faggioli
Virtualization Software Engineer
SUSE Labs, SUSE https://www.suse.com/
-------------------------------------------------------------------
<<This happens because _I_ choose it to happen!>> (Raistlin Majere)
#7 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

In reply to Dario Faggioli

Dario Faggioli writes ("Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs"):

Quoted 3 lines · Ian Jackson
Quoted 2 lines

I reviewed a thread about this and it is not clear to me where we are with this.

.

Quoted 1 line

Ok, let me try to summarize the current status.

Thanks.

Quoted 10 lines

- BUG: credit=sched2 machine hang when using DRAKVUF

https://lists.xen.org/archives/html/xen-devel/2020-05/msg01985.html
https://lists.xenproject.org/archives/html/xen-devel/2020-10/msg01561.html
https://bugzilla.opensuse.org/show_bug.cgi?id=1179246

99% sure that it's a Credit2 scheduler issue. I'm actively working on it.
"Seems a tricky one; I'm still in the analysis phase"

Quoted 5 lines

Manifests only with certain combination of hardware and workload. I'm not reproducing, but there are multiple reports of it (see above). I'm investigating and trying to come up at least with debug patches that one of the reporter should be able and willing to test.

I think this is a clear blocker for 4.15. I will call it "F".

Quoted 4 lines

- Null scheduler and vwfi native problem

https://lists.xenproject.org/archives/html/xen-devel/2021-01/msg01634.html

Quoted 8 lines

RCU issues, but manifests due to scheduler behavior (especially NULL scheduler, especially on ARM).
I'm actively working on it.

Patches that should solve the issue for ARM posted already. They will need to be slightly adjusted to cover x86 as well. Waiting a couple days more for a confirmation from the reporter that the patches do help, at least on ARM.

I'm not sure whether this is a blocker but it looks like it is going to be fixed so I will keep it on my list. I will call it "G".

Quoted 10 lines

- Xen crash after S3 suspend - Xen 4.13

https://lists.xen.org/archives/html/xen-devel/2020-03/msg01251.html
https://lists.xen.org/archives/html/xen-devel/2021-01/msg02620.html

S3 suspend issue, but root cause seems to be in the scheduler.

Marek is, as usual, providing good info and feedback. It comes as third in my list (below the two above, basically), but I will look into it.

This is not a blocker so I won't track it explicitly but I would very much welcome a fix if it is simple or comes quickly.

Quoted 6 lines

- Ryzen 4000 (Mobile) Softlocks/Micro-stutters

https://lists.xenproject.org/archives/html/xen-devel/2020-10/msg00966.html

Seems could be scheduling, but amount of info is limited.

Quoted 14 lines

What we know is that with dom0_max_vcpus=1 dom0_vcpus_pin, all schedulers seem to work fine. Without those params, Credit2 is the "least bad", although not satisfactory. Other schedulers don't even boot.
Fact is, it is reported to occure on QubesOS, which has its own downstream patches, plus there are no logs.
There's a feeling that this (together with others) hints at SMT off having issues on AMD (Ryzen?), but again, it's not crystal clear to me whether this is the issue (or an issue at all) and, if yes, in what subsystem the problem lays.
I can try to have a look, mostly for trying to understand whether or not it is really the case that some AMDs have issues with SMT=off. But that probably will be after I'll be done with the other issues I've mentioned before (above) this one.

I'm not sure whether you are saying (a) our current code is not useable on this hardware because of this issue, or on the other hand
(b) you think the issue is specific to downstream patches ?

Do you think I should consider this a blocker for 4.15 ?

Quoted 8 lines

- Recent upgrade of 4.13 -> 4.14 issue

https://lists.xenproject.org/archives/html/xen-devel/2020-10/msg01800.html

To my judgment, It's not at all clear whether or not this is a scheduler issue. And at least with the amount of info that we have so far, I'd lean toward "no, it's not". I'm happy to help with it anyway, of course, but it comes after the others.

Again, I think this is not a regression so not a blocker for 4.15.

Quoted 1 line

So, Ian, was this any helpful?

Yes, very much so, thank you.

Ian.

#8 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

In reply to Ian Jackson
Quoted 20 lines · Ian Jackson

OPEN ISSUES
-----------

A. HPET/PIT issue on newer Intel systems
[...]

B. "scheduler broken" bugs.

Information from
Andrew Cooper <[email protected]>
Dario Faggioli <[email protected]>

Quoting Andrew Cooper

| We've had 4 or 5 reports of Xen not working, and very little
| investigation on whats going on.  Suspicion is that there might be
| two bugs, one with smt=0 on recent AMD hardware, and one more
| general "some workloads cause negative credit" and might or might
| not be specific to credit2 (debugging feedback differs - also might
| be 3 underlying issue).
Quoted 2 lines

I reviewed a thread about this and it is not clear to me where we are with this.

I'm not sure Marek's "Xen crash after S3 suspend - Xen 4.13 and newer" falls in either of the two buckets.

Quoted 17 lines

C. Fallout from MSR handling behavioral change.

Information from
Jan Beulich <[email protected]>

I am lacking an extended desxcription of this. What are the bug(s), and what is the situation ?

D. Use-after-free in the IOMMU code

Information from
Julien Grall <[email protected]>
References
[PATCH for-4.15 0/4] xen/iommu: Collection of bug fixes for IOMMU teadorwn <[email protected]>

Quoted 6 lines

Quoting the 0/:

| This series is a collection of bug fixes for the IOMMU teardown code.
| All of them are candidate for 4.15 as they can either leak memory or
| lead to host crash/host corruption.

AFAIT these patches are not yet in-tree.

(since you're continuing with E. further down)

F. The almost-XSA "x86/PV: avoid speculation abuse through guest accessors" - the first 4 patches are needed to address the actual issue. The next 3 patches are needed to get the tree into consistent state again, identifier-wise. The remaining patches can probably wait.

Quoted 10 lines

CLOSED ISSUES
=============

E. zstd support

Information from
Andrew Cooper <[email protected]>
Jan Beulich <[email protected]>
git

Quoted 4 lines

Needed to unbreak Fedora. Needs support for both dom0 and domU.

AFAICT this seems to be in-tree as of 8169f82049ef "libxenguest: support zstd compressed kernels"

Indeed.

Jan

#9 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

Jan Beulich writes ("Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs"):

Quoted 3 lines · Ian Jackson
Quoted 2 lines

OPEN ISSUES
-----------

...

Quoted 5 lines
Quoted 2 lines

I reviewed a thread about this and it is not clear to me where we are with this.

I'm not sure Marek's "Xen crash after S3 suspend - Xen 4.13 and newer" falls in either of the two buckets.

I think this is not a regression. though ? See my reply to Dario. Unless it is worse in 4.15 than earlier releases I'm not inclined to see it as a blocker.

Quoted 7 lines

(since you're continuing with E. further down)

F. The almost-XSA "x86/PV: avoid speculation abuse through guest accessors" - the first 4 patches are needed to address the actual issue. The next 3 patches are needed to get the tree into consistent state again, identifier-wise. The remaining patches can probably wait.

Thanks. I have made a note of this.

I have to allocate the letters or it'll be chaos :-). I'm calling this I.

Ian.

#10 lore raw

Re: [ANNOUNCE] Xen 4.15 - call for notification/status of significant bugs

In reply to Ian Jackson
Quoted 10 lines · Ian Jackson

Although there are a few things outstanding, we are now firmly into the bugfixing phase of the Xen 4.15 release.

I searched my email (and my memory) and found four open blockers which I have listed below, and one closed blocker.

I feel there are probably more issues out there, so please let me know, in response to this mail, of any other significant bugs you are aware of.

Quoted 5 lines

Ian.

OPEN ISSUES
-----------

Roger has just pointed out to me that I should probably ask for "x86/time: calibration rendezvous adjustments" to also be tracked here. Though just to clarify - the bad behavior has been there for a (long) while, so this isn't like a recent regression.

Jan