From patchwork Thu Feb 24 13:23:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 12758576 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4F10EC433F5 for ; Thu, 24 Feb 2022 13:23:34 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.278275.475459 (Exim 4.92) (envelope-from ) id 1nNE5b-0006ea-Fu; Thu, 24 Feb 2022 13:23:23 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 278275.475459; Thu, 24 Feb 2022 13:23:23 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nNE5b-0006eR-CK; Thu, 24 Feb 2022 13:23:23 +0000 Received: by outflank-mailman (input) for mailman id 278275; Thu, 24 Feb 2022 13:23:22 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1nNE5a-0006TH-9B for xen-devel@lists.xenproject.org; Thu, 24 Feb 2022 13:23:22 +0000 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.111.102]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id efc28a13-9574-11ec-8eb8-a37418f5ba1a; Thu, 24 Feb 2022 14:23:21 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp2053.outbound.protection.outlook.com [104.47.0.53]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-6-pr-1GSuRM1un-WgVWk45yA-1; Thu, 24 Feb 2022 14:23:20 +0100 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) by AM9PR04MB8114.eurprd04.prod.outlook.com (2603:10a6:20b:3b7::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5017.24; Thu, 24 Feb 2022 13:23:18 +0000 Received: from VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::d479:b728:345c:bd65]) by VI1PR04MB5600.eurprd04.prod.outlook.com ([fe80::d479:b728:345c:bd65%6]) with mapi id 15.20.5017.024; Thu, 24 Feb 2022 13:23:18 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: efc28a13-9574-11ec-8eb8-a37418f5ba1a DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1645709001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+YodAfqsPKICzS0Dp2bGIso17g1NohmT0LbRbyRij88=; b=bcdbUzJqsRLNHgorC3Ct19HY43ifQ3K4Zhhn873+jZk1UxPZm3pAEoMxoF404jObWeq5++ qsUVDoClrNRSAbD3sFolgm03cqgSZSBS/fgQNaSjzvN84dyWPyA+9WCjY+Jigpqc3L+nXW yyiuj6CAitp5RS4muO8vxFCp8u34oQE= X-MC-Unique: pr-1GSuRM1un-WgVWk45yA-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TNMUMznUgBa0K9agSGpU/mVlU1/ep/aqVFt5xDR6kPSepP6WBnqYDNhMirfHnr2ATl81GZzM5eqZACrEd69hgorE9sKNSX7gr6nJ1wg8qJHS51YwhqYydv8iBFv8k15eqwJse4QoI9h31vO2QeNR9jFBDTBqpWJYiSuTF5ar+yuhPP/zB7ovv7/k3Tbgeu1u2nTYu5LYBeJJQ1twxtzd+tb47N89YUR18d81u1PDnsxlnmDue/MCiHw9VcjoRbhVo2vuLbZTkLCXVG+Z1QmL8OoolK93cL4XQ0qiecI/pScAm8OJ42Kk5cowxwkoNFz0A4uS7gbosx8+FOiBKJ71iA== 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=+YodAfqsPKICzS0Dp2bGIso17g1NohmT0LbRbyRij88=; b=cv2Upzs0/mG48IMq0cGVA2J5eo0sOShcsROrYyEuI7UY8dXSB2SLZN4CyKPYUQiMaFEB4PTyskJ9UCXGBxTI88pn62q6TVZdkYsMddCHtR23nltlXpHr4NtnKccdgV23lSVGInY1P8WAGGuWUhkLHA2ofORt0Z+fHKJnALjHgJi2ktF2LC4spFooASQXBIxkWILfKfm8llGYfTSPr/pvpaCilQREpZA5RaAjDuiBpuhnJC4Em9ElLORZge0vBzHkO7wRpCiykXTHiqo9FGYgDwRgUv9AebfE0j6+uNMSBJgZNsqYVAqNfiueIEAL7TvXn3Pc23XEvFVlHdZ1AD8N0g== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Message-ID: <265e87fa-0f05-7953-1bce-34999119d3c4@suse.com> Date: Thu, 24 Feb 2022 14:23:11 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 From: Jan Beulich Subject: [PATCH v2 0/2] x86: correct fencing around CLFLUSH (+some tidying) To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Content-Language: en-US X-ClientProxiedBy: AS8PR04CA0006.eurprd04.prod.outlook.com (2603:10a6:20b:310::11) To VI1PR04MB5600.eurprd04.prod.outlook.com (2603:10a6:803:e7::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f9327b4b-8802-41ed-7a54-08d9f798d25d X-MS-TrafficTypeDiagnostic: AM9PR04MB8114:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vBgelroo1j2MeD5jY+6E8ydPo4r0qIhxMmIAMfxHlyRlqNEFDwXrUtDV7XFj9cPiIuzBgLvQsEJ/wEkIhmzHN6w+nrYBJq3UWXtTxtGgiPey2Nofh25K9S6JqtghfEPV0aideWeEKcLDbUdd52+mO0zlGtlaSPdsv28/kbT6M4x3WzMYm/It/YRud2Tx3WiZUr8TxdZrHJFrmV8B90Pu2kt4LYe9GMv/wJdn63spJR8NnN0w7AxaYdbFQnv066pALXcSBUvbH4siNJWqY4bEoUypHcnxwLhO9ctriCABVDErCMFSJADT5azGHHsRT3/1N1bR4vqQWqDnZSgl1+LCcyK2A1wTyusgT3W29gTfh0qthGzxdApVM086A5NUy1ghnkWGMoERT9uvyOrWEmLgB9fw3Lhkge4zf6OdLPMkIknQCfAjPmB20HUOoFzeP3+wgtu3789eHdFdvBOZXhWUv+h6Wl0cZcmuVeZZ+ghk1GblgM51LTQnwBoO37QLB+mnnynhCFgs7gAC+acxbiDiKOKeCspJX9vWJZF2ow9ew0xvwocG68+SjosaW7hcxFmAOaTwrc2rmySnxbo33qLaDWn/dydpFVu70cCrfW3xdXN25cY3nDDAVUjP0K9rMy46ce0ahskArRb5iegz/HsiKkHojCVqZV+day5rscuHsaYlpDwRkj28Uws+DViywryQmCMHqh2otcLMhjd9vL3y4mlEvW2tcj2ntXnjGj5uDTs= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5600.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(186003)(31686004)(2906002)(36756003)(508600001)(26005)(2616005)(54906003)(4326008)(66946007)(316002)(66556008)(6916009)(8936002)(6512007)(5660300002)(6506007)(66476007)(86362001)(6666004)(31696002)(8676002)(38100700002)(6486002)(558084003)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?+slwtuS7+0jmAYNzZOMVyjQhXYSE?= =?utf-8?q?08NJmUnM/CLk4Gq2Dx0ChVXtuIOgQS+mdGpv8nnypx1AsYdHy2el/EMacXRWLDgd6?= =?utf-8?q?aw+eUa/qjRCEdDhfppYmpKa3fLEvDz6yzjxI/dJkW/9LvG1+wNvKTnz2R9+CZcL/I?= =?utf-8?q?VwZAr3/OLC3Aqcyrug6JfH50Tko76tw2KIdYJx3clAg/axUouaDxYokOMcY+vY+Kl?= =?utf-8?q?RC5PZqRkMpnvyjHXJSpXHEbAQPh3vSp7TuagFtoPHh0wfcrH6Et9fCVjqWjVv/FCy?= =?utf-8?q?7mgDJ+yP/9VWiFTq5axjIAf5lA+eBINDYVXpAJ+xnSpZRJnRzh4941X73s1i/8Rql?= =?utf-8?q?nbZDLGhp4yoDJyxR530VvVyZ/gQgse0jdZ7V/jC7w337cs19cP0CE1XsRu0iHX4/E?= =?utf-8?q?q8NsnFnHkeSHmMlp6Lr3px1gmOzqO7JZTGTWss1/9Y5Yy6NI5Pkiw3MGvp8Sej62h?= =?utf-8?q?Pbbz6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q?JcIbogSNq3SKBUhiB61lSaVqDm8rl7yjloJq6Np9SOX6SJXgQp4UWirEy27f3jjvF?= =?utf-8?q?Y1WS5DFMb0lgffT2q8TA0lMk5mRVZdC99kAaSMtFUuJmVnVAuJN1hWBERoVaMDk/A?= =?utf-8?q?TIcev0VqyLTHr4Z9XIVNG/0JHNBjcDHSYGtfNLRw2fxXUOzE9AGWewRW3q2E+V9p1?= =?utf-8?q?4VNIJK4sITiKS3KIbObBkZB6NVt7PD12Megnst8P9o6RbdmAqdO8tIw=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9327b4b-8802-41ed-7a54-08d9f798d25d X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5600.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Feb 2022 13:23:18.8410 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LtZL8nPqtG2+vkOeRKoS9ch3DwO/h19dSvUfHR70MswmH77JvOqMSctlAPW8oRBR/MRsmPhSbWXo5Fu3CUqadQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8114 1: AMD: collect checking for bugs in a single function 2: correct fencing around CLFLUSH Jan