From patchwork Fri Mar 10 17:22:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Bader X-Patchwork-Id: 9617777 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9F04C60415 for ; Fri, 10 Mar 2017 17:25:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8BD912874A for ; Fri, 10 Mar 2017 17:25:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 80B8C2874C; Fri, 10 Mar 2017 17:25:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C932A2874A for ; Fri, 10 Mar 2017 17:25:33 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmOFN-0004fD-6G; Fri, 10 Mar 2017 17:22:33 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmOFM-0004f7-6n for xen-devel@lists.xen.org; Fri, 10 Mar 2017 17:22:32 +0000 Received: from [85.158.137.68] by server-8.bemta-3.messagelabs.com id 0A/69-00609-7D0E2C85; Fri, 10 Mar 2017 17:22:31 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGKsWRWlGSWpSXmKPExsUSvTeyQPfag0M RBrNnS1gs+biYxYHR4+ju30wBjFGsmXlJ+RUJrBlz3u9jLJggW/Hv/yPmBsZXUl2MXBxCAl8Z JXbuv8jWxcjJISygLTF96XEmEFtEQFri2ufLjCC2kECRxMIpU5hBbGYBZYkTR7aygNhsAvoSu 5YvZgexeQUcJN49vQ8WZxFQlXhyZCFYr6hAuMTNXbdYIWoEJU7OfAJWwylgL/Hv7xwmiJntjB LfzrBPYOSZhaRsFpIUhO0tceTjSrA4zOpZSE6dheS8WUhOmoXktVlI3pmF5IxZjBxAvf4SLz+ WQ4xRl/gz7xIzhK0tsWzhayjbWeL6j7dYxH0lNj1byQZh20qsW/ce6nw9ibe/e6FsS4n1Oz6x L2AUXsWoXpxaVJZapGuql1SUmZ5RkpuYmaNraGCsl5taXJyYnpqTmFSsl5yfu4kRGLv1DAyMO xgvf3U6xCjJwaQkyvt57sEIIb6k/JTKjMTijPii0pzU4kOMMhwcShK8jxcB5QSLUtNTK9Iyc4 BJBCYtwcGjJMLrtBgozVtckJhbnJkOkTrFaMwxZ/buN0wci/4BSSGWvPy8VClx3rMgkwRASjN K8+AGwZLbJUZZKWFeRgYGBiGegtSi3MwSVPlXjOIcjErCvOwgC3ky80rg9r0COoUJ6JRpfGCn lCQipKQaGI9c0wnx01qxKVpWWplVp8DoL+upzHeWbWdU1ojZVkT0XVPYcDMjV2/CrBkR1+/Yl vfOKFmw6R1f13X1vM/auTy6H9ef+XFdK3ZmDe82k5Kso2usN0jez9jHE3xvnZL1vVm9aUozZv HPm3/X8/22CAYn85wrrxpjN+V8PzTr7VTp/1PsVkqelVBiKc5INNRiLipOBAB0Z14iaQMAAA= = X-Env-Sender: stefan.bader@canonical.com X-Msg-Ref: server-10.tower-31.messagelabs.com!1489166550!88971785!1 X-Originating-IP: [91.189.89.112] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.2.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 5706 invoked from network); 10 Mar 2017 17:22:30 -0000 Received: from youngberry.canonical.com (HELO youngberry.canonical.com) (91.189.89.112) by server-10.tower-31.messagelabs.com with AES256-SHA encrypted SMTP; 10 Mar 2017 17:22:30 -0000 Received: from 1.general.smb.uk.vpn ([10.172.193.28]) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1cmOFJ-0008Q7-23; Fri, 10 Mar 2017 17:22:29 +0000 To: xen-devel@lists.xen.org References: <58C00D20020000780014132C@prv-mh.provo.novell.com> <58C00D20020000780014132C@prv-mh.provo.novell.com> From: Stefan Bader Message-ID: <25db4e01-c391-fd32-af40-70bbedcc2278@canonical.com> Date: Fri, 10 Mar 2017 18:22:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <58C00D20020000780014132C@prv-mh.provo.novell.com> Cc: Jan Beulich Subject: Re: [Xen-devel] Xen 4.6.5 released X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP On 08.03.2017 13:54, Jan Beulich wrote: > All, > > I am pleased to announce the release of Xen 4.6.5. This is > available immediately from its git repository > http://xenbits.xen.org/gitweb/?p=xen.git;a=shortlog;h=refs/heads/stable-4.6 > (tag RELEASE-4.6.5) or from the XenProject download page > http://www.xenproject.org/downloads/xen-archives/xen-46-series/xen-465.html > (where a list of changes can also be found). > > We recommend all users of the 4.6 stable series to update to this > latest point release. This does not seem to compile for me (x86_64) without the attached (admittedly brutish) change. -Stefan > > Regards, Jan > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > https://lists.xen.org/xen-devel > Index: xen-4.6.5/xen/arch/x86/x86_emulate/x86_emulate.c =================================================================== --- xen-4.6.5.orig/xen/arch/x86/x86_emulate/x86_emulate.c +++ xen-4.6.5/xen/arch/x86/x86_emulate/x86_emulate.c @@ -20,6 +20,8 @@ * along with this program; If not, see . */ +#define MASK_EXTR(v, m) (((v) & (m)) / ((m) & -(m))) + /* Operand sizes: 8-bit operands or specified/overridden size. */ #define ByteOp (1<<0) /* 8-bit operands. */ /* Destination operand type. */