[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86/spec-ctrl: More MSR_ARCH_CAPS enumerations
- To: Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
- From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
- Date: Mon, 13 Jun 2022 08:03:24 +0000
- Accept-language: en-GB, en-US
- 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CiiyAYTe4t/xVNgbnhRgwfUmI0mw7X2HrKUPuUz7ADk=; b=d/pvtfK5i09msmRbblLQ8GLTSkujlrYmMIYlIny3LLOxmxTWI8cUDBnXjcddesLtBuLGsA2wR/WsvDlDR9BL2YiWPZz5Om6jnqUgx5ZR3vZR7RxOEyoD8JK6AaaoQCWOb/06T0lecWi3zsVlalFxMU1PQrJKLWVh1QtAhHauaz7rsHwCiLBB83ILHcnJrc6N6OfRSbtCA9PAYHWZLRglEDFkvRvUpn/lo29UUf4MQLitjWuutsbIWuRCNwuvoTfVJr1zwtb0R89xZHDarh9DHfjZAc1+/to6ljyVLHvOtp/Bk0S89kjunXLQOLpmtsMh9hyKECLp9cRsFoSKTDh1cw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XCNJT/6PdHy1u9z4PjF153hiXO2yxSPTWkbqu8JhpLSDzz6to0rejMO9f0n/SbmktX0gxd2Oeub5Y/UKZ7LhDN2EpgmBb5Cg3qGwMi6viRjGDaWXjOZD/wPExRbLB+FEfbJetkj1lCoFGeWapCyts5mKahMdaHoCLT9BrIS/I/RZhHevkvyuOgBk7IlJQ3WoBDGPDW9NPoUeH3GRFPpuHnNroazBFIZFjCaP9TNAR86DxQ/0+azE10jxMEB0htYkgE0PPBlJPoh7tZ1+LPxiPpeCZIpXrGsUcEAv9iQzycagszwBcmWJLQVCIpQ4KtCeLrCmvRhA3yRgZf8lSBhZXg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Mon, 13 Jun 2022 08:03:42 +0000
- Ironport-data: A9a23:i/wI7q0D7RZKalm6aPbD5aNwkn2cJEfYwER7XKvMYLTBsI5bpzcDx 2McXGGGOq7ZZGv0c9wjboS/8BhXsJPRydAyQVdrpC1hF35El5HIVI+TRqvS04J+DSFhoGZPt Zh2hgzodZhsJpPkjk7xdOCn9xGQ7InQLlbGILes1htZGEk1EU/NtTo5w7Rj2tAx24Dja++wk YiaT/P3aQfNNwFcagr424rbwP+4lK2v0N+wlgVWicFj5DcypVFMZH4sDfjZw0/DaptVBoaHq 9Prl9lVyI97EyAFUbtJmp6jGqEDryW70QKm0hK6UID66vROS7BbPg/W+5PwZG8O4whlkeydx /0O6q3sFV0sY5b0p8oQCUhIQiBwPaZ/reqvzXiX6aR/zmXgWl60n7BCKR9zOocVvOFqHWtJ6 PoUbigXaQyOjP63x7T9TfRwgsMkL4/gO4Z3VnNIlGmFS6p5B8+YBfmTjTNb9G5YasRmNPDSf ccGLxFoawzNeUZnMVYLEpMu2uyvgxETdhUH8wjF+fRqugA/yiRbyafxItTTauWVTPVRpBvFm FvjolnAV0Ry2Nu3jGDtHmiXru3FkD7/WYkSPKal7fMsi1qWrkQMDDUGWF39puO24mauVtQaJ 0EK9y4Gqakp6FftXtT7Rwe/onOPolgbQdU4LgEhwASEy66R7wPHAGEBFmJFcIZ+6JZwQiE23 FiUmd+vHSZorLCeVXOa8PGTsC+2Pi8Wa2QFYEfoUDc43jUqm6lr5jqnczqpOPTdYgHdcd0o/ w23kQ==
- Ironport-hdrordr: A9a23:Sc9Q1q4itAxq7+Tb9QPXwZGCI+orL9Y04lQ7vn2ZFiY5TiXIra qTdaogviMc0AxhI03Jmbi7Scq9qeu1z+843WBjB8bZYOCAghrmEGgC1/qu/9SEIUHDH4FmpM BdmsRFaeEYSGIK9foSgzPIXerIouP3lpxA7N22pxgCcegpUdAY0+4TMHf4LqQCfngjOXNPLu v42iMonVqdUEVSSv7+KmgOXuDFqdGOvonhewQ6Cxku7xTLpS+06ZbheiLonis2Yndq+/MP4G LFmwv26uGIqPeg0CLR0GfV8tB/hMbh8N1eH8aB4/JlaQkEyzzYJriJaYfy+Azdk9vfr2rCV+ O85SvICv4Drk85uFvF+CcFlTOQiArGoEWStGNwyUGT3fARAghKSvapzLgpDCcwoSAbza5B+b MO0GSDu5VNCxTc2Cz7+tjTThlv0lG5uHw4jIco/jRiuKYlGclsRLYkjQpo+VY7bVDHwZFiFP MrANDX5f5Qf1/fZ3fFvnN3yNjpWngoBB+JTkULp8TQilFt7TpE5lpdwNZakmYL9Zo7RZUB7+ PYMr5wnLULSsMNd6pyCOoIXMPyAG3QRhDHNn6UPD3cZeo6EmOIr4Sy7KQ+5emsdpBNxJwumI 7ZWFcdrmI2c1KGM7z44HSKyGG4fIyQZ0Wc9igF3ekJhlTVfsuZDQSTDFYzjsCnv/ITRsXGRv fbAuMiP8Pe
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYfONZpKeg248Rt0um2v0bci+Cz61I4Q+AgAQYjICAAAS6AA==
- Thread-topic: [PATCH] x86/spec-ctrl: More MSR_ARCH_CAPS enumerations
On 13/06/2022 08:46, Jan Beulich wrote:
> On 10.06.2022 19:13, Andrew Cooper wrote:
>> On 10/06/2022 17:00, Andrew Cooper wrote:
>>> https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/data-operand-independent-timing-isa-guidance.html
>>> https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/advisory-guidance/running-average-power-limit-energy-reporting.html
>>>
>>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>>> ---
>>> CC: Jan Beulich <JBeulich@xxxxxxxx>
>>> CC: Roger Pau Monné <roger.pau@xxxxxxxxxx>
>>> CC: Wei Liu <wl@xxxxxxx>
>>>
>>> The SDM also lists
>>>
>>> #define ARCH_CAPS_OVERCLOCKING_STATUS (_AC(1, ULL) << 23)
>>>
>>> but I've got no idea what this is, nor the index of MSR_OVERCLOCKING_STATUS
>>> which is the thing allegedly enumerated by this.
>>
>> Found it. There's an OVER{C}CLOCKING typo in the SDM. It's MSR 0x195
>> and new in AlderLake it seems.
> With or without bits for it added
> Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx>
> I'd like to note though that I can't spot such a spelling mistake in version
> 077 of the SDM (vol 4).
That's because it's surprisingly hard to deliberately make a typo...
It was OVER LOCKING i.e. no c's rather than 2.
~Andrew
|