Skip to contentSkip to conversation

Backports for Xen 4.6

DISCUSSION Andrew Cooper 4 participants 8 messages Jan 18, 2016 – Jan 21, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

Looking at the XenServer patch queue, I have a few nominations for backports.

Hypervisor:
22a1fbb575df "x86/hvm: make sure stdvga cache cannot be re-enabled" 0747bc8b4d85 "x86/vmx: Fix injection of #DB traps following XSA-156"

Possibly also:
42940c046902 "x86/shadow: Fix missing newline in dprintk()" 6851e979874e "VT-d: use proper error codes in iommu_enable_x2apic_IR()" 0ce647ad6f70 "x86: suppress bogus log message"
484c14b7254e "x86/vmx: enable PML by default"

Toolstack:
82ff7cbed64e "oxenstored: Quota.merge: don't assume domain already exists" 8a2c11f876e6 "tools/ocaml/xb: Correct calculations of data/space the ring"

In particular, the advisory for XSA-156 needs re-issuing with c/s 0747bc8b4d85 folded in.

~Andrew

#1 lore raw

Andrew Cooper writes ("Backports for Xen 4.6"):

Quoted 3 lines

Toolstack:
82ff7cbed64e "oxenstored: Quota.merge: don't assume domain already exists" 8a2c11f876e6 "tools/ocaml/xb: Correct calculations of data/space the ring"

I have applied these to 4.6 and 4.5.

They didn't apply cleanly to 4.4. If someone wants to check if they're relevant and supply backport(s), I would apply them.

Thanks,
Ian.

#2 lore raw
Quoted 5 lines · Ian Jackson

Andrew Cooper writes ("Backports for Xen 4.6"):

Quoted 3 lines

Toolstack:
82ff7cbed64e "oxenstored: Quota.merge: don't assume domain already exists" 8a2c11f876e6 "tools/ocaml/xb: Correct calculations of data/space the ring"

I have applied these to 4.6 and 4.5.

Thanks.

~Andrew

#3 lore raw
In reply to Andrew Cooper
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 18.01.16 at 16:53, <[email protected]> wrote:

Possibly also:
42940c046902 "x86/shadow: Fix missing newline in dprintk()"

The affected statement compiles to nothing in a release build, which can be taken as an argument both ways. I lean towards not putting it in.

Quoted 1 line

6851e979874e "VT-d: use proper error codes in iommu_enable_x2apic_IR()"

Since I had pulled this into our own tree already, and since you're now also viewing this as useful, I guess I will throw it in.

Quoted 1 line

0ce647ad6f70 "x86: suppress bogus log message"

This being a purely cosmetic change, may I ask for the reason you consider this a backport candidate?

Quoted 1 line

484c14b7254e "x86/vmx: enable PML by default"

Not in a point release I would say.

Jan

#4 lore raw
Quoted 7 lines · Jan Beulich
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 18.01.16 at 16:53, <[email protected]> wrote:

Possibly also:
42940c046902 "x86/shadow: Fix missing newline in dprintk()"

The affected statement compiles to nothing in a release build, which can be taken as an argument both ways. I lean towards not putting it in.

Quoted 7 lines
Quoted 1 line

6851e979874e "VT-d: use proper error codes in iommu_enable_x2apic_IR()"

Since I had pulled this into our own tree already, and since you're now also viewing this as useful, I guess I will throw it in.

Quoted 1 line

0ce647ad6f70 "x86: suppress bogus log message"

This being a purely cosmetic change, may I ask for the reason you consider this a backport candidate?

The shear volume reduction in debug builds.

XenServer ships both a release and a debug hypervisor for first-line triage of customer issues. As such, "only affecting a debug build" isn't a relevant consideration for us, and I expect we are not alone here.

~Andrew

#5 lore raw
Quoted 16 lines · Andrew Cooper
Quoted 7 lines · Jan Beulich
Quoted 3 lines
Quoted 1 line
Quoted 1 line · On 18.01.16 at 16:53, <[email protected]> wrote:

Possibly also:
42940c046902 "x86/shadow: Fix missing newline in dprintk()"

The affected statement compiles to nothing in a release build, which can be taken as an argument both ways. I lean towards not putting it in.

Quoted 7 lines
Quoted 1 line

6851e979874e "VT-d: use proper error codes in iommu_enable_x2apic_IR()"

Since I had pulled this into our own tree already, and since you're now also viewing this as useful, I guess I will throw it in.

Quoted 1 line

0ce647ad6f70 "x86: suppress bogus log message"

This being a purely cosmetic change, may I ask for the reason you consider this a backport candidate?

Quoted 8 lines

The shear volume reduction in debug builds.

XenServer ships both a release and a debug hypervisor for first-line triage of customer issues. As such, "only affecting a debug build" isn't a relevant consideration for us, and I expect we are not alone here.

~Andrew

I will likely locally backport this one myself if it doesn't land in 4.6.1 because we too have a debug variant and a release variant.

Signature · 1 line
Doug Goldstein

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw
In reply to Andrew Cooper
Quoted 7 lines · Andrew Cooper

Hi,

Looking at the XenServer patch queue, I have a few nominations for backports.

Hypervisor:
22a1fbb575df "x86/hvm: make sure stdvga cache cannot be re-enabled"

This patch appears to have been missed in the latest round of backports.

It causes guest console corruption when an HVM guest restarts its graphics drivers.

~Andrew

#7 lore raw
Quoted 5 lines
Quoted 1 line
Quoted 1 line · On 20.01.16 at 19:32, <[email protected]> wrote:
Quoted 3 lines · Andrew Cooper

Looking at the XenServer patch queue, I have a few nominations for backports.

Quoted 7 lines
Quoted 2 lines

Hypervisor:
22a1fbb575df "x86/hvm: make sure stdvga cache cannot be re-enabled"

This patch appears to have been missed in the latest round of backports.

It causes guest console corruption when an HVM guest restarts its graphics drivers.

Oops - I had pulled it into my queue, but with the queue ordered by time I then overlooked it when committing the pieces. Will do together with the vPMU ones requested by Boris.

Jan