[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v12 4/6] IOMMU/x86: using a struct pci_dev* instead of SBDF
>>> On 27.06.16 at 10:17, <JBeulich@xxxxxxxx> wrote: >>>> On 24.06.16 at 07:51, <quan.xu@xxxxxxxxx> wrote: >> --- a/xen/drivers/passthrough/x86/ats.c >> +++ b/xen/drivers/passthrough/x86/ats.c >> @@ -22,26 +22,34 @@ LIST_HEAD(ats_devices); >> bool_t __read_mostly ats_enabled = 0; >> boolean_param("ats", ats_enabled); >> >> -int enable_ats_device(int seg, int bus, int devfn, const void *iommu) >> +int enable_ats_device(const void *iommu, struct pci_dev *pci_dev) > > Is there anything preventing the second parameter to become > a pointer to const too? Afaict that would in turn eliminate the > need for some of the changes further up. I just figured that patch 6 depends on this being non-const. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |