[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 2/2][4.15] x86/AMD: expose HWCR.TscFreqSel to guests
- To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Mon, 8 Mar 2021 12:41:26 +0000
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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-SenderADCheck; bh=lwxeJff5SaXjLDtgN2ejyA9c7MROSOwFhLK7111f6Fc=; b=VFSf6GVwoIw0nTUeBGQFM2A9WCQ1S1UapFrCTBLCNailZLmyRkFiKsNiJi1CTOka0McbpX9aT3nk7wN8DD8Vsw7mcyClvVBdEhgFdxtLChtKPpqKUGjgy+arEH96lkaBDavGkWkzsnGYE+WZHPNltm9jzyrsbEuXiyCaG1EsbA+b/pBudATVl1d+uiVs1mlfcN4GCSix0k6r3gZxCmbmxnJZddAotm+mmJCtaVG6TszHc7hr9tQ/twIP3y8xFTUzSC3AEnVisELPChoizePP7pT1y9VdlTTVYKqGvbl4Za8tro8trgrQTVjsMww4+reKAwsoCxBGRPHG6f4qfCaNEA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a0aY7Zp7SO2HV0oat3IjFA6eKsTD25uAJDwVud71I6zv/owij27yULov3UN0ypd64wPjEpLUbG2LUpsIAh3VKOkiKjmOBCt9ETDVZL2BG6kPO8r+aIGNLOcg88unl9VKALK8bziNmBi9vpEsv8EEivGlRPuLXeS+Xnift7TwuwNsvLxDYPpltS6zYafhvWW8XtvfnbPdcn3IrEJf+3H7ozNI6G5iaG/a3nKVrB69Qr9p3LWY01GDN/gBf7CWN3qI9gwi4ndYVx2CRUJEdEWr3LJRtBQbL5VxD3giRCRw7Nld2gkS27bjpk3xOIwfwo0YbourQNAitVNUVddNsOtdyg==
- Authentication-results: esa6.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
- Delivery-date: Mon, 08 Mar 2021 12:42:07 +0000
- Ironport-sdr: kvrbRWJx3leiZ33IvBAeNus7VdebHLLuE6WsAgcjoK4OkTy8pP7OJJHzYWC8l2uouyTui70n73 sF9gAD56ER+czKAbbUKwWJfQLbeyQhaBmZyml0rzl48m8JmvGKNjWtVfg+fWIAsfGljjoFMzUD +jAOzYSXN8NLfVyn54SCTgIOqUy6cnmUy9e2GaUvf5seYEZesXT9RjU4Y/t4nLbmmz+F0e3b6J 6ygDRi+rjlYJG+EmwtZUXx7aZzaNwe1jSLbifLhqdZD6Le6Mkbkxa6ka+/VimacM45i/BnDxpV WkE=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 05/03/2021 09:50, Jan Beulich wrote:
> Linux has been warning ("firmware bug") about this bit being clear for a
> long time. While writable in older hardware it has been readonly on more
> than just most recent hardware. For simplicitly report it always set (if
> anything we may want to log the issue ourselves if it turns out to be
> clear on older hardware).
>
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
I realise Linux is complaining, but simply setting the bit isn't a fix.
This needs corresponding updates in the ACPI tables, as well as Pstate
MSRs, or Linux will derive a false relationship between the TSC rate and
wallclock.
~Andrew
|