[SeaBIOS] [PATCH v3] DSDT: Fix HPET _CRS Method

Rene Rebe rene at exactcode.com
Thu Nov 8 19:23:57 CET 2012


Hi,

On 08.11.2012, at 19:17, Gabriel L. Somlo wrote:

> Hi Rene,
> 
> On Thu, Nov 08, 2012 at 06:41:42PM +0100, Rene Rebe wrote:
>> Hi Gabriel,
>> What did the Darwin kernel do before with -smp > 1?
>> 
>> I ask, because for me it booted already, just was not stable.
>> The question is: Is OS X stable for you with -smp > 1 under load?
> 
> I'm guessing your patched bios must have had the "IRQNoFlags" statement
> in the HPET's DSDT entry, which is why OS X was willing to boot for you.
> 
> I was going for the least amount of change to current seabios git
> master required to get it working, and got carried away (and forgot to
> test on OS X + SMP) before submitting v2 of the patch :)
> 
> <offtopic>
> 
> As for stability, I think that has to do with the kernel (KVM) MWAIT
> patch. I'm using this now:
> 
> http://www.contrib.andrew.cmu.edu/~somlo/OSXKVM/kvm-kmod-3.6-mac.patch
> 
> which emulates MONITOR and MWAIT as PAUSE, instead of preventing them
> from causing VM exits and leaving them to be run from within the
> guest's context.
> 
> So far, "-smp 8,cores=4" is rock solid (ran a few load tests I found
> by googling).
> 
> </offtopic>

But with that patch the CPU does not wake on write access? I guess just with the next "spurious" interrupt?

	René

-- 
  René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin
  http://exactcode.com | http://t2-project.org | http://rene.rebe.de




More information about the SeaBIOS mailing list