From patchwork Tue Mar 24 16:18:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Beulich X-Patchwork-Id: 11455949 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 6188914B4 for ; Tue, 24 Mar 2020 16:19:23 +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 47F472073E for ; Tue, 24 Mar 2020 16:19:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 47F472073E Authentication-Results: mail.kernel.org; dmarc=none (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.89) (envelope-from ) id 1jGmFs-000272-JZ; Tue, 24 Mar 2020 16:18:16 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1jGmFr-00026x-D6 for xen-devel@lists.xenproject.org; Tue, 24 Mar 2020 16:18:15 +0000 X-Inumbo-ID: 10393cda-6deb-11ea-a6c1-bc764e2007e4 Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 10393cda-6deb-11ea-a6c1-bc764e2007e4; Tue, 24 Mar 2020 16:18:15 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D80DDABF4; Tue, 24 Mar 2020 16:18:13 +0000 (UTC) To: "xen-devel@lists.xenproject.org" , Andrew Cooper , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Wei Liu From: Jan Beulich Message-ID: Date: Tue, 24 Mar 2020 17:18:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Language: en-US Subject: [Xen-devel] [PATCH 0/7] x86emul: (mainly) vendor specific behavior adjustments X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 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" There are quite a few more vendor differences than we currently support, in particular in 64-bit mode. Now that I've made some progress on the binutils side I felt more confident in making the changes here as well. 1: add wrappers to check for AMD-like behavior 2: vendor specific near RET behavior in 64-bit mode 3: vendor specific direct branch behavior in 64-bit mode 4: vendor specific near indirect branch behavior in 64-bit mode 5: vendor specific SYSENTER/SYSEXIT behavior in long mode 6: vendor specific SYSCALL behavior 7: support SYSRET Jan