On 25/09/2019 13:30, Jan Beulich wrote: > On 05.09.2019 21:49, Andrew Cooper wrote: >> For gen-cpuid.py, fix a comment describing self.names, and generate the >> reverse mapping in self.values. Write out INIT_FEATURE_NAMES which maps a >> string name to a bit position. >> >> For parse_cpuid(), use cmdline_strcmp() and perform a binary search over >> INIT_FEATURE_NAMES. A tweak to cmdline_strcmp() is needed to break at equals >> signs as well. >> >> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> >> --- >> CC: Jan Beulich <jbeul...@suse.com> >> CC: Wei Liu <w...@xen.org> >> CC: Roger Pau Monné <roger....@citrix.com> >> >> v2: >> * Rebase over cmdline_strcmp() >> --- >> xen/arch/x86/cpuid.c | 75 >> +++++++++++++++++++++++++++++++------------------- >> xen/common/kernel.c | 6 ++-- >> xen/include/xen/lib.h | 4 +-- >> xen/tools/gen-cpuid.py | 22 +++++++++++++-- >> 4 files changed, 71 insertions(+), 36 deletions(-) > I've noticed this only now: This change would have wanted to be > accompanied by an adjustment to the command line doc.
I debated that, but I don't want to give people the idea that using cpuid=no-lm might be a sensible thing to do. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel