Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2015 10:20:03 -0500
From:      John Baldwin <jhb@freebsd.org>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, trasz@freebsd.org, Rui Paulo <rpaulo@me.com>
Subject:   Re: svn commit: r278473 - in head/sys: amd64/amd64 amd64/include amd64/vmm contrib/dev/acpica/include i386/i386 i386/include x86/acpica x86/include x86/x86 x86/xen
Message-ID:  <6564436.fIAEJlraDt@ralph.baldwin.cx>
In-Reply-To: <20150211083200.GO42409@kib.kiev.ua>
References:  <bbbead6b-64da-4f0d-8821-98d79319aecf@me.com> <20150211083200.GO42409@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday, February 11, 2015 10:32:00 AM Konstantin Belousov wrote:
> On Wed, Feb 11, 2015 at 12:43:39AM +0000, Rui Paulo wrote:
> > On Feb 09, 2015, at 01:01 PM, Konstantin Belousov <kib@FreeBSD.org> wrote:
> > 
> > Author: kib
> > Date: Mon Feb 9 21:00:56 2015
> > New Revision: 278473
> > URL: https://svnweb.freebsd.org/changeset/base/278473
> > 
> > Log:
> > Add x2APIC support. Enable it by default if CPU is capable. The
> > hw.x2apic_enable tunable allows disabling it from the loader prompt.
> >  
> > This breaks VMware Fusion when the host CPU has x2APIC support.  In
> > my case, mpt(4) was unable to receive interrupts and USB was similarly
> > broken.  It's possible that this is a VMware bug, but you might want to
> > avoid turning this on when running under the VMware hypervisor.
> 
> Neel pointed this out to me when the patch was reviewed.
> He told me that x2APIC does not work in Fusion 5.x, while it seems
> to be fixed in 7.x.
> https://communities.vmware.com/message/2173695?tstart=0
> 
> Upon further discussion with Neel and Peter, it was suggested that we
> enable enable x2APIC unconditionally, which seems what is done for
> Linux benchmarks.
> 
> Is vmware 5.x is used while there is already at least version 7.x ?
> I have no idea about vmware product nomenclature and lifecycle.

I believe we can ask vmware what version it is when we notice we are running 
under it (which we already detect for TSC purposes).  We could quirk for that 
case, or even just disable for VM_GUEST_VMWARE for now.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6564436.fIAEJlraDt>