lkml.org 
[lkml]   [2017]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/4] Use build registers for getting numbers of interrupts
Date
A summary:

* Use build registers for getting numbers of interrupts both for
core interrupt controller and for IDU interrupt controller.
* Set a default priority for all core interrupt to prevent
unexpected switching of banks of registers.
* Remove option for setting number of interrupts since it does
not affect a number of interrupts in IRQ domains and breaks
portability since it is impossible to change size of table of
interrupts after linkage.

Change in v2:

* Squash some commits.
* Do not move a structure for control register of core intc to
the header since it is used only once.

Yuriy Kolerov (4):
ARCv2: IRQ: Move structure for build register of core intc to the
header
ARCv2: IRQ: Remove option for setting number of interrupts
ARCv2: IRQ: Use build registers for getting numbers of interrupts
ARCv2: IRQ: Set a default priority for all core interrupts

arch/arc/Kconfig | 11 -----------
arch/arc/include/asm/arcregs.h | 11 +++++++++++
arch/arc/include/asm/irq.h | 32 +++++++++++++++++++++++++++++---
arch/arc/kernel/entry-arcv2.S | 3 ++-
arch/arc/kernel/intc-arcv2.c | 31 ++++++++++++++++++++-----------
arch/arc/kernel/mcip.c | 31 +++++++++++++++++++------------
include/soc/arc/mcip.h | 17 +++++++++++++++++
7 files changed, 98 insertions(+), 38 deletions(-)

--
2.7.4


\
 
 \ /
  Last update: 2017-01-31 12:47    [W:0.081 / U:13.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site