[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 06/23] PPC: Fix IPI support in MPIC
From: |
Scott Wood |
Subject: |
Re: [Qemu-devel] [PATCH 06/23] PPC: Fix IPI support in MPIC |
Date: |
Fri, 22 Jul 2011 11:37:29 -0500 |
On Fri, 22 Jul 2011 17:01:11 +0200
Alexander Graf <address@hidden> wrote:
> On 22.07.2011, at 16:08, Elie Richa wrote:
>
> > > #if MAX_IPI > 0
> > > case 0x40: /* IDE */
> > > case 0x50:
> > > idx = (addr - 0x40) >> 4;
> > > retval = read_IRQreg(opp, opp->irq_ipi0 + idx, IRQ_IDE);
> > > break;
> > > #endif
> >
> > These are the IPI dispatch registers which are write only, so I suppose
> > this shouldn't be here right?
>
> The code was there long before me :). No idea why it is there though - it
> tries to read out the IDE register for 2 IPIs. Maybe it was read-write in
> early versions of MPIC? Scott, any idea?
I don't know about early MPICs, but I don't know how you'd even define that
register for read -- it's a command, not state.
I suspect it's just a bug -- especially given the initialization to 1,
which suggests the author saw it as just another destination register.
-Scott
[Qemu-devel] [PATCH 21/23] PPC: E500: Remove unneeded CPU nodes, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 22/23] PPC: E500: Update cpu-release-addr property in cpu nodes, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 19/23] PPC: KVM: Add stubs for kvm helper functions, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 01/23] PPC: Add secondary CPU spinning code, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 04/23] PPC: Add CPU local MMIO regions to MPIC, Alexander Graf, 2011/07/20
[Qemu-devel] [PATCH 03/23] PPC: Add CPU definitions for up to 32 guest CPUs, Alexander Graf, 2011/07/20