From: Andre Przywara <andre.przywara@amd.com>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Keir Fraser <Keir.Fraser@eu.citrix.com>,
Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>
Subject: Re: [PATCH 3/5] xl: implement parsing of cpuid parameter and translate to Xen interface
Date: Thu, 16 Sep 2010 20:49:08 +0200 [thread overview]
Message-ID: <4C9266A4.1020905@amd.com> (raw)
In-Reply-To: <1284651492.16095.1963.camel@zakaz.uk.xensource.com>
Ian Campbell wrote:
> On Thu, 2010-09-16 at 14:08 +0100, Andre Przywara wrote:
>> Parses a string enumerating cpuid flags and their behavior.
>> The syntax is: cpuid = "host,<flagname>=[01xks],..."
>> Supports:
>> 0: clear this flag
>> 1: set this flag
>> x: don't care, use the default handling
>> k: use the host value
>> s: as k, but keep stable across migrations
>>
>> Instead of the bits there can also be numbers passed (hex or dec),
>> like: family=0x10,model=4
>
> Isn't this ambiguous?
No, since I don't support this legacy multi-bit syntax in the new
format. I cannot think of a use-case for "keep the third bit in the
family number".
The above characters are just for single bit flags. Multi-bit flags need
a number or a single character that gets multiplied ([xks]). The patch
description is a bit vague in this respect, I will fix it with a
documentation patch later.
Thanks for looking closely!
Regards,
Andre.
> 0x10 could be a hex number (i.e. 16 decimal) but it could be "(0) clear,
> (x) don't care, (1) set, (0) clear". (i.e. either 2 or 6 depending on
> the eventual value for the don't care)
>
> Ian.
>
>
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 448-3567-12
next prev parent reply other threads:[~2010-09-16 18:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-16 13:08 [PATCH 3/5] xl: implement parsing of cpuid parameter and translate to Xen interface Andre Przywara
2010-09-16 15:38 ` Ian Campbell
2010-09-16 18:49 ` Andre Przywara [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-09-08 9:21 Andre Przywara
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=4C9266A4.1020905@amd.com \
--to=andre.przywara@amd.com \
--cc=Ian.Campbell@eu.citrix.com \
--cc=Keir.Fraser@eu.citrix.com \
--cc=Stefano.Stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/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.