aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2015-07-17 09:46:42 +0000
committerThomas Gleixner <[email protected]>2015-07-17 10:14:29 +0000
commit591e5bec13f15feb13fc445b6c9c59954711c4ac (patch)
treee886d45e83c15dbb3e67b7ea8c9c77a65de3e1cb /net/switchdev/switchdev.c
parentgenirq: Prevent resend to interrupts marked IRQ_NESTED_THREAD (diff)
downloadkernel-591e5bec13f15feb13fc445b6c9c59954711c4ac.tar.gz
kernel-591e5bec13f15feb13fc445b6c9c59954711c4ac.zip
irqchip/gicv3-its: Fix mapping of LPIs to collections
The GICv3 ITS architecture allows a given [DevID, EventID] pair to be translated to a [LPI, Collection] pair, where DevID is the device writing the MSI, EventID is the payload being written, LPI is the actual interrupt number, and Collection is roughly equivalent to a target CPU. Each LPI can be mapped to a separate collection, but the ITS driver insists on maintaining the collection on a device basis, instead of doing it on a per interrupt basis. This is obviously flawed, and this patch fixes it by adding a per interrupt index that indicates which collection number is in use. Reported-by: Ian Campbell <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Cc: <[email protected]> Cc: Jason Cooper <[email protected]> Cc: [email protected] # 4.1, 4.0 Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions