diff options
author | Ray Jui <ray.jui@broadcom.com> | 2016-11-22 04:48:30 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-11-24 02:15:31 +0300 |
commit | feacdb4a35920235a0daf42d6f5701a74c4708b5 (patch) | |
tree | 743e8b4b6b276f7adee6e66355959a3bb08b0a51 /drivers/pci/host/pcie-iproc-platform.c | |
parent | c7c44527b364bce2858bc1c8b630371fea153b56 (diff) | |
download | linux-feacdb4a35920235a0daf42d6f5701a74c4708b5.tar.xz |
PCI: iproc: Fix incorrect MSI address alignment
In the code to handle PAXB v2 based MSI steering, the logic aligns the MSI
register address to the size of supported inbound mapping range. This is
incorrect since it rounds "up" the starting address to the next aligned
address, but what we want is the starting address to be rounded "down" to
the aligned address.
This patch fixes the issue and allows MSI writes to be properly steered to
the GIC.
Fixes: 4b073155fbd3 ("PCI: iproc: Add support for the next-gen PAXB controller")
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/host/pcie-iproc-platform.c')
0 files changed, 0 insertions, 0 deletions