• R
    PCI: iproc: Fix incorrect MSI address alignment · feacdb4a
    Ray Jui 提交于
    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: NRay Jui <ray.jui@broadcom.com>
    Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
    feacdb4a
pcie-iproc.c 33.7 KB