[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigne
From: |
Marcel Apfelbaum |
Subject: |
Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses |
Date: |
Mon, 02 Sep 2013 18:42:33 +0300 |
On Mon, 2013-09-02 at 15:39 +0100, Peter Maydell wrote:
> On 2 September 2013 15:13, Marcel Apfelbaum <address@hidden> wrote:
> > Added a memory region that has negative priority and
> > extends over all the pci adddress space. This region will
> > "catch" all the accesses to the unassigned pci
> > addresses and it will be possible to emulate the
> > master abort scenario (When no device on the bus claims
> > the transaction).
> >
> > Signed-off-by: Marcel Apfelbaum <address@hidden>
> > ---
> > hw/pci-host/piix.c | 8 ++++++++
> > hw/pci-host/q35.c | 19 ++++++++++++++++---
> > include/hw/pci-host/q35.h | 1 +
>
> This is happening at the wrong layer -- you want this memory
> region to be created and managed in the PCI core code so that
> we get correct PCI-spec behaviour for all our PCI controllers,
> not just the two x86 ones you've changed here.pci_address_space
I saw that the memory regions are part of the Host state and
duplicated for each host type(like pci_address_space).
Question, why are not pci_address_space and pci_hole present
in a core layer?
I followed the existing code; from what you are saying
I understand that also the existing memory regions
like the one mentioned above should be moved in
the core layer, right?
Marcel
>
> -- PMM
>
- Re: [Qemu-devel] [PATCH RFC 2/3] hw/pci: add MemoryRegion ops for unassigned pci addresses, (continued)
- [Qemu-devel] [PATCH RFC 1/3] memory: allow MemoryRegion's priority field to accept negative values, Marcel Apfelbaum, 2013/09/02
- [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Marcel Apfelbaum, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Peter Maydell, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses,
Marcel Apfelbaum <=
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Andreas Färber, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Peter Maydell, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Michael S. Tsirkin, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Peter Maydell, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Michael S. Tsirkin, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Peter Maydell, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Marcel Apfelbaum, 2013/09/02
- Re: [Qemu-devel] [PATCH RFC 3/3] hw/pci-host: catch acesses to unassigned pci addresses, Michael S. Tsirkin, 2013/09/02
Re: [Qemu-devel] [PATCH RFC 0/3] pci: complete master abort protocol, Peter Maydell, 2013/09/02