Skip to contentSkip to conversation

Xen C-state Issues

DISCUSSION Elliott Mitchell 2 participants 7 messages Aug 21, 2021 – Jun 28, 2024

lore
Share & tools
lore
#0 lore raw

ACPI C-state support might not see too much use, but it does see some.

With Xen 4.11 and Linux kernel 4.19, I found higher C-states only got enabled for physical cores for which Domain 0 had a corresponding vCPU. On a machine where Domain 0 has 5 vCPUs, but 8 reported cores, the additional C-states would only be enabled on cores 0-4.

This can be worked around by giving Domain 0 vCPUs equal to cores, but then offlining the extra vCPUs. I'm guessing this is a bug with the Linux 4.19 xen_acpi_processor module.

Appears Xen 4.14 doesn't work at all with Linux kernel 4.19's ACPI C-state support. This combination is unable to enable higher C-states on any core. Since Xen 4.14 and Linux 4.19 are *both* *presently* supported it seems patch(es) are needed somewhere for this combination.

Signature · 4 lines
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email protected]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
#1 lore raw
Quoted 13 lines · Elliott Mitchell

ACPI C-state support might not see too much use, but it does see some.

With Xen 4.11 and Linux kernel 4.19, I found higher C-states only got enabled for physical cores for which Domain 0 had a corresponding vCPU. On a machine where Domain 0 has 5 vCPUs, but 8 reported cores, the additional C-states would only be enabled on cores 0-4.

This can be worked around by giving Domain 0 vCPUs equal to cores, but then offlining the extra vCPUs. I'm guessing this is a bug with the Linux 4.19 xen_acpi_processor module.

Quoted 4 lines

Appears Xen 4.14 doesn't work at all with Linux kernel 4.19's ACPI C-state support. This combination is unable to enable higher C-states on any core. Since Xen 4.14 and Linux 4.19 are *both* *presently* supported it seems patch(es) are needed somewhere for this combination.

Hmm, having had observed the same quite some time ago, I thought I had dealt with these problems. Albeit surely not in Xen 4.11 or Linux 4.19. Any chance you could check up-to-date versions of both Xen and Linux (together)?

Jan

#2 lore raw
Quoted 19 lines · Jan Beulich
Quoted 13 lines · Elliott Mitchell

ACPI C-state support might not see too much use, but it does see some.

With Xen 4.11 and Linux kernel 4.19, I found higher C-states only got enabled for physical cores for which Domain 0 had a corresponding vCPU. On a machine where Domain 0 has 5 vCPUs, but 8 reported cores, the additional C-states would only be enabled on cores 0-4.

This can be worked around by giving Domain 0 vCPUs equal to cores, but then offlining the extra vCPUs. I'm guessing this is a bug with the Linux 4.19 xen_acpi_processor module.

Quoted 4 lines

Appears Xen 4.14 doesn't work at all with Linux kernel 4.19's ACPI C-state support. This combination is unable to enable higher C-states on any core. Since Xen 4.14 and Linux 4.19 are *both* *presently* supported it seems patch(es) are needed somewhere for this combination.

Quoted 4 lines

Hmm, having had observed the same quite some time ago, I thought I had dealt with these problems. Albeit surely not in Xen 4.11 or Linux 4.19. Any chance you could check up-to-date versions of both Xen and Linux (together)?

I can believe you got this fixed, but the Linux fixes never got backported.

Of the two, higher C-states working with Linux 4.19 and Xen 4.11, but not Linux 4.19 and Xen 4.14 is more concerning to me. While offlining extra vCPUs after boot is inefficient, it does work. I'm unaware of any potential workaround for disabled C-states.

Though on second thought some breakage with Xen showed up between Linux 4.19.181 and 4.19.194. Now I'm wondering whether the higher C-states might have worked with 4.19.181...

Signature · 4 lines
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email protected]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
#3 lore raw
Quoted 25 lines · Elliott Mitchell
Quoted 19 lines · Jan Beulich
Quoted 13 lines · Elliott Mitchell

ACPI C-state support might not see too much use, but it does see some.

