[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [RFC PATCH V2 3/26] VIOMMU: Add irq request callback to deal with irq remapping
On Thu, May 18, 2017 at 01:34:33AM -0400, Lan Tianyu wrote: > This patch is to add irq request callback for platform implementation > to deal with irq remapping request. > > Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx> > --- > xen/common/viommu.c | 15 +++++++++ > xen/include/asm-x86/viommu.h | 73 > ++++++++++++++++++++++++++++++++++++++++++++ > xen/include/xen/viommu.h | 9 ++++++ > 3 files changed, 97 insertions(+) > create mode 100644 xen/include/asm-x86/viommu.h > > diff --git a/xen/common/viommu.c b/xen/common/viommu.c > index 74afbf5..4e3ecd7 100644 > --- a/xen/common/viommu.c > +++ b/xen/common/viommu.c > @@ -194,6 +194,21 @@ int __init viommu_setup(void) > return 0; > } > > +int viommu_handle_irq_request(struct domain *d, u32 viommu_id, > + struct irq_remapping_request *request) Indentation. > +{ > + struct viommu_info *info = &d->viommu; > + > + if ( !info || viommu_id > info->nr_viommu ">=" ? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |