From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753082AbcBHLnz (ORCPT ); Mon, 8 Feb 2016 06:43:55 -0500 Received: from smtp.citrix.com ([66.165.176.89]:3157 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752988AbcBHLnu (ORCPT ); Mon, 8 Feb 2016 06:43:50 -0500 X-IronPort-AV: E=Sophos;i="5.22,415,1449532800"; d="scan'208";a="330289596" Date: Mon, 8 Feb 2016 11:43:27 +0000 From: Stefano Stabellini X-X-Sender: sstabellini@kaball.uk.xensource.com To: Shannon Zhao CC: , , , , , , , , , , , , , , Subject: Re: [PATCH v4 05/17] xen: memory : Add new XENMAPSPACE type XENMAPSPACE_dev_mmio In-Reply-To: <1454641552-12576-6-git-send-email-zhaoshenglong@huawei.com> Message-ID: References: <1454641552-12576-1-git-send-email-zhaoshenglong@huawei.com> <1454641552-12576-6-git-send-email-zhaoshenglong@huawei.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-DLP: MIA2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 5 Feb 2016, Shannon Zhao wrote: > From: Shannon Zhao > > Add a new type of Xen map space for Dom0 to map device's MMIO region. > > Signed-off-by: Shannon Zhao > --- > include/xen/interface/memory.h | 1 + > 1 file changed, 1 insertion(+) > > 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 This patch needs to wait at least until the corresponding Xen patch (the one which introduces XENMAPSPACE_dev_mmio on the Xen side) is Acked by one of the Xen maintainers.