From patchwork Thu Jul 24 13:31:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Stabellini X-Patchwork-Id: 34222 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f199.google.com (mail-ig0-f199.google.com [209.85.213.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 673F320C7F for ; Thu, 24 Jul 2014 13:34:08 +0000 (UTC) Received: by mail-ig0-f199.google.com with SMTP id l13sf10207860iga.10 for ; Thu, 24 Jul 2014 06:34:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:mime-version:cc:subject:precedence:list-id :list-unsubscribe:list-post:list-help:list-subscribe:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:list-archive:content-type:content-transfer-encoding; bh=2MDAscNvMkZfSAUmAyYbg8C0oxwSESIx4fQALj1V36I=; b=YgPqgkL1Xdja9oSGKFRqkSfAU+UOpTih9LZd+WeeL2B98qOFz6lihH2XvczQmjaLBm 27POLQW6NpK/5E7+Y2TZHbN0Ew/Qa8cy/l7TWBlKBfPOD0nhDBNWRGwZ+8KWZmpnforG i548IzAbkbM0Gpnr3wq7Mb4bp3eO5Hqurp9CI7kRRuDnXFchmUGejMa1EIW1Gi6e1LZb L1YIMC1q9vBF0hRQ/KlML4f++mLRGEYlaOY2K4db5IunYYN4YbgoNEsU2ISUpFdB2J6r dNn8QoFkff6R0qSlCEc5eroDo0Q8WwWU8NRVhPxjnG2RW4nXO/OV6VdCxl1BmLAILdTa oViQ== X-Gm-Message-State: ALoCoQn8oTTdVgxqEOxjA8al3Njnagy0auzs3rX51WaGY1Rdyf24SZp2SprA6rVff102Xo8FkzKp X-Received: by 10.182.91.108 with SMTP id cd12mr4523230obb.13.1406208847734; Thu, 24 Jul 2014 06:34:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.49.1 with SMTP id p1ls722326qga.97.gmail; Thu, 24 Jul 2014 06:34:07 -0700 (PDT) X-Received: by 10.220.17.199 with SMTP id t7mr12236032vca.1.1406208847121; Thu, 24 Jul 2014 06:34:07 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id kg19si4977296vdb.63.2014.07.24.06.34.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Jul 2014 06:34:07 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id hy4so4749845vcb.22 for ; Thu, 24 Jul 2014 06:34:05 -0700 (PDT) X-Received: by 10.220.131.207 with SMTP id y15mr12017831vcs.71.1406208844830; Thu, 24 Jul 2014 06:34:04 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp365497vcb; Thu, 24 Jul 2014 06:34:04 -0700 (PDT) X-Received: by 10.67.4.163 with SMTP id cf3mr10432173pad.92.1406208843948; Thu, 24 Jul 2014 06:34:03 -0700 (PDT) Received: from lists.xen.org (lists.xen.org. [50.57.142.19]) by mx.google.com with ESMTPS id hg5si19462059igb.16.2014.07.24.06.34.03 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 24 Jul 2014 06:34:03 -0700 (PDT) Received-SPF: none (google.com: xen-devel-bounces@lists.xen.org does not designate permitted sender hosts) client-ip=50.57.142.19; Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XAJ85-0002JZ-3Q; Thu, 24 Jul 2014 13:32:17 +0000 Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XAJ83-0002JE-GA for xen-devel@lists.xensource.com; Thu, 24 Jul 2014 13:32:15 +0000 Received: from [193.109.254.147:15452] by server-16.bemta-14.messagelabs.com id 16/77-14741-EDA01D35; Thu, 24 Jul 2014 13:32:14 +0000 X-Env-Sender: Stefano.Stabellini@citrix.com X-Msg-Ref: server-15.tower-27.messagelabs.com!1406208733!19403643!1 X-Originating-IP: [66.165.176.89] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni44OSA9PiAyMDMwMDc=\n X-StarScan-Received: X-StarScan-Version: 6.11.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 19363 invoked from network); 24 Jul 2014 13:32:14 -0000 Received: from smtp.citrix.com (HELO SMTP.CITRIX.COM) (66.165.176.89) by server-15.tower-27.messagelabs.com with RC4-SHA encrypted SMTP; 24 Jul 2014 13:32:14 -0000 X-IronPort-AV: E=Sophos;i="5.01,724,1400025600"; d="scan'208";a="155291328" Received: from accessns.citrite.net (HELO FTLPEX01CL03.citrite.net) ([10.9.154.239]) by FTLPIPO01.CITRIX.COM with ESMTP; 24 Jul 2014 13:32:12 +0000 Received: from ukmail1.uk.xensource.com (10.80.16.128) by smtprelay.citrix.com (10.13.107.80) with Microsoft SMTP Server id 14.3.181.6; Thu, 24 Jul 2014 09:32:12 -0400 Received: from kaball.uk.xensource.com ([10.80.2.59]) by ukmail1.uk.xensource.com with esmtp (Exim 4.69) (envelope-from ) id 1XAJ7u-0002G4-UW; Thu, 24 Jul 2014 14:32:06 +0100 From: Stefano Stabellini To: Date: Thu, 24 Jul 2014 14:31:04 +0100 Message-ID: <1406208666-23547-1-git-send-email-stefano.stabellini@eu.citrix.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-DLP: MIA2 Cc: julien.grall@citrix.com, Ian.Campbell@citrix.com, Stefano Stabellini Subject: [Xen-devel] [PATCH v3 1/3] xen/x86: introduce is_domain_direct_mapped(d) as (0) on x86 X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Post: , List-Help: , List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: stefano.stabellini@eu.citrix.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.177 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Archive: Signed-off-by: Stefano Stabellini --- xen/include/asm-x86/domain.h | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/include/asm-x86/domain.h b/xen/include/asm-x86/domain.h index abf55fb..5f9354b 100644 --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -19,6 +19,7 @@ #define is_hvm_pv_evtchn_domain(d) (has_hvm_container_domain(d) && \ d->arch.hvm_domain.irq.callback_via_type == HVMIRQ_callback_vector) #define is_hvm_pv_evtchn_vcpu(v) (is_hvm_pv_evtchn_domain(v->domain)) +#define is_domain_direct_mapped(d) (0) #define VCPU_TRAP_NMI 1 #define VCPU_TRAP_MCE 2