• Bjorn Helgaas's avatar
    [IA64] add the MMIO regions that are translated to I/O port space to /proc/iomem · 4f41d5a4
    Bjorn Helgaas authored
    ia64 translates normal loads and stores to special MMIO regions into I/O port
    accesses.  Reserve these special MMIO regions in /proc/iomem.
    
    Sample /proc/iomem:
        f8100000000-f81003fffff : PCI Bus 0000:80 I/O Ports 00000000-00000fff
        f8100400000-f81007fffff : PCI Bus 0000:8e I/O Ports 00001000-00001fff
        f8100800000-f8100ffffff : PCI Bus 0000:9c I/O Ports 00002000-00003fff
        f8101000000-f81017fffff : PCI Bus 0000:aa I/O Ports 00004000-00005fff
    
    and corresponding /proc/ioports:
        00000000-00000fff : PCI Bus 0000:80
        00001000-00001fff : PCI Bus 0000:8e
        00002000-00003fff : PCI Bus 0000:9c
        00004000-00005fff : PCI Bus 0000:aa
    Signed-off-by: default avatarBjorn Helgaas <bjorn.helgaas@hp.com>
    Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
    4f41d5a4
pci.c 19.4 KB