[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-ia64-devel] [PATCH] fix dom0 builder



On Sun, Oct 08, 2006 at 06:05:29PM -0600, Alex Williamson wrote:

>    Could you send a example memmory map that this patch works around?
> I'm wondering if it would be cleaner to do this earlier in the dom0 mdt
> entry creation.  HP boxes cover all possible MMIO address ranges with
> EFI memory descriptors, I'm surprised that isn't common.  Thanks,

Hi Alex. 
This patch is motivated by Akio's experimental patch.
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-10/msg00031.html
This thread says that Tiger4's EFI MD doesn't cover pci bridge.


from /proc/iomem on tiger4
bb000000-caffffff : PCI Bus 0000:0f
  bbf00000-bfffffff : PCI Bus #10
    bbff0000-bbff00ff : 0000:10:1f.0
  c0000000-c4ffffff : PCI Bus #12
    c4ff0000-c4ff00ff : 0000:12:1f.0
  c5fe0000-c5fe0fff : 0000:0f:1e.0
  c5ff0000-c5ff0fff : 0000:0f:1c.0
  c6000000-c7ffffff : PCI Bus #10
  c8000000-caffffff : PCI Bus #12
cb000000-e2ffffff : PCI Bus 0000:09
  cbf00000-cfffffff : PCI Bus #0a
    cbff0000-cbff00ff : 0000:0a:1f.0
  d0000000-daffffff : PCI Bus #0c
    daff0000-daff00ff : 0000:0c:1f.0
  dbfe0000-dbfe0fff : 0000:09:1e.0
  dbff0000-dbff0fff : 0000:09:1c.0
  dc000000-ddffffff : PCI Bus #0a
  de000000-e2ffffff : PCI Bus #0c
e3000000-f8ffffff : PCI Bus 0000:02
  e3f00000-ebffffff : PCI Bus #03
    e3ff0000-e3ff00ff : 0000:03:1f.0
  ec000000-f0ffffff : PCI Bus #06
    f0ff0000-f0ff00ff : 0000:06:1f.0
  f1fe0000-f1fe0fff : 0000:02:1e.0
  f1ff0000-f1ff0fff : 0000:02:1c.0
  f2000000-f5ffffff : PCI Bus #03
  f6000000-f8ffffff : PCI Bus #06
    f8d00000-f8dfffff : 0000:06:02.0
    f8e00000-f8efffff : 0000:06:02.1
    f8fc0000-f8fcffff : 0000:06:02.0
    f8fd0000-f8fdffff : 0000:06:02.0
    f8fe0000-f8feffff : 0000:06:02.1
    f8ff0000-f8ffffff : 0000:06:02.1
f9000000-fbffffff : PCI Bus 0000:00
  f9ff0000-f9ff03ff : 0000:00:1d.7
    f9ff0000-f9ff03ff : ehci_hcd
  fa000000-fbffffff : PCI Bus #01
    fa000000-faffffff : 0000:01:01.0
    fbfa0000-fbfbffff : 0000:01:01.0
    fbfd0000-fbfd0fff : 0000:01:01.0
    fbfe0000-fbffffff : 0000:01:00.0
      fbfe0000-fbffffff : e1000


