diff options
author | Gustavo Pimentel <gustavo.pimentel@synopsys.com> | 2018-11-23 18:00:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-05 19:32:07 +0100 |
commit | 1ce69ec307fd540d13355f3a3c6c83dcd87e6f9f (patch) | |
tree | 10962de0fac06be5c3541e549373e80ab5c55065 /kernel/trace/trace_functions_graph.c | |
parent | b391ed731b393a857067de658d826b059652ca02 (diff) |
PCI: dwc: Fix MSI-X EP framework address calculation bug
commit 15cb127e3c8f6232096d5dba6a5b4046bc292d70 upstream.
Fix an error caused by 3-bit right rotation on offset address
calculation of MSI-X table in dw_pcie_ep_raise_msix_irq().
The initial testing code was setting by default the offset address of
MSI-X table to zero, so that even with a 3-bit right rotation the
computed result would still be zero and valid, therefore this bug went
unnoticed.
Fixes: beb4641a787d ("PCI: dwc: Add MSI-X callbacks handler")
Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions