
7 Jun
2018
7 Jun
'18
10:34 p.m.
Hi Bin,
On 3 June 2018 at 18:04, Bin Meng bmeng.cn@gmail.com wrote:
Currently both pirq_reg_to_linkno() and pirq_linkno_to_reg() assume consecutive PIRQ routing control registers. But this is not always the case on some platforms. Introduce a Kconfig option for this and adjust the irq router driver to be able to use platform-specific converting logic.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
arch/x86/Kconfig | 9 +++++++++ arch/x86/cpu/irq.c | 3 +++ arch/x86/include/asm/irq.h | 2 ++ 3 files changed, 14 insertions(+)
Wouldn't it make sense to put the mapping in the device tree?
Regards, Simon