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

Re: [PATCH v2] x86/msr: fix X2APIC_LAST


  • To: Jan Beulich <jbeulich@xxxxxxxx>, Edwin Torok <edvin.torok@xxxxxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Tue, 26 Jul 2022 15:42:45 +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=RdOaLCovUqWBLqbLJOTx5EZ+Qx+Q+jv4/3hEm+KlMyU=; b=I/g8GkCtmi4mkiEQrGLoukvUEUUY2ogYVvCCfFAVzeTij8yrpqLGUD8CMQTc0KHJ44hMnr/KpkVziS1weD3HazC4g4AodrwbHruNOOmEKMfR42rHUCRmPafz6Rk5GkYqx9odeI3xWrdZ6aNLEaAdwStoCbKmjKtoja8Sh4Raul2WnnYrifyAI8qXxtXAiUCub32qCYz7f+imLlI2Pf9PIbfu+3fkIh/cia0E94M3j4yXL0i2sz0mh5eB4g2IQRw6NtWC6zcA/VWqmhxiLRIz8ZlUDjeolvTKNbNSMvAYWmtTQBj5A3HPOQbIqwa40pHDsYoOzcQkh52Lqfj4SLW7oA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AbslKTEGy5+4Ccc2kIb0fOeIVkX+RiwzX9LgK24qBh6petcde0tkNlgMUm+hZHdwa4cUQN41Ijxw+DGZrE/wR3QNQJaPbB19lT8cdcDj4l+Y3FvTxKL8hgHMFNDd8WYh1/mAwxt45EouVw24KGjWOUu2BFPkcPphtKlsdBdJhA35A+8k3n9tfmH3RDg1o2dctHtsHbuZ3GoCpooyCRITN6kXhA+wyNnyWYDQJnN1itDXQZdM5MEzYPviQYBVlvejQClRu91CjmwP226ScD9NWHSdv6060rUZXxczqWsMrL/LKXAD05cu49oAbLP4BDqeGG6uju2OWeKWy3rsL6elDw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: Jun Nakajima <jun.nakajima@xxxxxxxxx>, Kevin Tian <kevin.tian@xxxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 26 Jul 2022 15:42:59 +0000
  • Ironport-data: A9a23:6SD3RaiVleHCAFPNvnt0IpK1X17brhtdHk7PuqucsGbki+go9Ph2qTc8TtiQWGqXv2RR8IzxNKYuej64ZLRmY4KgerYD4pZG/vDzYglWbDVAgRz/mVc9ZRkDipJ/WiXDL1IR1e2HTi46tiZ58V2RglN52RoaUBYXl+26HI4lJuRcnLyAGv57FZXObsiRR68rqXoKWJzZ5Ibp9B0bFxrwD1mq/hCblt+K7tV/6qUF5i0d7wZ+2AwQuSdwvzLETrgbzgiAw1itq30WuvgeygubQBzO0n0M4Hrm0Zts5d7MyZ4uM1bKP9mEYqX7ZCxVigIUolcd61i2U9/OQPfPsn/CVCA8eA+RBXQ3k6AnIwHdaCiANwK3Cc6VuXwTJaBhiCFHo9MNewf+xe3fsYU3BsAcqwonehsefVz52tL8kp95AB759TW/deSntBncbqWXJrUcaL+aGexRpzYnYmaIiy/LTvuVoQ1j3CR8lbTaFYUDrnGTm5Ya1wByiBVcq1QDmu8rWQoitwe2Smf0Ar+mBdYz8OQZdTDee256YGN0Xac6FSIke/b2xBIohBXD0UJVMvgJ/kIaWp1i5Syjzl/nY+Sct0J5F0Q9k5vShdBx47ReC8s1s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PP+ue1ychK/xGI8b9sVEKnn8XRrSB/TCbAUQQewdpVOUOPeUeQ2kzqTJfniPD7cG1KKlJrjKSKbv+yr2tWCiEbJE+fcXqdQjqNWKAenXATnsljgOmiPGG3izxelylRjMF10uk5u0aHvCtw6ypdreJDpMM2c8ML0ObL9qVKH9HkTwypFFgXMWncNoHPNWLCc8rTWcidMGzFUUgornoz1Qb5gOcrJ7zQ646pm9U0rDE/dzUWt5QA9ufZjOccNNEqbqTgRA2FJMQk8LRld6v4GIrsvBpUTJkI3L26QkRK112H0ArVjoMbUYozsfZ8xDtBODPQQDpIZ76E7DYB66YZpRX9G0U3WoUgECxpcNt0tCQu7+GMOoG4VtsBPM+seiehK7S9GpKLi1k23p29sUjaz+4yJirNX9WRkLVvNRjwbA1t1pAOfguYAzPPhe7i4VlHr4fPPpIW0zTzB5zyizutln69UGu/DWl0zKn32WNPAh/4dKk2lh5CzDzdzp3ord4dHZw0eQqHX53nHb61VxpwGQgS5qO/MLS93j5cYRjj8GiNNEL/RFW1FHt6bJq+iasjBDOBeyHqrh/fDfBi4OVpovDlJfUnzkihe8xpDGTfRmzb0YgfIsGixHosInAUDbCJw0bJcSz8+H4sfTTvRGmKlzEMY2DvbQtua59ZQhiPBZzBHqUuQh94nlaeZiGD4qTRQjVhkYNnRm6jqmceIDFbID7+MC/z1TUHLiziZkAZUsfn/3pwxB5K/6Xoz5+FYRWaesUALRLj5HUzCVtrDMG9cu0zRt9yWYsoGJc9DKtC3o6L6sPx3GAZBexUaQ2knkn4JSK5BKuLieFiRJ2mJAqtaUQOkQNFivA==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHYoQRqcpYxNv8GZ0++T/cX45qn262Qx/AAgAACuoA=
  • Thread-topic: [PATCH v2] x86/msr: fix X2APIC_LAST

On 26/07/2022 16:33, Jan Beulich wrote:
> On 26.07.2022 17:28, Edwin Török wrote:
>> The latest Intel manual now says the X2APIC reserved range is only
>> 0x800 to 0x8ff (NOT 0xbff).
>> This changed between SDM 68 (Nov 2018) and SDM 69 (Jan 2019).
>> The AMD manual documents 0x800-0x8ff too.
>>
>> There are non-X2APIC MSRs in the 0x900-0xbff range now:
>> e.g. 0x981 is IA32_TME_CAPABILITY, an architectural MSR.
>>
>> The new MSR in this range appears to have been introduced in Icelake,
>> so this commit should be backported to Xen versions supporting Icelake.
>>
>> Backport: 4.13+
> FAOD nevertheless it'll be applied only back to 4.15.

It shouldn't go back before 4.16, because otherwise we start exposing a
bunch of MSRs (including undocumented ones on Haswell/Broadwell) which
were previously disallowed.

~Andrew

 


Rackspace

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