From patchwork Sun Dec 24 10:07:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arbel Moshe X-Patchwork-Id: 10131925 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 B3EDB60318 for ; Sun, 24 Dec 2017 10:19:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A455728CBE for ; Sun, 24 Dec 2017 10:19:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 98E6228DD5; Sun, 24 Dec 2017 10:19:25 +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=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A75A28CBE for ; Sun, 24 Dec 2017 10:19:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752073AbdLXKTT (ORCPT ); Sun, 24 Dec 2017 05:19:19 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:38402 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751323AbdLXKTS (ORCPT ); Sun, 24 Dec 2017 05:19:18 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.21/8.16.0.21) with SMTP id vBOAHgxm095957; Sun, 24 Dec 2017 10:19:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=corp-2017-10-26; bh=jWHX6Pt/JEMd2p2FU0OuwNHLgDppj8QsAe+ceaWOUog=; b=CfX7yZ7ndMm4ziyvRjBuu0CkY1Hxm87WobRob/dkMfKBm4DZOZV4t7N1N0DFtWOKQInk zqJj2QmBs8lKR153OnW8cu8QQTdduS89SALiMuuUc/yF7H/vJs7OcDW9VnyopOeT4Ja2 ol7dskNg8NLUCWDMqqQZw0BDI1xKVRb12w546kcwQcPA5MCq6dgIXvrAt5SGoOv7vjnu h8PbWAev4qPwzawHf6UVdbA9XrCmO0Jm3CkyyUsPbf4fFm7IfQJtE5TVlyE+NTAbVeH6 Z4a/ZEEjstnnEmIrvsyIizCI1ytXZO85yqfiOL9JD5nPLbspDvz0EDyt8BIrXgAn/T6N BA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2130.oracle.com with ESMTP id 2f2a68g0s7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 24 Dec 2017 10:19:15 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vBOA92Y7028480 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 24 Dec 2017 10:09:03 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vBOA92T8009398; Sun, 24 Dec 2017 10:09:02 GMT Received: from spark.ravello.local (/213.57.127.2) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 24 Dec 2017 02:09:02 -0800 From: Arbel Moshe To: pbonzini@redhat.com, rkrcmar@redhat.com, kvm@vger.kernel.org Cc: idan.brown@oracle.com, liran.alon@oracle.com, Arbel Moshe , Konrad Rzeszutek Wilk Subject: [PATCH 3/5] x86: Add Definition for PCE bit in CR4 Date: Sun, 24 Dec 2017 12:07:59 +0200 Message-Id: <20171224100801.145806-4-arbel.moshe@oracle.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171224100801.145806-1-arbel.moshe@oracle.com> References: <20171224100801.145806-1-arbel.moshe@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8754 signatures=668650 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=780 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1712240140 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Arbel Moshe Reviewed-by: Liran Alon Signed-off-by: Konrad Rzeszutek Wilk --- lib/x86/processor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/x86/processor.h b/lib/x86/processor.h index 2473862..e850029 100644 --- a/lib/x86/processor.h +++ b/lib/x86/processor.h @@ -27,6 +27,7 @@ #define X86_CR4_PSE 0x00000010 #define X86_CR4_PAE 0x00000020 #define X86_CR4_MCE 0x00000040 +#define X86_CR4_PCE 0x00000100 #define X86_CR4_VMXE 0x00002000 #define X86_CR4_PCIDE 0x00020000 #define X86_CR4_SMAP 0x00200000