x86, gart: add resume handling

If GART IOMMU is used on an AMD64 system, the northbridge registers
related to it should be restored during resume so that memory is not
corrupted.  Make gart_resume() handle that as appropriate.

Ref. http://lkml.org/lkml/2008/5/25/96 and the following thread.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
此提交包含在:
Rafael J. Wysocki
2008-06-10 00:10:48 +02:00
提交者 Ingo Molnar
父節點 bb6dfb32f9
當前提交 6703f6d10d
共有 3 個檔案被更改,包括 55 行新增5 行删除

查看文件

@@ -496,4 +496,6 @@ out:
write_pci_config(bus, slot, 3, AMD64_GARTAPERTUREBASE, aper_alloc >> 25);
}
}
set_up_gart_resume(aper_order, aper_alloc);
}