From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDBvz-0002LJ-1s for qemu-devel@nongnu.org; Mon, 19 Jan 2015 07:59:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDBvy-0005Wr-BR for qemu-devel@nongnu.org; Mon, 19 Jan 2015 07:59:59 -0500 Message-ID: <54BCFFBA.1070302@redhat.com> Date: Mon, 19 Jan 2015 13:59:38 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1421667328-11800-1-git-send-email-mark.cave-ayland@ilande.co.uk> <1421667328-11800-3-git-send-email-mark.cave-ayland@ilande.co.uk> <54BCFC57.3010709@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2] m48t59: add mem_base value to m48t59_init_isa() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: qemu-ppc@nongnu.org, Mark Cave-Ayland , qemu-devel , =?UTF-8?B?QW5kcmVhcw==?= =?UTF-8?B?IEbDpHJiZXI=?= , Alexander Graf On 19/01/2015 13:57, Artyom Tarasenko wrote: >> > Is it really ISA if it's MMIO? In other words, why can't this be a >> > sysbus device? > On physical machines it's EBus, which is pretty much like 8-bit ISA. > So, I think modelling it as ISA is closer to to the reality. > But out of curiosity, would it be possible to have a sysbus device > somewhere in a middle of PCI space? Do sysbus devices have higher > priority if the address spaces overlap? Or do you mean that the PCI > controller needs to be modified to have a hole for a sysbus device? What does the memory map look like (simplifying to "where can BARs be" and "where is the RTC")? Paolo