Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Oct 2018 18:34:38 +0000
From:      Colin Percival <cperciva@tarsnap.com>
To:        "McCarthy, Brian" <Brian.McCarthy@netapp.com>, "freebsd-xen@freebsd.org" <freebsd-xen@freebsd.org>
Subject:   Re: Bug in XEN support with IPIs?
Message-ID:  <010001668d9ba04f-4e7c54d1-4b98-46b8-b2bb-4095fd574057-000000@email.amazonses.com>
In-Reply-To: <BL0PR06MB4323F3A87ED1752A67849E26E8F90@BL0PR06MB4323.namprd06.prod.outlook.com>
References:  <BL0PR06MB4323F3A87ED1752A67849E26E8F90@BL0PR06MB4323.namprd06.prod.outlook.com>

index | next in thread | previous in thread | raw e-mail

On 10/19/18 9:40 AM, McCarthy, Brian wrote:
> it appears, that for FreeBSD XEN guests with SMP support, The IPIs get messed up by intr_shuffle_irqs. The symptom is a smp_ipi_mtx
> timeout during TLB shootdown. I've seen this mentioned in e-mails, with the solution (without explanation) being to enable EARLY_AP_STARTUP.
> The reason this works in BSD11 is that int_shuffle_irqs is conditionalixed out on EARLY_AP_STARTUP. The real solution seems to be that
> xi_cpu and/or ie_cpu should be set. I'm trying to figure out where that would be (for our somewhat modified FreeBSD kernel).

Which version are you looking at?  We fixed a bug along these lines just
about a month ago -- see r338624-338631.

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?010001668d9ba04f-4e7c54d1-4b98-46b8-b2bb-4095fd574057-000000>