Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Muli Ben-Yehuda
Date: Sunday, September 9, 2007 - 10:51 am

On Mon, Sep 10, 2007 at 08:43:59AM -0700, Keshavamurthy, Anil S wrote:

... provided nothing relies on this relationship or the existence of
the pci_dev's sysdata. Have you audited every architecture's use of
the sysdata pointers?



Could you elaborate on why you need this? I'm assuming it's for the
per-device IOMMU page tables?


Well, you should be able to just use the pci_dev's ->sysdata (that's
what it's there for after all!) but you might need to make it point to
a structure if it's shared, the same way we did with the bus's
->sysdata. I agree that just having it point to the bus's ->sysdata is
not very useful *but* there may be code in the kernel that relies on
it (Calgary did until very recently...) so it would have to be audited
first.

Cheers,
Muli

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

Messages in current thread:
[RFC][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Sat Sep 8, 1:05 pm)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Muli Ben-Yehuda, (Sun Sep 9, 4:16 am)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Paul Mackerras, (Sun Sep 9, 10:37 am)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Muli Ben-Yehuda, (Sun Sep 9, 10:51 am)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Mon Sep 10, 8:43 am)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Muli Ben-Yehuda, (Mon Sep 10, 1:25 pm)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Tue Sep 11, 10:22 am)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Tue Sep 11, 10:42 am)
Re: [patch][Intel-IOMMU] Fix for IOMMU early crash, Paul Mackerras, (Tue Sep 11, 12:48 pm)
Re: [RFC][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Tue Sep 11, 1:43 pm)
[BUG:] forcedeth: MCP55 not allowing DHCP, Casey Dahlin, (Tue Sep 11, 3:05 pm)
[patch][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Wed Sep 12, 12:28 pm)
Re: [patch][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Wed Sep 12, 2:55 pm)
Re: [patch][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Wed Sep 12, 6:29 pm)
Re: [patch][Intel-IOMMU] Fix for IOMMU early crash, Paul Mackerras, (Fri Sep 14, 9:30 am)
Re: [BUG:] forcedeth: MCP55 not allowing DHCP, Casey Dahlin, (Mon Sep 17, 6:59 pm)
Re: [patch][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Tue Sep 25, 10:07 am)
[patch take 2][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Wed Oct 3, 2:13 pm)
Re: [patch take 2][Intel-IOMMU] Fix for IOMMU early crash, Benjamin Herrenschmidt, (Wed Oct 3, 6:19 pm)
Re: [patch take 2][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Wed Oct 3, 6:36 pm)
Re: [patch take 2][Intel-IOMMU] Fix for IOMMU early crash, Benjamin Herrenschmidt, (Wed Oct 3, 8:39 pm)
Re: [patch take 2][Intel-IOMMU] Fix for IOMMU early crash, Keshavamurthy, Anil S, (Thu Oct 4, 12:20 pm)
Re: [patch take 2][Intel-IOMMU] Fix for IOMMU early crash, Benjamin Herrenschmidt, (Thu Oct 4, 8:08 pm)