[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4] xen/x86: public: add TSC defines for cpuid leaf 4
- To: Krister Johansen <kjlx@xxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 31 Jan 2023 09:42:38 +0100
- 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=BqJZpumkOVkB1VVPHvU9hNvqmPP8gt0FgzEtAdRZ6EM=; b=LKfB+Fh2ZEzzvjUeqGVkRyy2VW16xiSNpA6qfwvq5pnT9y5IXucR4SAhvs7R7ngIncNspHtEhHh9of7hI7HucGkNi6IZF8A56NVcWIvcTk9zotaKnT2zfVDJdmFnzUi7dw1MRqvlKr6F1Pt1tBdzUIeJ4g91GP7sW1pdjjYYvXXsThmifNWtZoONjRctxrTBFXag8Rp4Q9BUG8aWumlPjLjNq8hbdQLy7X+S50ACFA5EvT6QLQeAowlAbCwhk6Cn/m8vGfbYhYsOXUeohkdyG9M/96Um+pUNzpdFM4SuKdHY0eaCuDRe8q/MhNA/+4YVGTw4iQqFrPm8j0BzxRXxew==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jz67N8T/SrEV1gQ7eGK/t2+x2W3qa+bx7VOp83KRsgopLHvVLd7K2ZfSwhZ8WTYGuZub9sRfIXh3VxeVV1xFiR005uonbVJtXLlpXck/vlS0g4iCXfuouIdtth4HP0p33NingqMzXpAI8nj2mNYRev80PIJK69eB6VXUPPlH1OU3VMSdsa+85GpzspRKsOgN/EfnlQ4DI0smglGp6mzKeAz3al5WGaGY6ONH6Y81BUb0xSBNH76ltyy7BT3RY2bw5TxF8hAWXKByBCFg5Cx8AmJwh4CtKFHeu0qfTZE9UYjYti+O8xYMs7jg/vf3ppNjJUun321f/THZl+t5kyHqfw==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Juergen Gross <jgross@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, David Reaver <me@xxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Tue, 31 Jan 2023 08:43:12 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 30.01.2023 18:44, Krister Johansen wrote:
> Cpuid leaf 4 contains information about how the state of the tsc, its
> mode, and some additional information. A commit that is queued for
> linux would like to use this to determine whether the tsc mode has been
> set to 'no emulation' in order to make some decisions about which
> clocksource is more reliable.
>
> Expose this information in the public API headers so that they can
> subsequently be imported into linux and used there.
>
> Link:
> https://lore.kernel.org/xen-devel/eda8d9f2-3013-1b68-0df8-64d7f13ee35e@xxxxxxxx/
> Link:
> https://lore.kernel.org/xen-devel/0835453d-9617-48d5-b2dc-77a2ac298bad@xxxxxxxxxx/
> Signed-off-by: Krister Johansen <kjlx@xxxxxxxxxxxxxxxxxx>
As said:
Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
Jan
|