RE: [PATCH] seabios/pci: enable 64 bit bar on seabios

2012-11-05 Thread Hao, Xudong
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Monday, November 05, 2012 5:08 PM > To: Hao, Xudong > Cc: ke...@koconnor.net; seab...@seabios.org; kvm@vger.kernel.org; > a...@redhat.com > Subject: Re: [PATCH] seabios/pci: enable 64 bit bar

Re: [PATCH] seabios/pci: enable 64 bit bar on seabios

2012-11-05 Thread Gerd Hoffmann
Hi, > I just want to enable 64 bit bars for KVM usage, seabios 1.7.0 is > used in current qemu-kvm, which not handle 64 bit bars yet. I cloned > seabios code from kernel.org(seems no 64 bit bars supporting), but I > was not taking notice of the tree on http://git.qemu.org/, yes it has > already

RE: [PATCH] seabios/pci: enable 64 bit bar on seabios

2012-11-04 Thread Hao, Xudong
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Friday, November 02, 2012 5:00 PM > To: Hao, Xudong > Cc: ke...@koconnor.net; seab...@seabios.org; kvm@vger.kernel.org; > a...@redhat.com > Subject: Re: [PATCH] seabios/pci: enable 64 bit b

Re: [PATCH] seabios/pci: enable 64 bit bar on seabios

2012-11-02 Thread Kevin O'Connor
On Fri, Nov 02, 2012 at 01:42:08PM +0800, Xudong Hao wrote: > 64 bit bar sizing and MMIO allocation. The 64 bit window is placed above high > memory, top down from the end of guest physical address space. Your patch seems to be against an old version of SeaBIOS. The latest SeaBIOS already support

Re: [PATCH] seabios/pci: enable 64 bit bar on seabios

2012-11-02 Thread Gerd Hoffmann
On 11/02/12 06:42, Xudong Hao wrote: > 64 bit bar sizing and MMIO allocation. The 64 bit window is placed above high > memory, top down from the end of guest physical address space. What problem you are trying to fix? The existing code should handle 64bit bars just fine. By default they are plac

[PATCH] seabios/pci: enable 64 bit bar on seabios

2012-11-01 Thread Xudong Hao
64 bit bar sizing and MMIO allocation. The 64 bit window is placed above high memory, top down from the end of guest physical address space. Signed-off-by: Xudong Hao --- src/mtrr.c| 24 +- src/pci.h |2 +- src/pciinit.c | 99 ++