qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 00/14] Remove old_portio users for memory region


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH 00/14] Remove old_portio users for memory region PIO mapping
Date: Mon, 8 Oct 2012 18:32:27 +0200


On 08.10.2012, at 18:18, Andreas Färber <address@hidden> wrote:

> Am 08.10.2012 14:23, schrieb Alexander Graf:
>> When running on PowerPC, we don't have native PIO support. There are a few 
>> hacks
>> around to enable PIO access on PowerPC nevertheless.
>> 
>> The most typical one is the isa-mmio device. It takes MMIO requests and 
>> converts
>> them to PIO requests on the (QEMU internal) PIO bus.
>> 
>> This however is not how real hardware works and it limits us in the ability 
>> to
>> spawn eventfd's on PIO ports which doesn't work with this approach.  Instead,
>> let's model it more easily. Let's just map the PIO memory region into MMIO
>> space.
>> 
>> For this to work, we need to get rid of all old_portio struct users, as they
>> break with this approach. This is what this patch set does.
> 
> Looks sensible to me as far as reviewed, but I'm missing a patch 13 that
> actually rips out old_portio afterwards. :)

I'll leave that as an exercise for the reader :)

Alex

> 
> Andreas
> 
>> It also converts
>> the e500 machines and sPAPR to the new memory region model.
>> 
>> 
>> Alex
> 
> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg



reply via email to

[Prev in Thread] Current Thread [Next in Thread]