Re: [Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-03-03 Thread Kuo-Jung Su
2013/3/4 Peter Crosthwaite : > Hi Kuo-Jung, > > On Mon, Mar 4, 2013 at 4:20 PM, Kuo-Jung Su wrote: >> 2013/3/2 Peter Crosthwaite : >>> Hi Kuo-Jung, > [Snip] +return s->irq_lvl[1]; +case REG_EIRQSR: +return s->irq_src[1] & s->irq_ena[1]; + >>> >>> AFAICT, ind

Re: [Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-03-03 Thread Peter Crosthwaite
Hi Kuo-Jung, On Mon, Mar 4, 2013 at 4:20 PM, Kuo-Jung Su wrote: > 2013/3/2 Peter Crosthwaite : >> Hi Kuo-Jung, [Snip] >>> +return s->irq_lvl[1]; >>> +case REG_EIRQSR: >>> +return s->irq_src[1] & s->irq_ena[1]; >>> + >> >> AFAICT, index 0 of there arrays in for IRQ and index 1

Re: [Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-03-03 Thread Kuo-Jung Su
2013/3/3 Peter Crosthwaite : > Hi Kuo-Jung, > > On Sat, Mar 2, 2013 at 2:13 PM, Peter Crosthwaite > wrote: >> Hi Kuo-Jung, >> >> On Wed, Feb 27, 2013 at 5:15 PM, Kuo-Jung Su wrote: >>> From: Kuo-Jung Su >>> >>> The FTINTC020 interrupt controller supports both FIQ and IRQ signals >>> to the micro

Re: [Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-03-03 Thread Kuo-Jung Su
2013/3/2 Peter Crosthwaite : > Hi Kuo-Jung, > > On Wed, Feb 27, 2013 at 5:15 PM, Kuo-Jung Su wrote: >> From: Kuo-Jung Su >> >> The FTINTC020 interrupt controller supports both FIQ and IRQ signals >> to the microprocessor. >> It can handle up to 64 configurable IRQ sources and 64 FIQ sources. >> T

Re: [Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-03-02 Thread Peter Crosthwaite
Hi Kuo-Jung, On Sat, Mar 2, 2013 at 2:13 PM, Peter Crosthwaite wrote: > Hi Kuo-Jung, > > On Wed, Feb 27, 2013 at 5:15 PM, Kuo-Jung Su wrote: >> From: Kuo-Jung Su >> >> The FTINTC020 interrupt controller supports both FIQ and IRQ signals >> to the microprocessor. >> It can handle up to 64 config

Re: [Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-03-02 Thread Peter Crosthwaite
Hi All, On Sat, Mar 2, 2013 at 2:13 PM, Peter Crosthwaite wrote: > Hi Kuo-Jung, > > On Wed, Feb 27, 2013 at 5:15 PM, Kuo-Jung Su wrote: >> From: Kuo-Jung Su >> >> The FTINTC020 interrupt controller supports both FIQ and IRQ signals >> to the microprocessor. >> It can handle up to 64 configurabl

Re: [Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-03-01 Thread Peter Crosthwaite
Hi Kuo-Jung, On Wed, Feb 27, 2013 at 5:15 PM, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > The FTINTC020 interrupt controller supports both FIQ and IRQ signals > to the microprocessor. > It can handle up to 64 configurable IRQ sources and 64 FIQ sources. > The output signals to the microprocessor

[Qemu-devel] [PATCH v5 03/24] hw/arm: add Faraday FTINTC020 interrupt controller support

2013-02-27 Thread Kuo-Jung Su
From: Kuo-Jung Su The FTINTC020 interrupt controller supports both FIQ and IRQ signals to the microprocessor. It can handle up to 64 configurable IRQ sources and 64 FIQ sources. The output signals to the microprocessor can be configured as level-high/low active or edge-rising/falling triggered.