Re: [PATCH V4 1/6] csky: Init pmu as a device

2019-06-03 Thread Guo Ren
Hello Mao, On Tue, Jun 4, 2019 at 10:25 AM Mao Han wrote: > > This patch change the csky pmu initialization from arch init to > device init. The pmu can be configued with information from > device tree(pmu device name, irq number and etc.). > > Signed-off-by: Mao Han > Cc: Guo Ren > --- >

[PATCH V4 1/6] csky: Init pmu as a device

2019-06-03 Thread Mao Han
This patch change the csky pmu initialization from arch init to device init. The pmu can be configued with information from device tree(pmu device name, irq number and etc.). Signed-off-by: Mao Han Cc: Guo Ren --- arch/csky/kernel/perf_event.c | 58 ++-