[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] SH: Improve the interrupt controller
From: |
Jean-Christophe PLAGNIOL-VILLARD |
Subject: |
Re: [Qemu-devel] SH: Improve the interrupt controller |
Date: |
Thu, 11 Dec 2008 22:16:17 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On 22:52 Thu 11 Dec , Vladimir Prus wrote:
>
> This patch improves the intc implementation in these ways:
>
> - On interrupt, the priority mask in SSR is updated,
> if OPM register tells it should be
> - We check interrupt priority and compare it with
> priority mask
> - Priorities for IRL interrupts (which are fixed), are
> assigned
> - The ICR register is supported, and LVLMODE bit, which
> controls if interrupt is automatically de-asserted,
> is implemented
> - A bug where handling of paired set mask / clear mask
> registers was done backward is fixed
> - A bug where enabling a group did not work was fixed.
I'll be better to split this patch in two on for the bug fix and one
for the improvements
IMHO your patch need some coding style cleanup also
Best Regards,
J.