Hi Timur,



On 6 May 2015 at 04:20, Timur Tabi <timur@codeaurora.org> wrote:
On 05/04/2015 07:04 AM, fu.wei@linaro.org wrote:
+       gsi = map_generic_timer_interrupt(irq, flags);

...

+       res[2].start = res[2].end = gsi;

Wouldn't it make more sense to do this:

        res[2].start = res[2].end = irq;

and then the driver should call map_generic_timer_interrupt()?  That way, the resource array contains all physical values.

yes, I will unify this valure with FDT support :-) thanks
 


--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.



--
Best regards,

Fu Wei
Software Engineer
Red Hat Software (Beijing) Co.,Ltd.Shanghai Branch
Ph: +86 21 61221326(direct)
Ph: +86 186 2020 4684 (mobile)
Room 1512, Regus One Corporate Avenue,Level 15,
One Corporate Avenue,222 Hubin Road,Huangpu District,
Shanghai,China 200021