Re: RFC: simplified RISC-V interrupt and clocksource handling

2018-07-27 Thread Christoph Hellwig
On Thu, Jul 26, 2018 at 04:38:43PM -0700, Atish Patra wrote: > 1. As per my understanding, timer interrupt now can't be registered as a > Linux IRQ now. Thus, /proc/interrupts will not be automatically populated > for timer interrupt stats. Am I wrong in my assumption? Yes, with this code the

Re: RFC: simplified RISC-V interrupt and clocksource handling

2018-07-27 Thread Christoph Hellwig
On Thu, Jul 26, 2018 at 04:38:43PM -0700, Atish Patra wrote: > 1. As per my understanding, timer interrupt now can't be registered as a > Linux IRQ now. Thus, /proc/interrupts will not be automatically populated > for timer interrupt stats. Am I wrong in my assumption? Yes, with this code the

Re: RFC: simplified RISC-V interrupt and clocksource handling

2018-07-26 Thread Atish Patra
On 7/26/18 7:37 AM, Christoph Hellwig wrote: This series tries adds support for interrupt handling and timers for the RISC-V architecture. The basic per-hart interrupt handling implemented by the scause and sie CSRs is extremely simple and implemented directly in arch/riscv/kernel/irq.c. In

Re: RFC: simplified RISC-V interrupt and clocksource handling

2018-07-26 Thread Atish Patra
On 7/26/18 7:37 AM, Christoph Hellwig wrote: This series tries adds support for interrupt handling and timers for the RISC-V architecture. The basic per-hart interrupt handling implemented by the scause and sie CSRs is extremely simple and implemented directly in arch/riscv/kernel/irq.c. In

RFC: simplified RISC-V interrupt and clocksource handling

2018-07-26 Thread Christoph Hellwig
This series tries adds support for interrupt handling and timers for the RISC-V architecture. The basic per-hart interrupt handling implemented by the scause and sie CSRs is extremely simple and implemented directly in arch/riscv/kernel/irq.c. In addition there is a irqchip driver for the PLIC

RFC: simplified RISC-V interrupt and clocksource handling

2018-07-26 Thread Christoph Hellwig
This series tries adds support for interrupt handling and timers for the RISC-V architecture. The basic per-hart interrupt handling implemented by the scause and sie CSRs is extremely simple and implemented directly in arch/riscv/kernel/irq.c. In addition there is a irqchip driver for the PLIC