linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* iommu hypervisor hypothetical
@ 2006-09-27 16:47 John Rose
  2006-09-27 17:07 ` Olof Johansson
  0 siblings, 1 reply; 5+ messages in thread
From: John Rose @ 2006-09-27 16:47 UTC (permalink / raw)
  To: Santiago Leon, benh, External List

Suppose the hypervisor added new failure codes for the hcall that does
tce_build().  Suppose that the device driver needed to expect such
failures when alloc_[coherent,consistent] is not successful, and handle
that case accordingly.

Is this something we can accommodate without rewriting the iommu stuff
for various platforms?  All these functions in machdep.h are defined to
return NULL.  Is this because we haven't had a reasonable expectation of
failure, or because device drivers _have_ to assume success for such
operations?

Thanks-
John

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-09-27 23:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-27 16:47 iommu hypervisor hypothetical John Rose
2006-09-27 17:07 ` Olof Johansson
2006-09-27 18:25   ` John Rose
2006-09-27 18:40     ` Olof Johansson
2006-09-27 23:11     ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).