[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] x86/amd: LFENCE always serializing CPUID bit
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- Date: Wed, 14 Apr 2021 13:04:31 +0200
- 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=6k+31nGFb+iXFVwUoejcH5kDAQ19bAnaFThuqFgmAQQ=; b=AxD2rV9oOg3TZyP0naOuGGZEOy541/y60bHCKUcEWWmi5A+kbClCuNQGqXYv58DtGhIW8PdiatTKynLSWssa9TD5COnZEoj7jCbJRYSIzuwnQzw+79qgOxjY3JHqWNnBaBy6KtJN0NyzpLs7nS+5QeCgh5G/lokLBR24Sk2Ujymt+86G10TN/8U/Zul+lFlREoNKbiTZR6F/Bv+HgpWP1yFtC6XrRfoZ5rYqyJqJhBlqb0t2d0HYNuYdyGheIjbBWPoUGFM6ZBYzEwX7EYNlg+lj1H1ta526YQHaUCSTr7N2yXRyORJjxalZiK0UsMmbzaZEbJ6m1PTaq6WFL/iMJA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bA8/1CrR8dynGl9vSw66kd3KjJkAHHLY7hIAfmU/Z8Col6SVN8gnzpOMDQA7XsiVeAeGWGVrNMYvoBJmOzFZLZdA+9DKklY0x8w2N8StytJfMkuVRWs4rV0B6KBwfp82yYp5sj19yYVYU33zl2xWP0/uq6+aRLmivFm8s8AroSBXUiqanF5vcbk13tJBkUgpGDLTympFMbk2zlGDGxCV8uAxZwxnhfLj1iVgUSbGnjoT4GfmDkE1TG+K/wWStVioHILEAI7BqjwiJOTPFPiyMzpDTq7eep282QcL20p75alSWjBY3MNJ7UknjBoUTo4iRYLKjkKx0cpyjAufhEVKUg==
- Authentication-results: esa2.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Roger Pau Monne <roger.pau@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>
- Delivery-date: Wed, 14 Apr 2021 11:05:35 +0000
- Ironport-hdrordr: A9a23:NbEB5aACRq3dtlXlHeiHtceALOonbusQ8zAX/mh6QxBNb4i8n8 ehgPwU2XbP+U0scVsnns2NP7TFZHva+4J874V5B8bZYCDNvmy0IIZ+qbbz2jGIIVykysdx94 dFN5J/Btr5EERgga/BijWQPt48zLC8gceVrMjEyXMFd2FXQoFmqzx0EwOKVnBxLTM2faYRML q5yo55qyG7eXIRB/7LXEUte+TYvdXEmNbHTHc9dngawTKDhz+p97L2eiLwtnxyP1wgoIsKym TLnxf04a+uqZiAu2bh/lXO5JdbksaJ8KogOOWwi9MYIjipqgGkaJUJYczngBkJofqi4Ftvrd /Uox1IBbUX11rteAiO0HjQ8jil9Axrynf5jXeEnHPooKXCNU8HIvsEobgcTzz0xA4Luspm3K dCwmSD3qAncS/orWDF/N7PWAhtlk2o5VQfscN7tQ0CbaIuLIZLq4oR5UVUF4pFOhnbxsQILM lCZfusucp+QBeidHbesXBowNuwGk4rFhPDb0QessyRyVFt7S5E5npd/dcYmHgY8pI7Vt165/ /ZKOBWmKpVTskQBJgNW9spSdC8TmTQXBPBN3+TK1z7FKcBf2nAsYLz/a9d3pDkRLUB15F3nJ jaSltXuSope0zoAdCTx5EjyGGAfEy0Rj6o0M1X4vFCy/DBbbL2LCyOT00vmcO8o/MZRtbWQe q3JYg+OY6dEULiG4ZMmxf/VZ5bNGUEXKQuy5gGckPLqJnTMYvhuvbAfPvUP7SFK0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yT+GuqZS7ex4aEuoBBOc2449RiyxgsVWb1SxoUz x98goy1o/MKVT7P3NzUaj29LGG/iQlmA==
- Ironport-sdr: FFhkR2oi8R2V9OOq5ylRA+4Orio33cPykvx17HR30CDLbu99IQkO61RnLlRELyCnnW0Q4gEQzl 0Z/25UwfcGj1ae4As2K9ohh0qP9eRs4g8od5++LuonR281RpsnXaI0Hxqbhnt5YPsbl0cqi7uQ zSdpdMbj9OqNmEs1d7HRj6X0zH/KMRQjOKVMTlrspWKEHmoo1vs164I93QL488FRb2xJ8oxEe8 nKydVZ1dqGh1kk8FjbBHg+lB6x5VEsXr7S7DkGZ+0SEuyUpFmNUbvo6CAi4/duo/jx4yAnPHzY u2Q=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hello,
The following patches aim to add support for the LFENCE always
serializing CPUID bit found in leaf 80000021.eax. In order to do that
the featureset needs to be expanded to support leaf 80000021.eax.
Thanks, Roger.
Roger Pau Monne (2):
x86/amd: split LFENCE dispatch serializing setup logic into helper
x86/cpuid: support LFENCE always serializing CPUID bit
tools/misc/xen-cpuid.c | 6 ++
xen/arch/x86/cpu/amd.c | 69 ++++++++++++---------
xen/arch/x86/cpu/common.c | 3 +
xen/arch/x86/cpu/cpu.h | 1 +
xen/arch/x86/cpu/hygon.c | 27 +-------
xen/include/asm-x86/cpufeatures.h | 2 +-
xen/include/public/arch-x86/cpufeatureset.h | 3 +
xen/include/xen/lib/x86/cpuid.h | 37 ++++++++++-
8 files changed, 92 insertions(+), 56 deletions(-)
--
2.30.1
|