> From: Jan Beulich [mailto:jbeul...@suse.com]
> Sent: Wednesday, September 4, 2019 9:28 PM
> 
> The two uses of pci_get_pdev_by_domain() lack proper locking, but are
> also only used to get hold of a NUMA node ID. Calculate and store the
> node ID earlier on and remove the lookups (in lieu of fixing the
> locking).
> 
> While doing this it became apparent that iommu_alloc()'s use of
> alloc_pgtable_maddr() would occur before RHSAs would have been parsed:
> iommu_alloc() gets called from the DRHD parsing routine, which - on
> spec conforming platforms - happens strictly before RHSA parsing. Defer
> the allocation until after all ACPI table parsing has finished,
> established the node ID there first.
> 
> Suggested-by: Kevin Tian <kevin.t...@intel.com>
> Signed-off-by: Jan Beulich <jbeul...@suse.com>
> 

Reviewed-by: Kevin Tian <kevin.t...@intel.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to