• jayalk@intworks.biz's avatar
    [PATCH] PCI Allow OutOfRange PIRQ table address · 120bb424
    jayalk@intworks.biz authored
    I updated this to remove unnecessary variable initialization, make
    check_routing be inline only and not __init, switch to strtoul, and
    formatting fixes as per Randy Dunlap's recommendations.
    
    I updated this to change pirq_table_addr to a long, and to add a warning
    msg if the PIRQ table wasn't found at the specified address, as per thread
    with Matthew Wilcox.
    
    In our hardware situation, the BIOS is unable to store or generate it's PIRQ
    table in the F0000h-100000h standard range. This patch adds a pci kernel
    parameter, pirqaddr to allow the bootloader (or BIOS based loader) to inform
    the kernel where the PIRQ table got stored. A beneficial side-effect is that,
    if one's BIOS uses a static address each time for it's PIRQ table, then
    pirqaddr can be used to avoid the $pirq search through that address block each
    time at boot for normal PIRQ BIOSes.
    Signed-off-by: default avatarJaya Kumar <jayalk@intworks.biz>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    120bb424
irq.c 30.6 KB