With Xen 4.11 and Linux kernel 4.19, I found higher C-states only got enabled for physical cores for which Domain 0 had a corresponding vCPU. On a machine where Domain 0 has 5 vCPUs, but 8 reported cores, the additional C-states would only be enabled on cores 0-4.

This can be worked around by giving Domain 0 vCPUs equal to cores, but then offlining the extra vCPUs. I'm guessing this is a bug with the Linux 4.19 xen_acpi_processor module.

Quoted 4 lines

Appears Xen 4.14 doesn't work at all with Linux kernel 4.19's ACPI C-state support. This combination is unable to enable higher C-states on any core. Since Xen 4.14 and Linux 4.19 are *both* *presently* supported it seems patch(es) are needed somewhere for this combination.

Quoted 4 lines

Hmm, having had observed the same quite some time ago, I thought I had dealt with these problems. Albeit surely not in Xen 4.11 or Linux 4.19. Any chance you could check up-to-date versions of both Xen and Linux (together)?

Quoted 5 lines

I can believe you got this fixed, but the Linux fixes never got backported.

Of the two, higher C-states working with Linux 4.19 and Xen 4.11, but not Linux 4.19 and Xen 4.14 is more concerning to me.

I'm afraid without you providing detail (full verbosity logs) and ideally checking with 4.15 or yet better -unstable it's going to be hard to judge whether that's a bug, and if so where it might sit.

Jan

#4 lore raw
Quoted 29 lines · Jan Beulich
Quoted 28 lines · Elliott Mitchell
Quoted 19 lines · Jan Beulich
Quoted 13 lines · Elliott Mitchell

ACPI C-state support might not see too much use, but it does see some.

With Xen 4.11 and Linux kernel 4.19, I found higher C-states only got enabled for physical cores for which Domain 0 had a corresponding vCPU. On a machine where Domain 0 has 5 vCPUs, but 8 reported cores, the additional C-states would only be enabled on cores 0-4.

This can be worked around by giving Domain 0 vCPUs equal to cores, but then offlining the extra vCPUs. I'm guessing this is a bug with the Linux 4.19 xen_acpi_processor module.

Quoted 4 lines

Appears Xen 4.14 doesn't work at all with Linux kernel 4.19's ACPI C-state support. This combination is unable to enable higher C-states on any core. Since Xen 4.14 and Linux 4.19 are *both* *presently* supported it seems patch(es) are needed somewhere for this combination.

Quoted 4 lines

Hmm, having had observed the same quite some time ago, I thought I had dealt with these problems. Albeit surely not in Xen 4.11 or Linux 4.19. Any chance you could check up-to-date versions of both Xen and Linux (together)?

I can believe you got this fixed, but the Linux fixes never got backported.

Quoted 6 lines
Quoted 2 lines

Of the two, higher C-states working with Linux 4.19 and Xen 4.11, but not Linux 4.19 and Xen 4.14 is more concerning to me.

I'm afraid without you providing detail (full verbosity logs) and ideally checking with 4.15 or yet better -unstable it's going to be hard to judge whether that's a bug, and if so where it might sit.

That would be a very different sort of bug report if that was found to be an issue. This report is likely a problem of fixes not being backported to stable branches.

What you're writing about would be looking for bugs in development branches.

Signature · 4 lines
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email protected]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
#5 lore raw
Quoted 33 lines · Elliott Mitchell
Quoted 32 lines · Jan Beulich
Quoted 30 lines · Elliott Mitchell
Quoted 19 lines · Jan Beulich
Quoted 13 lines · Elliott Mitchell

ACPI C-state support might not see too much use, but it does see some.

With Xen 4.11 and Linux kernel 4.19, I found higher C-states only got enabled for physical cores for which Domain 0 had a corresponding vCPU. On a machine where Domain 0 has 5 vCPUs, but 8 reported cores, the additional C-states would only be enabled on cores 0-4.

This can be worked around by giving Domain 0 vCPUs equal to cores, but then offlining the extra vCPUs. I'm guessing this is a bug with the Linux 4.19 xen_acpi_processor module.

Quoted 4 lines

Appears Xen 4.14 doesn't work at all with Linux kernel 4.19's ACPI C-state support. This combination is unable to enable higher C-states on any core. Since Xen 4.14 and Linux 4.19 are *both* *presently* supported it seems patch(es) are needed somewhere for this combination.

