[U-Boot] [PATCH v2 2/3] x86: irq: Support discrete PIRQ routing registers via device tree

Simon Glass sjg at chromium.org
Wed Jun 13 01:29:08 UTC 2018


On 12 June 2018 at 02:26, Bin Meng <bmeng.cn at 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 new device tree property
> intel,pirq-regmap to describe how the PIRQ routing register offset
> is mapped to the link number and adjust the irq router driver to
> utilize the mapping.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - new patch to "support discrete PIRQ routing registers via device tree"
>
>  arch/x86/cpu/irq.c                                 | 102 +++++++++++++++++++--
>  arch/x86/include/asm/irq.h                         |  32 ++-----
>  doc/device-tree-bindings/misc/intel,irq-router.txt |   6 ++
>  3 files changed, 107 insertions(+), 33 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list