Tiger4's EFI memory descriptor
(XEN) mem00: type= 4, attr=0x0000000000000009, 
range=[0x0000000000000000-0x0000000000001000) (0MB)
(XEN) mem01: type= 7, attr=0x0000000000000009, 
range=[0x0000000000001000-0x0000000000007000) (0MB)
(XEN) mem02: type= 4, attr=0x0000000000000009, 
range=[0x0000000000007000-0x0000000000009000) (0MB)
(XEN) mem03: type= 7, attr=0x0000000000000009, 
range=[0x0000000000009000-0x0000000000082000) (0MB)
(XEN) mem04: type= 6, attr=0x8000000000000009, 
range=[0x0000000000082000-0x0000000000084000) (0MB)
(XEN) mem05: type= 7, attr=0x0000000000000009, 
range=[0x0000000000084000-0x0000000000085000) (0MB)
(XEN) mem06: type= 4, attr=0x0000000000000009, 
range=[0x0000000000085000-0x00000000000a0000) (0MB)
(XEN) mem07: type= 5, attr=0x8000000000000009, 
range=[0x00000000000c0000-0x0000000000100000) (0MB)
(XEN) mem08: type= 7, attr=0x000000000000000b, 
range=[0x0000000000100000-0x0000000004000000) (63MB)
(XEN) mem09: type= 2, attr=0x000000000000000b, 
range=[0x0000000004000000-0x0000000008151000) (65MB)
(XEN) mem10: type= 7, attr=0x000000000000000b, 
range=[0x0000000008151000-0x000000000ff80000) (126MB)
(XEN) mem11: type= 4, attr=0x000000000000000b, 
range=[0x000000000ff80000-0x0000000010000000) (0MB)
(XEN) mem12: type= 7, attr=0x000000000000000b, 
range=[0x0000000010000000-0x000000007d600000) (1750MB)
(XEN) mem13: type= 3, attr=0x000000000000000b, 
range=[0x000000007d600000-0x000000007f68a000) (32MB)
(XEN) mem14: type= 7, attr=0x000000000000000b, 
range=[0x000000007f68a000-0x000000007f70a000) (0MB)
(XEN) mem15: type= 5, attr=0x8000000000000009, 
range=[0x000000007f70a000-0x000000007fb00000) (3MB)
(XEN) mem16: type=13, attr=0x8000000000000009, 
range=[0x000000007fb00000-0x000000007fe00000) (3MB)
(XEN) mem17: type= 5, attr=0x8000000000000009, 
range=[0x000000007fe00000-0x000000007fe58000) (0MB)
(XEN) mem18: type= 7, attr=0x000000000000000b, 
range=[0x000000007fe58000-0x000000007feb2000) (0MB)
(XEN) mem19: type= 4, attr=0x000000000000000b, 
range=[0x000000007feb2000-0x000000007feba000) (0MB)
(XEN) mem20: type= 6, attr=0x8000000000000009, 
range=[0x000000007feba000-0x0000000080000000) (1MB)
(XEN) mem21: type=11, attr=0x0000000000000001, 
range=[0x00000000fe000000-0x00000000ff000000) (16MB)
(XEN) mem22: type= 6, attr=0x8000000000000001, 
range=[0x00000000ff000000-0x0000000100000000) (16MB)
(XEN) mem23: type= 7, attr=0x000000000000000b, 
range=[0x0000000100000000-0x00000001ffffe000) (4095MB)
(XEN) mem24: type= 6, attr=0x8000000000000009, 
range=[0x00000001ffffe000-0x0000000200000000) (0MB)
(XEN) mem25: type= 7, attr=0x000000000000000b, 
range=[0x0000000280000000-0x00000002f8b0d000) (1931MB)
(XEN) mem26: type= 2, attr=0x000000000000000b, 
range=[0x00000002f8b0d000-0x00000002fdf52000) (84MB)
(XEN) mem27: type= 7, attr=0x000000000000000b, 
range=[0x00000002fdf52000-0x00000002fef4c000) (15MB)
(XEN) mem28: type= 2, attr=0x000000000000000b, 
range=[0x00000002fef4c000-0x00000002fef54000) (0MB)
(XEN) mem29: type= 1, attr=0x000000000000000b, 
range=[0x00000002fef54000-0x00000002fefb0000) (0MB)
(XEN) mem30: type= 2, attr=0x000000000000000b, 
range=[0x00000002fefb0000-0x00000002fefba000) (0MB)
(XEN) mem31: type= 1, attr=0x000000000000000b, 
range=[0x00000002fefba000-0x00000002ff000000) (0MB)
(XEN) mem32: type= 7, attr=0x000000000000000b, 
range=[0x00000002ff000000-0x00000002ff454000) (4MB)
(XEN) mem33: type= 4, attr=0x000000000000000b, 
range=[0x00000002ff454000-0x00000002ff801000) (3MB)
(XEN) mem34: type= 7, attr=0x000000000000000b, 
range=[0x00000002ff801000-0x00000002ff868000) (0MB)
(XEN) mem35: type= 4, attr=0x000000000000000b, 
range=[0x00000002ff868000-0x00000002ff870000) (0MB)
(XEN) mem36: type= 7, attr=0x000000000000000b, 
range=[0x00000002ff870000-0x00000002ff872000) (0MB)
(XEN) mem37: type= 4, attr=0x000000000000000b, 
range=[0x00000002ff872000-0x00000002ff874000) (0MB)
(XEN) mem38: type= 7, attr=0x000000000000000b, 
range=[0x00000002ff874000-0x00000002ff878000) (0MB)
(XEN) mem39: type= 4, attr=0x000000000000000b, 
range=[0x00000002ff878000-0x00000002ff87c000) (0MB)
(XEN) mem40: type= 7, attr=0x000000000000000b, 
range=[0x00000002ff87c000-0x00000002ff880000) (0MB)
(XEN) mem41: type= 4, attr=0x000000000000000b, 
range=[0x00000002ff880000-0x00000002ff9fc000) (1MB)
(XEN) mem42: type= 7, attr=0x000000000000000b, 
range=[0x00000002ff9fc000-0x00000002ff9fd000) (0MB)
(XEN) mem43: type= 4, attr=0x000000000000000b, 
range=[0x00000002ff9fd000-0x00000002ffa00000) (0MB)
(XEN) mem44: type= 7, attr=0x000000000000000b, 
range=[0x00000002ffa00000-0x00000002ffd82000) (3MB)
(XEN) mem45: type= 3, attr=0x000000000000000b, 
range=[0x00000002ffd82000-0x00000002ffe00000) (0MB)
(XEN) mem46: type= 7, attr=0x000000000000000b, 
range=[0x00000002ffe00000-0x00000002ffe14000) (0MB)
(XEN) mem47: type= 5, attr=0x8000000000000009, 
range=[0x00000002ffe14000-0x00000002ffe80000) (0MB)
(XEN) mem48: type= 7, attr=0x000000000000000b, 
range=[0x00000002ffe80000-0x00000002fffb6000) (1MB)
(XEN) mem49: type= 6, attr=0x8000000000000009, 
range=[0x00000002fffb6000-0x0000000300000000) (0MB)
(XEN) mem50: type=11, attr=0x8000000000000001, 
range=[0x00000ffff8000000-0x00000ffffc000000) (64MB)
(XEN) mem51: type=12, attr=0x8000000000000001, 
range=[0x00000ffffc000000-0x0000100000000000) (64MB)

-- 
yamahata

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.