Quoted 4 lines

Hmm, having had observed the same quite some time ago, I thought I had dealt with these problems. Albeit surely not in Xen 4.11 or Linux 4.19. Any chance you could check up-to-date versions of both Xen and Linux (together)?

I can believe you got this fixed, but the Linux fixes never got backported.

Of the two, higher C-states working with Linux 4.19 and Xen 4.11, but not Linux 4.19 and Xen 4.14 is more concerning to me.

Quoted 7 lines
Quoted 3 lines

I'm afraid without you providing detail (full verbosity logs) and ideally checking with 4.15 or yet better -unstable it's going to be hard to judge whether that's a bug, and if so where it might sit.

That would be a very different sort of bug report if that was found to be an issue. This report is likely a problem of fixes not being backported to stable branches.

As you say - likely. I'd like to be sure.

Quoted 2 lines

What you're writing about would be looking for bugs in development branches.

Very much so, in case there are issues left, or ones have got reintroduced. That's what the primary purpose of this list is.

If you were suspecting missing fixes in the kernel, I guess xen-devel isn't the preferred channel anyway. Otoh the stable maintainers there would likely want concrete commits pointed out ...

Jan

#6 lore raw
Quoted 11 lines · Jan Beulich
Quoted 2 lines · Elliott Mitchell

What you're writing about would be looking for bugs in development branches.

Very much so, in case there are issues left, or ones have got reintroduced. That's what the primary purpose of this list is.

If you were suspecting missing fixes in the kernel, I guess xen-devel isn't the preferred channel anyway. Otoh the stable maintainers there would likely want concrete commits pointed out ...

Yikes, too many things on plate and never getting back to this. With Xen 4.17 and Linux 6.1. When giving domain-0, 6-vCPUs dmesg shows:

