From patchwork Fri Oct 23 08:34:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 11852517 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 23EDD61C for ; Fri, 23 Oct 2020 08:35:26 +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 DA3C32168B for ; Fri, 23 Oct 2020 08:35:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="Jl0djD1r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DA3C32168B 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 list by lists.xenproject.org with outflank-mailman.10766.28699 (Exim 4.92) (envelope-from ) id 1kVsWi-0005td-Mh; Fri, 23 Oct 2020 08:34:20 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 10766.28699; Fri, 23 Oct 2020 08:34:20 +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" Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1kVsWi-0005tW-Jd; Fri, 23 Oct 2020 08:34:20 +0000 Received: by outflank-mailman (input) for mailman id 10766; Fri, 23 Oct 2020 08:34: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 1kVsWg-0005tP-Kg for xen-devel@lists.xenproject.org; Fri, 23 Oct 2020 08:34:18 +0000 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 041ab3a9-529d-4d1b-9de3-b938425e909f; Fri, 23 Oct 2020 08:34:16 +0000 (UTC) Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 15FD9ABF4; Fri, 23 Oct 2020 08:34:16 +0000 (UTC) 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 1kVsWg-0005tP-Kg for xen-devel@lists.xenproject.org; Fri, 23 Oct 2020 08:34:18 +0000 X-Inumbo-ID: 041ab3a9-529d-4d1b-9de3-b938425e909f Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 041ab3a9-529d-4d1b-9de3-b938425e909f; Fri, 23 Oct 2020 08:34:16 +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=1603442056; 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=VH+yNN6+P3LEDkeW4LMEv6Dufqx0Ycnx/RNfURcuaVY=; b=Jl0djD1rtDoKVdyK6tnEd9mLUiCWgrAIw03J476n7O4xz6sZAB6mhOdeiL70VM64963jR1 pY5uOZddvwrhe3JT56VKtIvmLb9GA4EewJnEJQxxTRh+Uuu4zxFmInHAHG7/rF31N2pOXY HGO9Fbg0NLoEvCP/zgETR+eZGlhhbQQ= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 15FD9ABF4; Fri, 23 Oct 2020 08:34:16 +0000 (UTC) From: Jan Beulich Subject: [PATCH v3 0/7] 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: <7065e2dc-f846-be79-1081-682c2295358c@suse.com> Date: Fri, 23 Oct 2020 10:34:18 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 Content-Language: en-US Parts of this were discussed in the context of Andrew's CET-SS work. Further parts simply fit the underlying picture. And a few patches towards the end get attached here simply because of their dependency. Patch 7 is new. All patches except for the new ones in principle have acks / R-b-s which would allow them to go in. However, there still the controversy on the naming of the newly introduced header in patch 1 (which subsequent patches then add to). There hasn't been a name suggestion which would - imo - truly represent an improvement. It's also still not really clear to me what - if any - changes to make to patch 2. As said there I'd be willing to drop some of the changes made, but not all. Prior discussion hasn't led to a clear understanding on my part of what's wanted to be kept / dropped. It could have looked like the entire patch was wanted to go away, but I don't think I can agree with this. (I could see about moving this to the end of the series, to unblock what's currently the remainder.) 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_* 7: make guarding against straight-line speculation optional Jan