On 29.11.2019 12:28, Roger Pau Monne wrote: > --- a/xen/arch/x86/apic.c > +++ b/xen/arch/x86/apic.c > @@ -492,7 +492,8 @@ static void __enable_x2apic(void) > > static void resume_x2apic(void) > { > - iommu_enable_x2apic(); > + if ( iommu_supports_x2apic() ) > + iommu_enable_x2apic();
The hooks called by this function are __init, and at least the AMD one also isn't (I think) prepared to be called more than once. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel