[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 03/12] pseries: Move XICS initialization before cp
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 03/12] pseries: Move XICS initialization before cpu initialization |
Date: |
Tue, 20 Nov 2012 09:47:03 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Nov 20, 2012 at 06:54:20AM +1100, Benjamin Herrenschmidt wrote:
> On Mon, 2012-11-19 at 17:22 +0100, Alexander Graf wrote:
> > > Currently, the pseries machine initializes the cpus, then the XICS
> > > interrupt controller. However, to support the upcoming in-kernel XICS
> > > implementation we will need to initialize the irq controller before the
> > > vcpus. This patch makes the necesssary rearrangement. This means the
> > > xics init code can no longer auto-detect the number of cpus ("interrupt
> > > servers" in XICS terminology) and so we must pass that in explicitly from
> > > the platform code.
> >
> > Does this still hold true with the new in-kernel interrupt controller
> > workflow?
>
> We need to look into this. The in-kernel ICPs will still certainly be
> created early along with the VCPUs, however we might be able to delay
> the creation of the qemu emulation when not using the former.
I'd really prefer not to have two different initialization orders in
qemu though. I think we'll want the ICP initialization first for CPU
hotplug one day anyway.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
- Re: [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges, (continued)
- Re: [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges, David Gibson, 2012/11/25
- Re: [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges, Michael S. Tsirkin, 2012/11/21
- Re: [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges, David Gibson, 2012/11/20
- Re: [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges, Alexander Graf, 2012/11/21
- Re: [Qemu-ppc] [PATCH 12/12] pseries: Generate unique LIOBNs for PCI host bridges, Michael S. Tsirkin, 2012/11/21
[Qemu-ppc] [PATCH 11/12] pseries: Fix bug in PCI MSI allocation, David Gibson, 2012/11/12
[Qemu-ppc] [PATCH 09/12] pseries: Implement PAPR NVRAM, David Gibson, 2012/11/12
[Qemu-ppc] [PATCH 03/12] pseries: Move XICS initialization before cpu initialization, David Gibson, 2012/11/12
[Qemu-ppc] [PATCH 05/12] pseries: Allow RTAS tokens without a qemu handler, David Gibson, 2012/11/12
[Qemu-ppc] [PATCH 10/12] pseries: Update SLOF for NVRAM support, David Gibson, 2012/11/12
Re: [Qemu-ppc] [0/12] Pending pseries patches, Alexander Graf, 2012/11/19