qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-arm] [PATCH v4 16/20] intc/arm_gic: Implement gic_update_virt(


From: Peter Maydell
Subject: Re: [Qemu-arm] [PATCH v4 16/20] intc/arm_gic: Implement gic_update_virt() function
Date: Tue, 17 Jul 2018 15:27:24 +0100

On 14 July 2018 at 18:15, Luc Michel <address@hidden> wrote:
> Add the gic_update_virt() function to update the vCPU interface states
> and raise vIRQ and vFIQ as needed. This commit renames gic_update() to
> gic_update_internal() and generalizes it to handle both cases, with a
> `virt' parameter to track whether we are updating the CPU or vCPU
> interfaces.
>
> The main difference between CPU and vCPU is the way we select the best
> IRQ. This part has been split into the gic_get_best_(v)irq functions.
> For the virt case, the LRs are iterated to find the best candidate.
>
> Signed-off-by: Luc Michel <address@hidden>
> ---
>  hw/intc/arm_gic.c | 186 ++++++++++++++++++++++++++++++++++++----------
>  1 file changed, 146 insertions(+), 40 deletions(-)

Reviewed-by: Peter Maydell <address@hidden>

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]