Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Muli Ben-Yehuda
On Mon, Jun 25, 2007 at 12:52:48PM -0700, Yinghai Lu wrote: > >I suggest include/asm-x86_64/iommu.h for this. proto.h doesn't have > >anything to do with it. > > move iommu releated to iommu.h and add iommu_ops struct? That's how I would do it, to complement dma_mapping.h. Cheers, Muli - To uns

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Yinghai Lu
Muli Ben-Yehuda wrote: diff --git a/arch/x86_64/kernel/pci-gart.c b/arch/x86_64/kernel/pci-gart.c index ae091cd..6c4fe16 100644 --- a/arch/x86_64/kernel/pci-gart.c +++ b/arch/x86_64/kernel/pci-gart.c @@ -571,6 +571,27 @@ static const struct dma_mapping_ops gart_dma_ops = { .unmap_sg = gar

Re: [PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Muli Ben-Yehuda
On Mon, Jun 25, 2007 at 12:34:03PM -0700, Yinghai Lu wrote: > [PATCH] x86-64: disable the GART in shutdown > > For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM > installed. when using kexec to load second kernel. In the second kernel, > when mem is allocated for GART

[PATCH] x86-64: disable the GART in shutdown v2

2007-06-25 Thread Yinghai Lu
[PATCH] x86-64: disable the GART in shutdown For K8 system: 4G RAM with memory hole remapping enabled, or more than 4G RAM installed. when using kexec to load second kernel. In the second kernel, when mem is allocated for GART, it will do the memset for clear, it will cause restart, because some