xen_acpi_processor: Max ACPI ID: 62
xen_acpi_processor: Uploading Xen processor PM info
xen_acpi_processor: ACPI CPU0 - C-states uploaded.
xen_acpi_processor:      C1: ACPI HLT 1 uS
xen_acpi_processor:      C2: ACPI IOPORT 0x414 18 uS
xen_acpi_processor:      C3: ACPI IOPORT 0x415 350 uS
xen_acpi_processor: ACPI CPU0 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU2 - C-states uploaded.
xen_acpi_processor:      C1: ACPI HLT 1 uS
xen_acpi_processor:      C2: ACPI IOPORT 0x414 18 uS
xen_acpi_processor:      C3: ACPI IOPORT 0x415 350 uS
xen_acpi_processor: ACPI CPU2 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU4 - C-states uploaded.
xen_acpi_processor:      C1: ACPI HLT 1 uS
xen_acpi_processor:      C2: ACPI IOPORT 0x414 18 uS
xen_acpi_processor:      C3: ACPI IOPORT 0x415 350 uS
xen_acpi_processor: ACPI CPU4 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU6 - C-states uploaded.
xen_acpi_processor:      C1: ACPI HLT 1 uS
xen_acpi_processor:      C2: ACPI IOPORT 0x414 18 uS
xen_acpi_processor:      C3: ACPI IOPORT 0x415 350 uS
xen_acpi_processor: ACPI CPU6 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU8 - C-states uploaded.
xen_acpi_processor:      C1: ACPI HLT 1 uS
xen_acpi_processor:      C2: ACPI IOPORT 0x414 18 uS
xen_acpi_processor:      C3: ACPI IOPORT 0x415 350 uS
xen_acpi_processor: ACPI CPU8 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU10 - C-states uploaded.
xen_acpi_processor:      C1: ACPI HLT 1 uS
xen_acpi_processor:      C2: ACPI IOPORT 0x414 18 uS
xen_acpi_processor:      C3: ACPI IOPORT 0x415 350 uS
xen_acpi_processor: ACPI CPU10 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU0 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU0 w/ PST:coord_type = 254 domain = 0
xen_acpi_processor: ACPI CPU1 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU1 w/ PST:coord_type = 254 domain = 0
xen_acpi_processor: ACPI CPU2 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU2 w/ PST:coord_type = 254 domain = 1
xen_acpi_processor: ACPI CPU3 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU3 w/ PST:coord_type = 254 domain = 1
xen_acpi_processor: ACPI CPU4 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU4 w/ PST:coord_type = 254 domain = 2
xen_acpi_processor: ACPI CPU5 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU5 w/ PST:coord_type = 254 domain = 2
xen_acpi_processor: ACPI CPU6 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU6 w/ PST:coord_type = 254 domain = 3
xen_acpi_processor: ACPI CPU7 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU7 w/ PST:coord_type = 254 domain = 3
xen_acpi_processor: ACPI CPU8 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU8 w/ PST:coord_type = 254 domain = 4
xen_acpi_processor: ACPI CPU9 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU9 w/ PST:coord_type = 254 domain = 4
xen_acpi_processor: ACPI CPU10 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU10 w/ PST:coord_type = 254 domain = 5
xen_acpi_processor: ACPI CPU11 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU11 w/ PST:coord_type = 254 domain = 5
xen_acpi_processor: ACPI CPU12 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU12 w/ PST:coord_type = 254 domain = 6
xen_acpi_processor: ACPI CPU13 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU13 w/ PST:coord_type = 254 domain = 6
xen_acpi_processor: ACPI CPU14 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU14 w/ PST:coord_type = 254 domain = 7
xen_acpi_processor: ACPI CPU15 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU15 w/ PST:coord_type = 254 domain = 7
xen_acpi_processor: ACPI CPU16 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU16 w/ PST:coord_type = 254 domain = 8
xen_acpi_processor: ACPI CPU17 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU17 w/ PST:coord_type = 254 domain = 8
xen_acpi_processor: ACPI CPU18 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU18 w/ PST:coord_type = 254 domain = 9
xen_acpi_processor: ACPI CPU19 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU19 w/ PST:coord_type = 254 domain = 9
xen_acpi_processor: ACPI CPU20 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU20 w/ PST:coord_type = 254 domain = 10
xen_acpi_processor: ACPI CPU21 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU21 w/ PST:coord_type = 254 domain = 10
xen_acpi_processor: ACPI CPU22 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU22 w/ PST:coord_type = 254 domain = 11
xen_acpi_processor: ACPI CPU23 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU23 w/ PST:coord_type = 254 domain = 11
xen_acpi_processor: ACPI CPU24 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU24 w/ PST:coord_type = 254 domain = 12
xen_acpi_processor: ACPI CPU25 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU25 w/ PST:coord_type = 254 domain = 12
xen_acpi_processor: ACPI CPU26 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU26 w/ PST:coord_type = 254 domain = 13
xen_acpi_processor: ACPI CPU27 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU27 w/ PST:coord_type = 254 domain = 13
xen_acpi_processor: ACPI CPU28 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU28 w/ PST:coord_type = 254 domain = 14
xen_acpi_processor: ACPI CPU29 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU29 w/ PST:coord_type = 254 domain = 14
xen_acpi_processor: ACPI CPU30 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU30 w/ PST:coord_type = 254 domain = 15
xen_acpi_processor: ACPI CPU31 w/ PBLK:0x0
xen_acpi_processor: ACPI CPU31 w/ PST:coord_type = 254 domain = 15
xen_acpi_processor: ACPI CPU1 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU3 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU5 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU7 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU9 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU11 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU12 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU13 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU14 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU15 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU16 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU17 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU18 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU19 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU20 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU21 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU22 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU23 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU24 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU25 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU26 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU27 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU28 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU29 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU30 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS
xen_acpi_processor: ACPI CPU31 - P-states uploaded.
xen_acpi_processor:      *P0: 4500 MHz, 5625 mW, 0 uS
xen_acpi_processor:       P1: 3000 MHz, 2550 mW, 0 uS

While Linux's xen_acpi_processor.ko module is part of the Linux kernel, the Xen project should be concerned with this. This matches with what xenpm get-cpuidle-states/xenpm get-cpufreq-states seem to indicate.

P-state information is being uploaded to Xen for every core. C-state information is only being uploaded to Xen for cores which domain-0 has a corresponding vCPU.

There is a simple mitigation, but I would certainly prefer a proper solution.

Signature · 4 lines
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         [email protected]  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445