Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-07 Thread Scott Wood
On 01/07/2013 11:50:02 AM, Alexander Graf wrote: >> @@ -1407,6 +1425,9 @@ static int openpic_init(SysBusDevice *dev) >> opp->irq_tim0 = FSL_MPIC_20_TMR_IRQ; >> opp->irq_msi = FSL_MPIC_20_MSI_IRQ; >> opp->brr1 = FSL_BRR1_IPID | FSL_BRR1_IPMJ | FSL_BRR1_IPMN; >> +/*

Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-07 Thread Alexander Graf
On 07.01.2013, at 18:42, Scott Wood wrote: > On 01/04/2013 05:36:42 PM, Alexander Graf wrote: >> @@ -667,6 +671,20 @@ static void openpic_gbl_write(void *opaque, hwaddr >> addr, uint64_t val, >> case 0x1020: /* GCR */ >> if (val & GCR_RESET) { >> openpic_reset(&opp->busde

Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-07 Thread Scott Wood
On 01/04/2013 05:36:42 PM, Alexander Graf wrote: @@ -667,6 +671,20 @@ static void openpic_gbl_write(void *opaque, hwaddr addr, uint64_t val, case 0x1020: /* GCR */ if (val & GCR_RESET) { openpic_reset(&opp->busdev.qdev); +} else if (opp->mpic_mode_mask) { +

[Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-04 Thread Alexander Graf
We already used to support the external proxy facility of FSL MPICs, but only implemented it halfway correctly. This patch adds support for * dynamic enablement of the EPR facility * interrupt acknowledgement only when the interrupt is delivered This way the implementation now is closer to r

Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-04 Thread Alexander Graf
On 04.01.2013, at 20:07, Scott Wood wrote: > On 01/04/2013 12:54:51 PM, Alexander Graf wrote: >> On 04.01.2013, at 19:50, Scott Wood wrote: >> > On 01/04/2013 04:24:59 AM, Alexander Graf wrote: >> >> msi_supported = true; >> >> list = list_be; >> >> diff --git a/target-ppc/Makefil

Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-04 Thread Anthony Liguori
Hi, This is an automated message generated from the QEMU Patches. Thank you for submitting this patch. This patch no longer applies to qemu.git. This may have occurred due to: 1) Changes in mainline requiring your patch to be rebased and re-tested. 2) Sending the mail using a tool other t

Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-04 Thread Scott Wood
On 01/04/2013 12:54:51 PM, Alexander Graf wrote: On 04.01.2013, at 19:50, Scott Wood wrote: > On 01/04/2013 04:24:59 AM, Alexander Graf wrote: >> msi_supported = true; >> list = list_be; >> diff --git a/target-ppc/Makefile.objs b/target-ppc/Makefile.objs >> index 237a0ed..6c11ef

Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-04 Thread Alexander Graf
On 04.01.2013, at 19:50, Scott Wood wrote: > On 01/04/2013 04:24:59 AM, Alexander Graf wrote: >> We already used to support the external proxy facility of FSL MPICs, >> but only implemented it halfway correctly. >> This patch adds support for >> * dynamic enablement of the EPR facility >> * int

Re: [Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-04 Thread Scott Wood
On 01/04/2013 04:24:59 AM, Alexander Graf wrote: We already used to support the external proxy facility of FSL MPICs, but only implemented it halfway correctly. This patch adds support for * dynamic enablement of the EPR facility * interrupt acknowledgement only when the interrupt is delive

[Qemu-devel] [PATCH] PPC: Bring EPR support closer to reality

2013-01-04 Thread Alexander Graf
We already used to support the external proxy facility of FSL MPICs, but only implemented it halfway correctly. This patch adds support for * dynamic enablement of the EPR facility * interrupt acknowledgement only when the interrupt is delivered This way the implementation now is closer to r