All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: <xen-devel@lists.xenproject.org>
Subject: Re: XEN_SYSCTL_cpu_policy_hvm_default truncates leaf count
Date: Thu, 1 Jul 2021 15:15:28 +0200	[thread overview]
Message-ID: <20210701151528.08d1f503.olaf@aepfle.de> (raw)
In-Reply-To: <67f50c0d-753c-936e-bf1e-11a708150851@citrix.com>

[-- Attachment #1: Type: text/plain, Size: 8502 bytes --]

Am Thu, 1 Jul 2021 13:35:20 +0100
schrieb Andrew Cooper <andrew.cooper3@citrix.com>:

> Can you grab xen-cpuid -p from this system please?

Two PowerEdge T320 with E5-2430L.

Xen reports there are maximum 119 leaves and 2 MSRs
Raw policy: 32 leaves, 2 MSRs
 CPUID:
  leaf     subleaf  -> eax      ebx      ecx      edx     
  00000000:ffffffff -> 0000000d:756e6547:6c65746e:49656e69
  00000001:ffffffff -> 000306e4:00200800:7fbee3ff:bfebfbff
  00000002:ffffffff -> 76036301:00f0b2ff:00000000:00ca0000
  00000004:00000000 -> 3c004121:01c0003f:0000003f:00000000
  00000004:00000001 -> 3c004122:01c0003f:0000003f:00000000
  00000004:00000002 -> 3c004143:01c0003f:000001ff:00000000
  00000004:00000003 -> 3c07c163:04c0003f:00002fff:00000006
  00000005:ffffffff -> 00000040:00000040:00000003:00001120
  00000006:ffffffff -> 00000077:00000002:00000001:00000000
  00000007:00000000 -> 00000000:00000281:00000000:9c000400
  0000000a:ffffffff -> 07300403:00000000:00000000:00000603
  0000000b:00000000 -> 00000001:00000002:00000100:00000000
  0000000b:00000001 -> 00000005:0000000c:00000201:00000000
  0000000d:00000000 -> 00000007:00000340:00000340:00000000
  0000000d:00000001 -> 00000001:00000000:00000000:00000000
  0000000d:00000002 -> 00000100:00000240:00000000:00000000
  80000000:ffffffff -> 80000008:00000000:00000000:00000000
  80000001:ffffffff -> 00000000:00000000:00000001:2c100800
  80000002:ffffffff -> 20202020:746e4920:52286c65:65582029
  80000003:ffffffff -> 52286e6f:50432029:35452055:3334322d
  80000004:ffffffff -> 76204c30:20402032:30342e32:007a4847
  80000006:ffffffff -> 00000000:00000000:01006040:00000000
  80000007:ffffffff -> 00000000:00000000:00000000:00000100
  80000008:ffffffff -> 0000302e:00000000:00000000:00000000
 MSRs:
  index    -> value           
  000000ce -> 0000000080000000
  0000010a -> 0000000000000000
Host policy: 31 leaves, 2 MSRs
 CPUID:
  leaf     subleaf  -> eax      ebx      ecx      edx     
  00000000:ffffffff -> 0000000d:756e6547:6c65746e:49656e69
  00000001:ffffffff -> 000306e4:00200800:77bee3ff:bfebfbff
  00000002:ffffffff -> 76036301:00f0b2ff:00000000:00ca0000
  00000004:00000000 -> 3c004121:01c0003f:0000003f:00000000
  00000004:00000001 -> 3c004122:01c0003f:0000003f:00000000
  00000004:00000002 -> 3c004143:01c0003f:000001ff:00000000
  00000004:00000003 -> 3c07c163:04c0003f:00002fff:00000006
  00000007:00000000 -> 00000000:00000281:00000000:9c000400
  0000000d:00000000 -> 00000007:00000000:00000340:00000000
  0000000d:00000001 -> 00000001:00000000:00000000:00000000
  0000000d:00000002 -> 00000100:00000240:00000000:00000000
  80000000:ffffffff -> 80000008:00000000:00000000:00000000
  80000001:ffffffff -> 00000000:00000000:00000001:2c100800
  80000002:ffffffff -> 20202020:746e4920:52286c65:65582029
  80000003:ffffffff -> 52286e6f:50432029:35452055:3334322d
  80000004:ffffffff -> 76204c30:20402032:30342e32:007a4847
  80000006:ffffffff -> 00000000:00000000:01006040:00000000
  80000007:ffffffff -> 00000000:00000000:00000000:00000100
  80000008:ffffffff -> 0000302e:00000000:00000000:00000000
 MSRs:
  index    -> value           
  000000ce -> 0000000080000000
  0000010a -> 0000000000000000
PV Max policy: 31 leaves, 2 MSRs
 CPUID:
  leaf     subleaf  -> eax      ebx      ecx      edx     
  00000000:ffffffff -> 0000000d:756e6547:6c65746e:49656e69
  00000001:ffffffff -> 000306e4:00200800:f6b82203:1fc9cbf5
  00000002:ffffffff -> 76036301:00f0b2ff:00000000:00ca0000
  00000004:00000000 -> 3c004121:01c0003f:0000003f:00000000
  00000004:00000001 -> 3c004122:01c0003f:0000003f:00000000
  00000004:00000002 -> 3c004143:01c0003f:000001ff:00000000
  00000004:00000003 -> 3c07c163:04c0003f:00002fff:00000006
  00000007:00000000 -> 00000000:00000201:00000000:8c000400
  0000000d:00000000 -> 00000007:00000000:00000340:00000000
  0000000d:00000001 -> 00000001:00000000:00000000:00000000
  0000000d:00000002 -> 00000100:00000240:00000000:00000000
  80000000:ffffffff -> 80000008:00000000:00000000:00000000
  80000001:ffffffff -> 00000000:00000000:00000001:28100800
  80000002:ffffffff -> 20202020:746e4920:52286c65:65582029
  80000003:ffffffff -> 52286e6f:50432029:35452055:3334322d
  80000004:ffffffff -> 76204c30:20402032:30342e32:007a4847
  80000006:ffffffff -> 00000000:00000000:01006040:00000000
  80000007:ffffffff -> 00000000:00000000:00000000:00000100
  80000008:ffffffff -> 0000302e:00001000:00000000:00000000
 MSRs:
  index    -> value           
  000000ce -> 0000000080000000
  0000010a -> 0000000000000000
HVM Max policy: 31 leaves, 2 MSRs
 CPUID:
  leaf     subleaf  -> eax      ebx      ecx      edx     
  00000000:ffffffff -> 0000000d:756e6547:6c65746e:49656e69
  00000001:ffffffff -> 000306e4:00200800:f7ba2223:1fcbfbff
  00000002:ffffffff -> 76036301:00f0b2ff:00000000:00ca0000
  00000004:00000000 -> 3c004121:01c0003f:0000003f:00000000
  00000004:00000001 -> 3c004122:01c0003f:0000003f:00000000
  00000004:00000002 -> 3c004143:01c0003f:000001ff:00000000
  00000004:00000003 -> 3c07c163:04c0003f:00002fff:00000006
  00000007:00000000 -> 00000000:00000281:00000000:9c000400
  0000000d:00000000 -> 00000007:00000000:00000340:00000000
  0000000d:00000001 -> 00000001:00000000:00000000:00000000
  0000000d:00000002 -> 00000100:00000240:00000000:00000000
  80000000:ffffffff -> 80000008:00000000:00000000:00000000
  80000001:ffffffff -> 00000000:00000000:00000001:2c100800
  80000002:ffffffff -> 20202020:746e4920:52286c65:65582029
  80000003:ffffffff -> 52286e6f:50432029:35452055:3334322d
  80000004:ffffffff -> 76204c30:20402032:30342e32:007a4847
  80000006:ffffffff -> 00000000:00000000:01006040:00000000
  80000007:ffffffff -> 00000000:00000000:00000000:00000100
  80000008:ffffffff -> 0000302e:00101000:00000000:00000000
 MSRs:
  index    -> value           
  000000ce -> 0000000080000000
  0000010a -> 0000000000000000
PV Default policy: 31 leaves, 2 MSRs
 CPUID:
  leaf     subleaf  -> eax      ebx      ecx      edx     
  00000000:ffffffff -> 0000000d:756e6547:6c65746e:49656e69
  00000001:ffffffff -> 000306e4:00200800:f6b82203:1fc9cbf5
  00000002:ffffffff -> 76036301:00f0b2ff:00000000:00ca0000
  00000004:00000000 -> 3c004121:01c0003f:0000003f:00000000
  00000004:00000001 -> 3c004122:01c0003f:0000003f:00000000
  00000004:00000002 -> 3c004143:01c0003f:000001ff:00000000
  00000004:00000003 -> 3c07c163:04c0003f:00002fff:00000006
  00000007:00000000 -> 00000000:00000201:00000000:8c000400
  0000000d:00000000 -> 00000007:00000000:00000340:00000000
  0000000d:00000001 -> 00000001:00000000:00000000:00000000
  0000000d:00000002 -> 00000100:00000240:00000000:00000000
  80000000:ffffffff -> 80000008:00000000:00000000:00000000
  80000001:ffffffff -> 00000000:00000000:00000001:28100800
  80000002:ffffffff -> 20202020:746e4920:52286c65:65582029
  80000003:ffffffff -> 52286e6f:50432029:35452055:3334322d
  80000004:ffffffff -> 76204c30:20402032:30342e32:007a4847
  80000006:ffffffff -> 00000000:00000000:01006040:00000000
  80000008:ffffffff -> 0000302e:00001000:00000000:00000000
 MSRs:
  index    -> value           
  000000ce -> 0000000080000000
  0000010a -> 0000000000000000
HVM Default policy: 31 leaves, 2 MSRs
 CPUID:
  leaf     subleaf  -> eax      ebx      ecx      edx     
  00000000:ffffffff -> 0000000d:756e6547:6c65746e:49656e69
  00000001:ffffffff -> 000306e4:00200800:f7ba2203:1fcbfbff
  00000002:ffffffff -> 76036301:00f0b2ff:00000000:00ca0000
  00000004:00000000 -> 3c004121:01c0003f:0000003f:00000000
  00000004:00000001 -> 3c004122:01c0003f:0000003f:00000000
  00000004:00000002 -> 3c004143:01c0003f:000001ff:00000000
  00000004:00000003 -> 3c07c163:04c0003f:00002fff:00000006
  00000007:00000000 -> 00000000:00000281:00000000:9c000400
  0000000d:00000000 -> 00000007:00000000:00000340:00000000
  0000000d:00000001 -> 00000001:00000000:00000000:00000000
  0000000d:00000002 -> 00000100:00000240:00000000:00000000
  80000000:ffffffff -> 80000008:00000000:00000000:00000000
  80000001:ffffffff -> 00000000:00000000:00000001:2c100800
  80000002:ffffffff -> 20202020:746e4920:52286c65:65582029
  80000003:ffffffff -> 52286e6f:50432029:35452055:3334322d
  80000004:ffffffff -> 76204c30:20402032:30342e32:007a4847
  80000006:ffffffff -> 00000000:00000000:01006040:00000000
  80000008:ffffffff -> 0000302e:00101000:00000000:00000000
 MSRs:
  index    -> value           
  000000ce -> 0000000080000000
  0000010a -> 0000000000000000

[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2021-07-01 13:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01 10:56 XEN_SYSCTL_cpu_policy_hvm_default truncates leaf count Olaf Hering
2021-07-01 11:19 ` Andrew Cooper
2021-07-01 11:36   ` Olaf Hering
2021-07-01 12:35     ` Andrew Cooper
2021-07-01 13:15       ` Olaf Hering [this message]
2021-07-01 15:00   ` Olaf Hering
2021-07-01 15:13     ` Andrew Cooper
2021-07-01 15:18       ` Olaf Hering
2021-07-01 15:25         ` Andrew Cooper
2021-07-01 16:23           ` Olaf Hering
2021-07-01 16:28             ` Andrew Cooper
2021-07-01 16:32               ` Olaf Hering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210701151528.08d1f503.olaf@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=andrew.cooper3@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.