Re: [PATCH 4/4] kvm: bios: switch MTRRs to cover only the PCI range and default to WB

2008-09-27 Thread Sheng Yang
On Saturday 27 September 2008 21:55:33 Zwane Mwaikambo wrote: > On Sat, 27 Sep 2008, Avi Kivity wrote: > > Yang, Sheng wrote: > > > I think we should do a little more than just write msr to update mtrr. > > > > > > Intel SDM 10.11.8 "MTRR consideration in MP Systems" define the > > > procedure to m

Re: [PATCH 4/4] kvm: bios: switch MTRRs to cover only the PCI range and default to WB

2008-09-27 Thread Zwane Mwaikambo
On Sat, 27 Sep 2008, Avi Kivity wrote: > Yang, Sheng wrote: > > I think we should do a little more than just write msr to update mtrr. > > > > Intel SDM 10.11.8 "MTRR consideration in MP Systems" define the procedure to > > modify MTRR msr in MP. Especially, step 4 enter no-fill cache mode(set >

Re: [PATCH 4/4] kvm: bios: switch MTRRs to cover only the PCI range and default to WB

2008-09-27 Thread Avi Kivity
Yang, Sheng wrote: I think we should do a little more than just write msr to update mtrr. Intel SDM 10.11.8 "MTRR consideration in MP Systems" define the procedure to modify MTRR msr in MP. Especially, step 4 enter no-fill cache mode(set CR0.CD bit and clean NW bit), step 12 re-enabled the cac

Re: [PATCH 4/4] kvm: bios: switch MTRRs to cover only the PCI range and default to WB

2008-09-26 Thread Yang, Sheng
On Friday 26 September 2008 01:52:29 Alex Williamson wrote: > kvm: bios: switch MTRRs to cover only the PCI range and default to WB > > This matches how some bare metal machines report MTRRs and avoids > the problem of running out of MTRRs to cover all of RAM. > > Signed-off-by: Alex Williamson <[E

[PATCH 4/4] kvm: bios: switch MTRRs to cover only the PCI range and default to WB

2008-09-25 Thread Alex Williamson
kvm: bios: switch MTRRs to cover only the PCI range and default to WB This matches how some bare metal machines report MTRRs and avoids the problem of running out of MTRRs to cover all of RAM. Signed-off-by: Alex Williamson <[EMAIL PROTECTED]> --- bios/rombios32.c | 24 ---