Re: [PATCH v7 4/6] clocksource/drivers/timer-riscv: Use per-CPU timer interrupt

From: Marc Zyngier
Date: Mon Jun 01 2020 - 05:46:04 EST


On 2020-06-01 10:15, Anup Patel wrote:
Instead of directly calling RISC-V timer interrupt handler from
RISC-V local interrupt conntroller driver, this patch implements
RISC-V timer interrupt as a per-CPU interrupt using per-CPU APIs
of Linux IRQ subsystem.

Signed-off-by: Anup Patel <anup.patel@xxxxxxx>
Reviewed-by: Atish Patra <atish.patra@xxxxxxx>
---
arch/riscv/include/asm/irq.h | 2 --
drivers/clocksource/timer-riscv.c | 43 ++++++++++++++++++++++++++++---
drivers/irqchip/irq-riscv-intc.c | 8 ------
3 files changed, 40 insertions(+), 13 deletions(-)

Reviewed-by: Marc Zyngier <maz@xxxxxxxxxx>

M.
--
Jazz is not dead. It just smells funny...