[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] docs/xen-tscmode: remove mention of numeric tsc_mode= values


  • To: Elliott Mitchell <ehem+xen@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Fri, 14 Jul 2023 09:21:59 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eO/dBxYW8Qr6n5VUF1iS40XT6a/pvQu6awmEewCYBRE=; b=OqF6r6dwXZ28dpljs4WdqHLou0PQBpcf+7xbjkT4agu1hTEEBkcjdPZNeT3pu0fg0Q5++tI1DTr3XI8ULFLuHXidGZ3BBQyXDL8NNsFM1lUd8d9gRYG2hLyXiML1cXDqgV4U+icqFuVVLIRmmqhknPyt2cNjHGiKyXyWmym2qv4akZFxzLmeI0SXrRvizm7EBklZSNeqT5W526i5NcSHNPJ1Muvsr86+RsCM75mer744J6r0MI5URX9Anh5nNF6XcqeUoFdTkn3oCO1/HigSebmVJO1A8s4sNrnFh/ZOiIJuNzb+0eG4v5zVx04RLzzBR3WDLdDliSYU3q982hQ6Yg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jsm3uXKOAQeZ/mqNHhUvjawkULcyKQ7SVimvsSj/QhO0OvzHv1m9+oXZzsp9euhi7a2+WCwZ/3nlsROFy5G0VcxaGH0v6rfv25dv0TXOI/iagJiUuUglbfWWgjS4432LRe2/e+p8TKXBjSZngz9DvJAPcpYLCtila0l2av2kz2BDtOVn9SNweNs2s5Mj6XnxL74/G7/ABioHduRUJRAZiBqPBTBkCwhUvQsAGFLsBQi7+PzQRzol/EKOehbySrL9eukaAIkOLIeD2BoI5ACQ2Xoky95Tskh4V88Gwx35tm4ax3fjK1E1X1+InfxzqDCFZR44nD1ZDkYtr0HHxc9YSw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx, Wei Liu <wl@xxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Marek Marczykowski-Górecki <marmarek@xxxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 14 Jul 2023 07:22:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 14.07.2023 05:44, Elliott Mitchell wrote:
> On Fri, Jul 14, 2023 at 03:24:59AM +0200, Marek Marczykowski-Górecki wrote:
>> On Thu, Jul 13, 2023 at 05:16:40PM -0700, Elliott Mitchell wrote:
>>> The better to encourage moving to setting via string mode names.
>>
>> The numeric values needs to remain documented, otherwise interpreting
>> pre-existing configs (that may use them) will be tricky.
> 
> Problem is the way it is documented tends to encourage continued use of
> the numeric values (notice how reports irt Zen 4 mention "tsc_mode=1").
> 
> `parse_config_data()` suggests the appropriate string value, so nominally
> that should take care of older configurations.  If "xen-tscmode" really
> needs to continue mentioning the numeric value, it should be in
> parentheses and with "old value" to suggest moving away from that.

I'm not sure about "old" (we can't change the values without breaking
backwards compatibility), but the numeric values will want mentioning
alongside their spelled out names.

As to mode 0 - that's the default mode, engaging emulation as
necessary. See xen/include/public/arch-x86/cpuid.h

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.