[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling |
Date: |
Mon, 6 May 2013 21:46:42 +0100 |
On 6 May 2013 15:26, Jan Kiszka <address@hidden> wrote:
> Simplify the sub-page handling by implementing it directly in the
> dispatcher instead of using a redirection memory region. We extend the
> phys_sections entries to optionally hold a pointer to the sub-section
> table that used to reside in the subpage_t structure. IOW, we add one
> optional dispatch level below the existing radix tree.
>
> address_space_lookup_region is extended to take this additional level
> into account. This direct dispatching to that target memory region will
> also be helpful when we want to add per-region locking control.
This patch seems to break vexpress-a9. Test case if you want it:
http://staging.people.linaro.org/~peter.maydell/vexpress-3.8.tar.gz
(125MB) Edit the 'runme' script to fix up the paths to kernel/initrd/dtb
and then run it; before this patch it boots, afterwards it doesn't
even manage to start the kernel.
My guess is you've broken subregion-sized mmio regions somehow
(and/or regions which are larger than a page in size but start
or finish at a non-page-aligned address), and probably in particular
the arm_gic regions that a9mpcore maps...
thanks
-- PMM
- [Qemu-devel] [RFC][PATCH 00/15] Refactor portio dispatching, Jan Kiszka, 2013/05/06
- [Qemu-devel] [RFC][PATCH 03/15] wdt_ib700: replace register_ioport*, Jan Kiszka, 2013/05/06
- [Qemu-devel] [RFC][PATCH 14/15] ioport: Remove unused old dispatching services, Jan Kiszka, 2013/05/06
- [Qemu-devel] [RFC][PATCH 06/15] vt82c686: replace register_ioport*, Jan Kiszka, 2013/05/06
- [Qemu-devel] [RFC][PATCH 02/15] applesmc: replace register_ioport*, Jan Kiszka, 2013/05/06
- [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling, Jan Kiszka, 2013/05/06
- Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling, Paolo Bonzini, 2013/05/06
- Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling,
Peter Maydell <=
- Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling, Paolo Bonzini, 2013/05/07
- Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling, Paolo Bonzini, 2013/05/07
- Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling, Jan Kiszka, 2013/05/07
- Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling, Jan Kiszka, 2013/05/07
- Re: [Qemu-devel] [RFC][PATCH 10/15] memory: Rework sub-page handling, Paolo Bonzini, 2013/05/08
[Qemu-devel] [RFC][PATCH 08/15] isa: implement isa_is_ioport_assigned via memory_region_find, Jan Kiszka, 2013/05/06