Skip to contentSkip to conversation

Status of comet-4.10 branch

DISCUSSION Ian Jackson 4 participants 7 messages Jun 15, 2018 – Jun 21, 2018

lore
Share & tools
lore
#0 lore raw

In XSA-254, we advertised siome special new branches, comet and vixen, which were intended to be used as the shim in the PV-in-HVM shim approaches to XSA-254 mitigation.

With my Debian maintainer hat on, I chose to do that. (I don't know, of course, what proportion of Debian users are using shim and what proportion xpti.)

I am now trying to apply the XSA-267 patches. It is obvious that the fix will need to be applied to my 4.10 comet. But I discover that the patches do not apply. Additionally, I would want to apply the XSA-263 patches, so that when microcode appears, XSA-263 is fixes too.

What am I supposed to do ? There is no useful guidance in XSA-263 or XSA-267, and there has been no update to XSA-254. Such an update should probably be issued.

The right approach to this depends on whether the functionality in the comet and shim branches is now in released Xen branches. Should comet 4.10 be retired in favour of stable-4.10 or RELEASE-4.10.1 ?

If stable-4.10 is not suitable, then we have a gap and either the remaining fixes from comet need to be applied to 4.10; or the intervening XSAs need to be applied to comet.

Similar questions apply for 4.9.1-shim-vixen and 4.8.3pre-shim-comwet.

In any case an update to XSA-254 is needed.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#1 lore raw
Quoted 13 lines · Ian Jackson

In XSA-254, we advertised siome special new branches, comet and vixen, which were intended to be used as the shim in the PV-in-HVM shim approaches to XSA-254 mitigation.

With my Debian maintainer hat on, I chose to do that. (I don't know, of course, what proportion of Debian users are using shim and what proportion xpti.)

I am now trying to apply the XSA-267 patches. It is obvious that the fix will need to be applied to my 4.10 comet. But I discover that the patches do not apply. Additionally, I would want to apply the XSA-263 patches, so that when microcode appears, XSA-263 is fixes too.

Quoted 7 lines

What am I supposed to do ? There is no useful guidance in XSA-263 or XSA-267, and there has been no update to XSA-254. Such an update should probably be issued.

The right approach to this depends on whether the functionality in the comet and shim branches is now in released Xen branches. Should comet 4.10 be retired in favour of stable-4.10 or RELEASE-4.10.1 ?

With my Fedora hat on I decided that most or all of the patches in
the comet branch were in 4.10.1 anyway so I dropped my added XSA-254
fixes. For XSA-263 I added 3 extra patches from stable-4.10 to get thos patches to apply cleanly, and XSA-267 just needs minor changes to the patch context (this hasn't reached Fedora yet as the build is broken, I think due to updates to Fedora's acpica-tools package which provides iasl).

Quoted 7 lines

If stable-4.10 is not suitable, then we have a gap and either the remaining fixes from comet need to be applied to 4.10; or the intervening XSAs need to be applied to comet.

Similar questions apply for 4.9.1-shim-vixen and 4.8.3pre-shim-comwet.

In any case an update to XSA-254 is needed.

+1 to an update on the status of extra branches for XSA-254.

Michael Young

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw

Build issues with newer iasl (was: Re: Status of comet-4.10 branch)

Quoted 2 lines · Michael Young

context (this hasn't reached Fedora yet as the build is broken, I think due to updates to Fedora's acpica-tools package which provides iasl).

I've recently experienced the same on FreeBSD, you might want to try:

http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=858dbaaeda33b05c1ac80aea0ba9a03924e09005

Roger.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw

Re: Build issues with newer iasl (was: Re: Status of comet-4.10 branch)

Quoted 7 lines · Roger Pau Monné
Quoted 2 lines · Michael Young

context (this hasn't reached Fedora yet as the build is broken, I think due to updates to Fedora's acpica-tools package which provides iasl).

I've recently experienced the same on FreeBSD, you might want to try:

http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=858dbaaeda33b05c1ac80aea0ba9a03924e09005

Thanks for that, though I worked out an inferior version of that fix myself since my email. I didn't think to look upstream, which I should have done as I now realize my recent test build of xen 4.11 rc6 succeeded with the with the updated iasl.

Michael Young

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#4 lore raw
In reply to Michael Young

Michael Young writes ("Re: [Xen-devel] Status of comet-4.10 branch"):

Quoted 1 line

+1 to an update on the status of extra branches for XSA-254.

I'm drafting this update now. I think that the status is:

4.10.0-shim-comet:
Merged into and superseded by staging-4.10.
"Testing status" (see the advisory) of this is now "Very good"

4.9.1-shim-vixen:
Withdrawn, vixen branch is not supported any longer. Do we know what supported branch(es) are available which support the PV-in-HVM shim with "sidecar", if any ? Or do we just say "use 4.10 instead" ?

4.8.3pre-shim-comet:
???
The tip of this branch has not been merged into 4.8 stable mainline.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#5 lore raw
Quoted 16 lines
Quoted 1 line
Quoted 1 line · On 19.06.18 at 15:33, <[email protected]> wrote:

Michael Young writes ("Re: [Xen-devel] Status of comet-4.10 branch"):

Quoted 1 line

+1 to an update on the status of extra branches for XSA-254.

I'm drafting this update now. I think that the status is:

4.10.0-shim-comet:
Merged into and superseded by staging-4.10.
"Testing status" (see the advisory) of this is now "Very good"

4.9.1-shim-vixen:
Withdrawn, vixen branch is not supported any longer. Do we know what supported branch(es) are available which support the PV-in-HVM shim with "sidecar", if any ? Or do we just say "use 4.10 instead" ?

Quoted 4 lines

4.8.3pre-shim-comet:
???
The tip of this branch has not been merged into 4.8 stable mainline.

And I think it also shouldn't be, unless we also make similar functionality available on the 4.9 branch. Imo newer code streams should never provide less functionality than older ones, unless something was broken and needed to be disabled.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#6 lore raw
In reply to Ian Jackson
Quoted 4 lines
Quoted 1 line
Quoted 1 line

Ian Jackson <[email protected]> 06/15/18 6:26 PM >>>

The right approach to this depends on whether the functionality in the comet and shim branches is now in released Xen branches. Should comet 4.10 be retired in favour of stable-4.10 or RELEASE-4.10.1 ?

It is my understanding that with the merging of the shim code into the 4.10 branch, the separate branch became obsolete.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel