[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control lo
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer |
Date: |
Tue, 12 Mar 2019 17:56:18 +0000 |
On Sun, 10 Mar 2019 at 11:02, bzt <address@hidden> wrote:
>
> Hi,
>
> Okay, as you wish. My code works either way and on real hardware as
> well, because I acknowledge the periodic IRQ as soon as possible, so
> good for me.
Thanks; I'll get this version of the patch into git master
at some point in the next week.
(I happened to have an rpi2 to hand, so I wrote a little test
program to check what the behaviour of the h/w is, and it does
indeed not clear the INTEN bit when it signals an IRQ,
and it doesn't clear the IRQ line until the guest clears the
interrupt flag: so if your IRQ handler doesn't clear the flag
by writing to the register then the IRQ will 'scream' (fire
continually) both on QEMU and on the real hardware. So I think
the data sheet is correct here, though it certainly has its share
of errors...)
thanks
-- PMM
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, (continued)
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, bzt, 2019/03/04
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, bzt, 2019/03/04
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, Peter Maydell, 2019/03/05
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, bzt, 2019/03/07
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, Peter Maydell, 2019/03/07
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, bzt, 2019/03/07
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, Peter Maydell, 2019/03/07
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, bzt, 2019/03/08
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, Peter Maydell, 2019/03/09
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, bzt, 2019/03/10
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer,
Peter Maydell <=
- Re: [Qemu-arm] [PATCH] Added periodic IRQ support for bcm2836_control local timer, bzt, 2019/03/13