[Skiboot] [PATCH 01/15] interrupts: Add new source ->attributes callback

Stewart Smith stewart at linux.vnet.ibm.com
Fri Aug 12 09:23:31 AEST 2016


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> This allows a given source to provide per-interrupt attributes
> such as whether it targets OPAL or Linux and it's estimated
> frequency.
>
> The former allows to get rid of the double set of ops used to
> decide which interrupts go where on some modules like the PHBs
> and the latter will be eventually used to implement smart
> caching of the source lookups.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  core/interrupts.c    |  9 ++++++---
>  hw/npu.c             | 23 +++++++++++++----------
>  hw/p7ioc-phb.c       | 25 ++++++++++++++-----------
>  hw/p7ioc.c           |  8 ++++++++
>  hw/phb3.c            | 26 +++++++++++++++-----------
>  hw/phb4.c            | 31 ++++++++++++++++++++++++-------
>  hw/psi.c             | 51 +++++++++++++++++++++++++++------------------------
>  include/interrupts.h | 35 +++++++++++++++++++++--------------
>  8 files changed, 128 insertions(+), 80 deletions(-)

Seems to look good on all the P8 platforms I can get my hands on, and P9
simics, so:
Series merged to master as of f6df3f8ddabd3bc7859cf1ebd24a736223961446.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list