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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Muli Ben-Yehuda
Date: Saturday, June 23, 2007 - 3:39 am

On Fri, Jun 22, 2007 at 07:34:59PM -0700, Yinghai Lu wrote:

[snip]


I'm going to need exactly the same hook fro Calgary, as well Intel for
VT-d, and AMD for their upcoming IOMMU, etc. How about we do

struct iommu_ops {
  struct dma_ops {
    ...
  }
  void (*shutdown)(void);
}

And then pci_iommu_shutdown() becomes

if (iommu_ops->shutdown)
  iommu_ops->shutdown();

?

Cheers,
Muli

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86-64: disable the GART before allocate aperture, Muli Ben-Yehuda, (Fri Jun 22, 12:31 pm)
Re: [PATCH] x86-64: disable the GART before allocate aperture, Eric W. Biederman, (Fri Jun 22, 2:32 pm)
Re: [PATCH] x86-64: disable the GART before allocate aperture, Eric W. Biederman, (Fri Jun 22, 2:41 pm)
Re: [PATCH] x86-64: disable the GART before allocate aperture, Eric W. Biederman, (Fri Jun 22, 3:32 pm)
Re: [PATCH] x86-64: disable the GART before allocate aperture, Eric W. Biederman, (Fri Jun 22, 4:14 pm)
[PATCH] x86-64: disable the GART in shutdown, Yinghai Lu, (Fri Jun 22, 7:34 pm)
Re: [PATCH] x86-64: disable the GART in shutdown, Muli Ben-Yehuda, (Sat Jun 23, 3:39 am)
Re: [PATCH] x86-64: disable the GART in shutdown, Andi Kleen, (Sat Jun 23, 3:59 am)
Re: [PATCH] x86-64: disable the GART in shutdown, Andi Kleen, (Sat Jun 23, 4:08 am)
Re: [PATCH] x86-64: disable the GART in shutdown, Muli Ben-Yehuda, (Sat Jun 23, 4:09 am)
Re: [PATCH] x86-64: disable the GART in shutdown, Andrew Morton, (Sat Jun 23, 9:52 am)
Re: [PATCH] x86-64: disable the GART in shutdown, Yinghai Lu, (Sun Jun 24, 5:18 pm)
Re: [PATCH] x86-64: disable the GART in shutdown, Yinghai Lu, (Sun Jun 24, 5:22 pm)
Re: [PATCH] x86-64: disable the GART in shutdown, Muli Ben-Yehuda, (Sun Jun 24, 7:10 pm)
[PATCH] x86-64: disable the GART in shutdown v2, Yinghai Lu, (Mon Jun 25, 12:34 pm)
Re: [PATCH] x86-64: disable the GART in shutdown v2, Muli Ben-Yehuda, (Mon Jun 25, 12:41 pm)
Re: [PATCH] x86-64: disable the GART in shutdown v2, Yinghai Lu, (Mon Jun 25, 12:52 pm)
Re: [PATCH] x86-64: disable the GART in shutdown v2, Muli Ben-Yehuda, (Mon Jun 25, 12:56 pm)
[PATCH 1/2] x86-64: disable the GART in shutdown, Yinghai Lu, (Mon Jun 25, 2:48 pm)