Re: [Qemu-devel] [PATCH 0/4] mips: add Global Interrupt Controller

2015-10-21 Thread Peter Maydell
On 21 October 2015 at 17:28, Yongbok Kim wrote: > On 21/10/2015 17:01, Peter Maydell wrote: >> Should this live in hw/intc/ if it is an interrupt controller? > Actually I have considered that but I just hesitated to put the files in > the hw/intc as all other MIPS related hw component files are i

Re: [Qemu-devel] [PATCH 0/4] mips: add Global Interrupt Controller

2015-10-21 Thread Peter Crosthwaite
On Thu, Oct 15, 2015 at 4:52 PM, Yongbok Kim wrote: > Add support of MIPS GIC. > The patchset implements the Global Interrupt Controller. > > With the patchset Linux Kernel detects GIC and utilises it. > # cat /proc/interrupts >CPU0 > 0: 2XT-PIC 0 timer > 2:

Re: [Qemu-devel] [PATCH 0/4] mips: add Global Interrupt Controller

2015-10-21 Thread Yongbok Kim
On 21/10/2015 17:01, Peter Maydell wrote: > On 16 October 2015 at 00:52, Yongbok Kim wrote: >> Add support of MIPS GIC. >> >> hw/mips/Makefile.objs|2 +- >> hw/mips/mips_gcr.c | 120 >> hw/mips/mips_gcr.h | 57 >> hw/mips/mips_gic.c | 65

Re: [Qemu-devel] [PATCH 0/4] mips: add Global Interrupt Controller

2015-10-21 Thread Peter Maydell
On 16 October 2015 at 00:52, Yongbok Kim wrote: > Add support of MIPS GIC. > The patchset implements the Global Interrupt Controller. > > With the patchset Linux Kernel detects GIC and utilises it. > # cat /proc/interrupts >CPU0 > 0: 2XT-PIC 0 timer > 2: 0

Re: [Qemu-devel] [PATCH 0/4] mips: add Global Interrupt Controller

2015-10-19 Thread Yongbok Kim
On 19/10/2015 15:36, James Hogan wrote: > Hi Yongbok, > >> Limitation: >> Level triggering only >> No User-Mode Visible Section > > Note that there are Linux kernel patches from Alex Smith / Markos > Chandras which will imminently hit linux-next, which implement a proper > VDSO, including support

Re: [Qemu-devel] [PATCH 0/4] mips: add Global Interrupt Controller

2015-10-19 Thread James Hogan
Hi Yongbok, On Fri, Oct 16, 2015 at 12:52:05AM +0100, Yongbok Kim wrote: > Add support of MIPS GIC. > The patchset implements the Global Interrupt Controller. > > With the patchset Linux Kernel detects GIC and utilises it. > # cat /proc/interrupts >CPU0 > 0: 2XT-PIC

[Qemu-devel] [PATCH 0/4] mips: add Global Interrupt Controller

2015-10-15 Thread Yongbok Kim
Add support of MIPS GIC. The patchset implements the Global Interrupt Controller. With the patchset Linux Kernel detects GIC and utilises it. # cat /proc/interrupts CPU0 0: 2XT-PIC 0 timer 2: 0XT-PIC 2 cascade 4:462XT-PIC 4 serial