From patchwork Tue Nov 17 09:57:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 56771 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1831085lbb; Tue, 17 Nov 2015 01:58:02 -0800 (PST) X-Received: by 10.68.143.106 with SMTP id sd10mr62514159pbb.62.1447754278530; Tue, 17 Nov 2015 01:57:58 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id eo16si56569775pab.209.2015.11.17.01.57.58; Tue, 17 Nov 2015 01:57:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753565AbbKQJ55 (ORCPT + 6 others); Tue, 17 Nov 2015 04:57:57 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:35338 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753509AbbKQJ5y (ORCPT ); Tue, 17 Nov 2015 04:57:54 -0500 Received: by wmdw130 with SMTP id w130so147175248wmd.0 for ; Tue, 17 Nov 2015 01:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=MtOKwI22XdnF/fVVNmFs3wasjvNM57ICT2E/FdQ1Rek=; b=f1+ScUqyIJAFEHclyPOcBbffQjBrT7wqD3FiJ0IJLTe/k8wXwkPevMq5rrHKkJEcW0 X5CdPrxLlqJclDNgiRt77D+A9yOpy2xGViLfWU6d+DV6qv3q9rqO5eZ53J9SPxovxMVP hIWTTG1qV+67yp+OR9JAWGIDazshM561ofRGLcQoX72S6e7csI4/1G64kOrlXSF7lHp5 7rTu3DPTuHrGZqlwh1rSACUi6hz5DP+O29MCS/QrxCftEsAyTXdVALC/5rEjRszEEIea czWwZsDXFGndFFHjfJczo2LaO7SysYS8aMaornaynSVkC6Tb6R8xvi+gzhZYpBvi4UGq a5Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=MtOKwI22XdnF/fVVNmFs3wasjvNM57ICT2E/FdQ1Rek=; b=fMu5Woxdep2J4/qGKB6k+/AQcgl87NrHvIxR1bl5fk06hQyANh9WNQP5AzqsrRZCGa 4KsDqAnlJrDEvwG7NjmaTeb5FWFdU0j/QDROQ1YQQclzgvvpbYgXMxBYZiJyINNK+jdk iQJUjSyEB5gKE8hEib543It6BsknvTBSlKPRTpM6V6FIrRCOJ/ClBpcQ7KkWrnGRLWar MhoxlSyV3MueV1Sm4LY3fMYRjl+tE4QQ1LOQfS6ecb1oXcC5dIoS0mLTFZT1ozv+MSAF jwRwAy4oC0Y9WSWMr6SQ1/8uZq5kvYO/YVgmKuppZKXw6XzJLRtCL5s5kMjI+6rIX+99 mkdQ== X-Gm-Message-State: ALoCoQnq5XVB26+2Ed36Iqas6i91rqaCwyRdQg9PbazlNHHGp3GPIxs4futKYggnzK+aBY54XvxQ X-Received: by 10.28.91.83 with SMTP id p80mr1620863wmb.87.1447754273328; Tue, 17 Nov 2015 01:57:53 -0800 (PST) Received: from localhost ([78.129.251.54]) by smtp.gmail.com with ESMTPSA id 186sm4513011wmv.9.2015.11.17.01.57.51 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Nov 2015 01:57:52 -0800 (PST) From: shannon.zhao@linaro.org To: ian.campbell@citrix.com, stefano.stabellini@citrix.com, catalin.marinas@arm.com, will.deacon@arm.com, julien.grall@citrix.com, ard.biesheuvel@linaro.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org Cc: xen-devel@lists.xen.org, christoffer.dall@linaro.org, devicetree@vger.kernel.org, linux-efi@vger.kernel.org, peter.huangpeng@huawei.com, shannon.zhao@linaro.org, zhaoshenglong@huawei.com, hangaohuai@huawei.com Subject: [PATCH 04/13] xen: memory : Add new XENMAPSPACE type XENMAPSPACE_dev_mmio Date: Tue, 17 Nov 2015 17:57:02 +0800 Message-Id: <1447754231-7772-5-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1447754231-7772-1-git-send-email-shannon.zhao@linaro.org> References: <1447754231-7772-1-git-send-email-shannon.zhao@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Shannon Zhao Signed-off-by: Shannon Zhao --- include/xen/interface/memory.h | 1 + 1 file changed, 1 insertion(+) -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/xen/interface/memory.h b/include/xen/interface/memory.h index 2ecfe4f..9aa8988 100644 --- a/include/xen/interface/memory.h +++ b/include/xen/interface/memory.h @@ -160,6 +160,7 @@ DEFINE_GUEST_HANDLE_STRUCT(xen_machphys_mapping_t); #define XENMAPSPACE_gmfn_foreign 4 /* GMFN from another dom, * XENMEM_add_to_physmap_range only. */ +#define XENMAPSPACE_dev_mmio 5 /* device mmio region */ /* * Sets the GPFN at which a particular page appears in the specified guest's