From patchwork Mon Sep 28 12:28:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 11803607 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C3C6D6CA for ; Mon, 28 Sep 2020 12:29:10 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 875B5207E8 for ; Mon, 28 Sep 2020 12:29:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="B9DbmEYA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 875B5207E8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kMsGQ-0006uA-6L; Mon, 28 Sep 2020 12:28:18 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kMsGO-0006u1-RO for xen-devel@lists.xenproject.org; Mon, 28 Sep 2020 12:28:16 +0000 X-Inumbo-ID: 84b8a98e-e7f3-46c1-813b-53f6c2d65027 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 84b8a98e-e7f3-46c1-813b-53f6c2d65027; Mon, 28 Sep 2020 12:28:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1601296094; 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=hx/A1tGgugHJMfSXoMmOBIRP3qkG5/Eqz9Ku5cwrG7s=; b=B9DbmEYAoJ4M3rMqNSC5gHSHM3zmWvCFWd3XwpKco7JVFyUoh84VgaLVqq5fbjzBOHg1hS wAuim/YHAblNSBWXpx4lywAVT0fqbRNX97cA4QOKOK/FVAfoX/1af5peU8G+6UviuzRA51 LBiB2OiCbsidhqr/FqxbOaLiOUWhFOc= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id D98D3AD6B; Mon, 28 Sep 2020 12:28:14 +0000 (UTC) From: Jan Beulich Subject: [PATCH v2 0/6] x86: some assembler macro rework To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Wei Liu , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Message-ID: <62ffb078-d763-f845-c4b9-eeacb3358d02@suse.com> Date: Mon, 28 Sep 2020 14:28:13 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Parts of this were discussed in the context of Andrew's CET-SS work. Further parts simply fit the underlying picture. And the two final patches get attached here simply because of their dependency: Patch 4 was sent standalone already as v2, and is unchanged from that, while patch 6 is new. 1: replace __ASM_{CL,ST}AC 2: reduce CET-SS related #ifdef-ary 3: drop ASM_{CL,ST}AC 4: fold indirect_thunk_asm.h into asm-defns.h 5: guard against straight-line speculation past RET 6: limit amount of INT3 in IND_THUNK_* Jan