From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: Re: [Qemu-devel] [RFC v5 86/86] 440fx: fix PAM, PCI holes Date: Mon, 25 Jul 2011 16:17:28 +0300 Message-ID: <20110725131728.GD4404@redhat.com> References: <1311180636-17012-1-git-send-email-avi@redhat.com> <1311180636-17012-87-git-send-email-avi@redhat.com> <4E2D6A97.9050606@codemonkey.ws> <4E2D6C45.5030308@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=cp1255 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Anthony Liguori , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:12965 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750827Ab1GYNRc convert rfc822-to-8bit (ORCPT ); Mon, 25 Jul 2011 09:17:32 -0400 Content-Disposition: inline In-Reply-To: <4E2D6C45.5030308@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Jul 25, 2011 at 04:14:45PM +0300, Avi Kivity wrote: > On 07/25/2011 04:07 PM, Anthony Liguori wrote: > >On 07/20/2011 11:50 AM, Avi Kivity wrote: > >>The current implementation of PAM and the PCI holes is broken in se= veral > >>ways: > >> > >> - PCI BARs are not restricted to the PCI hole (a BAR may hide me= mory) > > > >Technically, a BAR can be mapped to any non-RAM memory location. >=20 > I understood TOM (Top Of Memory) to be fixed - can't find a register > for it - but maybe I misread the spec. >=20 PIIX3 spec: 2.2.11. TOM=97TOP OF MEMORY REGISTER (Function 0) Address Offset: 69h Default Value: 02h Attribute: Read/Write -- Gleb.