msi.c (de4fb176622d54a82ea3ceb7362392aaf5ff0b5a) msi.c (e6f6390ab7b9d649c13de2c8a591bce61a10ec3b)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright 2007, Olof Johansson, PA Semi
4 *
5 * Based on arch/powerpc/sysdev/mpic_u3msi.c:
6 *
7 * Copyright 2006, Segher Boessenkool, IBM Corporation.
8 * Copyright 2006-2007, Michael Ellerman, IBM Corporation.
9 */
10
11#include <linux/irq.h>
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Copyright 2007, Olof Johansson, PA Semi
4 *
5 * Based on arch/powerpc/sysdev/mpic_u3msi.c:
6 *
7 * Copyright 2006, Segher Boessenkool, IBM Corporation.
8 * Copyright 2006-2007, Michael Ellerman, IBM Corporation.
9 */
10
11#include <linux/irq.h>
12#include <linux/irqdomain.h>
12#include <linux/msi.h>
13#include <asm/mpic.h>
13#include <linux/msi.h>
14#include <asm/mpic.h>
14#include <asm/prom.h>
15#include <asm/hw_irq.h>
16#include <asm/ppc-pci.h>
17#include <asm/msi_bitmap.h>
18
19#include <sysdev/mpic.h>
20
21/* Allocate 16 interrupts per device, to give an alignment of 16,
22 * since that's the size of the grouping w.r.t. affinity. If someone

--- 139 unchanged lines hidden ---
15#include <asm/hw_irq.h>
16#include <asm/ppc-pci.h>
17#include <asm/msi_bitmap.h>
18
19#include <sysdev/mpic.h>
20
21/* Allocate 16 interrupts per device, to give an alignment of 16,
22 * since that's the size of the grouping w.r.t. affinity. If someone

--- 139 unchanged lines hidden ---