Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 08:11:39 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/i386/include apicvar.h src/sys/i386/xen mp_machdep.c
Message-ID:  <200905310811.n4V8Bi5G025584@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
adrian      2009-05-31 08:11:39 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/include     apicvar.h 
    sys/i386/xen         mp_machdep.c 
  Log:
  SVN rev 193154 on 2009-05-31 08:11:39Z by adrian
  
  Fix the MP IPI code to differentiate between bitmapped IPIs and function IPIs.
  
  This attempts to fix the IPI handling code to correctly differentiate
  between bitmapped IPIs and function IPIs. The Xen IPIs were on low numbers
  which clashed with the bitmapped IPIs.
  
  This commit bumps those IPI numbers up to 240 and above (just like in the i386
  code) and fiddles with the ipi_vectors[] logic to call the correct function.
  
  This still isn't "right". Specifically, the IPI code may work fine for TLB
  shootdown events but the rendezvous/lazypmap IPIs are thrown by calling ipi_*()
  routines which don't set the call_func stuff (function id, addr1, addr2) that
  the TLB shootdown events are. So the Xen SMP support is still broken.
  
  PR:             135069
  
  Revision  Changes    Path
  1.31      +7 -7      src/sys/i386/include/apicvar.h
  1.20      +7 -12     src/sys/i386/xen/mp_machdep.c



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